Mark elf/tst-protected1[ab] as XFAIL.
[glibc.git] / ChangeLog
blob14407f12e3944d112af08e2d01956ce9779e2907
1 2015-09-03  Roland McGrath  <roland@hack.frob.com>
3         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4         (test-xfail-tst-protected1b): New variable.
6 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8         [BZ #14912]
9         * bits/libc-tsd.h: Move to ...
10         * sysdeps/generic/libc-tsd.h: ...here.
11         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15         * include/ctype.h: Include <libc-tsd.h> instead of
16         <bits/libc-tsd.h>.
17         * include/rpc/rpc.h: Likewise.
18         * locale/localeinfo.h: Likewise.
19         * sunrpc/rpc_thread.c: Likewise.
20         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21         * sysdeps/nptl/malloc-machine.h: Likewise.
23         * Makefile (headers): Remove bits/libc-lock.h.
24         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29         <bits/stdio-lock.h>.
30         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
33 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
35         [BZ #18757]
36         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
37         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
38         BZ #18757.
40 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
42         * malloc/mtrace.pl: Filter out NULL entries.
44 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
46         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
47         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
48         macro.
50         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
51         (TCP_CC_INFO): Likewise.
52         (TCP_SAVE_SYN): Likewise.
53         (TCP_SAVED_SYN): Likewise.
55 2015-08-31  Brett Neumeier <brett@neumeier.us>
57         [BZ #18870]
58         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
60 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
62         [BZ #18873]
63         Fix broken overflow check in posix_fallocate
64         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
65         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
66         Fix parenthesization typo.
68 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
70         [BZ #18887]
71         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
72         tst-mntent-blank-passno.
73         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
74         * misc/tst-mntent-blank-corrupt.c: New test.
75         * misc/tst-mntent-blank-passno.c: New test ripped from ...
76         * misc/tst-mntent.c (do_test): ... here.
78 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
80         [BZ #4404]
81         * po/de.po: Fix SIGALRM typo.
83 2015-08-28  James Perkins  <james@loowit.net>
85         * time/tst-strptime2.c (tests): Replace short list of test
86         strings for strptime %z specifier with code which exhaustively
87         tests every combination of sign and 0 to 5 digits. Tests for
88         rejection of invalid strings.
90 2015-08-28  James Perkins  <james@loowit.net>
92         [BZ #16141]
93         * time/strptime_l.c (__strptime_internal): Fix %z minutes
94         calculation, removing incorrect decimal time rounding, so that
95         all minute values result in a valid seconds value.
96         * time/strptime_l.c (__strptime_internal): Extend %z time zone
97         offset range limits to UTC-99:59 through UTC+99:59 to parse
98         current and historical use cases.
99         * time/tst-strptime2.c (tests): Modify and add tests for the
100         strptime %z input field descriptor, specifically conversion of
101         minutes to seconds and validating an offset range of -9959 to
102         +9959.
104 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
105             Dmitry V. Levin  <ldv@altlinux.org>
107         [BZ #18877]
108         * posix/Makefile (tests): Add tst-mmap-offset.
109         * posix/tst-mmap.c: New file.
110         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
111         offset calculation for negative values.
113 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
115         * sysdeps/i386/init-arch.h: New file.
116         * sysdeps/i386/i586/init-arch.h: Likewise.
117         * sysdeps/i386/i686/init-arch.h: Likewise.
118         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
119         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
120         * sysdeps/x86/cpu-features.h (bit_I586): New.
121         (bit_I686): Likewise.
122         (bit_CX8): Likewise.
123         (bit_CMOV): Likewise.
124         (index_CX8): Likewise.
125         (index_CMOV): Likewise.
126         (index_I586): Likewise.
127         (index_I686): Likewise.
128         (reg_CX8): Likewise.
129         (reg_CMOV): Likewise.
130         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
131         available at compile-time.
132         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
133         available at compile-time.
134         * sysdeps/x86/init-arch.h (USE_I586): New macro.
135         (USE_I686): Likewise.
137 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
139         * sysdeps/i386/bcopy.S: New file.
140         * sysdeps/i386/bzero.S: Likewise.
141         * sysdeps/i386/memcpy.S: Likewise.
142         * sysdeps/i386/memmove.S: Likewise.
143         * sysdeps/i386/mempcpy.S: Likewise.
144         * sysdeps/i386/memset.S: Likewise.
145         * sysdeps/i386/bzero.c: Removed.
146         * sysdeps/i386/memset.c: Likewise.
147         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
148         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
149         * sysdeps/i386/i586/memset_chk.S: Likewise.
150         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
151         * sysdeps/i386/memcpy_chk.S: Here.
152         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
153         * sysdeps/i386/memmove_chk.S: Here.
154         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
155         * sysdeps/i386/mempcpy_chk.S: Likewise.
156         * sysdeps/i386/i686/memset_chk.S: Moved to ...
157         * sysdeps/i386/memset_chk.S: Likewise.
159 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
161         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
162         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
163         file, move DIAG_POP_NEEDS_COMMENT to end of file.
164         * soft-fp/fmadf4.c: Ditto.
165         * soft-fp/fmatf4.c: Ditto.
167 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
169         * sysdeps/i386/i586/Implies: Removed.
170         * sysdeps/i386/i686/Implies: Likewise.
172 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
174         * sysdeps/i386/i486/strlen.S: Moved to ...
175         * sysdeps/i386/strlen.S: Here.
177 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
179         * sysdeps/i386/i486/strcat.S: Moved to ...
180         * sysdeps/i386/strcat.S: Here.
182 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
184         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
185         * sysdeps/i386/pthread_spin_trylock.S: Here.
186         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
187         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
189 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
191         * sysdeps/i386/i486/string-inlines.c: Moved to ...
192         * sysdeps/i386/string-inlines.c: Here.
194 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
196         * sysdeps/i386/i486/htonl.S: Moved ...
197         * sysdeps/i386/htonl.S: here.
199 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
201         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
202         * sysdeps/i386/bits/atomic.h: Here.
204 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
206         * sysdeps/i386/i486/Versions: Removed.
208 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
210         [BZ #2898]
211         * misc/mktemp.c: Add mkdtemp to the link_warning message.
212         Based on patch by Aurelien Jarno.
214 2015-08-26  Stan Shebs  <stanshebs@google.com>
216         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
217         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
219 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
221         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
222         * sysdeps/powerpc/dl-procinfo.c:
223         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
224         feature so it shows when LD_SHOW_AUXV=1.
226 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
228         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
229         (__arch_compare_and_exchange_val_32_acq): Remove and use common
230         definition.  ISA 2.07B no longer requires full sync.
232 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
234         [BZ #18863]
235         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
236         (si_call_addr): Define.
237         (si_syscall): Define.
238         (si_arch): Define.
240 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
242         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
243         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
244         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
245         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
246         (__memset_zero_constant_len_parameter): New.
247         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
248         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
249         (__memset_zero_constant_len_parameter): Don't define if
250         __memset_chk or USE_AS_BZERO are defined.
252         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
253         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
254         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
256         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
257         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
258         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
259         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
260         comments.
261         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
262         -mno-mmx for $(all-rtld-routines).
263         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
264         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
265         i386.
267 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
269         * sysdeps/generic/unwind.h
270         (_Unwind_Word): Use __mode__(__unwind_word__)
271         instead of __mode__(__word__).
272         (_Unwind_Sword): Likewise.
274         * sysdeps/s390/s390-64/utf8-utf16-z9.c
275         (MAX_NEEDED_INPUT): New define.
276         (MAX_NEEDED_OUTPUT): New define.
278         * NEWS: New item for IBM z13 string optimizations.
280         * sysdeps/s390/multiarch/memrchr-c.c: New File.
281         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
282         * sysdeps/s390/multiarch/memrchr.c: Likewise.
283         * sysdeps/s390/multiarch/Makefile
284         (sysdep_routines): Add memrchr functions.
285         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
286         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
288         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
289         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
290         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
291         * sysdeps/s390/multiarch/Makefile
292         (sysdep_routines): Add wmemcmp functions.
293         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
294         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
295         * benchtests/bench-wmemcmp.c: New File.
296         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
298         * sysdeps/s390/multiarch/wmemset-c.c: New File.
299         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
300         * sysdeps/s390/multiarch/wmemset.c: Likewise.
301         * sysdeps/s390/multiarch/Makefile
302         (sysdep_routines): Add wmemset functions.
303         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
304         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
305         * wcsmbs/wmemset.c: Use WMEMSET if defined.
306         * string/test-memset.c: Add wmemset support.
307         * wcsmbs/test-wmemset.c: New File.
308         * wcsmbs/Makefile (strop-tests): Add wmemset.
309         * benchtests/bench-memset.c: Add wmemset support.
310         * benchtests/bench-wmemset.c: New File.
311         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
313         * sysdeps/s390/multiarch/memccpy-c.c: New File.
314         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
315         * sysdeps/s390/multiarch/memccpy.c: Likewise.
316         * sysdeps/s390/multiarch/Makefile
317         (sysdep_routines): Add memccpy functions.
318         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
319         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
320         * string/memccpy.c: Use MEMCCPY if defined.
322         * sysdeps/s390/multiarch/memchr-vx.S: New File.
323         * sysdeps/s390/multiarch/memchr.c: Likewise.
324         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
325         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
326         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
327         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
328         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
329         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
330         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
331         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
333         and rawmemchr functions.
334         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
335         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
336         and wmemchr.
337         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
338         * string/test-memchr.c: Add wmemchr support.
339         * wcsmbs/test-wmemchr.c: New File.
340         * wcsmbs/Makefile (strop-tests): Add wmemchr.
341         * benchtests/bench-memchr.c: Add wmemchr support.
342         * benchtests/bench-wmemchr.c: New File.
343         * benchtests/Makefile (wcsmbs-bench): wmemchr.
345         * sysdeps/s390/multiarch/strcspn-c.c: New File.
346         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
347         * sysdeps/s390/multiarch/strcspn.c: Likewise.
348         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
349         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
350         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
352         wcscspn functions.
353         * sysdeps/s390/multiarch/ifunc-impl-list.c
354         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
355         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
356         * string/test-strcspn.c: Add wcscspn support.
357         * wcsmbs/test-wcscspn.c: New File.
358         * wcsmbs/Makefile (strop-tests): Add wcscspn.
359         * benchtests/bench-strcspn.c: Add wcscspn support.
360         * benchtests/bench-wcscspn.c: New File.
361         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
363         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
364         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
365         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
366         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
367         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
368         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
370         wcspbrk functions.
371         * sysdeps/s390/multiarch/ifunc-impl-list.c
372         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
373         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
374         * string/test-strpbrk.c: Add wcspbrk support.
375         * wcsmbs/test-wcspbrk.c: New File.
376         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
377         * benchtests/bench-strpbrk.c: Add wcspbrk support.
378         * benchtests/bench-wcspbrk.c: New File.
379         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
381         * sysdeps/s390/multiarch/strspn-c.c: New File.
382         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
383         * sysdeps/s390/multiarch/strspn.c: Likewise.
384         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
385         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
386         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
387         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
388         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
389         wcsspn functions.
390         * sysdeps/s390/multiarch/ifunc-impl-list.c
391         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
392         * string/test-strspn.c: Add wcsspn support.
393         * wcsmbs/test-wcsspn.c: New File.
394         * wcsmbs/Makefile (strop-tests): Add wcsspn.
395         * benchtests/bench-strspn.c: Add wcsspn support.
396         * benchtests/bench-wcsspn.c: New File.
397         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
399         * sysdeps/s390/multiarch/strrchr-c.c: New File.
400         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
401         * sysdeps/s390/multiarch/strrchr.c: Likewise.
402         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
403         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
404         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
405         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
406         wcsrchr functions.
407         * sysdeps/s390/multiarch/ifunc-impl-list.c
408         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
409         * benchtests/bench-wcsrchr.c: New File.
410         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
412         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
413         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
414         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
415         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
416         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
417         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
418         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
419         wcschrnul functions.
420         * sysdeps/s390/multiarch/ifunc-impl-list.c
421         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
422         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
423         * string/test-strchr.c: Add wcschrnul support.
424         * wcsmbs/test-wcschrnul.c: New File.
425         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
426         * benchtests/bench-strchr.c: Add wcschrnul support.
427         * benchtests/bench-wcschrnul.c: New File.
428         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
430         * sysdeps/s390/multiarch/strchr-c.c: New File.
431         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
432         * sysdeps/s390/multiarch/strchr.c: Likewise.
433         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
434         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
435         * sysdeps/s390/multiarch/wcschr.c: Likewise.
436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
437         wcschr functions.
438         * sysdeps/s390/multiarch/ifunc-impl-list.c
439         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
440         * string/strchr.c (STRCHR): Define and use macro.
441         * benchtests/bench-wcschr.c: New File.
442         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
444         * sysdeps/s390/multiarch/strncmp-c.c: New File.
445         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
446         * sysdeps/s390/multiarch/strncmp.c: Likewise.
447         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
448         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
449         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
451         wcsncmp functions.
452         * sysdeps/s390/multiarch/ifunc-impl-list.c
453         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
454         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
455         * benchtests/bench-strncmp.c: Add wcsncmp support.
456         * benchtests/bench-wcsncmp.c: New File.
457         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
459         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
460         * sysdeps/s390/multiarch/strcmp.c: Likewise.
461         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
462         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
463         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
464         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
465         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
466         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
467         wcscmp functions.
468         * sysdeps/s390/multiarch/ifunc-impl-list.c
469         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
470         * string/strcmp.c (STRCMP): Define and use macro.
471         * benchtests/bench-wcscmp.c: New File.
472         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
473         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
474         instead of _HAVE_STRING_ARCH_memchr.
476         * sysdeps/s390/multiarch/strncat-c.c: New File.
477         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
478         * sysdeps/s390/multiarch/strncat.c: Likewise.
479         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
480         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
481         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
483         wcsncat functions.
484         * sysdeps/s390/multiarch/ifunc-impl-list.c
485         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
486         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
487         * string/test-strncat.c: Add wcsncat support.
488         * wcsmbs/test-wcsncat.c: New File.
489         * wcsmbs/Makefile (strop-tests): Add wcsncat.
490         * benchtests/bench-strncat.c: Add wcsncat support.
491         * benchtests/bench-wcsncat.c: New File.
492         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
494         * sysdeps/s390/multiarch/strcat-c.c: New File.
495         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
496         * sysdeps/s390/multiarch/strcat.c: Likewise.
497         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
498         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
499         * sysdeps/s390/multiarch/wcscat.c: Likewise.
500         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
501         wcscat functions.
502         * sysdeps/s390/multiarch/ifunc-impl-list.c
503         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
504         * string/strcat.c (STRCAT): Define and use macro.
505         * wcsmbs/wcscat.c: Use WCSCAT if defined.
506         * string/test-strcat.c: Add wcscat support.
507         * wcsmbs/test-wcscat.c: New File.
508         * wcsmbs/Makefile (strop-tests): Add wcscat.
509         * benchtests/bench-strcat.c: Add wcscat support.
510         * benchtests/bench-wcscat.c: New File.
511         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
513         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
514         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
515         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
516         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
517         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
518         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
519         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
520         wcpncpy functions.
521         * sysdeps/s390/multiarch/ifunc-impl-list.c
522         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
523         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
524         * string/test-stpncpy.c: Add wcpncpy support.
525         * wcsmbs/test-wcpncpy.c: New File.
526         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
527         * benchtests/bench-stpncpy.c: Add wcpncpy support.
528         * benchtests/bench-wcpncpy.c: New File.
529         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
531         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
532         * sysdeps/s390/multiarch/strncpy.c: Likewise.
533         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
534         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
535         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
536         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
537         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
538         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
539         wcsncpy functions.
540         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
541         * sysdeps/s390/multiarch/ifunc-impl-list.c
542         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
543         * string/test-strncpy.c: Add wcsncpy support.
544         * wcsmbs/test-wcsncpy.c: New File.
545         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
546         * benchtests/bench-strncpy.c: Add wcsncpy support.
547         * benchtests/bench-wcsncpy.c: New File.
548         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
550         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
551         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
552         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
553         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
554         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
555         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
557         wcpcpy functions.
558         * string/stpcpy.c: Use STPCPY if defined.
559         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
560         * sysdeps/s390/multiarch/ifunc-impl-list.c
561         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
562         * string/test-stpcpy.c: Add wcpcpy support.
563         * wcsmbs/test-wcpcpy.c: New File.
564         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
565         * benchtests/bench-stpcpy.c: Add wcpcpy support.
566         * benchtests/bench-wcpcpy.c: New File.
567         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
569         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
570         * sysdeps/s390/multiarch/strcpy.c: Likewise.
571         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
572         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
573         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
574         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
575         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
576         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
577         wcscpy functions.
578         * sysdeps/s390/multiarch/ifunc-impl-list.c
579         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
580         * benchtests/bench-wcscpy.c: New File.
581         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
583         * sysdeps/s390/multiarch/strnlen-c.c: New File.
584         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
585         * sysdeps/s390/multiarch/strnlen.c: Likewise.
586         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
587         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
588         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
589         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
590         wcsnlen functions.
591         * sysdeps/s390/multiarch/ifunc-impl-list.c
592         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
593         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
594         * string/test-strnlen.c: Add wcsnlen support.
595         * wcsmbs/test-wcsnlen.c: New File.
596         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
597         * benchtests/bench-strnlen.c: Add wcsnlen support.
598         * benchtests/bench-wcsnlen.c: New File.
599         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
601         * sysdeps/s390/multiarch/Makefile: New File.
602         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
603         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
604         * sysdeps/s390/multiarch/strlen.c: Likewise.
605         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
606         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
607         * sysdeps/s390/multiarch/wcslen.c: Likewise.
608         * string/strlen.c (STRLEN): Define and use macro.
609         * sysdeps/s390/multiarch/ifunc-impl-list.c
610         (IFUNC_VX_IMPL): New macro function.
611         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
612         * benchtests/Makefile (wcsmbs-bench): New variable.
613         (string-bench-all): Added wcsmbs-bench.
614         * benchtests/bench-wcslen.c: New File.
616         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
617         s390_vx_libc_ifunc2): New macro function.
619         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
620         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
621         assembler support.
622         * sysdeps/s390/configure: Regenerated.
624         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
625         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
627         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
628         * sysdeps/s390/dl-procinfo.h: Add vector capability.
629         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
631         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
632         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
633         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
634         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
635         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
636         (memcmp, bcmp): Use __memcmp_default as alias source.
637         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
638         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
639         Rename to __memcmp_default.
640         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
641         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
642         (memcpy): Use __memcpy_default as alias source.
643         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
644         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
645         Rename to __memcpy_default.
646         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
647         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
648         (memset): Use __memset_default as alias source.
649         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
650         * sysdeps/s390/s390-32/memset.S (__memset_g5):
651         Rename to __memset_default.
652         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
653         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
654         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
655         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
656         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
657         (memcmp, bcmp): Use __memcmp_default as alias source.
658         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
659         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
660         Rename to __memcmp_default.
661         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
662         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
663         (memcpy): Use __memcpy_default as alias source.
664         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
665         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
666         Rename to __memcpy_default.
667         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
668         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
669         (memset): Use __memset_default as alias source.
670         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
671         * sysdeps/s390/s390-64/memset.S (__memset_z900):
672         Rename to __memset_default.
673         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
674         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
676         [BZ #18610]
677         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
678         __ieee_instruction_pointer to __unused.
679         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
680         __ieee_instruction_pointer.
681         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
682         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
683         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
684         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
685         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
686         Mark dxc-field as reserved.
688 2015-08-25  Roland McGrath  <roland@hack.frob.com>
690         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
691         if the weak reference is not null.
693 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
695         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
697         [BZ #11214]
698         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
700 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
702         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
703         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
704         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
705         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
706         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
707         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
708         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
709         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
710         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
711         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
712         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
713         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
714         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
715         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
716         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
717         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
718         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
719         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
721 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
723         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
724         register other than r0 for tabort, it has special meaning.
725         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
726         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
727         transaction before starting syscall.
729 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
731         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
733 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
735         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
737         * sysdeps/x86_64/rtld-memcmp.c: Removed.
738         * sysdeps/x86_64/rtld-memset.S: Likewise.
739         * sysdeps/x86_64/rtld-strchr.S: Likewise.
740         * sysdeps/x86_64/rtld-strlen.S: Likewise.
741         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
742         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
744         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
746 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
748         * debug/strcpy_chk.c: Improve performance.
749         * debug/stpcpy_chk.c: Likewise.
750         * sysdeps/x86_64/strcpy_chk.S: Remove.
751         * sysdeps/x86_64/stpcpy_chk.S: Remove.
753         [BZ #18240]
754         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
756 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
758         [BZ #15128]
759         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
760         ifuncmain8.
761         (modules-names): Add ifuncmod8.
762         ($(objpfx)ifuncmain8): New rule.
763         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
764         <cpuid.h>.
765         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
766         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
767         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
768         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
769         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
770         * sysdeps/x86_64/dl-trampoline.h: Likewise.
771         * sysdeps/x86_64/ifuncmain8.c: New file.
772         * sysdeps/x86_64/ifuncmod8.c: Likewise.
773         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
774         Removed.
775         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
776         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
777         Change rtld_savespace_sse to __glibc_unused2.
778         (RTLD_CHECK_FOREIGN_CALL): Removed.
779         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
780         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
781         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
783 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
785         * sysdeps/aarch64/bzero.S (__bzero): Remove.
787 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
789         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
790         Unconditionally set __fpcr to avoid uninialized warning.
791         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
793 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
795         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
796         is corrupt.
798         * malloc/arena.c (arena_get2): Drop unused argument.
799         (arena_lock): Adjust.
800         (arena_get_retry): Likewise.
802 2015-08-24  Andreas Schwab  <schwab@suse.de>
804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
805         Don't define.
806         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
807         (__ASSUME_IPC64): Don't undef.
808         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
809         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
810         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
811         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
812         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
813         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
814         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
815         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
816         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
817         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
818         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
819         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
820         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
821         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
822         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
823         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
824         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
825         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
826         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
827         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
828         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
830 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
832         * manual/Makefile (install): Only build manual when perl is available.
834 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
836         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
837         '#undef memcpy' by '#undef memchr'.
839 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
841         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
842         memchr not point to the internal __GI_memchr implementation.
844 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
846         * timezone/Makefile (CFLAGS-zdump.c): Remove
847         -Wno-strict-prototypes.
848         (CFLAGS-zic.c): Likewise.
849         (CFLAGS-ialloc.c): Likewise.
850         (CFLAGS-scheck.c): Likewise.
852         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
853         -Wno-error=undef.
855 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
857         * i386/i686/multiarch/strcasestr-c.c: Removed.
858         * x86_64/multiarch/strcasestr.c: Likewise.
859         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
860         Remove strcasestr.
862 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
864         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
866         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
867         variables for high and low parts before possibly modifying them.
869 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
871         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
872         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
873         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
874         of "multiarch/init-arch.h".
875         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
876         * sysdeps/x86/init-arch.h: This.
878 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
880         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
881         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
883 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
885         [BZ #17787]
886         * manual/macros.texi: Add twoexp macro.
887         * manual/filesys.texi: Fix exponents.
888         * manual/llio.texi: Likewise.
889         * manual/stdio.texi: Likewise.
891 2015-08-20  Florian Weimer  <fweimer@redhat.com>
893         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
894         incorrect use.
896 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
898         [BZ #18370]
899         * math/s_csqrt.c (__csqrt): Force underflow exception for results
900         whose real or imaginary part has small absolute value.
901         * math/s_csqrtf.c (__csqrtf): Likewise.
902         * math/s_csqrtl.c (__csqrtl): Likewise.
903         * math/auto-libm-test-in: Add more tests of csqrt.
904         * math/auto-libm-test-out: Regenerated.
905         * sysdeps/i386/fpu/libm-test-ulps: Update.
907 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
909         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
910         __ppc_set_ppr_very_low): New functions.
911         * manual/platform.texi: Add documentation about
912         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
914 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
916         * string/stpncpy.c (stpncpy): Improve performance using
917         __strnlen/memcpy/memset.
919 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
921         [BZ #18796]
922         * scripts/test-installation.pl: Don't add -lmvec to build options if
923         libmvec wasn't built.
925 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
927         [BZ #14341]
928         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
929         case when there is a gap between DT_REL and DT_JMPREL sections.
930         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
931         (LDFLAGS-tst-split-dynreloc): New.
932         (tst-split-dynreloc-ENV): Likewise.
933         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
934         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
936 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
938         [BZ #18822]
939         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
940         attribute_hidden.
941         (__xstat64_conv): Likewise.
942         (__xstat32_conv): Likewise.
944 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
946         [BZ #18822]
947         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
948         Don't load %ebx when calling __setcontext.  Call __setcontext
949         with HIDDEN_JUMPTARGET.
950         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
951         libc_hidden_def.
953 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
955         * sysdeps/i386/i686/Makefile
956         [$(subdir) == string] (sysdep_routines): Moved to ...
957         * sysdeps/i386/Makefile: Here.
958         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
959         * sysdeps/i386/cacheinfo.c: Here.
960         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
961         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
962         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
963         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
965 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
967         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
968         __i586__ is defined.
969         (HAS_I686): Defined to 1 if __i686__ is defined.
971 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
973         * elf/Makefile [$(have-z-execstack) = yes]
974         (CPPFLAGS-tst-execstack.c): New variable.
976         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
977         conditional to [defined UTMPX || _HAVE_UT_TYPE].
978         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
979         UTMPX || _HAVE_UT_TV].
980         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
981         UTMPX || _HAVE_UT_TV - 0].
983 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
985         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
986         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
987         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
989 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
991         * sysdeps/powerpc/dl-procinfo.c:
992         (_dl_powerpc_cap_flags): Added missing strings for some
993         hwcap features.
994         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
996 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
998         Port the 0x7efe...feff pattern to GCC 6.
999         See Steve Ellcey's bug report in:
1000         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1001         * string/memrchr.c (MEMRCHR):
1002         * string/rawmemchr.c (RAWMEMCHR):
1003         * string/strchr.c (strchr):
1004         * string/strchrnul.c (STRCHRNUL):
1005         Rewrite code to avoid issues with signed shift overflow.
1007 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
1009         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1010         whether cpuid is available only if HAS_CPUID is 0.
1011         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1012         (HAS_I586): Likewise.
1013         (HAS_I686): Likewise.
1015 2015-08-18  Zack Weinberg  <zackw@panix.com>
1017         * misc/Versions (libc): Add GLIBC_2.23.
1019 2015-08-18  Alan Modra  <amodra@gmail.com>
1021         [BZ #18421]
1022         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1023         .Lp__global.
1024         (_start): Load %dp via .Lp__global.
1025         [!SHARED]: Use .section .rodata.
1027 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1029         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1030         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1032 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1034         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1035         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1037 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1039         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1040         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1042 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1044         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1045         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1047 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1049         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1050         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1052 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1054         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1055         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1057 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1059         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1061 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1063         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1064         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
1065         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1066         (__ASSUME_LWS_CAS): Delete.
1068 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1070         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1071         * sysdeps/hppa/configure: Regenerated.
1072         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1073         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1074         * sysdeps/hppa/nptl/tls.h: Likewise.
1076 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
1078         [BZ #18823]
1079         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1080         for scaling up small arguments.
1081         * math/s_csqrtf.c (__csqrtf): Likewise.
1082         * math/s_csqrtl.c (__csqrtl): Likewise.
1083         * math/auto-libm-test-in: Add more tests of csqrt.
1084         * math/auto-libm-test-out: Regenerated.
1086 2015-08-17  Andreas Schwab  <schwab@suse.de>
1088         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1089         version set GLIBC_2.19.
1091 2015-08-16  Zack Weinberg  <zackw@panix.com>
1093         [BZ #18681]
1094         * misc/regexp.h: This interface is no longer supported.
1095         Remove all contents, leaving only an #error directive.
1096         * misc/regexp.c (loc1, loc2, locs, step, advance):
1097         Demote to compatibility symbols.
1099 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
1101         [BZ #18084]
1102         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1103         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1104         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1105         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1106         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1107         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1108         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1109         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1110         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1112 2015-08-15  Zack Weinberg  <zackw@panix.com>
1114         [BZ #18795]
1115         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1116         buffer length is known to be too large, not if it's known to be
1117         small enough.
1118         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1119         overflow at runtime, involving a length parameter, twice: once
1120         with a compile-time constant length parameter, once without.
1122 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1124         [BZ #18824]
1125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1126         scaling x * y up instead of down.
1127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1129         * math/auto-libm-test-in: Add more tests of fma.
1130         * math/auto-libm-test-out: Regenerated.
1132 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1134         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1136 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1138         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1139         unnecessary movq.
1140         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1141         Likewise.
1143 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1145         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1146         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1147         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1148         and tgamma.
1149         * math/auto-libm-test-out: Regenerated.
1150         * sysdeps/i386/fpu/libm-test-ulps: Update.
1151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153         [BZ #16520]
1154         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1155         (__tanh): Force underflow exception for arguments with small
1156         absolute value.
1157         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1158         (__tanhf): Force underflow exception for arguments with small
1159         absolute value.
1160         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1161         (__tanhl): Force underflow exception for arguments with small
1162         absolute value.
1163         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1164         (__tanhl): Force underflow exception for arguments with small
1165         absolute value.
1166         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1167         (__tanhl): Force underflow exception for arguments with small
1168         absolute value.
1169         * math/auto-libm-test-in: Add more tests of tanh.
1170         * math/auto-libm-test-out: Regenerated.
1171         * sysdeps/i386/fpu/libm-test-ulps: Update.
1173 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1175         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1176         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1178 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1180         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1181         <cpuid.h>.
1183 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1185         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1186         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1188 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1190         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1191         Remove $(objpfx)init-arch.o.
1192         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1193         init-arch.
1194         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1195         (INIT_ARCH_EXT): Defined as empty.
1196         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1197         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1198         __init_cpu_features call.  Replace HAS_XXX with
1199         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1200         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1201         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1202         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1203         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1204         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1205         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1206         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1207         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1208         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1209         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1210         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1211         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1212         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1217         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1219         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1220         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1221         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1222         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1223         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1226         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1227         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1228         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1233         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1236 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1238         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1239         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1240         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1241         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1242         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1243         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1244         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1245         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1246         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1247         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1248         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1249         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1250         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1251         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1252         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1253         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1254         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1255         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1256         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1257         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1258         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1259         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1260         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1261         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1262         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1263         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1264         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1265         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1266         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1267         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1268         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1269         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1270         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1271         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1272         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1273         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1274         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1275         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1276         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1277         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1278         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1279         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1280         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1282 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1284         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1285         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1287         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1288         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1289         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1291         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1292         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1293         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1294         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1295         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1296         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1297         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1298         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1299         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1300         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1301         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1302         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1303         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1305         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1306         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1307         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1308         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1309         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1310         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1311         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1312         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1313         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1314         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1315         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1316         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1317         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1318         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1319         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1320         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1321         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1322         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1323         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1324         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1325         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1326         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1328 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1330         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1331         (dl_platform_init): Call init_cpu_features.
1332         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1333         * sysdeps/i386/i686/cacheinfo.c
1334         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1335         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1336         * sysdeps/i386/i686/multiarch/Versions: Removed.
1337         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1338         Removed.
1339         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1340         * sysdeps/unix/sysv/linux/x86/Makefile
1341         (libpthread-sysdep_routines): Remove init-arch.
1342         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1343         <sysdeps/x86_64/dl-procinfo.c> instead of
1344         sysdeps/generic/dl-procinfo.c>.
1345         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1346         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1347         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1348         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1349         [$(subdir) == elf] (tests-static): Add
1350         tst-get-cpu-features-static.
1351         * sysdeps/x86/Versions: New file.
1352         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1353         * sysdeps/x86/cpu-features.c: Likewise.
1354         * sysdeps/x86/cpu-features.h: Likewise.
1355         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1356         * sysdeps/x86/libc-start.c: Likewise.
1357         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1358         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1359         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1360         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1361         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1362         Assume USE_MULTIARCH is defined and don't check it.
1363         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1364         (is_amd): Likewise.
1365         (max_cpuid): Likewise.
1366         (intel_check_word): Likewise.
1367         (__cache_sysconf): Don't call __init_cpu_features.
1368         (__x86_preferred_memory_instruction): Removed.
1369         (init_cacheinfo): Don't call __init_cpu_features. Replace
1370         __cpu_features with GLRO(dl_x86_cpu_features).
1371         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1372         (dl_platform_init): Call init_cpu_features.
1373         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1374         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1375         * sysdeps/x86_64/multiarch/Versions: Removed.
1376         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1377         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1378         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1379         Removed.
1380         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1382 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1384         [BZ #18820]
1385         * libio/Makefile (test-fmemopen-mem): New test.
1386         * libio/test-fmemopen.c (do_bz18820): New test.
1387         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1388         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1390 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1392         [BZ #16734]
1393         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1394         (FREE_BUF): Delete.
1395         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1396         * libio/genops.c (_IO_setb): Use malloc and free directly.
1397         (_IO_default_doallocate, _IO_default_finish): Likewise.
1398         ( _IO_unbuffer_all): Likewise.
1399         ( libc_freeres_fn): Likewise.
1400         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1401         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1402         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1403         (_IO_wdefault_doallocate): Likewise.
1405 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1407         [BZ #18086]
1408         * sysdeps/posix/nice.c (nice): Restore old errno.
1409         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1411 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1415 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1417         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1418         __bcopy and add a weak_alias to bcopy.
1419         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1420         for static build.
1422         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1423         cleanup macro usage.
1424         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1426         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1427         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1428         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1429         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1430         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1431         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1432         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1433         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1435         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1437         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1439         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1440         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1441         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1442         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1444         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1445         libc_hidden_def.
1446         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1448         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1449         (sysdep_routines): Add strstr-ppc64.
1450         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1452 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1454         [BZ #18778]
1455         * elf/Makefile (tests): Add Add tst-nodelete2.
1456         (modules-names): Add tst-nodelete2mod.
1457         (tst-nodelete2mod.so-no-z-defs): New.
1458         ($(objpfx)tst-nodelete2): Likewise.
1459         ($(objpfx)tst-nodelete2.out): Likewise.
1460         (LDFLAGS-tst-nodelete2): Likewise.
1461         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1462         out of loop through all loaded libraries.
1463         * elf/tst-nodelete2.c: New file.
1464         * elf/tst-nodelete2mod.c: Likewise.
1466 2015-08-11  Andreas Schwab  <schwab@suse.de>
1468         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1469         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1470         (__openat64_nocancel): Likewise.
1472 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1474         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1475         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1476         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1477         * math/auto-libm-test-out: Regenerated.
1478         * sysdeps/i386/fpu/libm-test-ulps: Update.
1479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1481 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #18790]
1484         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1485         threshold for returning +/- 1.
1486         * math/auto-libm-test-in: Add more tests of tanh.
1487         * math/auto-libm-test-out: Regenerated.
1488         * sysdeps/i386/fpu/libm-test-ulps: Update.
1490 2015-08-10  Andreas Schwab  <schwab@suse.de>
1492         [BZ #18781]
1493         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1494         MORE_OFLAGS to oflag.
1495         * io/test-lfs.c (do_test): Test openat64.
1497 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1499         [BZ #18789]
1500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1501         smaller threshold for returning the argument.
1502         * math/auto-libm-test-in: Add more tests of sinh.
1503         * math/auto-libm-test-out: Regenerated.
1504         * sysdeps/i386/fpu/libm-test-ulps: Update.
1506 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1508         [BZ #18674]
1509         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1510         break.
1512 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1514         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1515         (generated): Don't add $(addprefix z.,$(tzfiles)).
1517 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1519         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1520         * scripts/sysd-rules.awk: Likewise.
1522 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1524         * iconvdata/tst-tables.sh: Change echo -n to printf.
1525         * nss/db-Makefile: Likewise.
1526         * posix/tst-getconf.sh: Likewise.
1527         * stdio-common/tst-unbputc.sh: Likewise.
1529 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1531         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1532         MADV_*_PAGES defines behind this feature check.
1534 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1536         [BZ #18480]
1537         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1538         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1539         Define.
1540         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1541         LOAD_REGS_5, LOAD_REGS_6): Update.
1542         (INTERNAL_SYSCALL): Update using new LOAD defines.
1543         (INTERNAL_SYSCALL_NCS): Likewise.
1544         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1546 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1548         [BZ #16734]
1549         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1551 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1553         [BZ #17905]
1554         * catgets/Makefile (tst-catgets-mem): New test.
1555         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1556         * catgets/open_catalog.c (__open_catalog): Likewise.
1557         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1559 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1561         [BZ #18787]
1562         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1563         clobber registers.
1564         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1565         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1566         Cast return to __typeof (oldval).
1568 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1570         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1571         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1572         and delete sys/syscall.h include.
1574 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1576         [BZ #16517]
1577         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1578         (tan): Force underflow exception for arguments with small absolute
1579         value.
1580         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1581         (__kernel_tanf): Force underflow exception for arguments with
1582         small absolute value.
1583         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1584         (__kernel_tanl): Force underflow exception for arguments with
1585         small absolute value.
1586         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1587         (__kernel_tanl): Force underflow exception for arguments with
1588         small absolute value.
1589         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1590         (__kernel_tanl): Force underflow exception for arguments with
1591         small absolute value.
1592         * math/auto-libm-test-in: Add more tests of tan.
1593         * math/auto-libm-test-out: Regenerated.
1595 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1597         Fix sysdeps/i386/fpu/s_scalbn.S build
1599         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1601 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1603         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1605 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1607         Fix gcrt0.o compilation
1609         When static-start-installed-name is different from
1610         start-installed-name, we must not use the shared objects.
1612         * csu/Makefile
1613         (extra-objs): Add gmon-start.o when building shared library and
1614         $(static-start-installed-name) is different from
1615         $(start-installed-name).
1616         $(objpfx)g$(static-start-installed-name): When building shared
1617         library and $(static-start-installed-name) is different from
1618         $(static-start-installed-name), revert to non-shared rule,
1619         i.e. using $(objpfx)% and gmon-start.o.
1621 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1623         [BZ #16519]
1624         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1625         (__ieee754_sinh): Force underflow exception for arguments with
1626         small absolute value.
1627         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1628         (__ieee754_sinhf): Force underflow exception for arguments with
1629         small absolute value.
1630         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1631         (__ieee754_sinhl): Force underflow exception for arguments with
1632         small absolute value.
1633         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1634         (__ieee754_sinhl): Force underflow exception for arguments with
1635         small absolute value.
1636         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1637         (__ieee754_sinhl): Force underflow exception for arguments with
1638         small absolute value.
1639         * math/auto-libm-test-in: Add more tests of sinh.
1640         * math/auto-libm-test-out: Regenerated.
1641         * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1645         * libio/oldfileops.c: Include unistd.h.
1647 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1649         * stdlib/isomac.c: Include ctype.h.
1651 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1653         * dirent/tst-seekdir.c (main): Converted to ...
1654         (do_test): ... this.
1655         (TEST_FUNCTION): New macro.
1656         Include test-skeleton.c.
1657         * elf/tst-dlmodcount.c (main): Converted to ...
1658         (do_test): ... this.
1659         (TEST_FUNCTION): New macro.
1660         Include test-skeleton.c.
1661         * elf/tst-order-main.c (main): Converted to ...
1662         (do_test): ... this.
1663         (TEST_FUNCTION): New macro.
1664         Include test-skeleton.c.
1665         * elf/tst-pie2.c (main): Converted to ...
1666         (do_test): ... this.
1667         (TEST_FUNCTION): New macro.
1668         Include test-skeleton.c.
1669         * inet/tst-ether_aton.c (main): Converted to ...
1670         (do_test): ... this.
1671         (TEST_FUNCTION): New macro.
1672         Include test-skeleton.c.
1673         * misc/tst-mntent.c (main): Converted to ...
1674         (do_test): ... this.
1675         (TEST_FUNCTION): New macro.
1676         Include test-skeleton.c.
1677         * misc/tst-tsearch.c (main): Converted to ...
1678         (do_test): ... this.
1679         (TEST_FUNCTION): New macro.
1680         Include test-skeleton.c.
1681         * posix/tst-regexloc.c (main): Converted to ...
1682         (do_test): ... this.
1683         (TEST_FUNCTION): New macro.
1684         Include test-skeleton.c.
1685         * resolv/tst-aton.c (main): Converted to ...
1686         (do_test): ... this.
1687         (TEST_FUNCTION): New macro.
1688         Include test-skeleton.c.
1689         * stdio-common/test-fwrite.c (main): Converted to ...
1690         (do_test): ... this.
1691         (TEST_FUNCTION): New macro.
1692         Include test-skeleton.c.
1693         * stdio-common/tst-ferror.c (main): Converted to ...
1694         (do_test): ... this.
1695         (TEST_FUNCTION): New macro.
1696         Include test-skeleton.c.
1697         * stdio-common/tst-printf.c (main): Converted to ...
1698         (do_test): ... this.
1699         (TEST_FUNCTION): New macro.
1700         Include test-skeleton.c.
1701         * stdio-common/tst-printfsz.c (main): Converted to ...
1702         (do_test): ... this.
1703         (TEST_FUNCTION): New macro.
1704         Include test-skeleton.c.
1705         * stdlib/tst-strtod.c (main): Converted to ...
1706         (do_test): ... this.
1707         (TEST_FUNCTION): New macro.
1708         Include test-skeleton.c.
1709         * string/tst-strlen.c (main): Converted to ...
1710         (do_test): ... this.
1711         (TEST_FUNCTION): New macro.
1712         Include test-skeleton.c.
1713         * string/tst-svc.c (main): Converted to ...
1714         (do_test): ... this.
1715         (TEST_FUNCTION): New macro.
1716         Include test-skeleton.c.
1717         * time/tst-strptime.c (main): Converted to ...
1718         (do_test): ... this.
1719         (TEST_FUNCTION): New macro.
1720         Include test-skeleton.c.
1721         * timezone/tst-timezone.c (main): Converted to ...
1722         (do_test): ... this.
1723         (TEST_FUNCTION): New macro.
1724         Include test-skeleton.c.
1726 2015-08-05  Zack Weinberg  <zackw@panix.com>
1728         * misc/regexp.h: Update comments.
1730 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1732         [BZ #18635]
1733         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1734         before return label.
1736 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1738         [BZ #18661]
1739         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1740         when calling __errno_location.
1741         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1742         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1744 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1746         [BZ #18661]
1747         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1748         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1749         __gettimeofday.
1751 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1753         [BZ #18661]
1754         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1755         (__start_context): Don't use pop to restore %rdi so that stack
1756         is aligned to 16 bytes when calling __setcontext.
1758 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1760         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1761         only for libc.
1762         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1764 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1766         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1767         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1768         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1770 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1772         * string/memccpy.c (memccpy):
1773         Improve performance by using memchr/memcpy/__mempcpy.
1775 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1777         * string/strncpy.c (strncpy):
1778         Improve performance by using __strnlen/memcpy.
1780 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1782         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1783         Optimize to avoid an unnecessary FPCR read.
1785 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1787         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1788         Optimize to reduce FPCR/FPSR accesses.
1790 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1792         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1793         dead->data[category] != NULL.
1795 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1797         [BZ #18647]
1798         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1799         and |x| close to 1, use absolute value of x when computing log.
1800         * math/auto-libm-test-in: Add more tests of pow.
1801         * math/auto-libm-test-out: Regenerated.
1803 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1805         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1806         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1807         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1809 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1811         [BZ #18525]
1812         * locales/km_KH: Remove timezone definition.
1813         * locales/lo_LA: Likewise.
1814         * locales/my_MM: Likewise.
1815         * locales/nan_TW@latin: Likewise.
1816         * locales/th_TH: Likewise.
1817         * locales/uk_UA: Likewise.
1819 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1821         [BZ #18265]
1822         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1823         (wcsncat): Likewise.
1824         (wcscmp): Likewise.
1825         (wcsncmp): Likewise.
1827 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1829         * test-skeleton.c (usage): New function.
1830         (main): Call usage when opt is '?'.
1832 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1834         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1835         before first use.
1837 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1839         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1840         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1841         in there too.
1843 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1845         * version.h (RELEASE): Set to "development".
1846         (VERSION): Set to "2.22.90"
1848         * version.h (RELEASE): Set to "stable".
1849         (VERSION): Set to "2.22"
1850         * include/features.h (__GLIBC_MINOR__): Set to 22.
1852 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1854         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1855         Restructure macro to avoid "value computed is not used" warning.
1856         (atomic_compare_and_exchange_val_acq): Likewise.
1858 2015-08-04  Andreas Schwab  <schwab@suse.de>
1860         [BZ #18635]
1861         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1862         ret.
1863         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1865 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1867         * po/pl.po: Updated translation.
1868         * po/uk.po: Likewise.
1869         * po/fi.po: Likewise.
1870         * po/ko.po: Likewise.
1871         * po/ru.po: Likewise.
1872         * po/vi.po: Likewise.
1874 2015-07-31  Zack Weinberg  <zackw@panix.com>
1876         [BZ #18681]
1877         * regexp.h: Add unconditional #warning stating that this header
1878         will be removed soon.  Revise banner comment to match.
1879         (compile): Consistently use ERROR instead of RETURN to report
1880         errors (partial fix for bz#18681).
1881         * regexp.c: Don't include regexp.h. Remove some unnecessary
1882         declarations.
1884 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1886         * po/libc.pot: Regenerated.
1888 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1890         [BZ #18740]
1891         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1892         float-vlen4-arch-ext-cflags): Removed.
1893         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1894         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1896 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1898         [BZ #14113]
1899         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1900         aligned to __aligned__.
1901         (pthread_cond_t, pthread_rwlock_t): Likewise.
1903 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1905         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1907 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1909         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1910         (struct sigaction): Change sa_flags from a long to an int, and add
1911         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1913 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1915         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1916         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1917         sysdeps/generic/sysdep.h include.
1918         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1919         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1920         sysdeps/hppa/sysdep.h.
1921         (ENTRY, PSEUDO): Undefine before defining.
1923 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1925         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1926         from scratch to use INTERNAL_SYSCALL.
1928 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1930         [BZ #18078]
1931         * scripts/check-localplt.awk: Support alternate relocations.
1932         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1933         sections.
1934         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1935         malloc entries with + REL R_386_GLOB_DAT.
1936         * sysdeps/x86_64/localplt.data: New file.
1938 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1940         [BZ #18731]
1941         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1942         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1943         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1945 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1947         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1949 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1951         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1952         directly in terms of __sync_fetch_and_add and delete (int) cast.
1954 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1956         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1957         the -D_ASM_IA64_CURRENT_H flag.
1959 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1961         [BZ #18641]
1962         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1964 2015-07-27  Andreas Schwab  <schwab@suse.de>
1966         * conform/conformtest.pl (checknamespace): Filter out string
1967         literals while tokenizing.
1969 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1971         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1972         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1973         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1975 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1977         * nptl/tst-join7mod.c: Add #include <string.h>.
1979 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1981         * sysdeps/nios2/libm-test-ulps: Update.
1983 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1985         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1986         Fix order of arguments to the rt_sigprocmask syscall.
1987         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1988         Likewise.
1990 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1992         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1994 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1996         [BZ #18457]
1997         * nptl/Makefile (tests): New test case tst-join7.
1998         (modules-names): New test case module tst-join7mod.
1999         * nptl/tst-join7.c: New file.
2000         * nptl/tst-join7mod.c: New file.
2001         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2002         all translation units in libc.so, libpthread.so and rtld.
2004 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2008 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2011         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2012         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2013         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2014         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2016         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2017         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2018         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2021         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2022         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2023         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2024         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2025         implementation.
2027 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2029         [BZ #17711]
2030         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2031         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2032         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2033         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2034         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2035         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2037 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2039         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2040         instead of just saying load lock in the comments.
2042 2015-07-23  Roland McGrath  <roland@hack.frob.com>
2044         * sysdeps/unix/Subdirs: Moved ...
2045         * sysdeps/posix/Subdirs: ... here.
2046         * login/pty.h (struct termios, struct winsize): Add forward decls.
2047         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2048         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2049         * sysdeps/arm/nacl/libc.abilist: Updated.
2050         * sysdeps/nacl/libutil.abilist: New file.
2052         * bits/signum.h: Update comments to mention 1003.1-2013 too.
2053         (SIGWINCH): New macro.
2055         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2056         * sysdeps/arm/nacl/libc.abilist: Add it.
2058 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2060         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2062 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2064         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2065         Swap __glibc_reserved0 and sa_flags order.
2067 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2069         [BZ #18657]
2070         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2071         are pending TLS destructor calls.
2072         * include/link.h (struct link_map): Add concurrency note for
2073         L_TLS_DTOR_COUNT.
2074         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2075         Don't touch the link map flag.  Atomically increment
2076         l_tls_dtor_count.
2077         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2078         Avoid taking the load lock and don't touch the link map flag.
2079         * stdlib/tst-tls-atexit-nodelete.c: New test case.
2080         * stdlib/Makefile (tests): Use it.
2081         * stdlib/tst-tls-atexit.c (do_test): dlopen
2082         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
2083         to allow tst-tls-atexit-nodelete test case to use it.
2085 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2087         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2088         to bits/types.h.
2089         (msgqnum_t): New typedef.
2090         (msglen_t): Likewise.
2091         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
2092         and msg_qbytes type to msglen_t.
2094 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2096         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2097         pad0 to __glibc_reserved0.
2098         (struct stat64): Likewise.
2100 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2102         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2103         Change sa_flags from a long to an int and add __glibc_reserved0 before
2104         it for padding.
2106 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2108         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2109         anonymous by deleting "siginfo" name.
2111 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2113         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2114         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2115         rather than __nacl_irt_filename.
2116         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2118         * NEWS: New item for arm-nacl port.
2119         * sysdeps/arm/nacl/libc.abilist: New file.
2120         * sysdeps/nacl/ld.abilist: New file.
2121         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2122         * sysdeps/nacl/libanl.abilist: New file.
2123         * sysdeps/nacl/libcrypt.abilist: New file.
2124         * sysdeps/nacl/libdl.abilist: New file.
2125         * sysdeps/nacl/libm.abilist: New file.
2126         * sysdeps/nacl/libpthread.abilist: New file.
2127         * sysdeps/nacl/libresolv.abilist: New file.
2128         * sysdeps/nacl/librt.abilist: New file.
2130 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2132         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2133         __startcontext to initialize the new context.
2134         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2135         up CFI directive to forbid further backtracing.
2137 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2139         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2140         reference.
2141         * charmaps/ANSI_X3.4-1968: Likewise.
2142         * charmaps/BS_4730: Likewise.
2143         * charmaps/BS_VIEWDATA: Likewise.
2144         * charmaps/CP1250: Likewise.
2145         * charmaps/CP1251: Likewise.
2146         * charmaps/CP1252: Likewise.
2147         * charmaps/CP1253: Likewise.
2148         * charmaps/CP1254: Likewise.
2149         * charmaps/CP1255: Likewise.
2150         * charmaps/CP1256: Likewise.
2151         * charmaps/CSN_369103: Likewise.
2152         * charmaps/EBCDIC-DK-NO: Likewise.
2153         * charmaps/GB_1988-80: Likewise.
2154         * charmaps/GREEK-CCITT: Likewise.
2155         * charmaps/GREEK7: Likewise.
2156         * charmaps/INIS-8: Likewise.
2157         * charmaps/ISIRI-3342: Likewise.
2158         * charmaps/ISO_2033-1983: Likewise.
2159         * charmaps/ISO_5427-EXT: Likewise.
2160         * locales/POSIX: Likewise.
2161         * locales/ar_SA: Likewise.
2162         * locales/be_BY: Likewise.
2163         * locales/be_BY@latin: Likewise.
2164         * locales/ca_ES: Likewise.
2165         * locales/cs_CZ: Likewise.
2166         * locales/da_DK: Likewise.
2167         * locales/de_BE: Likewise.
2168         * locales/de_CH: Likewise.
2169         * locales/de_LU: Likewise.
2170         * locales/en_AU: Likewise.
2171         * locales/en_BW: Likewise.
2172         * locales/en_CA: Likewise.
2173         * locales/en_DK: Likewise.
2174         * locales/en_GB: Likewise.
2175         * locales/en_IE: Likewise.
2176         * locales/en_NZ: Likewise.
2177         * locales/en_ZA: Likewise.
2178         * locales/en_ZW: Likewise.
2179         * locales/es_AR: Likewise.
2180         * locales/es_BO: Likewise.
2181         * locales/es_CL: Likewise.
2182         * locales/es_CO: Likewise.
2183         * locales/es_DO: Likewise.
2184         * locales/es_EC: Likewise.
2185         * locales/es_ES: Likewise.
2186         * locales/es_HN: Likewise.
2187         * locales/es_MX: Likewise.
2188         * locales/es_PA: Likewise.
2189         * locales/es_PE: Likewise.
2190         * locales/es_PY: Likewise.
2191         * locales/es_SV: Likewise.
2192         * locales/es_US: Likewise.
2193         * locales/es_UY: Likewise.
2194         * locales/es_VE: Likewise.
2195         * locales/et_EE: Likewise.
2196         * locales/fa_IR: Likewise.
2197         * locales/fo_FO: Likewise.
2198         * locales/fr_CA: Likewise.
2199         * locales/fr_CH: Likewise.
2200         * locales/gv_GB: Likewise.
2201         * locales/he_IL: Likewise.
2202         * locales/hr_HR: Likewise.
2203         * locales/id_ID: Likewise.
2204         * locales/is_IS: Likewise.
2205         * locales/it_CH: Likewise.
2206         * locales/iw_IL: Likewise.
2207         * locales/kl_GL: Likewise.
2208         * locales/ko_KR: Likewise.
2209         * locales/kw_GB: Likewise.
2210         * locales/lg_UG: Likewise.
2211         * locales/lt_LT: Likewise.
2212         * locales/lv_LV: Likewise.
2213         * locales/mi_NZ: Likewise.
2214         * locales/nhn_MX: Likewise.
2215         * locales/nl_BE: Likewise.
2216         * locales/pl_PL: Likewise.
2217         * locales/sk_SK: Likewise.
2218         * locales/sl_SI: Likewise.
2219         * locales/sv_FI: Likewise.
2220         * locales/tl_PH: Likewise.
2221         * locales/tr_TR: Likewise.
2222         * locales/vi_VN: Likewise.
2224 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2226         [BZ #17475]
2227         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2228         of tu_IN and bh_IN.
2230 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2232         [BZ #18694]
2233         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2234         bits/wordsize.h.
2235         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2237 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2239         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2240         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2241         (spawn_thread): New function.
2242         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2243         (do_test): ... here.  Use IS_LOADED to test for its
2244         availability.
2246 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2248         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2250 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2252         [BZ #18696]
2253         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2254         si_addr_bnd.
2255         (si_lower): New.
2256         (si_upper): Likewise.
2258 2015-07-16  David S. Miller  <davem@davemloft.net>
2260         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2262 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2264         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2265         buffer.
2266         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2267         fail output information.
2269 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2272         and strstr-ppc64..
2273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2274         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2275         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2276         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2277         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2279 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2281         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2282         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2283         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2284         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2286 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2288         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2289         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2290         rtld_hidden_proto.
2291         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2293 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2295         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2296         the test can fail.
2298         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2300         [BZ #18676]
2301         * elf/tst-nodelete-opened.c: New test case.
2302         * elf/tst-nodelete-opened-lib.c: New test case module.
2303         * elf/Makefile (tests, modules-names): Use them.
2304         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2305         early.
2307 2015-07-15  David S. Miller  <davem@davemloft.net>
2309         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2310         futex-intenal.h
2311         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2312         * sysdeps/sparc/sparc64/Makefile: Likewise.
2313         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2314         Remove space from macro define.
2315         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2317 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2319         [BZ #17475]
2320         * locale/iso-639.def: Update Bhili and Tulu language codes as
2321         per iso639-3.
2323 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2325         * elf/tst-leaks1.c (main): Converted to ...
2326         (do_test): ... this.
2327         (TEST_FUNCTION): New macro.
2328         Include test-skeleton.c.
2329         * localedata/tst-langinfo.c (main): Converted to ...
2330         (do_test): ... this.
2331         (TEST_FUNCTION): New macro.
2332         Include test-skeleton.c.
2333         * math/test-fpucw.c (main): Converted to ...
2334         (do_test): ... this.
2335         (TEST_FUNCTION): New macro.
2336         Include test-skeleton.c.
2337         * math/test-tgmath.c (main): Converted to ...
2338         (do_test): ... this.
2339         (TEST_FUNCTION): New macro.
2340         Include test-skeleton.c.
2341         * math/test-tgmath2.c (main): Converted to ...
2342         (do_test): ... this.
2343         (TEST_FUNCTION): New macro.
2344         Include test-skeleton.c.
2345         * setjmp/tst-setjmp.c (main): Converted to ...
2346         (do_test): ... this.
2347         (TEST_FUNCTION): New macro.
2348         Include test-skeleton.c.
2349         * stdio-common/tst-sscanf.c (main): Converted to ...
2350         (do_test): ... this.
2351         (TEST_FUNCTION): New macro.
2352         Include test-skeleton.c.
2353         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2354         (do_test): ... this.
2355         (TEST_FUNCTION): New macro.
2356         Include test-skeleton.c.
2358         * elf/tst-audit9.c (main): Converted to ...
2359         (do_test): ... this.
2360         (TEST_FUNCTION): New macro.
2361         Include test-skeleton.c.
2363 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2365         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2367 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2369         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2370         New variable.
2372 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2374         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2376 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2378         * sysdeps/generic/dl-fileid.h: New file.
2379         * sysdeps/posix/dl-fileid.h: New file.
2380         * sysdeps/nacl/dl-fileid.h: New file.
2381         * include/link.h: Include <dl-fileid.h>.
2382         (struct link_map): Replace l_dev and l_ino with l_file_id.
2383         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2384         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2385         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2387 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2389         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2391 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2393         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2394         Add iff $CXX is set.
2395         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2396         Likewise.
2397         (tst-nodelete-zmodiff): Likewise.
2398         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2400 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2402         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2404 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2406         * sysdeps/aarch64/fpu/math_private.h
2407         (define math_opt_barrier): Add AArch64 version.
2408         (math_force_eval): Likewise.
2410 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2412         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2414 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2416         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2417         %ld with %jd and cast to intmax_t.
2418         (do_test_length_zero): Likewise.
2420 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2422         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2424 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2426         * sysdeps/tile/libm-test-ulps: Regenerated.
2428         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2429         Comment out the whole function, not just its body.
2431 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2433         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2434         locks.
2436         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2438 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2440         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2441         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2443 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2445         * sysdeps/nptl/futex-internal.h: New file.
2446         * sysdeps/nacl/futex-internal.h: New file.
2447         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2448         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2449         error checking.
2450         (setxid_unmark_thread): Likewise.
2451         (__nptl_setxid): Likewise.
2452         (__wait_lookup_done): Likewise.
2453         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2454         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2455         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2456         * nptl/pthread_once.c (clear_once_control): Likewise.
2457         (__pthread_once_slow): Likewise.
2458         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2459         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2460         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2461         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2462         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2463         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2464         Likewise.
2465         (__pthread_rwlock_rdlock): Likewise.
2466         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2467         Likewise.
2468         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2469         Likewise.
2470         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2471         Likewise.
2472         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2473         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2474         Likewise.
2475         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2476         __ASSUME_PRIVATE_FUTEX check.
2477         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2478         Check that shared futexes are supported.
2479         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2480         wrappers with error checking.
2481         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2482         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2483         * nptl/pthread_barrierattr_setpshared.c
2484         (pthread_barrierattr_setpshared): Check that shared futexes are
2485         supported.
2486         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2487         Likewise.
2488         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2489         Likewise.
2490         * nptl/sem_init.c (futex_private_if_supported): Remove.
2491         (__new_sem_init): Adapt and check that shared futexes are supported.
2492         * nptl/sem_open.c (sem_open): Likewise.
2493         * nptl/sem_post.c (futex_wake): Remove.
2494         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2495         (do_futex_wait): Use futex wrappers with error checking.
2496         * nptl/sem_wait.c: Include lowlevellock.h.
2497         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2498         Use futex_supports_pshared.
2499         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2500         Use futex wrappers with error checking.
2501         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2502         Likewise.
2503         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2504         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2505         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2506         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2507         (futex_wake): Likewise.
2508         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2509         (do_futex_wait): Use futex wrappers with error checking.
2510         (__new_sem_wait_slow): Update EINTR handling.
2511         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2513 2015-07-09  Martin Sebor  <msebor@redhat.com>
2515         [BZ #18435]
2516         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2517         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2518         * nptl/Makefile (test-xfail-tst-once5): Define.
2520 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2522         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2523         * elf/dl-minimal.c: For readability, reorder some definitions and
2524         introduce more page breaks.  Include <stdio.h>.
2525         (__libc_fatal): New function.
2527         * include/unistd.h: Add rtld_hidden_proto for _exit.
2528         * posix/_exit.c: Add rtld_hidden_def.
2529         * sysdeps/mach/hurd/_exit.c: Likewise.
2530         * sysdeps/nacl/_exit.c: Likewise.
2531         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2532         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2534 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2536         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2537         bndmov encoding with zero displacement.
2539 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2540             H.J. Lu  <hongjiu.lu@intel.com>
2542         [BZ #18134]
2543         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2544         * sysdeps/i386/configure: Regenerated.
2545         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2546         (_dl_runtime_profile): Save and restore Intel MPX return bound
2547         registers when calling _dl_call_pltexit.  Add
2548         PRESERVE_BND_REGS_PREFIX before return.
2549         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2550         (LRV_BND1_OFFSET): Likewise.
2551         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2552         lrv_bnd1.
2553         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2554         typo in bndmov encoding.
2555         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2556         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2557         branch instructions to preserve bounds.
2559 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2562         [GLIBC_2.22]: Add fmemopen.
2564 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2566         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2567         returns an error, also try to use host port from __mach_host_self for
2568         the __vm_wire call.
2569         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2571 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2573         [BZ #18400]
2574         [BZ #18648]
2575         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2576         Fix pr_uid and pr_gid members.
2577         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2578         definition to elf_greg_t.
2580 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2582         [BZ #18383]
2583         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2584         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2585         * sysdeps/arm/configure: Regenerated.
2586         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2587         (test-xfail-tst-tlsalign-static): Variable removed.
2589         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2590         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2591         rather than explicit 'ln -s'.
2593         * resolv/rpc/netdb.h: New file.
2594         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2596 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2598         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2599         length buffers.
2600         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2601         test-skeleton.c.
2603         [BZ #6544]
2604         [BZ #11216]
2605         [BZ #12836]
2606         [BZ #13151]
2607         [BZ #13152]
2608         [BZ #14292]
2609         * include/stdio.h (fmemopen): Remove hidden prototype.
2610         (__fmemopen): Add new hidden prototype.
2611         * libio/Makefile: Add oldfmemopen object.
2612         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2613         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2614         compliance.
2615         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2616         symbol compatibility.
2617         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2618         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2619         fmemopen.
2620         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2621         on append and read mode.
2622         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2623         fmemopen.
2624         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2625         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2626         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2627         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2628         Likewise.
2629         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2630         [GLIBC_2.22]: Likewise.
2631         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2632         Likewise.
2633         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2634         Likewise.
2635         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2636         [GLIBC_2.22]: Likewise.
2637         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2638         [GLIBC_2.22]: Likewise.
2639         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2640         [GLIBC_2.22]: Likewise.
2641         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2642         [GLIBC_2.22]: Likewise.
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2644         [GLIBC_2.22]: Likewise.
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2646         [GLIBC_2.22]: Likewise.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2648         [GLIBC_2.22]: Likewise.
2649         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2650         Likewise.
2651         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2652         Likewise.
2653         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2654         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2655         [GLIBC_2.22]: Likewise.
2656         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2657         [GLIBC_2.22]: Likewise.
2658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2659         [GLIBC_2.22]: Likewise.
2660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2661         [GLIBC_2.22]: Likewise.
2662         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2663         Likewise.
2664         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2665         Likewise.
2666         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2667         Likewise.
2668         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2669         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2671 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2673         [BZ #18643]
2674         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2675         IPV6_PATHMTU, and IPV6_DONTFRAG.
2677 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2679         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2680         and _IO_UNBUFFERED.
2681         * libio/oldfileops.c: Likewise.
2682         * libio/wfileops.c: Likewise.
2684 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2686         * nscd/selinux.c: Delete selinux/flask.h include.
2688 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2690         [BZ #18641]
2691         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2692         (putpwent): Likewise.
2693         (getpwnam): Likewise.
2694         (getpwent_r): Likewise.
2695         (getpwuid_r): Likewise.
2696         (getpwnam_r): Likewise.
2697         (fgetpwent_r): Likewise.
2699 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2701         [BZ #18557]
2702         * inet/rcmd.c (__validuser2_sa): Check user first to
2703         short-circuit host check.
2705 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2706             Mikhail Ilin  <m.ilin@samsung.com>
2708         [BZ #17833]
2709         * elf/Makefile (tests): Add tst-nodelete.
2710         (modules-names): Add tst-nodelete-uniquemod.
2711         (tst-nodelete-uniquemod.so-no-z-defs): New.
2712         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2713         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2714         ($(objpfx)tst-nodelete): Likewise.
2715         ($(objpfx)tst-nodelete.out): Likewise.
2716         (LDFLAGS-tst-nodelete): Likewise.
2717         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2718         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2719         implement forced object deletion.
2720         (_dl_close): Pass false to _dl_close_worker.
2721         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2722         * elf/tst-nodelete.cc: New file.
2723         * elf/tst-nodeletelib.cc: Likewise.
2724         * elf/tst-znodeletelib.cc: Likewise.
2725         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2727 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2729         [BZ #18508]
2730         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2731         Depend on $(libdl).
2732         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2733         is not called infinitely times.
2734         (backtrace_helper): New function.
2735         (trace_arg): New struct.
2736         (st1): Enlarge stack size.
2737         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2738         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2739         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2740         Likewise.
2742 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2744         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2746 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2748         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2749         Include sys/types.h instead of bits/types.h.
2750         Remove inclusion of bits/wordsize.h.
2752 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2754         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2755         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2756         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2757         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2758         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2759         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2761 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2763         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2764         link-defines.sym.
2765         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2766         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2767         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2768         and LR_SIZE.
2769         * sysdeps/i386/link-defines.sym: New file.
2771 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2773         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2774         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2775         ($(objpfx)tst-audit3): New rule.
2776         ($(objpfx)tst-audit3.out): Likewise.
2777         * sysdeps/i386/tst-audit3.c: New file.
2778         * sysdeps/i386/tst-audit3.h: Likewise.
2779         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2780         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2782 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2784         [BZ #18633]
2785         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2786         pointer in C code.
2787         (__strcat_c): Likewise.
2788         (__strcat_g): Likewise.
2790 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2792         [BZ #18592]
2793         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2795 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2797         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2798         New function.  (__ieee754_sqrtf): New function.
2799         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2800         New function.
2801         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2802         New function.
2804 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2806         * sysdeps/ieee754/support.c: Remove unused file.
2808 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2810         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2811         registers instead of d ones so the layout is kernel abi compatible.
2812         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2813         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2814         Likewise.
2816 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2818         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2820 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2822         [BZ #18619]
2823         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2824         and return argument in case of subnormal argument.
2826 2015-07-01  Martin Sebor  <msebor@redhat.com>
2828         [BZ #18435]
2829         * nptl/Makefile: Add tst-once5.cc.
2830         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2831         Remove macro redefinitions.
2832         * nptl/tst-once5.cc: New test.
2834 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2836         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2838         * sysdeps/arm/libm-test-ulps: Regenerated.
2840         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2841         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2843 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2845         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2846         lll_lock_wait_private and lll_futex_wake probes.
2848         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2849         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2850         Likewise.
2851         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2852         atomic_spin_nop.
2853         * sysdeps/x86_64/bits/atomic.h: Likewise.
2854         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2855         to atomic_spin_nop and move ...
2856         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2857         ... here and ...
2858         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2859         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2860         atomic_spin_nop instead of BUSY_WAIT_NOP.
2861         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2862         Likewise.
2863         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2864         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2865         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2866         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2867         instead of atomic_delay.
2869 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2871         [BZ #18613]
2872         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2873         X_ADJ not X when adjusting exponent.
2874         (__ieee754_gamma_r): Do intermediate computations in
2875         round-to-nearest then adjust overflowing and underflowing results
2876         as needed.
2877         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2878         of X_ADJ not X when adjusting exponent.
2879         (__ieee754_gammaf_r): Do intermediate computations in
2880         round-to-nearest then adjust overflowing and underflowing results
2881         as needed.
2882         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2883         log of X_ADJ not X when adjusting exponent.
2884         (__ieee754_gammal_r): Do intermediate computations in
2885         round-to-nearest then adjust overflowing and underflowing results
2886         as needed.  Use 1.0L not 1.0f as numerator of division.
2887         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2888         log of X_ADJ not X when adjusting exponent.
2889         (__ieee754_gammal_r): Do intermediate computations in
2890         round-to-nearest then adjust overflowing and underflowing results
2891         as needed.  Use 1.0L not 1.0f as numerator of division.
2892         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2893         of X_ADJ not X when adjusting exponent.
2894         (__ieee754_gammal_r): Do intermediate computations in
2895         round-to-nearest then adjust overflowing and underflowing results
2896         as needed.  Use 1.0L not 1.0f as numerator of division.
2897         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2898         to auto-libm-test-in.
2899         (tgamma_test): Use ALL_RM_TEST.
2900         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2901         tests of tgamma with spurious-overflow.
2902         * math/auto-libm-test-out: Regenerated.
2903         * math/gen-libm-have-vector-test.sh: Do not check for START.
2904         * sysdeps/i386/fpu/libm-test-ulps: Update.
2905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2907         [BZ #18612]
2908         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2909         arguments, just return 0.5 times the argument, with underflow
2910         forced as needed.
2911         * math/auto-libm-test-in: Add more tests of j1.
2912         * math/auto-libm-test-out: Regenerated.
2914         [BZ #16559]
2915         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2916         (__ieee754_j1): Force underflow exception for small results.
2917         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2918         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2919         (__ieee754_j1f): Force underflow exception for small results.
2920         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2921         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2923         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2924         (__ieee754_j1l): Force underflow exception for small results.
2925         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2926         * math/auto-libm-test-in: Add more tests of j1 and jn.
2927         * math/auto-libm-test-out: Regenerated.
2929         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2930         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2931         (PF_MPLS): Likewise.
2932         (AF_IB): Likewise.
2933         (AF_MPLS): Likewise.
2934         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2935         value and macro.
2936         (MS_RMT_MASK): Include MS_LAZYTIME.
2938 2015-06-26  Mel Gorman  <mgorman@suse.de>
2940         [BZ #18502]
2941         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2942         already minimal.
2944 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2946         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2947         (DT_MIPS_NUM): Update.
2948         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2949         DT_MIPS_RLD_MAP_REL.
2951 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2953         [BZ #16559]
2954         [BZ #18602]
2955         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2956         round-to-nearest internally then recompute results that
2957         underflowed to zero in the original rounding mode.
2958         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2959         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2961         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2962         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2963         * sysdeps/i386/fpu/libm-test-ulps: Update.
2964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2966 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2968         * NEWS: Fixed description of link with vector math library.
2970 2015-06-25  Andreas Schwab  <schwab@suse.de>
2972         [BZ #18549]
2973         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2974         * libio/test-fmemopen.c (do_test): Add test for it.
2976 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2978         [BZ #17841]
2979         * Makeconfig (no-pie-ldflag): New.
2980         (+link): Set to $(+link-pie) if default to PIE.
2981         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2982         * config.make.in (build-pie-default): New.
2983         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2984         is default.  AC_SUBST.
2985         * configure: Regenerated.
2986         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2988 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2990         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2991         to 'unsigned int'.
2993         * resolv/gai_misc.h (struct waitlist): Change type of field
2994         counterp to 'volatile unsigned int *'.
2995         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2996         FUTEXADDR and OLDVAL.
2997         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2998         Give local variable TOTAL type 'volatile unsigned int'.
2999         (struct async_waitlist): Change type of field counter to 'unsigned int'.
3000         * resolv/gai_suspend.c (gai_suspend):
3001         Give local variable CNTR type 'unsigned int'.
3003         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3004         counterp to 'volatile unsigned int *'.
3005         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3006         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3007         (aio_suspend): Give local variable CNTR type 'unsigned int'.
3008         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3009         Give local variable TOTAL type 'volatile unsigned int'.
3010         (struct async_waitlist): Change type of field counter to 'unsigned int'.
3012 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3014         [BZ #18383]
3015         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3016         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
3017         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3018         comment for i386/x86-64.
3019         (test-xfail-tst-tlsalign-extern-static): Removed.
3021 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3023         * math/test-double.h: New file.
3024         * math/test-float.h: Likewise.
3025         * math/test-ldouble.h: Likewise.
3026         * math/test-math-inline.h: Likewise.
3027         * math/test-math-no-inline.h: Likewise.
3028         * math/test-math-scalar.h: Likewise.
3029         * math/test-math-vector.h: Likewise.
3030         * math/test-vec-loop.h: Remove file.  Contents moved into
3031         test-math-vector.h.
3032         * math/libm-test.inc (MATHCONST): Do not document macro.
3033         * math/test-double.c: Include test-double.h, test-math-no-inline.h
3034         and test-math-scalar.h.
3035         (FUNC): Remove macro.
3036         (FUNC_TEST): Likewise.
3037         (FLOAT): Likewise.
3038         (MATHCONST): Likewise.
3039         (PRINTF_EXPR): Likewise.
3040         (PRINTF_XEXPR): Likewise.
3041         (PRINTF_NEXPR): Likewise.
3042         (TEST_DOUBLE): Likewise.
3043         (TEST_MATHVEC): Likewise.
3044         (__NO_MATH_INLINES): Likewise.
3045         * math/test-float.c: Include test-float.h, test-math-no-inline.h
3046         and test-math-scalar.h.
3047         (FUNC): Remove macro.
3048         (FUNC_TEST): Likewise.
3049         (FLOAT): Likewise.
3050         (MATHCONST): Likewise.
3051         (PRINTF_EXPR): Likewise.
3052         (PRINTF_XEXPR): Likewise.
3053         (PRINTF_NEXPR): Likewise.
3054         (TEST_FLOAT): Likewise.
3055         (TEST_MATHVEC): Likewise.
3056         (__NO_MATH_INLINES): Likewise.
3057         * math/test-idouble.c: Include test-double.h, test-math-inline.h
3058         and test-math-scalar.h.
3059         (FUNC): Remove macro.
3060         (FUNC_TEST): Likewise.
3061         (FLOAT): Likewise.
3062         (MATHCONST): Likewise.
3063         (PRINTF_EXPR): Likewise.
3064         (PRINTF_XEXPR): Likewise.
3065         (PRINTF_NEXPR): Likewise.
3066         (TEST_DOUBLE): Likewise.
3067         (TEST_MATHVEC): Likewise.
3068         (TEST_INLINE): Likewise.
3069         (__NO_MATH_INLINES): Likewise.
3070         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3071         test-math-scalar.h.
3072         (FUNC): Remove macro.
3073         (FUNC_TEST): Likewise.
3074         (FLOAT): Likewise.
3075         (MATHCONST): Likewise.
3076         (PRINTF_EXPR): Likewise.
3077         (PRINTF_XEXPR): Likewise.
3078         (PRINTF_NEXPR): Likewise.
3079         (TEST_FLOAT): Likewise.
3080         (TEST_MATHVEC): Likewise.
3081         (TEST_INLINE): Likewise.
3082         (__NO_MATH_INLINES): Likewise.
3083         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3084         and test-math-scalar.h.
3085         (FUNC): Remove macro.
3086         (FUNC_TEST): Likewise.
3087         (FLOAT): Likewise.
3088         (MATHCONST): Likewise.
3089         (PRINTF_EXPR): Likewise.
3090         (PRINTF_XEXPR): Likewise.
3091         (PRINTF_NEXPR): Likewise.
3092         (TEST_LDOUBLE): Likewise.
3093         (TEST_MATHVEC): Likewise.
3094         (TEST_INLINE): Likewise.
3095         (__NO_MATH_INLINES): Likewise.
3096         * math/test-ldouble.c: Include test-ldouble.h,
3097         test-math-no-inline.h and test-math-scalar.h.
3098         (FUNC): Remove macro.
3099         (FUNC_TEST): Likewise.
3100         (FLOAT): Likewise.
3101         (MATHCONST): Likewise.
3102         (PRINTF_EXPR): Likewise.
3103         (PRINTF_XEXPR): Likewise.
3104         (PRINTF_NEXPR): Likewise.
3105         (TEST_LDOUBLE): Likewise.
3106         (TEST_MATHVEC): Likewise.
3107         (__NO_MATH_INLINES): Likewise.
3108         * math/test-double-vlen2.h: Include test-double.h,
3109         test-math-no-inline.h and test-math-vector.h.
3110         (FLOAT): Remove macro.
3111         (FUNC): Likewise.
3112         (MATHCONST): Likewise.
3113         (PRINTF_EXPR): Likewise.
3114         (PRINTF_XEXPR): Likewise.
3115         (PRINTF_NEXPR): Likewise.
3116         (TEST_DOUBLE): Likewise.
3117         (TEST_MATHVEC): Likewise.
3118         (__NO_MATH_INLINES): Likewise.
3119         (CNCT): Likewise.
3120         (CONCAT): Likewise.
3121         (WRAPPER_NAME): Likewise.
3122         (WRAPPER_DECL): Likewise.
3123         (WRAPPER_DECL_ff): Likewise.
3124         (WRAPPER_DECL_fFF): Likewise.
3125         (VECTOR_WRAPPER): Likewise.
3126         (VECTOR_WRAPPER_ff): Likewise.
3127         (VECTOR_WRAPPER_fFF): Likewise.
3128         (VEC_LEN): New macro.
3129         * math/test-double-vlen4.h: Include test-double.h,
3130         test-math-no-inline.h and test-math-vector.h.
3131         (FLOAT): Remove macro.
3132         (FUNC): Likewise.
3133         (MATHCONST): Likewise.
3134         (PRINTF_EXPR): Likewise.
3135         (PRINTF_XEXPR): Likewise.
3136         (PRINTF_NEXPR): Likewise.
3137         (TEST_DOUBLE): Likewise.
3138         (TEST_MATHVEC): Likewise.
3139         (__NO_MATH_INLINES): Likewise.
3140         (CNCT): Likewise.
3141         (CONCAT): Likewise.
3142         (WRAPPER_NAME): Likewise.
3143         (WRAPPER_DECL): Likewise.
3144         (WRAPPER_DECL_ff): Likewise.
3145         (WRAPPER_DECL_fFF): Likewise.
3146         (VECTOR_WRAPPER): Likewise.
3147         (VECTOR_WRAPPER_ff): Likewise.
3148         (VECTOR_WRAPPER_fFF): Likewise.
3149         (VEC_LEN): New macro.
3150         * math/test-double-vlen8.h: Include test-double.h,
3151         test-math-no-inline.h and test-math-vector.h.
3152         (FLOAT): Remove macro.
3153         (FUNC): Likewise.
3154         (MATHCONST): Likewise.
3155         (PRINTF_EXPR): Likewise.
3156         (PRINTF_XEXPR): Likewise.
3157         (PRINTF_NEXPR): Likewise.
3158         (TEST_DOUBLE): Likewise.
3159         (TEST_MATHVEC): Likewise.
3160         (__NO_MATH_INLINES): Likewise.
3161         (CNCT): Likewise.
3162         (CONCAT): Likewise.
3163         (WRAPPER_NAME): Likewise.
3164         (WRAPPER_DECL): Likewise.
3165         (WRAPPER_DECL_ff): Likewise.
3166         (WRAPPER_DECL_fFF): Likewise.
3167         (VECTOR_WRAPPER): Likewise.
3168         (VECTOR_WRAPPER_ff): Likewise.
3169         (VECTOR_WRAPPER_fFF): Likewise.
3170         (VEC_LEN): New macro.
3171         * math/test-float-vlen4.h: Include test-float.h,
3172         test-math-no-inline.h and test-math-vector.h.
3173         (FLOAT): Remove macro.
3174         (FUNC): Likewise.
3175         (MATHCONST): Likewise.
3176         (PRINTF_EXPR): Likewise.
3177         (PRINTF_XEXPR): Likewise.
3178         (PRINTF_NEXPR): Likewise.
3179         (TEST_FLOAT): Likewise.
3180         (TEST_MATHVEC): Likewise.
3181         (__NO_MATH_INLINES): Likewise.
3182         (CNCT): Likewise.
3183         (CONCAT): Likewise.
3184         (WRAPPER_NAME): Likewise.
3185         (WRAPPER_DECL): Likewise.
3186         (WRAPPER_DECL_ff): Likewise.
3187         (WRAPPER_DECL_fFF): Likewise.
3188         (VECTOR_WRAPPER): Likewise.
3189         (VECTOR_WRAPPER_ff): Likewise.
3190         (VECTOR_WRAPPER_fFF): Likewise.
3191         (VEC_LEN): New macro.
3192         * math/test-float-vlen8.h: Include test-float.h,
3193         test-math-no-inline.h and test-math-vector.h.
3194         (FLOAT): Remove macro.
3195         (FUNC): Likewise.
3196         (MATHCONST): Likewise.
3197         (PRINTF_EXPR): Likewise.
3198         (PRINTF_XEXPR): Likewise.
3199         (PRINTF_NEXPR): Likewise.
3200         (TEST_FLOAT): Likewise.
3201         (TEST_MATHVEC): Likewise.
3202         (__NO_MATH_INLINES): Likewise.
3203         (CNCT): Likewise.
3204         (CONCAT): Likewise.
3205         (WRAPPER_NAME): Likewise.
3206         (WRAPPER_DECL): Likewise.
3207         (WRAPPER_DECL_ff): Likewise.
3208         (WRAPPER_DECL_fFF): Likewise.
3209         (VECTOR_WRAPPER): Likewise.
3210         (VECTOR_WRAPPER_ff): Likewise.
3211         (VECTOR_WRAPPER_fFF): Likewise.
3212         (VEC_LEN): New macro.
3213         * math/test-float-vlen16.h: Include test-float.h,
3214         test-math-no-inline.h and test-math-vector.h.
3215         (FLOAT): Remove macro.
3216         (FUNC): Likewise.
3217         (MATHCONST): Likewise.
3218         (PRINTF_EXPR): Likewise.
3219         (PRINTF_XEXPR): Likewise.
3220         (PRINTF_NEXPR): Likewise.
3221         (TEST_FLOAT): Likewise.
3222         (TEST_MATHVEC): Likewise.
3223         (__NO_MATH_INLINES): Likewise.
3224         (CNCT): Likewise.
3225         (CONCAT): Likewise.
3226         (WRAPPER_NAME): Likewise.
3227         (WRAPPER_DECL): Likewise.
3228         (WRAPPER_DECL_ff): Likewise.
3229         (WRAPPER_DECL_fFF): Likewise.
3230         (VECTOR_WRAPPER): Likewise.
3231         (VECTOR_WRAPPER_ff): Likewise.
3232         (VECTOR_WRAPPER_fFF): Likewise.
3233         (VEC_LEN): New macro.
3234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3235         test-vec-loop.h.
3236         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3238         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3239         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3240         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3241         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3242         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3244 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3246         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3247         (__getlogin_r): ... this.
3249 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3251         [BZ #18594]
3252         * math/s_ccosh.c (__ccosh): Compare with least normal value
3253         instead of comparing class with FP_SUBNORMAL.
3254         * math/s_ccoshf.c (__ccoshf): Likewise.
3255         * math/s_ccoshl.c (__ccoshl): Likewise.
3256         * math/s_cexp.c (__cexp): Likewise.
3257         * math/s_cexpf.c (__cexpf): Likewise.
3258         * math/s_cexpl.c (__cexpl): Likewise.
3259         * math/s_csin.c (__csin): Likewise.
3260         * math/s_csinf.c (__csinf): Likewise.
3261         * math/s_csinh.c (__csinh): Likewise.
3262         * math/s_csinhf.c (__csinhf): Likewise.
3263         * math/s_csinhl.c (__csinhl): Likewise.
3264         * math/s_csinl.c (__csinl): Likewise.
3265         * math/s_ctan.c (__ctan): Likewise.
3266         * math/s_ctanf.c (__ctanf): Likewise.
3267         * math/s_ctanh.c (__ctanh): Likewise.
3268         * math/s_ctanhf.c (__ctanhf): Likewise.
3269         * math/s_ctanhl.c (__ctanhl): Likewise.
3270         * math/s_ctanl.c (__ctanl): Likewise.
3271         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3272         csin, csinh, ctan and ctanh.
3273         * math/auto-libm-test-out: Regenerated.
3274         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3275         * sysdeps/i386/fpu/libm-test-ulps: Update.
3276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3278 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3280         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3281         return value is wrong, print the expected value too.
3283 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3285         [BZ #18585]
3286         * elf/readlib.c (is_gdb_python_file): New.
3287         (process_file): Don't issue errors on filenames with -gdb.py
3288         suffix.
3290 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3292         * math/auto-libm-test-in: Add more tests of csin and csinh.
3293         * math/auto-libm-test-out: Regenerated.
3294         * math/libm-test.inc (csin_test_data): Remove tests moved to
3295         auto-libm-test-in.
3296         (csinh_test_data): Likewise.
3298         [BZ #18593]
3299         * math/s_csin.c (__csin): Negate before rather than after possibly
3300         overflowing multiplication.
3301         * math/s_csinf.c (__csinf): Likewise.
3302         * math/s_csinh.c (__csinh): Likewise.
3303         * math/s_csinhf.c (__csinhf): Likewise.
3304         * math/s_csinhl.c (__csinhl): Likewise.
3305         * math/s_csinl.c (__csinl): Likewise.
3306         * math/auto-libm-test-in: Add some tests of csin and csinh.
3307         * math/auto-libm-test-out: Regenerated.
3308         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3309         (csinh_test_data): Likewise.
3310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3312         [BZ #18586]
3313         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3314         underflow exception for small results.
3316 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3319         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3320         variable and included header.
3321         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3322         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3323         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3325         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3326         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3327         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3328         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3329         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3330         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3331         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3332         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3333         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3334         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3335         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3336         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3338 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3340         [BZ #16526]
3341         [BZ #16538]
3342         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3343         (__sin): Force underflow exception for arguments with small
3344         absolute value.
3345         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3346         (__kernel_sinf): Force underflow exception for arguments with
3347         small absolute value.
3348         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3349         (__kernel_sincosl): Force underflow exception for arguments with
3350         small absolute value.
3351         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3352         (__kernel_sinl): Force underflow exception for arguments with
3353         small absolute value.
3354         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3355         (__kernel_sincosl): Force underflow exception for arguments with
3356         small absolute value.
3357         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3358         (__kernel_sinl): Force underflow exception for arguments with
3359         small absolute value.
3360         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3361         (__kernel_sinl): Force underflow exception for arguments with
3362         small absolute value.
3363         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3364         (__kernel_sinf): Force underflow exception for arguments with
3365         small absolute value.
3366         * math/auto-libm-test-in: Add more tests of sin and sincos.
3367         * math/auto-libm-test-out: Regenerated.
3369         [BZ #18245]
3370         [BZ #18583]
3371         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3372         (__kernel_standard_l): Use feholdexcept and fesetenv around
3373         conversion to double instead of special-casing overflow and
3374         underflow.
3375         * math/libm-test.inc (fmod_test_data): Add more tests.
3376         (remainder_test_data): Likewise.
3377         (sqrt_test_data): Likewise.
3379 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3381         [BZ #17403]
3382         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3383         atomic_read_barrier, atomic_write_barrier): Define.
3384         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3385         atomic_read_barrier, atomic_write_barrier): Define.
3387 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3389         * math/Makefile [$(PERL) != no]
3390         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3391         dependency on libm-test.stmp below the inclusion of Rules.
3393 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3397         and included header.
3398         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3403         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3404         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3406         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3407         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3408         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3409         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3410         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3411         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3412         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3413         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3414         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3415         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3416         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3418 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3420         [BZ #18371]
3421         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3422         intermediate but not final result might underflow.
3423         * math/s_csqrtf.c (__csqrtf): Likewise.
3424         * math/s_csqrtl.c (__csqrtl): Likewise.
3425         * math/auto-libm-test-in: Add more tests of csqrt.
3426         * math/auto-libm-test-out: Regenerated.
3427         * sysdeps/i386/fpu/libm-test-ulps: Update.
3429         [BZ #18219]
3430         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3431         threshold on absolute value of exponent for which scaling is used.
3432         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3433         * math/auto-libm-test-in: Add more tests of exp2.
3434         * math/auto-libm-test-out: Regenerated.
3436 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3438         [BZ #17977]
3439         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3440         when initializing interface list, based on the bug analysis
3441         and the patch proposed by Eric Newton.
3442         * resolv/tst-res_hconf_reorder.c: New test.
3443         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3444         tst-res_hconf_reorder.
3445         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3446         and $(shared-thread-library).
3447         (tst-res_hconf_reorder-ENV): New variable.
3449         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3450         in comment.
3452 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3454         [BZ #16353]
3455         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3456         (__expm1): Force underflow exception for arguments with small
3457         absolute value.
3458         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3459         (__expm1f): Force underflow exception for arguments with small
3460         absolute value.
3461         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3462         (__expm1): Force underflow exception for arguments with small
3463         absolute value.
3464         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3465         (__expm1f): Force underflow exception for arguments with small
3466         absolute value.
3467         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3468         Check for small arguments before calling __expm1.
3469         * math/auto-libm-test-in: Do not mark underflow exceptions as
3470         possibly missing for bug 16353.
3471         * math/auto-libm-test-out: Regenerated.
3473 2015-06-22  Andreas Schwab  <schwab@suse.de>
3475         [BZ #18513]
3476         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3477         PTR queries.
3479 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3481         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3483         * string/strcoll_l.c: Remove unused struct element idxnow.
3485 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3487         [BZ #18569]
3488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3489         underflow and return argument in case of subnormal argument.
3490         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3491         Likewise.
3492         * math/auto-libm-test-in: Add more tests of expm1.
3493         * math/auto-libm-test-out: Regenerated.
3495         [BZ #16361]
3496         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3497         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3498         tiny results.
3499         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3500         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3501         tiny results.
3502         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3503         mark underflow exceptions as possibly missing for bug 16361.
3504         * math/auto-libm-test-out: Regenerated.
3506 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3508         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3509         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3510         Remove variable.
3511         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3512         (test-xfail-XOPEN2K8/utmpx.h/conform).
3514         * conform/conformtest.pl ($xerrors): New variable.
3515         (note_error): New function.
3516         (compiletest): New argument $xfail.  Use not_error.
3517         (runtest): Likewise.
3518         (top level): Handle xfail- lines.  Update calls to compiletest and
3519         runtest.  Handle xfail- and optional- in headers listed with
3520         allow-header.
3521         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3522         (O_EXEC): Likewise.
3523         (O_SEARCH): Likewise.
3524         * conform/data/stropts.h-data (ioctl): Likewise.
3525         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3526         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3527         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3528         (msghdr.msg_controllen): Likewise.
3529         (cmsghdr.cmsg_len): Likewise.
3530         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3531         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3532         variable.
3533         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3534         (test-xfail-XPG4/stropts.h/conform): Likewise.
3535         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3536         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3537         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3538         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3539         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3540         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3541         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3542         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3543         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3544         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3545         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3546         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3547         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3548         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3549         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3550         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3551         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3552         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3553         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3555 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3557         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3558         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3559         definitions for proper unfolding of __MATHDECL_VEC.
3561 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3563         * benchtests/bench-strcoll.c:
3564         Include string.h.
3565         (main): Remove unused variable res.
3567 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3569         * timezone/Makefile (%/UTC %/Universal):
3570         Generate test-result files for UTC and Universal.
3572 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3574         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3576 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3578         [BZ #16350]
3579         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3580         for arguments with small absolute value.
3581         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3582         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3583         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3584         (__asinh): Force underflow exception for arguments with small
3585         absolute value.
3586         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3587         (__asinhf): Force underflow exception for arguments with small
3588         absolute value.
3589         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3590         (__asinhl): Force underflow exception for arguments with small
3591         absolute value.
3592         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3593         (__asinhl): Force underflow exception for arguments with small
3594         absolute value.
3595         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3596         (__asinhl): Force underflow exception for arguments with small
3597         absolute value.
3598         * math/auto-libm-test-in: Do not mark underflow exceptions as
3599         possibly missing for bug 16350.
3600         * math/auto-libm-test-out: Regenerated.
3602         * include/bits/ipc.h: Remove file.
3603         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3604         variable.
3605         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3606         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3607         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3608         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3609         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3610         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3611         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3612         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3613         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3615         * math/auto-libm-test-in: Remove spurious underflow allowance for
3616         tests of cexp.
3617         * math/auto-libm-test-out: Regenerated.
3619         [BZ #18558]
3620         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3621         unconditional definition.
3622         (MCAST_BLOCK_SOURCE): Likewise.
3623         (MCAST_UNBLOCK_SOURCE): Likewise.
3624         (MCAST_LEAVE_GROUP): Likewise.
3625         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3626         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3627         (MCAST_MSFILTER): Likewise.
3628         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3629         Remove variable.
3630         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3631         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3632         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3633         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3634         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3636 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3638         * NEWS: Mention addition of x86_64 vector sincosf.
3639         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
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 sincosf 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_s_sincosf16_core.S
3650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3651         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3652         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3653         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3654         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3655         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3656         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3657         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3658         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3659         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3660         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3661         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3662         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3663         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3664         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3665         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3666         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3667         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3668         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3669         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3671         * NEWS: Mention addition of x86_64 vector sincos.
3672         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3673         * math/math.h (__MATHDECL_VEC): New macro.
3674         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3675         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3676         declaration under condition.
3677         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3678         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3679         TEST_VEC_LOOP change.
3680         * math/test-double-vlen4.h: Likewise.
3681         * math/test-double-vlen8.h: Likewise.
3682         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3683         * math/test-float-vlen4.h: Likewise.
3684         * math/test-float-vlen8.h: Likewise.
3685         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3686         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3687         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3688         * sysdeps/x86_64/fpu/Versions: New versions added.
3689         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3690         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3691         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3692         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3694         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3695         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3696         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3697         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3698         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3699         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3700         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3701         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3702         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3703         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3704         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3705         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3706         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3707         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3708         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3709         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3710         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3711         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3712         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3714         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3715         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3716         redirections for powf.
3717         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3718         * sysdeps/x86_64/fpu/Versions: New versions added.
3719         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3720         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3721         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3722         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3725         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3726         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3727         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3728         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3729         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3730         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3731         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3732         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3733         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3734         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3735         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3736         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3737         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3738         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3739         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3740         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3741         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3742         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3743         * math/test-float-vlen16.h: Fixed 2 argument macro.
3744         * math/test-float-vlen4.h: Likewise.
3745         * math/test-float-vlen8.h: Likewise.
3746         * NEWS: Mention addition of x86_64 vector powf.
3748 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3750         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3751         and redefine.
3752         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3753         and redefine.
3754         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3755         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3756         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3758         [BZ #18553]
3759         * resource/getpriority.c (getpriority): Rename to __getpriority
3760         and define as weak alias of __getpriority.
3761         * resource/setpriority.c (setpriority): Rename to __setpriority
3762         and define as weak alias of __setpriority.
3763         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3764         __getpriority and define as weak alias of __getpriority.
3765         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3766         __setpriority and define as weak alias of __setpriority.
3767         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3768         strong name.
3769         (setpriority): Use __setpriority as strong name.
3770         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3771         __getpriority and define as weak alias of __getpriority.
3772         * include/sys/resource.h (__getpriority): Declare.  Use
3773         libc_hidden_proto.
3774         (__setpriority): Likewise.
3775         (getpriority): Don't use libc_hidden_proto.
3776         (setpriority): Likewise.
3777         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3778         getpriority.  Call __setpriority instead of setpriority.
3779         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3780         Remove variable.
3782         [BZ #18547]
3783         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3784         as weak alias of __getttynam.  Use prototype function definition.
3785         Call __setttyent, __getttyent and __endttyent instead of
3786         setttyent, getttyent and endttyent.
3787         (getttyent): Rename to __getttyent and define as weak alias of
3788         __getttyent.  Call __setttyent instead of setttyent.  Call
3789         __fgets_unlocked instead of fgets_unlocked.
3790         (setttyent): Rename to __setttyent and define as weak alias of
3791         __setttyent.
3792         (endttyent): Rename to __endttyent and define as weak alias of
3793         __endttyent.
3794         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3795         (__setttyent): Likewise.
3796         (__endttyent): Likewise.
3797         (getttyent): Don't use libc_hidden_proto.
3798         (setttyent): Likewise.
3799         (endttyent): Likewise.
3800         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3801         __endttyent instead of setttyent, getttyent and endttyent.
3802         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3803         Remove variable.
3805         [BZ #18546]
3806         * socket/recv.c (__recv): Use libc_hidden_def.
3807         * socket/socket.c (__socket): Likewise.
3808         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3809         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3810         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3811         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3812         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3813         libc_hidden_def.
3814         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3815         libc_hidden_weak.
3816         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3817         Use libc_hidden_proto.
3818         (__recv): Likewise.
3819         * socket/Versions (libc): Export __recv and __socket at version
3820         GLIBC_PRIVATE.
3821         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3822         instead of recv.
3823         (init_mq_netlink): Call __socket instead of socket.
3824         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3825         Remove variable.
3827         [BZ #18545]
3828         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3829         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3830         hidden_weak.
3831         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3832         define as alias of __mq_timedsend.  Use hidden_weak.
3833         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3834         __mq_timedsend as strong name.
3835         (mq_timedreceive): Use __mq_timedreceive as strong name.
3836         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3837         (__mq_timedreceive): Likewise.
3838         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3839         __mq_timedreceive instead of mq_timedreceive.
3840         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3841         instead of mq_timedsend.
3842         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3843         Remove variable.
3845         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3846         hidden_def and hidden_weak instead of libc_hidden_def and
3847         libc_hidden_weak.
3848         (top level): Refer to hidden_def in comment.
3849         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3850         macro.  Use it instead of libc_hidden_def.
3851         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3852         specify __GI_* name explicitly.
3853         (mq_timedreceive): Likewise.
3854         (mq_setattr): Likewise.
3856         [BZ #18544]
3857         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3858         __pthread_barrier_init and define as weak alias of
3859         __pthread_barrier_init.
3860         * sysdeps/sparc/nptl/pthread_barrier_init.c
3861         (pthread_barrier_init): Likewise.
3862         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3863         __pthread_barrier_wait and define as weak alias of
3864         __pthread_barrier_wait.
3865         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3866         (pthread_barrier_wait): Likewise.
3867         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3868         (pthread_barrier_wait): Likewise.
3869         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3870         (pthread_barrier_wait): Likewise.
3871         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3872         (pthread_barrier_wait): Likewise.
3873         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3874         __pthread_barrier_wait at version GLIBC_PRIVATE.
3875         * include/pthread.h (__pthread_barrier_init): Declare.
3876         (__pthread_barrier_wait): Likewise.
3877         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3878         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3879         (helper_thread): Likewise.
3880         (init_mq_netlink): Call __pthread_barrier_init instead of
3881         pthread_barrier_init.
3883         [BZ #18542]
3884         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3885         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3886         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3887         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3888         vswscanf.
3889         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3890         Remove variable.
3892         [BZ #18540]
3893         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3894         strong alias of _IO_fflush.  Use libc_hidden_def.
3895         * libio/iofflush_u.c (fflush_unlocked): Rename to
3896         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3897         Use libc_hidden_weak.
3898         * include/stdio.h (__fflush_unlocked): Declare.  Use
3899         libc_hidden_proto.
3900         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3901         fflush_unlocked.
3902         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3903         Remove variable.
3905         [BZ #18539]
3906         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3907         define as weak alias of __addseverity.
3908         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3909         Remove variable.
3910         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3911         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3912         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3914         [BZ #18536]
3915         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3916         (__tfind): Likewise.
3917         (__tdelete): Likewise.
3918         (__twalk): Likewise.
3919         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3920         __twalk to GLIBC_PRIVATE.
3921         * include/search.h (__tsearch): Use libc_hidden_proto.
3922         (__tfind): Likewise.
3923         (__tdelete): Likewise.
3924         (__twalk): Likewise.
3925         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3926         Call __tdelete instead of tdelete.
3927         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3928         tfind.  Call __tsearch instead of tsearch.
3929         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3930         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3931         Remove variable.
3932         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3934         [BZ #18534]
3935         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3936         (dprintf): Define as a weak alias of __dprintf, not a strong
3937         alias.
3938         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3939         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3940         dprintf.
3941         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3942         Remove variable.
3943         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3944         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3946         [BZ #18533]
3947         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3948         not a strong alias.
3949         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3950         Remove variable.
3952         [BZ #18532]
3953         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3954         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3955         (in6addr_loopback): Rename to __in6addr_loopback and define as
3956         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3957         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3958         libc_hidden_proto.
3959         (__in6addr_any): Likewise.
3960         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3961         in6addr_any.
3962         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3963         variable.
3964         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3966 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3968         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3969         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3970         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3971         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3972         redirections for pow.
3973         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3974         * sysdeps/x86_64/fpu/Versions: New versions added.
3975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3976         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3977         build of SSE, AVX2 and AVX512 IFUNC versions.
3978         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3979         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3980         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3981         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3982         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3983         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3984         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3985         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3986         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3987         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3988         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3989         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3990         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3991         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3992         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3993         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3994         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3995         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3996         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3997         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3998         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3999         * NEWS: Mention addition of x86_64 vector pow.
4001         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4002         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4003         redirections for expf.
4004         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4005         * sysdeps/x86_64/fpu/Versions: New versions added.
4006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4007         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4008         build of SSE, AVX2 and AVX512 IFUNC versions.
4009         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4010         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4014         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4015         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4016         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4017         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4018         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4019         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4020         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4021         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4022         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4023         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4024         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4025         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4026         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4027         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4028         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4029         * NEWS: Mention addition of x86_64 vector expf.
4031         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4032         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4035         redirections for exp.
4036         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4037         * sysdeps/x86_64/fpu/Versions: New versions added.
4038         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4039         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4040         build of SSE, AVX2 and AVX512 IFUNC versions.
4041         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4042         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4043         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4044         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4045         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4046         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4047         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4048         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4049         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4050         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4051         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4052         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4053         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4054         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4055         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4056         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4057         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4058         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4059         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4060         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4061         * NEWS: Mention addition of x86_64 vector exp.
4063         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4064         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4065         redirections for logf.
4066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4067         * sysdeps/x86_64/fpu/Versions: New versions added.
4068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4070         build of SSE, AVX2 and AVX512 IFUNC versions.
4071         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4072         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4073         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4074         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4075         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4077         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4078         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4079         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4080         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4081         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4082         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4083         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4084         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4085         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4086         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4090         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4091         * NEWS: Mention addition of x86_64 vector logf.
4093         * bits/libm-simd-decl-stubs.h: Added stubs for log.
4094         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4095         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4096         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4097         redirections for log.
4098         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4099         * sysdeps/x86_64/fpu/Versions: New versions added.
4100         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4101         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4102         build of SSE, AVX2 and AVX512 IFUNC versions.
4103         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4104         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4105         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4106         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4107         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4108         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4109         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4110         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4111         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4112         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4113         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4114         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4115         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4116         test.
4117         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4118         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4119         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4120         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4121         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4122         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4123         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4124         * NEWS: Mention addition of x86_64 vector log.
4126 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4128         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4129         cfi_adjust_cfa_offset argument.
4130         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4131         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4133         [BZ #18034]
4134         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4135         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4136         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4137         ordering using ldar.
4138         (_dl_tlsdesc_dynamic): Likewise.
4139         (_dl_tlsdesc_return_lazy): Likewise.
4140         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4141         relaxed atomics instead of volatile and synchronize with release store.
4142         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4143         volatile.
4144         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4146 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4149         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4151         * sysdeps/x86_64/fpu/Versions: New versions added.
4152         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4153         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4154         build of SSE, AVX2 and AVX512 IFUNC versions.
4155         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4156         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4157         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4158         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4159         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4160         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4161         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4162         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4163         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4164         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4165         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4166         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4167         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4168         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4169         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4170         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4171         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4172         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4173         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4174         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4175         * NEWS: Mention addition of x86_64 vector sinf.
4177 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4179         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4180         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4181         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4182         Remove variable.
4183         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4184         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4186 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4188         [BZ #18530]
4189         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4190         strong alias of _IO_fputs.  Use libc_hidden_def.
4191         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4192         and define as weak alias of __fputs_unlocked.  Use
4193         libc_hidden_weak.
4194         * include/stdio.h (__fputs_unlocked): Declare.  Use
4195         libc_hidden_proto.
4196         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4197         fputs_unlocked.
4199         [BZ #18529]
4200         * resolv/netdb.h [__USE_POSIX]: Change condition to
4201         [__USE_XOPEN2K].
4202         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4203         not expect.
4204         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4205         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4206         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4207         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4208         [XPG4 || UNIX98] (AI_ALL): Likewise.
4209         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4210         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4211         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4212         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4213         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4214         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4215         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4216         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4217         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4218         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4219         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4220         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4221         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4222         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4223         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4224         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4225         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4226         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4227         [XPG4 || UNIX98] (gai_strerror): Likewise.
4228         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4229         [XPG4 || UNIX98] (getnameinfo): Likewise.
4231         [BZ #18528]
4232         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4233         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4234         __USE_XOPEN2K8].
4235         (getgrent): Likewise.
4236         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4237         expect.
4238         [XPG3 || POSIX2008] (endgrent): Likewise.
4239         [XPG3] (setgrent): Likewise.
4240         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4241         variable.
4242         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4244         [BZ #18527]
4245         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4246         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4247         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4248         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4249         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4250         * include/unistd.h (__getlogin_r): Declare.  Use
4251         libc_hidden_proto.
4252         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4253         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4254         variable.
4255         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4256         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4257         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4259 2015-06-12  Martin Sebor  <msebor@redhat.com>
4261         [BZ #18512]
4262         * Makerules (check-install-supported): New target.
4263         (install): Add check-install-supported as a dependency.
4264         * manual/install.texi (Installing the C Library): Document
4265         that overriding prefix and exec_prefix is not supported.
4266         Mention DESTDIR.
4267         * INSTALL: Regenerate from the above.
4269 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4271         [BZ #18519]
4272         * posix/Versions (libc): Export __libc_pread at version
4273         GLIBC_PRIVATE.
4274         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4275         instead of pread.
4276         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4277         variable.
4279         [BZ #18522]
4280         * misc/efgcvt_r.c
4281         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4282         (cvt_symbol): Use weak_alias instead of strong_alias.
4283         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4284         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4285         Remove variable.
4286         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4287         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4289         [BZ #18520]
4290         * inet/herrno.c (h_errno): Rename to __h_errno.
4291         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4292         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4293         to __h_errno instead of h_errno.
4294         * nptl/herrno.c (h_errno): Rename to __h_errno.
4295         (__h_errno_location): Refer to __h_errno not h_errno.
4296         * resolv/Versions (h_errno): Rename to __h_errno.
4297         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4298         Remove variable.
4299         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4301 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4303         * configure.ac: More strict check for AVX512 assembler support.
4304         * configure: Regenerated.
4306         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4307         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4308         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4309         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4311         * sysdeps/x86_64/fpu/Versions: New versions added.
4312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4313         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4314         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4315         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4316         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4318         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4319         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4320         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4321         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4322         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4323         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4324         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4325         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4326         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4327         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4328         test.
4329         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4330         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4331         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4332         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4333         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4334         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4335         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4336         * NEWS: Mention addition of x86_64 vector sin.
4338 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4340         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4341         comment.
4343 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4345         [BZ #18479]
4346         * nptl/pt-interp.c: New file.
4347         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4348         Add pt-interp.
4349         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4350         $(common-objpfx)runtime-linker.h.
4352 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4354         * Makeconfig (+interp): Remove unused variable.
4355         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4356         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4357         $(elf-objpfx)runtime-linker.h.
4358         ($(elf-objpfx)runtime-linker.h): Rename to
4359         $(common-objpfx)runtime-linker.h and move ...
4360         * Makerules [$(build-shared) = yes]: ... here.
4361         * elf/interp.c: Include <runtime-linker.h> instead of
4362         <elf/runtime-linker.h>.
4364 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4366         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4367         (__gettimeofday_syscall): Remove vsyscall fallback.
4368         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4369         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4370         Add syscall fallback function.
4371         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4372         if vDSO is not present.
4373         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4374         fallback function.
4375         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4376         present.
4377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4378         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4380 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4382         [BZ #18497]
4383         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4384         of wcscmp.
4385         (wcscmp): Define as weak alias of WCSCMP.
4386         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4387         wcscoll.
4388         (USE_HIDDEN_DEF): Define.
4389         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4390         __wcscoll.  Don't use libc_hidden_weak.
4391         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4392         wcscmp.
4393         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4394         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4395         __GI_wcscmp.
4396         (weak_alias): Undefine and redefine.
4397         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4398         __wcscmp and define as weak alias of __wcscmp.
4399         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4400         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4401         (__wcscoll): Likewise.
4402         (wcscmp): Don't use libc_hidden_proto.
4403         (wcscoll): Likewise.
4404         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4405         wcscoll.
4406         * posix/regexec.c (check_node_accept_bytes): Likewise.
4407         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4408         variable.
4409         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4410         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4412         [BZ #18507]
4413         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4414         __fstatvfs and define as weak alias of __fstatvfs.  Use
4415         libc_hidden_weak.
4416         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4417         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4418         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4419         Define as alias of __fstatvfs, not fstatvfs.
4420         (fstatvfs64): Likewise.
4421         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4422         Define as alias of __statvfs, not statvfs.
4423         (statvfs64): Likewise.
4424         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4425         Remove variable.
4427 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4430         (HAVE_GETCPU_VSYSCALL): Define.
4431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4432         (HAVE_GETCPU_VSYSCALL): Likewise.
4433         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4434         * sysdeps/unix/sysv/linux/sched_getcpu.c
4435         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4436         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4437         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4438         prototype.
4439         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4440         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4441         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4443         Define.
4444         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4445         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4446         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4447         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4449 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4451         * sysdeps/x86_64/fpu/Makefile: New file.
4452         * sysdeps/x86_64/fpu/Versions: New file.
4453         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4454         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4455         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4456         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4457         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4458         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4459         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4460         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4461         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4462         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4463         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4464         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4465         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4466         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4467         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4468         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4469         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4470         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4471         * sysdeps/x86_64/configure: Regenerated.
4472         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4473         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4474         * manual/install.texi (Configuring and compiling): Document
4475         --disable-mathvec.
4476         * INSTALL: Regenerated.
4477         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4479         * math/Makefile: Added rules for vector tests.
4480         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4481         declaration under condition.
4482         * math/test-double-vlen2.h: New file.
4483         * math/test-double-vlen4.h: New file.
4484         * math/test-double-vlen8.h: New file.
4485         * math/test-vec-loop.h: Added initialization macro.
4486         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4488         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4489         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4490         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4492         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4493         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4494         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4495         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4496         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4498         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4499         * sysdeps/x86_64/fpu/Versions: New versions added.
4500         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4501         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4503         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4504         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4505         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4506         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4507         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4508         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4510         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4511         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4512         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4513         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4514         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4515         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4516         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4517         * NEWS: Mention addition of x86_64 vector cosf.
4519         * math/Makefile: Added CFLAGS for new tests.
4520         * math/test-float-vlen16.h: New file.
4521         * math/test-float-vlen4.h: New file.
4522         * math/test-float-vlen8.h: New file.
4523         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4524         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4525         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4526         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4527         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4528         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4529         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4530         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4531         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4532         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4533         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4535 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4537         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4538         * locale/programs/ld-ctype.c: Likewise.
4540 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4542         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4543         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4544         bit_ZMM16_31_state): New macro.
4545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4546         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4548 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4550         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4552 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4554         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4556 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4558         [BZ #18498]
4559         * libio/memstream.c (open_memstream): Rename to __open_memstream
4560         and define as weak alias of __open_memstream.
4561         * include/stdio.h (__open_memstream): Declare.  Use
4562         libc_hidden_proto.
4563         (open_memstream): Don't use libc_hidden_proto.
4564         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4565         open_memstream.
4566         * posix/getopt.c (_getopt_internal_r): Likewise.
4567         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4568         variable.
4569         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4570         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4571         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4573         [BZ #18496]
4574         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4575         instead of wcrtomb.
4577         [BZ #18483]
4578         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4579         [__USE_XOPEN2K8].  Remove redundant #endif.
4580         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4581         Remove redundant #if.
4582         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4583         Remove variable.
4584         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4585         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4587         [BZ #18495]
4588         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4589         (__iswlower): Likewise.
4590         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4591         (__iswlower): Likewise.
4592         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4593         instead of towlower.
4594         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4595         instead of iswlower.  Call __towupper instead of towupper.
4596         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4597         instead of iswalnum.
4599 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4601         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4602         errors to stderr.
4604 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4606         [BZ #15661]
4607         [BZ #17322]
4608         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4609         Check for overflow properly.  Check for O_APPEND.  Ignore large
4610         file system block sizes.  Add comments about problems.
4611         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4612         * manual/filesys.texi (Storage Allocation): New node.
4614 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4616         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4617         cancellable syscalls.
4618         (SYS_ify): Add guard to no redefine it.
4619         (INLINE_SYSCALL): Likewise.
4620         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4621         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4622         SYSCALL_CANCEL instead.
4623         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4624         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4625         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4626         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4627         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4628         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4629         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4630         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4631         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4632         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4633         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4634         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4635         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4636         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4637         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4638         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4639         Likewise.
4640         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4641         (__libc_pread64): Likewise.
4642         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4643         (__libc_preadv): Likewise.
4644         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4645         (__libc_readv64): Likewise.
4646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4647         (__libc_pwrite): Likewise.
4648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4649         (__libc_pwrite64): Likewise.
4650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4651         (__libc_pwritev): Likewise.
4652         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4653         (__libc_pwritev64): Likewise.
4654         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4655         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4656         (sync_file_range): Likewise.
4657         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4658         Likewise.
4659         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4660         Likewise.
4661         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4662         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4663         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4664         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4665         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4666         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4667         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4668         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4670         Likewise.
4671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4672         (__libc_read64): Likewise.
4673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4674         Likewise.
4675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4676         Likewise.
4677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4678         Likewise.
4679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4680         Likewise.
4681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4682         (__libc_pread64): Likewise.
4683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4684         Likewise.
4685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4686         (__libc_pwrite64): Likewise.
4687         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4688         (sync_file_range): Likewise.
4689         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4690         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4691         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4692         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4693         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4694         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4695         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4696         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4697         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4698         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4699         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4700         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4701         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4702         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4703         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4704         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4705         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4706         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4707         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4708         Likewise.
4709         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4710         Likewise.
4711         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4712         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4713         Likewise.
4714         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4715         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4716         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4717         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4718         Likewise.
4719         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4720         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4721         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4722         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4723         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4725 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4727         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4728         Include dl-vdso.
4729         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4730         Use VDSO routines for gettimeofday, clock_gettime if
4731         available.
4732         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4733         Declare VDSO symbols.
4734         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4735         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4736         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4737         * sysdeps/unix/sysv/linux/arm/Versions: Add
4738         __vdso_clock_gettime.
4740 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4742         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4743         be an inline implementation regardless of library is built within.
4744         (open_not_cancel_2): Likewise.
4745         (__read_nocancel): Likewise.
4746         (__write_nocancel): Likewise.
4747         (openat_not_cancel): Likewise.
4748         (openat_not_cancel_3): Likewise.
4749         (openat64_not_cancel): Likewise.
4750         (openat64_not_cancel_3): Likewise.
4751         (__close_nocancel): Likewise.
4752         (pause_not_cancel): Likewise.
4753         (nanosleep_not_cancel): Likewise.
4754         (sigsuspend_not_cancel): Likewise.
4756 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4758         [BZ #14958]
4759         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4760         wake-up.
4761         (__pthread_rwlock_rdlock_slow): Likewise.
4762         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4763         Likewise.
4764         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4765         Likewise.
4766         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4767         * nptl/tst-rwlock16.c: New file.
4768         * nptl/Makefile (tests): Add new test.
4770 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4772         [BZ #18324]
4773         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4774         missing wake-up of readers.
4775         * nptl/tst-rwlock15.c: New file.
4776         * nptl/Makefile (tests): Add new test.
4778 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4780         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4781         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4782         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4783         and __nacl_supply_interface_rtld.
4784         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4785         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4786         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4787         Add __nacl_supply_interface_rtld.
4788         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4790 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4792         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4793         isfinite.
4794         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4795         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4797 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4799         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4800         __signbit* with standard C99 macros.
4801         * math/e_exp10l.c: Likewise.
4802         * math/e_exp2l.c: Likewise.
4803         * math/e_scalb.c: Likewise.
4804         * math/e_scalbf.c: Likewise.
4805         * math/e_scalbl.c: Likewise.
4806         * math/s_ldexp.c: Likewise.
4807         * math/s_ldexpf.c: Likewise.
4808         * math/s_ldexpl.c: Likewise.
4809         * math/w_atan2.c: Likewise.
4810         * math/w_atan2f.c: Likewise.
4811         * math/w_atan2l.c: Likewise.
4812         * math/w_cosh.c: Likewise.
4813         * math/w_coshf.c: Likewise.
4814         * math/w_coshl.c: Likewise.
4815         * math/w_exp10.c: Likewise.
4816         * math/w_exp10f.c: Likewise.
4817         * math/w_exp10l.c: Likewise.
4818         * math/w_exp2.c: Likewise.
4819         * math/w_exp2f.c: Likewise.
4820         * math/w_exp2l.c: Likewise.
4821         * math/w_fmod.c: Likewise.
4822         * math/w_fmodf.c: Likewise.
4823         * math/w_fmodl.c: Likewise.
4824         * math/w_hypot.c: Likewise.
4825         * math/w_hypotf.c: Likewise.
4826         * math/w_hypotl.c: Likewise.
4827         * math/w_jnl.c: Likewise.
4828         * math/w_lgamma.c: Likewise.
4829         * math/w_lgamma_r.c: Likewise.
4830         * math/w_lgammaf.c: Likewise.
4831         * math/w_lgammaf_r.c: Likewise.
4832         * math/w_lgammal.c: Likewise.
4833         * math/w_lgammal_r.c: Likewise.
4834         * math/w_pow.c: Likewise.
4835         * math/w_powf.c: Likewise.
4836         * math/w_powl.c: Likewise.
4837         * math/w_remainder.c: Likewise.
4838         * math/w_remainderf.c: Likewise.
4839         * math/w_remainderl.c: Likewise.
4840         * math/w_scalb.c: Likewise.
4841         * math/w_scalbf.c: Likewise.
4842         * math/w_scalbl.c: Likewise.
4843         * math/w_scalbln.c: Likewise.
4844         * math/w_scalblnf.c: Likewise.
4845         * math/w_scalblnl.c: Likewise.
4846         * math/w_sinh.c: Likewise.
4847         * math/w_sinhf.c: Likewise.
4848         * math/w_sinhl.c: Likewise.
4849         * math/w_tgamma.c: Likewise.
4850         * math/w_tgammaf.c: Likewise.
4851         * math/w_tgammal.c: Likewise.
4852         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4853         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4854         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4855         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4856         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4858         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4859         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4860         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4861         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4862         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4863         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4864         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4865         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4866         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4867         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4868         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4869         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4870         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4871         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4872         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4873         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4876         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4877         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4878         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4879         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4880         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4881         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4882         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4883         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4884         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4885         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4886         * stdio-common/printf_fp.c: Likewise.
4887         * stdio-common/printf_fphex.c: Likewise.
4888         * stdio-common/printf_size.c: Likewise.
4890 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4892         [BZ #18470]
4893         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4894         strnlen.
4895         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4896         Remove variable.
4897         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4898         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4899         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4900         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4901         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4902         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4903         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4904         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4905         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4906         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4908         [BZ #18468]
4909         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4910         weak alias of __wmemchr.  Use libc_hidden_weak.
4911         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4912         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4913         instead of wmemchr.
4915 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4917         [BZ #18383]
4918         * elf/tst-tlsalign-extern.c: New file.
4919         * elf/tst-tlsalign-extern-static.c: New file.
4920         * elf/tst-tlsalign-vars.c: New file.
4921         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4922         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4923         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4924         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4925         (test-xfail-tst-tlsalign-extern-static): New variable.
4927 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4929         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4930         Use variable name _sc_err instead of err.
4931         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4932         instead of ret.
4933         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4934         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4935         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4936         (INLINE_SYSCALL): Likewise.
4938         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4939         * include/string.h (__strnlen): Use libc_hidden_proto.
4940         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4941         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4942         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4943         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4944         (libc_hidden_def): Undefine and redefine.
4945         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4946         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4947         __GI_strnlen.
4948         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4949         libc_hidden_def.
4950         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4952         [BZ #18469]
4953         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4954         weak alias of __towlower.  Use libc_hidden_weak.
4955         (towupper): Rename to __towupper and define as weak alias of
4956         __towupper.  Use libc_hidden_weak.
4957         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4958         (__towupper): Likewise.
4959         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4960         __towlower instead of towlower.
4962 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4964         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4965         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4967 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4969         * sysdeps/aarch64/libm-test-ulps: Update.
4971 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4973         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4974         Define.
4975         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4976         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4977         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4978         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4979         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4980         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4981         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4983 2015-06-01  Martin Sebor  <msebor@redhat.com>
4985         [BZ #18116]
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4987         (__setcontext): Use extended four-operand version of mtsf whenever
4988         possible.
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4990         (__novec_swapcontext): Likewise.
4992 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4994         * benchtests/scripts/compare_bench.py: New file.
4995         * benchtests/scripts/import_bench.py (mean): New function.
4996         (split_list): Likewise.
4997         (do_for_all_timings): Likewise.
4998         (compress_timings): Likewise.
5000         * benchtests/scripts/import_bench.py: New file.
5001         * benchtests/scripts/validate_benchout.py: Import import_bench
5002         instead of jsonschema.
5003         (validate_bench): Remove function.
5004         (main): Use import_bench.
5006 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
5008         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5009         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5011 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5015 2015-05-28  Roland McGrath  <roland@hack.frob.com>
5017         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5018         set THREAD_SELF->tid to a magic value and futex-wake it.
5019         Pass its address to the thread_exit system call.
5020         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5021         bit is clear.
5022         * sysdeps/nacl/lowlevellock.h: New file.
5023         * sysdeps/nacl/lll_timedwait_tid.c: New file.
5025         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5026         Add TIMEOUT to current time, don't subtract it.
5028 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
5030         [BZ #2981]
5031         [BZ #18422]
5032         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5033         ($(objpfx)tst-audit2.out): Also depend on
5034         $(objpfx)tst-auditmod9b.so.
5035         * elf/tst-audit2.c: Include <dlfcn.h>.
5036         (calloc_called): New.
5037         (calloc): Allow to be called more than once.
5038         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5040 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
5042         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5043         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5045 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
5047         * stdlib/monetary.h: Fix comment.
5049 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
5051         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5052         Avoid using variables in #defines that might cause shadowing.
5053         (INTERNAL_VSYSCALL_CALL): Likewise.
5055 2015-05-26  Roland McGrath  <roland@hack.frob.com>
5057         * sysdeps/nacl/lll_timedlock_wait.c: New file.
5059         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5060         * nptl/lll_timedlock_wait.c: ... to this new file.
5061         * nptl/Makefile (libpthread-routines): Add it.
5062         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5063         * nptl/lll_timedwait_tid.c: ... to this new file.
5064         * nptl/Makefile (libpthread-routines): Add it.
5065         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5066         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5067         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5068         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5069         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5070         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5071         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5072         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5073         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5074         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5076 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5078         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5079         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5080         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5082         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5084         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5086         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5087         * sysdeps/unix/sysv/linux/tile/sysdep.h
5088         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5089         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5090         using vDSO syscall macro.
5092 2015-05-26  Andriy Rysin  <arysin@gmail.com>
5094         [BZ #17293]
5095         * uk_UA: Fix sorting order for Ukrainian locale
5097 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
5099         * stdlib/monetary.h: Fix comment.
5101 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5103         [BZ #18234]
5104         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5105         st_mtim and st_ctim members.
5106         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5107         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5108         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5109         (struct stat64): Likewise.
5110         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5111         (struct stat64): Likewise.
5112         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5113         (struct stat64): Likewise.
5115 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5117         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5118         Define and include sysdep-vdso.h.
5119         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5120         Likewise.
5121         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5122         Likewise.
5123         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5124         Define with VDSO_SYMBOL and use PTR_MANGLE.
5125         (__vdso_clock_gettime): Likewise.
5126         (__vdso_clock_getres): Likewise.
5127         (_libc_vdso_platform_setup): Likewise.
5128         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5129         Likewise.
5130         (_libc_vdso_platform_setup): Likewise.
5131         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5132         Likewise.
5133         (__vdso_clock_gettime): Likewise.
5134         (__vdso_clock_getres): Likewise.
5135         (__vdso_get_tbfreq): Likewise.
5136         (__vdso_getcpu): Likewise.
5137         (__vdso_time): Likewise.
5138         (__vdso_sigtramp_rt64): Likewise.
5139         (__vdso_signtramp32): Likewise.
5140         (__vdso_sigtramp_rt32): Likewise.
5141         (_libc_vdso_platform_setup): Likewise.
5142         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5143         Likewise.
5144         (__vdso_clock_gettime): Likewise.
5145         (__vdso_clock_getres): Likewise.
5146         (_libc_vdso_platform_setup): Likewise.
5147         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5148         Likewise.
5149         (__vdso_clock_gettime): Likewise.
5150         (_libc_vdso_platform_setup): Likewise.
5151         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5152         Likewise.
5153         (__vdso_getcpu): Likewise.
5154         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5155         Use VDSO_SYMBOL macro to define.
5156         (__vdso_clock_gettime): Likewise.
5157         (__vdso_clock_getres): Likewise.
5158         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5159         Likewise.
5160         (__vdso_clock_gettime): Likewise.
5161         (__vdso_clock_getres): Likewise.
5162         (__vdso_get_tbfreq): Likewise.
5163         (__vdso_getcpu): Likewise.
5164         (__vdso_time): Likewise.
5165         (__vdso_sigtramp_rt64): Likewise.
5166         (__vdso_signtramp32): Likewise.
5167         (__vdso_sigtramp_rt32): Likewise.
5168         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5169         Likewise.
5170         (__vdso_clock_gettime): Likewise.
5171         (__vdso_clock_getres): Likewise.
5172         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5173         Likewise.
5174         (__vdso_clock_gettime): Likewise.
5175         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5176         Likewise.
5177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5178         macro.
5179         (INTERNAL_VSYSCALL): Likewise.
5180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5181         Remove macro.
5182         (INTERNAL_VSYSCALL): Likewise.
5183         (INTERNAL_VSYSCALL_NCS): Likewise.
5184         (INTERNAL_VSYSCALL_CALL): New macro.
5185         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5187         Likewise.
5188         (INTERNAL_VSYSCALL): Likewise.
5189         (INTERNAL_VSYSCALL_NCS): Likewise.
5190         (INTERNAL_VSYSCALL_CALL): New macro.
5191         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5193         (INLINE_VSYSCALL): Remove macro.
5194         (INTERNAL_VSYSCALL): Remove macro.
5195         (INTERNAL_VSYSCALL_NCS): Remove macro.
5196         (INTERNAL_VSYSCALL_CALL): New macro.
5197         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5198         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5199         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5200         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5201         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5203         (INLINE_VSYSCALL): Remove macro.
5204         (INTERNAL_VSYSCALL): Likewise.
5205         (INTERNAL_VSYSCALL_NCS): Likewise.
5206         (INTERNAL_VSYSCALL_CALL): New macro.
5207         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5208         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5209         PTR_DEMANGLE on vDSO pointer.
5210         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5211         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5212         macro.
5213         (INTERNAL_SYSCALL): Likewise.
5214         (INTERNAL_VSYSCALL_NCS): Remove macro.
5215         (INTERNAL_VSYSCALL_CALL): New macro.
5216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5217         Remove macro.
5218         (INTERNAL_VSYSCALL): Likewise.
5219         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5220         sysdep-vdso.h instead of libc-vdso.h.
5221         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5222         definition.
5223         (INLINE_VSYSCALL): Likewise.
5224         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5225         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5226         definition.
5227         (INLINE_VSYSCALL): Likewise.
5228         (INTERNAL_VSYSCALL): Likewise.
5229         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5230         * sysdeps/unix/sysv/linux/timespec_get.c
5231         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5232         (timespec_get): Use ANSI prototype.
5233         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5234         and definition for Linux.
5236 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5238         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5239         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5241 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5243         [BZ #2981]
5244         [BZ #18410]
5245         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5246         for missing DT_PLTRELSZ.
5248 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5250         Remove obsolete aliases that broke 'locale -a'
5251         [BZ #18412]
5252         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5253         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5254         breaking some applications that use 'locale -a' output.
5255         Change the encoding of this file from Latin-1 to ASCII to avoid
5256         other potential problems with people grepping this file.
5258 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5260         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5261         -fasynchronous-unwind-tables.
5262         (CFLAGS-sendto.c): Likewise.
5263         (CFLAGS-sendmsg.c): Likewise.
5264         (CFLAGS-connect.c): Likewise.
5265         (CFLAGS-recvmsg.c): Likewise.
5266         (CFLAGS-recvfrom.c): Likewise.
5267         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5268         (SOCKETCALL): New macro: non-cancellable socketcall.
5269         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5270         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5271         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5272         * sysdeps/unix/sysv/linux/accept.c: New file.
5273         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5274         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5275         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5276         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5277         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5278         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5279         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5280         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5281         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5282         * sysdeps/unix/sysv/linux/send.c: Likewise.
5283         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5284         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5285         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5286         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5287         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5288         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5289         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5290         prototype.
5291         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5292         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5293         instead of __internal_xxx function.
5294         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5295         prototype.
5296         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5297         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5298         instead of __internal_xxx function.
5299         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5300         prototype.
5301         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5302         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5303         instead of __internal_xxx function.
5304         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5305         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5306         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5307         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5308         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5309         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5310         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5311         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5312         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5313         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5314         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5315         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5316         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5317         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5318         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5319         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5320         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5321         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5322         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5323         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5326         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5327         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5328         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5329         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5330         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5331         * sysdeps/unix/sysv/linux/send.S: Likewise.
5332         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5333         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5334         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5335         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5336         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5337         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5338         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5339         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5340         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5341         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5342         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5343         socketcall is implemented in GLIBC.
5345 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5347         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5348         (__fma): Ignore uninitialized warnings around packing.
5349         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5350         (__fmaf): Ignore uninitialized warnings around packing.
5351         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5352         (__fmal): Ignore uninitialized warnings around packing.
5354         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5355         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5356         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5357         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5359         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5360         switch statement into default case.
5361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5363         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5364         a conditional in forcing "inexact".
5365         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5366         Likewise.
5368 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5370         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5371         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5372         for each INTERNAL_SYSCALL use.
5374 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5376         [BZ #438]
5377         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5378         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5379         variable.
5381         [BZ #18444]
5382         * string/basename.c (basename): Rename to __basename and define as
5383         weak alias of __basename.  Use libc_hidden_weak.
5384         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5385         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5386         __basename instead of basename.
5387         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5388         Remove variable.
5389         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5391 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5393         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5394         (_IO_JUMPS_FILE_plus): New.
5395         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5396         _IO_CAST_FIELD_ACCESS.
5397         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5398         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5399         * libio/freopen.c (freopen): Likewise.
5400         * libio/freopen64.c (freopen64): Likewise.
5401         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5402         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5403         * libio/iofwide.c (_IO_fwide): Likewise.
5404         * libio/memstream.c (open_memstream): Likewise.
5405         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5406         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5407         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5409 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5411         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5412         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5413         NADJ.
5414         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5415         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5416         NADJ.
5417         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5418         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5419         NADJ.
5421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5422         (p == 4) case.
5424         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5425         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5426         Remove variable.
5427         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5428         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5429         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5431 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5433         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5434         Adjust jump table label generation macros.
5436 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5438         * stdio-common/vfprintf.c (vfprintf): Move local variables
5439         args_malloced, specs, specs_malloced, and the code after
5440         do_positional to the printf_positional function.
5441         (printf_positional): New function.
5443 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5445         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5446         function.
5447         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5448         STEP4_TABLE, process_arg): Move macro definitions
5449         out of the vfprintf function.  (Cosmetic change only.)
5451 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5453         * benchtests/Makefile (stdio-common-bench): Define.
5454         (benchset): Add stdio-common-bench.
5455         * sprintf-inputs: New file.
5456         * sprintf-source.c: New file.
5458 2015-05-21  Andreas Schwab  <schwab@suse.de>
5460         [BZ #13028]
5461         [BZ #17053]
5462         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5463         of struct __res_state.
5464         * resolv/res_send.c (__libc_res_nsend): Likewise.
5465         (get_nsaddr): New function.
5466         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5467         statp directly.
5469 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5471         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5472         -D_POSIX_C_SOURCE=199506L.
5474         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5476         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5477         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5478         Do not mention otherwise.
5479         [POSIX] (_XOPEN_VERSION): Do not expect.
5480         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5481         [POSIX] (_POSIX2_C_BIND): Likewise.
5482         [POSIX] (_POSIX2_VERSION): Likewise.
5483         [POSIX] (_XOPEN_XPG2): Likewise.
5484         [POSIX] (_XOPEN_XPG3): Likewise.
5485         [POSIX] (_XOPEN_XPG4): Likewise.
5486         [POSIX] (_XOPEN_UNIX): Likewise.
5487         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5488         [POSIX] (_POSIX_BARRIERS): Likewise.
5489         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5490         [POSIX] (_POSIX_CPUTIME): Likewise.
5491         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5492         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5493         [POSIX] (_POSIX_SHELL): Likewise.
5494         [POSIX] (_POSIX_SPAWN): Likewise.
5495         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5496         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5497         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5498         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5499         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5500         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5501         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5502         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5503         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5504         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5505         [POSIX] (_POSIX2_PBS): Likewise.
5506         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5507         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5508         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5509         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5510         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5511         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5512         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5513         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5514         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5515         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5516         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5517         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5518         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5519         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5520         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5521         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5522         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5523         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5524         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5525         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5526         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5527         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5528         [POSIX] (_SC_2_C_BIND): Likewise.
5529         [POSIX] (_SC_2_C_VERSION): Likewise.
5530         [POSIX] (_SC_2_PBS): Likewise.
5531         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5532         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5533         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5534         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5535         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5536         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5537         [POSIX] (_SC_BARRIERS): Likewise.
5538         [POSIX] (_SC_BASE): Likewise.
5539         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5540         [POSIX] (_SC_DEVICE_IO): Likewise.
5541         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5542         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5543         [POSIX] (_SC_FD_MGMT): Likewise.
5544         [POSIX] (_SC_FIFO): Likewise.
5545         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5546         [POSIX] (_SC_FILE_LOCKING): Likewise.
5547         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5548         [POSIX] (_SC_IOV_MAX): Likewise.
5549         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5550         [POSIX] (_SC_NETWORKING): Likewise.
5551         [POSIX] (_SC_PAGE_SIZE): Likewise.
5552         [POSIX] (_SC_PASS_MAX): Likewise.
5553         [POSIX] (_SC_PIPE): Likewise.
5554         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5555         [POSIX] (_SC_REGEXP): Likewise.
5556         [POSIX] (_SC_SHELL): Likewise.
5557         [POSIX] (_SC_SIGNALS): Likewise.
5558         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5559         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5560         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5561         [POSIX] (_SC_USER_GROUPS): Likewise.
5562         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5563         [POSIX] (_SC_STREAMS): Likewise.
5564         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5565         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5566         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5567         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5568         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5569         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5570         [POSIX] (_PC_FILESIZEBITS): Likewise.
5571         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5572         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5573         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5574         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5575         [POSIX] (uid_t): Likewise.
5576         [POSIX] (gid_t): Likewise.
5577         [POSIX] (off_t): Likewise.
5578         [POSIX] (pid_t): Likewise.
5579         [POSIX] (cuserid): Allow.
5580         (_SC_2_CHAR_TERM): Require constant.
5581         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5582         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5583         variable.
5585 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5587         * sysdeps/nacl/pthread-pids.h: New file.
5588         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5589         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5591         * nptl/pthread-pids.h: New file.
5592         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5593         * nptl/nptl-init.c: Include <pthread-pids.h>.
5594         (__pthread_initialize_minimal_internal):
5595         Call __pthread_initialize_pids instead of set_tid_address syscall.
5597         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5598         * sysdeps/posix/usleep.c: ... here.
5600 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5602         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5603         call_pselect6 object.
5604         [$(subdir) = io]: Remove call_sync_file_range object.
5605         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5606         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5607         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5608         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5610 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5612         * math/s_cproj.c: Add include "math_private.h".
5613         * math/s_cprojf.c: Likewise.
5614         * math/s_cprojl.c: Likewise.
5616 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5618         [BZ #18244]
5619         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5620         high mantissa bit when testing whether P is a NaN.
5621         * math/libm-test.inc (remainder_test_data): Add more tests.
5622         (remquo_test_data): Likewise.
5624         [BZ #18049]
5625         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5626         below -32, return the argument, with underflow if subnormal.
5627         * math/auto-libm-test-in: Add more tests of atanh.
5628         * math/auto-libm-test-out: Regenerated.
5630 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5632         [BZ #18434]
5633         * nptl/tst-sem15.c: New file.
5634         * nptl/Makefile (tests): Add it.
5635         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5636         s/<</>>/ to fix typo in EOVERFLOW check.
5637         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5639 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5641         * manual/strings.texi (envz_remove): Fix typo in safety
5642         annotations.
5644 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5645             Steve Ellcey  <sellcey@imgtec.com>
5647         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5648         in order to avoid strict alias warnings.
5649         (iruserok_af): Ditto for ra.
5651 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5653         [BZ #17581]
5654         * malloc/hooks.c
5655         (magicbyte): Convert to a function and avoid returning 0x01.
5656         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5657         (mem2chunk_check): Fix unsigned comparisons to zero.
5658         Hoist defs of sz and magic.
5660 2015-05-19  Richard Henderson  <rth@redhat.com>
5662         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5664         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5666 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5668         [BZ #16159]
5669         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5670         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5671         (reused_arena): Find a non-corrupt arena.
5672         (heap_trim): Pass arena to unlink.
5673         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5674         malloc_printerr.
5675         (top_check): Likewise.
5676         (free_check): Likewise.
5677         (realloc_check): Likewise.
5678         * malloc/malloc.c (malloc_printerr): Add arena argument.
5679         (unlink): Likewise.
5680         (munmap_chunk): Adjust.
5681         (ARENA_CORRUPTION_BIT): New macro.
5682         (arena_is_corrupt): Likewise.
5683         (set_arena_corrupt): Likewise.
5684         (sysmalloc): Use mmap if there are no usable arenas.
5685         (_int_malloc): Likewise.
5686         (__libc_malloc): Don't fail if arena_get returns NULL.
5687         (_mid_memalign): Likewise.
5688         (__libc_calloc): Likewise.
5689         (__libc_realloc): Adjust for additional argument to
5690         malloc_printerr.
5691         (_int_free): Likewise.
5692         (malloc_consolidate): Likewise.
5693         (_int_realloc): Likewise.
5694         (_int_memalign): Don't touch corrupt arenas.
5695         * malloc/tst-malloc-backtrace.c: New test case.
5697         * Makefile (summarize-tests): Fix return value on success.
5699         * manual/string.texi (Envz Functions): Add envz_remove.
5701 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5703         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5704         (invalid_name): New function, broken out of ...
5705         (__opendirat): ... here.  Call it.
5706         (need_isdir_precheck): New function, broken out of ...
5707         (__opendirat): ... here.  Call it.
5708         Use __fxstatat64, not __xstatat64.
5709         (opendir_oflags): New function, broken out of ...
5710         (__opendirat): ... here.  Call it.
5711         (opendir_tail): New function, broken out of ...
5712         (__opendirat): ... here.  Call it.
5713         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5714         opendir_tail, rather than punting to __opendirat.
5715         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5717 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5719         * .gitignore: Ignore generated *.pyc.
5721 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5723         * include/stdio.h: Define __need_wint_t.
5724         * test-skeleton.c: Avoid `for' loop initial declaration.
5725         * nptl/tst-initializers1.c: Use test-skeleton.c.
5727 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5729         [BZ #18418]
5730         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5732 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5734         [BZ #16352]
5735         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5736         (__ieee754_atanh): Force underflow exception for results with
5737         small absolute value.
5738         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5739         (__ieee754_atanhf): Force underflow exception for results with
5740         small absolute value.
5741         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5742         (__ieee754_atanh): Force underflow exception for results with
5743         small absolute value.
5744         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5745         (__ieee754_atanhf): Force underflow exception for results with
5746         small absolute value.
5747         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5748         (__ieee754_atanhl): Force underflow exception for results with
5749         small absolute value.
5750         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5751         (__ieee754_atanhl): Force underflow exception for results with
5752         small absolute value.
5753         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5754         (__ieee754_atanhl): Force underflow exception for results with
5755         small absolute value.
5756         * math/auto-libm-test-in: Do not allow missing underflow
5757         exceptions from atanh.
5758         * math/auto-libm-test-out: Regenerated.
5760         [BZ #18221]
5761         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5762         2**-28 as threshold for returning x or +/- 1/x.
5763         * math/auto-libm-test-in: Add more tests of tan.
5764         * math/auto-libm-test-out: Regenerated.
5766         [BZ #18220]
5767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5768         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5769         * math/auto-libm-test-in: Add another test of lgamma.
5770         * math/auto-libm-test-out: Regenerated.
5772 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5774         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5775         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5776         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5777         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5778         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5779         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5780         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5781         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5782         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5783         (log1): Use fabs.  (my_log2): Use fabs.
5784         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5785         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5786         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5787         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5789         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5790         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5791         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5792         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5793         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5794         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5796 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5798         [BZ #18217]
5799         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5800         as threshold for returning 1 - x.
5801         * math/auto-libm-test-in: Add more tests of erfc.
5802         * math/auto-libm-test-out: Regenerated.
5804 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5806         [BZ #18196]
5807         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5808         threshold for large arguments.
5809         * math/auto-libm-test-in: Add another test of atan.
5810         * math/auto-libm-test-out: Regenerated.
5812         [BZ #16339]
5813         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5814         (__log1p): Force underflow exception for results with small
5815         absolute value.
5816         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5817         (__log1pf): Force underflow exception for results with small
5818         absolute value.
5819         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5820         (__log1p): Force underflow exception for results with small
5821         absolute value.
5822         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5823         (__log1pf): Force underflow exception for results with small
5824         absolute value.
5825         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5826         (__log1pl): Force underflow exception for results with small
5827         absolute value.
5828         * math/auto-libm-test-in: Do not allow missing underflow
5829         exceptions from log1p.
5830         * math/auto-libm-test-out: Regenerated.
5832 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5833             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5835         [BZ #16704]
5836         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5838 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5840         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5841         (libmvec): New variable.
5842         * configure.ac: Added option for mathvec build.
5843         * configure: Regenerated.
5844         * mathvec/Depend: New file.
5845         * mathvec/Makefile: New file.
5846         * shlib-versions: Added libmvec.
5847         * math/Makefile: Added rule for libm.so installation.
5849         * bits/math-vector.h: New file.
5850         * bits/libm-simd-decl-stubs.h: New header.
5851         * math/Makefile (headers): Added new header
5852         libm-simd-decl-stubs.h.
5853         * math/math.h (__MATHCALL_VEC): New macro.
5855         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5856         for conditions in testing functions.
5857         * math/Makefile: Added call of libm-have-vector-test.sh.
5858         * math/libm-test.inc (HAVE_VECTOR): New macros.
5860         * math/libm-test.inc: START refactored.
5861         * math/test-double.c (TEST_MATHVEC): Add define.
5862         * math/test-float.c: Likewise.
5863         * math/test-idouble.c: Likewise.
5864         * math/test-ifloat.c: Likewise.
5865         * math/test-ildoubl.c: Likewise.
5866         * math/test-ldouble.c: Likewise.
5867         * sysdeps/generic/math-tests-arch.h
5868         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5869         architecture check.
5871         * math/test-double.c (FUNC_TEST): New macro.
5872         * math/test-float.c: Likewise.
5873         * math/test-idouble.c: Likewise.
5874         * math/test-ifloat.c: Likewise.
5875         * math/test-ildoubl.c: Likewise.
5876         * math/test-ldouble.c: Likewise.
5877         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5879 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5881         * sysdeps/nacl/fdopendir.c: New file.
5883         * dirent/scandir-tail.c: New file.
5884         * dirent/scandir64-tail.c: New file.
5885         * dirent/Makefile (routines): Add them.
5886         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5887         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5888         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5889         [!SCANDIR] (SCANDIR_TAIL): New macro.
5890         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5891         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5892         (SCANDIRAT): Macro removed.
5893         (SCANDIR_TAIL): New macro.
5894         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5895         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5896         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5897         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5898         (READDIR): Macro removed.
5899         (SCANDIR_TAIL): New macro.
5900         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5901         (SCANDIR_TAIL): New macro.
5903         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5904         * dirent/scandir-cancel.c: ... to this new file.
5905         * dirent/Makefile (routines): Add it.
5906         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5907         * sysdeps/unix/sysv/linux/i386/scandir64.c
5908         (SKIP_SCANDIR_CANCEL): Macro removed.
5909         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5911         * dirent/tst-scandir.c: New file.
5912         * dirent/tst-scandir64.c: New file.
5913         * dirent/Makefile (tests): Add them.
5915 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5917         [BZ #18409]
5918         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5920 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5922         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5923         list.
5925 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5927         * benchtests/bench-strcoll.c: New benchmark.
5928         * benchtests/Makefile: Generate locales and run benchmark.
5929         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5930         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5931         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5932         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5933         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5934         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5935         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5936         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5937         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5938         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5939         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5940         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5941         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5942         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5943         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5944         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5945         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5946         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5947         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5948         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5949         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5950         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5951         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5952         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5954 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5956         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5957         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5959 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5961         * posix/uname-values.h: New file.
5962         * posix/uname.c: Include that instead of <config-name.h>.
5963         * sysdeps/nacl/uname-values.h: New file.
5964         * sysdeps/arm/nacl/uname-values.h: New file.
5966 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5968         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5969         splitting into fields.
5971 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5973         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5974         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5975         * locale/localeinfo.h: Add enum collation_encoding_type.
5976         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5977         * programs/ld-collate.c (collate_output): Add encoding type info.
5978         * string/strcoll_l.c (STRDIFF): New function.
5979         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5980         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5982 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5984         [BZ #18397]
5985         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5986         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5987         <fpu_control.h> instead of <math/fpu_control.c>.
5988         * sysdeps/mips/mips32/fpu/Makefile: New file.
5990 2015-05-11  Andreas Schwab  <schwab@suse.de>
5992         [BZ #18007]
5993         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5994         nss_endgrent.
5995         (_nss_compat_endgrent): Call nss_endgrent.
5996         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5997         nss_endpwent.
5998         (_nss_compat_endpwent): Call nss_endpwent.
5999         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6000         needent, call nss_setspent only if non-zero.
6001         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6002         (internal_endspent): Don't call nss_endspent.
6003         (_nss_compat_endspent): Call nss_endspent.
6004         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6005         Remove.  All uses removed.
6006         (internal_setent): Remove parameter stayopen, add parameter
6007         stream.  Use it instead of global variable.
6008         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6009         (internal_endent, internal_getent): Add parameter stream.  Use it
6010         instead of global variable.
6011         (CONCAT(_nss_files_end,ENTNAME))
6012         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6013         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
6014         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
6015         uses removed.
6016         (internal_setent, internal_endent): Add parameter stream.  Use it
6017         instead of global variable.
6018         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6019         stream.
6020         (get_next_alias): Add parameter stream.
6021         (_nss_files_getaliasent_r): Pass global stream.
6022         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
6023         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6024         (_nss_files_gethostbyname4_r): Pass local stream to
6025         internal_setent, internal_getent and internal_endent.  Remove
6026         locking.
6028 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6030         * tst-strfmon1.c (tests): Update expected currency symbol.
6032 2015-05-08  Roland McGrath  <roland@hack.frob.com>
6034         * sysdeps/nacl/gethostname.c: New file.
6036 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
6038         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6039         and sinh.
6040         * math/auto-libm-test-out: Regenerated.
6041         * sysdeps/i386/fpu/libm-test-ulps: Update.
6042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
6046         [BZ #18125]
6047         * stdlib/tst-setcontext3.c: New file.
6048         * stdlib/tst-setcontext3.sh: New file.
6049         * stdlib/Makefile (tests): Add tst-setcontext3.
6050         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6051         to verify test program created output file.
6052         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6053         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6054         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6055         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6057 2015-05-06  Roland McGrath  <roland@hack.frob.com>
6059         [BZ #18383]
6060         * elf/tst-tlsalign.c: New file.
6061         * elf/tst-tlsalign-static.c: New file.
6062         * elf/tst-tlsalign-lib.c: New file.
6063         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6064         (tests-static): Add tst-tlsalign-static.
6065         (modules-names): Add tst-tlsalign-lib.
6066         (test-xfail-tst-tlsalign): New variable.
6067         (test-xfail-tst-tlsalign-static): New variable.
6069         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6070         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6072 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
6074         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6075         csqrt, erfc, sin and sincos.
6076         * math/auto-libm-test-out: Regenerated.
6077         * sysdeps/i386/fpu/libm-test-ulps: Update.
6078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6080 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6082         * sysdeps/aarch64/libm-test-ulps: Update.
6084 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
6086         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6087         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6088         * math/auto-libm-test-out: Regenerated.
6089         * sysdeps/i386/fpu/libm-test-ulps: Update.
6090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6092 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6094         [BZ #18265]
6095         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6096         (wcsncpy): Likewise.
6098 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6100         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6101         Assume __ASSUME_FALLOCATE is always true.
6102         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6103         (__posix_fallocate64_l64): Likweise.
6104         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6105         (posix_fallocate): Likewise.
6106         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6107         (__posix_fallocate64_l64): Likewise.
6108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6109         [!__ASSUME_FALLOCATE]: Add comment.
6111 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6113         * sysdeps/unix/sysv/linux/i386/Makefile
6114         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6115         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6116         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6117         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6119         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6120         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6122 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6124         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6125         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6126         tgamma.
6127         * math/auto-libm-test-out: Regenerated.
6128         * sysdeps/i386/fpu/libm-test-ulps: Update.
6129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6133         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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         * math/auto-libm-test-in: Add more tests of tan.
6144         * math/auto-libm-test-out: Regenerated.
6145         * sysdeps/i386/fpu/libm-test-ulps: Update.
6146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6148         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6149         * math/auto-libm-test-out: Regenerated.
6150         * sysdeps/i386/fpu/libm-test-ulps: Update.
6151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6153         * math/auto-libm-test-in: Add another test of pow.
6154         * math/auto-libm-test-out: Regenerated.
6155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6157         * math/auto-libm-test-in: Add more tests of lgamma.
6158         * math/auto-libm-test-out: Regenerated.
6159         * sysdeps/i386/fpu/libm-test-ulps: Update.
6160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6162         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6163         log1p.
6164         * math/auto-libm-test-out: Regenerated.
6165         * sysdeps/i386/fpu/libm-test-ulps: Update.
6166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6170         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6171         Elf64_Chdr structs and ELFCOMPRESS constants.
6173 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6175         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6176         expm1.
6177         * math/auto-libm-test-out: Regenerated.
6178         * sysdeps/i386/fpu/libm-test-ulps: Update.
6179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6181         * math/auto-libm-test-in: Add more tests of erf and erfc.
6182         * math/auto-libm-test-out: Regenerated.
6183         * sysdeps/i386/fpu/libm-test-ulps: Update.
6184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6186 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6188         * config.h.in (HAVE_AARCH64_BE): Add.
6190 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6192         * math/auto-libm-test-in: Add more tests of csqrt.
6193         * math/auto-libm-test-out: Regenerated.
6194         * sysdeps/i386/fpu/libm-test-ulps: Update.
6195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6197         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6198         * math/auto-libm-test-out: Regenerated.
6199         * sysdeps/i386/fpu/libm-test-ulps: Update.
6200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6204 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6206         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6207         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6209         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6210         (euidaccess, eaccess): Define as weak aliases.
6212         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6213         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6214         but __suseconds_t is often 'long int' so some sources assume that
6215         type is being used (e.g. they use %ld to print tv_usec).
6217 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6219         [BZ #18007]
6220         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6221         (CVE-2014-8121)
6222         * nss/tst-nss-getpwent.c: New file.
6223         * nss/Makefile (tests): Add new test.
6225 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6227         [BZ #18346]
6228         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6229         exponents less than 48 as cases where high part of mantissa needs
6230         examining to determine whether argument is integral.
6231         * math/libm-test.inc (round_test_data): Add more tests.
6233 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6235         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6237 2015-04-27  David S. Miller  <davem@davemloft.net>
6239         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6240         __tls_get_addr.
6241         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6243 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6245         [BZ#18333]
6246         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6248 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6250         [BZ#18333]
6251         * time/tzset.c (parse_tzname): Return error on memory allocation
6252         failure.
6253         * test-skeleton.c (struct temp_name_list): Change type of name
6254         member to non-const.
6255         (add_temp_file): Create a copy of the file name.
6256         (delete_temp_files): Deallocate memory.
6257         (create_temp_file): Add comment.
6259 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6261         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6262         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6264 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6266         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6267         * sysdeps/arm/configure: Regenerated.
6269 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6271         [BZ #17715]
6272         * time/tzfile.c (__tzfile_read): Check for large values of
6273         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6274         * time/tzset.c (__tzstring_len): New function, based on the old
6275         __tzstring function.
6276         (__tzstring): Call __tzstring_len.
6277         (parse_tzname): New helper function extracted from
6278         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6279         the input string.
6280         (parse_offset): New helper function extracted from
6281         __tzset_parse_tz.  Replace switch with fallthrough with
6282         initialization before sscanf.
6283         (parse_rule): Likewise.
6284         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6285         new-style function definition.
6286         * timezone/Makefile (tests): Add tst-tzset.
6287         (tst-tzset.out): Dependencies on time zone files.
6288         (tst-tzset-ENV): Set TZDIR.
6289         (testdata/XT%): Copy crafted time zone files.
6290         * timezone/README: Mention crafted time zone files.
6291         * timezone/testdata/XT1, timezone/testdata/XT2,
6292         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6293         files.
6294         * timezone/tst-tzset.c: New test.
6296 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6298         * Makeconfig (+gccwarn): Remove -Winline.
6300 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6302         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6304 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6306         * NEWS: Mention sysconf() cache information support for s390.
6307         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6309 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6311         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6312         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6313         (__nearbyint): Likewise.
6314         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6315         (copysignl): Likewise.
6317 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6319         [BZ #18287]
6320         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6321         based on padding.  (CVE-2015-1781)
6323 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6325         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6326         libc-vdso.h.
6327         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6328         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6329         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6330         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6331         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6332         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6335         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6336         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6337         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6338         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6339         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6340         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6341         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6342         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6343         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6344         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6345         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6346         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6347         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6348         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6349         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6351 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6353         * stdlib/setenv.c (__add_to_environ):
6354         Dump core quickly if setenv (..., NULL, ...) is called.
6355         This time, do it the right way, and pacify GCC with a pragma.
6357 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6359         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6360         IMAP->l_prev cannot be null, and #if out the code for the contrary
6361         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6362         believe that NS (&_dl_ns[NSID]) could point outside the array.
6364         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6365         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6366         before using NSID as an index.
6368 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6370         [BZ #17825]
6371         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6372         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6373         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6375 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6377         Add preliminary port to Google Native Client on ARM.
6378         * abi-tags (.*-.*-nacl.*): New entry.
6379         * sysdeps/arm/nacl: New directory.
6380         * sysdeps/nacl: New directory.
6382 2015-04-16  David S. Miller  <davem@davemloft.net>
6384         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6385         lowlevellock-futex.h
6387 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6389         * sysdeps/tile/configure.ac: New file.
6390         * sysdeps/tile/configure: Regenerated.
6392 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6394         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6395         conditionals for weak_alias and libc_hidden_weak.
6396         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6397         libc_hidden_weak and weak_alias.
6398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6399         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6400         and weak_alias for static one.
6402 2015-04-15  David S. Miller  <davem@davemloft.net>
6404         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6406 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6408         [BZ #18206]
6409         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6410           Use signed comparision instead of substraction to avoid
6411           overflow bug.
6412         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6413           Take the sign of ret.
6414         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6415           Do not expect precise return values. Only the sign matters.
6416         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6417         * wcsmbs/test-wcsncmp.c: New File.
6418         * string/test-strncmp.c: Add wcsncmp support.
6420 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6422         [BZ #6792]
6423         * math/w_log1p.c: New file.
6424         * math/w_log1pf.c: Likewise.
6425         * math/w_log1pl.c: Likewise.
6426         * math/Makefile (libm-calls): Add w_log1p.
6427         * math/s_log1pl.c (log1pl): Remove weak_alias.
6428         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6429         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6430         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6431         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6432         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6433         [NO_LONG_DOUBLE] (log1pl): Likewise.
6434         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6435         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6436         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6437         (log1p): Remove long_double_symbol.
6438         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6439         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6440         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6441         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6442         remove weak_alias for corresponding log1p function.
6443         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6444         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6445         * sysdeps/ia64/fpu/w_log1p.c: New file.
6446         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6447         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6448         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6450 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #18247]
6453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6454         decimal exponent by 1.
6455         * stdlib/tst-strtod-round-data: Add more tests.
6456         * stdlib/tst-strtod-round.c (tests): Regenerated.
6458 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6460         * math/auto-libm-test-in: Add more tests of clog and clog10.
6461         * math/auto-libm-test-out: Regenerated.
6462         * sysdeps/i386/fpu/libm-test-ulps: Update.
6463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6467         * Makeconfig (module-cppflags): Exclude all .v.i files.
6468         (skip-module-cppflags): Variable removed.
6470         * configure.ac (libc_config_ok): Initialize before reading
6471         preconfigure scripts, not after.
6472         * configure: Regenerated.
6474         * test-skeleton.c (TIMEOUT): Move #define to top level.
6475         (main): Grok environment variable TEST_DIRECT.  If set, print
6476         test expectation details into that file and then behave as if
6477         given --direct.
6479 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6481         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6482         warning on 32-bit.
6484 2015-04-08  David S. Miller  <davem@davemloft.net>
6486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6488 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6490         * math/auto-libm-test-in: Add more tests of atanh.
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         * math/auto-libm-test-in: Add more tests of atan.
6496         * math/auto-libm-test-out: Regenerated.
6497         * sysdeps/i386/fpu/libm-test-ulps: Update.
6498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6500 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6502         * elf/pldd.c (main): Rewrite to use struct
6503         scratch_buffer instead of extend_alloca.
6504         * elf/pldd-xx.c (find_maps): Likewise.
6505         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6506         <alloca.h>.
6507         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6508         scratch_buffer instead of extend_alloca.
6509         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6510         grp/compat-initgroups.c.
6511         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6512         Rewrite to use struct scratch_buffer instead of extend_alloca.
6513         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6514         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6516 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6518         * math/auto-libm-test-in: Add more tests of cbrt.
6519         * math/auto-libm-test-out: Regenerated.
6520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6522         * math/auto-libm-test-in: Add more tests of cabs.
6523         * math/auto-libm-test-out: Regenerated.
6524         * sysdeps/i386/fpu/libm-test-ulps: Update.
6525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527         [BZ #18210]
6528         [BZ #18211]
6529         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6530         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6531         computations.
6532         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6533         clog10.
6534         * math/auto-libm-test-out: Regenerated.
6535         * sysdeps/i386/fpu/libm-test-ulps: Update.
6536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538         [BZ #18197]
6539         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6540         (atan): Set FE_TONEAREST mode for internal computations.
6541         * math/auto-libm-test-in: Add more tests of atan.
6542         * math/auto-libm-test-out: Regenerated.
6544 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6546         [BZ #17930]
6547         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6549 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6551         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6553 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6555         * include/scratch_buffer.h: New file.
6556         * malloc/scratch_buffer_grow.c: Likewise.
6557         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6558         * malloc/scratch_buffer_set_array_size.c: Likewise.
6559         * malloc/tst-scratch_buffer.c: Likewise.
6560         * malloc/Makefile (routines): Add scratch_buffer_grow.
6561         (tests): Add test case.
6562         * malloc/Versions (GLIBC_PRIVATE): Export
6563         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6564         __libc_scratch_buffer_set_array_size.
6566 2015-04-06  Richard Henderson  <rth@redhat.com>
6568         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6569         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6571         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6572         unsigned int before printing.
6574 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6576         [BZ #17596]
6577         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6578         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6580 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6582         * include/libc-internal.h (libc_max_align_t): Define.
6584 2015-04-02  Andreas Schwab  <schwab@suse.de>
6586         [BZ #16850]
6587         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6589 2015-04-02  Mel Gorman  <mgorman@suse.de>
6591         [BZ #17195]
6592         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6593         as well as the main arena.
6595 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6597         [BZ #18185]
6598         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6599         sharing L2 cache to 2 for Silvermont/Knights Landing.
6601 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6603         [BZ #17711]
6604         * config.make.in (have-protected-data): New.
6605         * configure.ac: Check linker support for protected data symbol.
6606         * configure: Regenerated.
6607         * elf/Makefile (modules-names): Add tst-protected1moda and
6608         tst-protected1modb if $(have-protected-data) is yes.
6609         (tests): Add tst-protected1a and tst-protected1b if
6610         $(have-protected-data) is yes.
6611         ($(objpfx)tst-protected1a): New.
6612         ($(objpfx)tst-protected1b): Likewise.
6613         (tst-protected1modb.so-no-z-defs): Likewise.
6614         * elf/tst-protected1a.c: New file.
6615         * elf/tst-protected1b.c: Likewise.
6616         * elf/tst-protected1mod.h: Likewise.
6617         * elf/tst-protected1moda.c: Likewise.
6618         * elf/tst-protected1modb.c: Likewise.
6620 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6622         [BZ #17711]
6623         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6624         indicates it is called from do_lookup_x on relocation against
6625         protected data, skip the data definion in the executable from
6626         copy reloc.
6627         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6628         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6629         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6630         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6631         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6632         otherwise to 0.
6633         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6634         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6635         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6636         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6637         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6638         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6640 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6642         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6643         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6645 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6647         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6648         THREAD_SETMEM_NC.
6649         * sysdeps/x86_64/nptl/tls.h: Ditto.
6651 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6653         * dlfcn/tststatic.c (main): Converted to ...
6654         (do_test): ... this.
6655         (TEST_FUNCTION): New macro.
6656         Include test-skeleton.c.
6658 2015-03-26  Alan Modra  <amodra@gmail.com>
6660         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6661         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6662         zero for undefined weak.
6663         (elf_machine_plt_conflict): Similarly.
6665 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6667         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6668         atanh.
6669         * math/auto-libm-test-out: Regenerated.
6670         * sysdeps/i386/fpu/libm-test-ulps: Update.
6671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6673         * math/auto-libm-test-in: Add another test of asin.
6674         * math/auto-libm-test-out: Regenerated.
6675         * sysdeps/i386/fpu/libm-test-ulps: Update.
6676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6678         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6679         Remove macro.
6680         (LLL_EBX_REG): Likewise.
6681         (LLL_ENTER_KERNEL): Likewise.
6683         * math/auto-libm-test-in: Add more tests of asin.
6684         * math/auto-libm-test-out: Regenerated.
6685         * sysdeps/i386/fpu/libm-test-ulps: Update.
6686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6688         [BZ #18138]
6689         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6690         libc_do_syscall_args): New structure.
6691         (INTERNAL_SYSCALL_MAIN_0): New macro.
6692         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6693         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6694         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6695         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6696         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6697         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6698         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6699         Replace conditional definitions by conditional definitions of ....
6700         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6701         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6702         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6703         (libpthread-sysdep_routines): Add libc-do-syscall.
6704         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6705         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6706         to __NR_futex not 240.
6708 2015-03-25  Alan Modra  <amodra@gmail.com>
6710         * NEWS: Advertise TLS optimization.
6711         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6712         (DT_PPC_NUM): Increment.
6713         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6714         (CHECK_STATIC_TLS): Use here.
6715         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6716         TLS descriptors.
6717         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6718         * sysdeps/powerpc/dl-tls.c: New file.
6719         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6720         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6721         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6722         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6727 2015-03-25  Alan Modra  <amodra@gmail.com>
6729         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6730         for overlapping .opd entries" to "support...".
6731         * sysdeps/powerpc/powerpc64/configure: Regenerate
6733 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6735         * math/auto-libm-test-in: Add more tests of acos.
6736         * math/auto-libm-test-out: Regenerated.
6737         * sysdeps/i386/fpu/libm-test-ulps: Update.
6738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740         * math/auto-libm-test-in: Add more tests of expm1.
6741         * math/auto-libm-test-out: Regenerated.
6742         * sysdeps/i386/fpu/libm-test-ulps: Update.
6743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6745 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6747         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6748         * math/auto-libm-test-out: Regenerated.
6749         * sysdeps/i386/fpu/libm-test-ulps: Update.
6750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6752         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755         * math/auto-libm-test-in: Add more tests of log2.
6756         * math/auto-libm-test-out: Regenerated.
6757         * sysdeps/i386/fpu/libm-test-ulps: Update.
6758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6760 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6762         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6763         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6764         _IO_IS_APPENDING bit in READ_WRITE instead.
6766 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6768         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6769         (__determine_cpumask_size): Replace extend_alloca with a
6770         variable-length array.  Do not treat res == 0 as an error.
6772 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6774         [BZ #18100]
6775         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6776         and integer overflow.
6777         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6778         (main): Add integer overflow tests.
6779         * manual/pattern.texi (Calling Wordexp): Document additional use
6780         for WRDE_SYNTAX.
6782 2015-03-23  Alan Modra  <amodra@gmail.com>
6784         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6785         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6786         and false branch of conditional.
6787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6788         Likewise.
6790 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6792         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6793         libc-modules.h
6794         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6795         unused declaration of _hurd_intr_rpc_msg_in_trap.
6796         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6797         defined instead of whether it is non-zero.
6798         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6799         input constraint instead of both input and output constraint.  Use ecx
6800         clobber instead of %ecx.
6801         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6802         mutex_unlock): Use a statement expression instead of an expression list.
6803         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6804         type to vm_size_t instead of vm_address_t.
6805         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6806         defined instead of whether it is non-zero.
6807         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6808         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6809         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6810         comparisons with mapaddr.
6811         * nscd/nscd-client.h: Include <time.h>.
6812         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6813         9th parameter to __vm_region instead of int.
6814         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6815         * scripts/check-local-headers.sh (exclude): Add device/,
6816         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6817         cthreads.h.
6819 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6821         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6822         to account for alignment padding.
6823         * sysdeps/arm/memmove.S: Likewise.
6825 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6827         * sysdeps/unix/sysv/linux/generic/README: New file.
6829 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6831         [BZ #18138]
6832         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6833         (futex_abstimed_wait)
6834         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6835         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6836         of lll_futex_timed_wait.
6838 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6840         [BZ #17542]
6841         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6843 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6845         [BZ #17090]
6846         [BZ #17620]
6847         [BZ #17621]
6848         [BZ #17628]
6849         * NEWS: Update.
6850         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6851         entries with Static TLS too.  Skip entries past the end of the
6852         allocated DTV, from Alan Modra.
6853         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6854         Static TLS DTV entry set up from...
6855         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6856         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6857         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6858         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6859         for Static TLS.
6860         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6861         that the slot we find is associated with the given map before
6862         using its generation count.
6863         * nptl_db/db_info.c: Include ldsodefs.h.
6864         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6865         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6866         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6867         (link_map::l_tls_offset): New struct field.
6868         (dtv_t::counter): Likewise.
6869         (rtld_global): New struct.
6870         (_rtld_global): New rtld variable.
6871         (dl_tls_dtv_slotinfo_list): New rtld global field.
6872         (dtv_slotinfo_list): New struct.
6873         (dtv_slotinfo): Likewise.
6874         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6875         (td_lookup): Rename to...
6876         (td_mod_lookup): ... this.  Use new mod parameter instead of
6877         LIBPTHREAD_SO.
6878         * nptl_db/td_thr_tlsbase.c: Include link.h.
6879         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6880         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6881         addresses even if the DTV is out of date or missing them.
6882         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6883         index zero-length arrays.
6884         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6885         (td_lookup): Make it a macro implemented in terms of...
6886         (td_mod_lookup): ... this declaration.
6887         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6888         (DB_MAIN_VARIABLE): Likewise.
6890 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6892         [BZ #18134]
6893         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6895 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6897         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6899 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6901         [BZ #18128]
6902         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6903         (atomic_add, atomic_increment_and_test)
6904         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6906 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6908         * stdlib/setenv.c (__add_to_environ):
6909         Dump core quickly if setenv (..., NULL, ...) is called.
6911 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6913         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6914         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6915         all the necessary asm magic in one place.
6916         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6917         using those.
6919 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6921         [BZ #14906]
6922         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6923         traced file mtime. Use consistent log message.
6924         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6925         (register_traced_file): Call install_watches. Always set mtime.
6926         (invalidate_cache): Iterate over all trace files. Call install_watches.
6927         (inotify_check_files): Don't inline. Handle watching parent
6928         directories and configuration file movement in and out.
6929         (handle_inotify_events): New function.
6930         (main_loop_poll): Call handle_inotify_events.
6931         (main_loop_epoll): Likewise.
6932         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6933         (struct traced_file): Use array of inotify fds. Add parent directory,
6934         and basename.
6935         (struct database_dyn): Remove unused file_mtime.
6936         (init_traced_file): New inline function.
6937         (define_traced_file): New macro.
6938         * nss/nss_db/db-init.c: Use define_traced_file.
6939         (_nss_db_init): Use init_traced_file.
6940         * nss/nss_files/files-init.c: Use define_traced_file.
6941         (_nss_files_init): Use init_traced_file.
6943 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6945         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6946         [_LIBC]: Do not include <stdlib.h>.
6947         [!_LIBC] (abort): Remove declaration.
6948         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6949         _FP_STATIC_ASSERT instead of conditionally calling abort.
6950         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6951         (_FP_EXTEND_CNAN): Likewise.
6952         (FP_TRUNC): Likewise.
6953         (__FP_CLZ): Likewise.
6954         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6956 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6958         * manual/string.texi (XPG basename): Fix prototype.
6960 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6962         [BZ #18080]
6963         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6964         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6965         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6966         (__setcontext): Likewise.
6967         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6968         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6969         Call rt_sigprocmask syscall one time to set new signal mask
6970         and retrieve the current signal mask instead of two calls.
6971         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6972         (__swapcontext): Likewise.
6973         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6974         * stdlib/tst-setcontext2.c: New file.
6976 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6978         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6980 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6982         [BZ #18093]
6983         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6984         the wrong size.
6986 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6988         [BZ #18043]
6989         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6991 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6993         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6994         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6995         Remove define.
6996         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6997         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6998         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6999         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7000         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7001         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7002         define.
7003         * nptl_db/td_symbol_list.c (td_lookup): Remove
7004         HAVE_ASM_GLOBAL_DOT_NAME code.
7005         * sysdeps/powerpc/powerpc64/configure.ac: Remove
7006         HAVE_ASM_GLOBAL_DOT_NAME check.
7007         * sysdeps/powerpc/powerpc64/configure: Regenerate.
7008         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7009         (DOT_LABEL): Remove define.
7010         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7011         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7012         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7013         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7014         (__TLS_GET_ADDR): Likewise.
7015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7016         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7018 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
7020         [BZ #18111]
7021         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7022         (_FPU_SETCW): Initialize cw from fpsr before storing.
7023         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7024         (fesetexceptflag): Rewrite using fpu_control.h.
7025         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7027 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
7029         [BZ #18110]
7030         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7031         asms.
7032         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7034 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
7036         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7037         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7038         abort.
7039         (_FP_FMA): Likewise.
7040         (_FP_DIV): Likewise.
7042 2015-03-10  Roland McGrath  <roland@hack.frob.com>
7044         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7045         with 0 in that case.
7046         * Makefile (summarize-tests): New canned sequence, factored out of
7047         commands for targets tests and xtests.  Display summary lines that
7048         don't start with PASS: or XFAIL: rather than ones that do start with
7049         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
7050         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7051         do start with ERROR: or FAIL:.
7052         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7053         (except for [$(build-shared) = yes]).
7054         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7055         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7056         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7057         * nptl/Makefile: Revert 2015-03-04 changes.
7058         [$(CXX) empty] (tests-unsupported): New variable.
7059         * debug/Makefile: Likewise.
7061         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7062         gnulib file.  Replace __attribute with __attribute__ throughout.
7064 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
7066         * sysdeps/hppa/fpu/libm-test-ulps: Update.
7068 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7070         [BZ #18104]
7071         * math/auto-libm-test-in: Add another test of pow.
7072         * math/auto-libm-test-out: Regenerated.
7074 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7076         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7077         $(config-cflags-nofma).
7079 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7081         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7082         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7083         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7084         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7085         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7086         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7087         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7088         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7089         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7090         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7091         Add comment on closing #endif.
7093 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7095         * posix/wordexp.c (CHAR_IN_SET): New macro.
7096         (parse_param): Use it.
7098 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7100         * sysdeps/powerpc/fpu/libm-test-ulps: update.
7102 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7104         [BZ #18043]
7105         * posix/wordexp.c (parse_param): Fix buffer overflow.
7106         * posix/wordexp-test.c (test_case): Add test case.
7108 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7110         [BZ #18042]
7111         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7112         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7114 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7116         [BZ #18043]
7117         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7118         (do_bz18043): Delete.
7119         (at_page_end): New.
7120         (testit): Refactor to have words at the edge of unreadable page.
7122 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7124         [BZ #16734]
7125         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7126         Cleanup read-only streams as well.
7127         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7129 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7131         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7132         <bits/libc-lockP.h>
7134 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7136         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7137         on [__KERNEL__].
7138         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7139         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7140         * soft-fp/op-common.h (_FP_DECL): Likewise.
7142 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7144         * elf/ifuncdep2.c (global): Replace
7145         __attribute__((visibility("protected"))) with
7146         asm (".protected global").
7147         * elf/ifuncmod1.c (global): Likewise.
7148         * elf/ifuncmod5.c (global): Likewise.
7150 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7152         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7153         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7155 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7157         * manual/install.texi (Configuring and compiling):
7158         Document test-wrapper-env-only.
7159         * INSTALL: Regenerated.
7161 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7163         [BZ #18043]
7164         * posix/wordexp.c (parse_param): Fix buffer overflow.
7165         * posix/wordexp-test.c (do_bz18043): Add test case.
7167 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7169         * time/tst-strptime2.c (do_test): Ensure failing tests are
7170         reported correctly.
7171         * time/tst-strptime3.c (do_test): Likewise.
7173 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7175         Fix aio_error thread-safety.
7176         * sysdeps/pthread/aio_error.c: New file
7177         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7178         synchronization.
7180 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7182         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7183         (group_number, vfprintf): Use it.
7184         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7185         (JUMP, REF): Use it.
7186         (WORK_BUFFER_SIZE): New enum constant.
7187         (process_arg, vfprintf): Use it.
7189 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7191         * manual/errno.texi (Error Messages): Complete example function
7192         by adding missing #define.
7193         (program_invocation_name): Add statement indicating GNU
7194         extension and reference which header file declares the variable.
7195         (program_invocation_short_name): Likewise.
7197 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7199         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7200         compatibility note.
7202 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7204         * Makeconfig (test-wrapper-env-only): New variable.
7205         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7206         then use that with $(test-wrapper-env-only) rather than using
7207         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7209 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7211         [BZ #18082]
7212         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7213         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7214         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7215         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7216         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7217         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7218         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7219         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7220         Likewise.
7221         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7222         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7223         Likewise.
7224         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7225         Likewise.
7226         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7227         Likewise.
7228         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7229         Likewise.
7230         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7231         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7232         Likewise.
7233         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7234         Likewise.
7235         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7236         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7238 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7240         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7241         (ETH_ALEN): New macro.
7242         (struct ether_addr): Use it for length of ether_addr_octet.
7244         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7245         (setdb): Don't call __nss_configure_lookup for "rpc".
7246         (do_test): Don't call test_rpc.
7247         (output_rpcent, test_rpc): Functions moved ...
7248         * sunrpc/test-rpcent.c: ... to this new file.
7249         * sunrpc/Makefile (tests): Add it.
7251         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7252         __xpg_sigpause.
7253         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7254         * nptl/tst-signal6.c: Likewise.
7255         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7256         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7258         * configure.ac (libc_cv_cxx_link_ok): New check.
7259         Reset CXX to empty if it fails to link.
7260         * configure: Regenerated.
7261         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7262         bug-atexit3-lib only if $(CXX) is nonempty.
7263         * nptl/Makefile (tests): Likewise for tst-cancel24.
7264         (tests, tests-static): Likewise for tst-cancel24-static.
7265         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7266         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7267         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7268         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7270 2015-03-04  Andreas Schwab  <schwab@suse.de>
7272         [BZ #17631]
7273         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7274         for non-GCC compilers.
7275         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7276         Likewise.
7278 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7280         [BZ #17776]
7281         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7282         integer before bitwise and assembly operations.
7283         (feclearexcept): Likewise.
7284         * math/test-fenvinline.c: New file.
7285         * math/Makefile: Add test-fenvinline test.
7287 2015-03-03  Alan Modra  <amodra@gmail.com>
7289         [BZ #16512]
7290         * scripts/localplt.awk: Strip off symbol version.
7291         * NEWS: Mention bug fix.
7293 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7295         * sysdeps/pthread/timer_routines.c
7296         (timer_free_list, thread_free_list, thread_active_list): Make static.
7298 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #17779]
7301         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7302         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7303         Undefine.
7304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7305         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7306         Likewise.
7307         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7308         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7309         Likewise.
7311 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7313         [BZ #18036]
7314         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7315         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7317 2015-03-02  Andreas Schwab  <schwab@suse.de>
7319         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7320         variable name.
7322 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7324         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7325         Return error status.
7327 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7329         [BZ #15969]
7330         * locale/findlocale.c (_nl_find_locale): Introduce const
7331         version of loc_name and drop unsafe type casts.
7333 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7335         * dlfcn/tststatic2.c (main): Converted to ...
7336         (do_test): ... this.
7337         (TEST_FUNCTION): New macro.
7338         Include test-skeleton.c.
7340 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7342         [BZ #17711]
7343         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7344         (tests-pie): Add vismain.
7345         (CFLAGS-vismain.c): New.
7346         * elf/vismain.c: Add comments for PIE requirement.
7348 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7350         [BZ #18046]
7351         [BZ #18047]
7352         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7353         0x1p-56L as threshold for just returning the argument.
7354         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7355         0x1p-32L as threshold for just returning the argument.
7356         * math/auto-libm-test-in: Add more tests of atanh.
7357         * math/auto-libm-test-out: Regenerated.
7358         * sysdeps/i386/fpu/libm-test-ulps: Update.
7359         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7361 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7363         * string/bcopy.c (bcopy): Call memmove for performance.
7365 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7367         * string/bzero.c (__bzero): Call memset for performance.
7369 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7371         [BZ #18068]
7372         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7373         to 00100000.
7375 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7377         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7379 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7381         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7382         (__kernel_standard): Use CSTR macro when setting exc.name.
7383         * sysdeps/ieee754/Makefile [$(subdir) = math]
7384         (CFLAGS-k_standard.c): Remove variable.
7386         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7387         setting p and q from "else if" to "else".
7388         (qzero): Likewise.
7389         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7390         (qone): Likewise.
7391         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7392         (qzerof): Likewise.
7393         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7394         (qonef): Likewise.
7395         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7396         (qzero): Likewise.
7397         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7398         (qone): Likewise.
7400         [BZ #18038]
7401         [BZ #18039]
7402         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7403         return pi/2 for arguments below 0x1p-113L.
7404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7405         return pi/2 for arguments below 0x1p-106L.
7406         * math/auto-libm-test-in: Add more tests of acos.
7407         * math/auto-libm-test-out: Regenerated.
7409         [BZ #16351]
7410         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7411         (MO): New macro.
7412         (__ieee754_asin): Force underflow exception for results with small
7413         absolute value.
7414         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7415         (MO): New macro.
7416         (__ieee754_asinf): Force underflow exception for results with
7417         small absolute value.
7418         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7419         (__ieee754_asin): Force underflow exception for results with small
7420         absolute value.
7421         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7422         (__ieee754_asinf): Force underflow exception for results with
7423         small absolute value.
7424         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7425         (__ieee754_asinl): Force underflow exception for results with
7426         small absolute value.
7427         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7428         (__ieee754_asinl): Force underflow exception for results with
7429         small absolute value.
7430         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7431         (__ieee754_asinl): Force underflow exception for results with
7432         small absolute value.
7433         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7434         Include <math.h>.
7435         * math/auto-libm-test-in: Do not mark underflow exceptions as
7436         possibly missing for bug 16351.
7437         * math/auto-libm-test-out: Regenerated.
7439         [BZ #18030]
7440         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7441         of power of 2 down when low part has opposite sign.
7442         * math/libm-test.inc (logb_test_data): Add more tests.
7444 2015-02-26  Andreas Schwab  <schwab@suse.de>
7446         [BZ #18032]
7447         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7448         over collating symbol inside a bracket expression.  Minor cleanup.
7449         * posix/tst-fnmatch3.c (do_test): Add test case.
7451 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #18029]
7454         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7455         Adjust exponent of power of 2 down when low part has opposite
7456         sign.
7457         * math/libm-test.inc (ilogb_test_data): Add more tests.
7459 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7461         [BZ #15969]
7462         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7463         the previous change.
7465         [BZ #15969]
7466         * locale/findlocale.c (_nl_find_locale): Retry archive search
7467         after alias expansion.
7469 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7471         * iconv/tst-iconv3.c (main): Converted to ...
7472         (do_test): ... this.
7473         (TEST_FUNCTION): New macro.
7474         Include test-skeleton.c.
7476         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7477         (convert): Make function static.
7478         (test_unalign): Likewise.  Add const to argument pointee types.
7479         (main): Replace with static function do_test.
7480         Print "Succeeded." only if RET is zero.
7481         (TEST_FUNCTION): New macro.
7482         Include test-skeleton.c.
7484         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7485         returns a null pointer.
7487 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7489         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7490         to __memcpy_ppc only for static builds.
7492 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7494         [BZ #18020]
7495         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7496         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7497         * math/auto-libm-test-in: Add more tests of asinh.
7498         * math/auto-libm-test-out: Regenerated.
7499         * sysdeps/i386/fpu/libm-test-ulps: Update.
7500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7504         [BZ #15850]
7505         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7506         and ip6_mtuinfo definitions here.
7507         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7508         in this define too.  Update comment.
7510 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7512         * elf/sprof.c (load_shobj): Tweak error message to match others.
7514 2015-02-24  Kevin Easton  <kevin@guarana.org>
7516         [BZ #16145] (partial fix)
7517         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7518         to reduce lock contention.
7520 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7522         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7523         (struct timex): Update time comment.
7524         (ADJ_SETOFFSET): Define.
7526 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7528         [BZ #18019]
7529         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7530         2**56 not 2**28 as threshold for log (2x) formula.
7531         * math/auto-libm-test-in: Add more tests of acosh.
7532         * math/auto-libm-test-out: Regenerated.
7533         * sysdeps/i386/fpu/libm-test-ulps: Update.
7534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7536 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7538         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7539         parenthesis around the buf assignment.
7540         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7542 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7544         [BZ #16783]
7545         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7546         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7547         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7548         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7549         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7550         * math/libm-test.inc (scalb_test_data): Add more tests.
7552 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7554         [BZ #17916]
7555         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7556         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7558 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7560         [BZ #17523]
7561         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7562         * io/bits/fcntl2.h (open): Use it.
7563         (openat): Likewise.
7564         * io/open.c (__libc_open): Likewise.
7565         * io/open64.c (__libc_open64): Likewise.
7566         * io/open64_2.c (__open64_2): Likewise.
7567         * io/open_2.c (__open_2): Likewise.
7568         * io/openat.c (__openat): Likewise.
7569         * io/openat64.c (__openat64): Likewise.
7570         * io/openat64_2.c (__openat64_2): Likewise.
7571         * io/openat_2.c (__openat_2): Likewise.
7572         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7573         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7574         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7575         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7576         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7577         (__open_nocancel): Likewise.
7578         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7579         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7580         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7582 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7584         [BZ #14841]
7585         * resolv/gethnamaddr.c (getanswer): Skip logging if
7586         RES_USE_DNSSEC is set.
7587         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7589 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7591         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7593 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7595         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7596         201304L, for Unicode 7.
7598 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7600         [BZ #17836]
7601         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7602         shared library.  Add gmon-start.os otherwise.
7603         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7604         $(objpfx)gmon-start.os if builing shared library.
7605         ($(objpfx)g$(static-start-installed-name)): Likewise.
7607 2015-02-23  Andreas Schwab  <schwab@suse.de>
7609         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7611 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7613         [BZ #17269]
7614         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7615         (enlarge_userbuf): Likewise.
7617 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7619         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7620         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7621         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7622         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7624 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7626         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7627         expression inside statement expression.
7629 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7631         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7632         <sysdeps/nptl/lowlevellock.h> and remove macros and
7633         functions that are now defined there.
7634         (SYS_futex): Remove.
7635         (lll_compare_and_swap): Remove.
7636         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7638 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7640         [BZ #17999]
7641         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7642         instead of scandirat.
7643         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7644         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7645         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7646         __scandirat.
7647         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7648         (__scandirat): Declare.  Use libc_hidden_proto.
7649         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7650         Remove variable.
7651         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7653 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7655         [BZ #15319]
7656         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7657         (MO): New macro.
7658         (__ieee754_atan2): For results with small absolute value, force
7659         underflow exception and remove excess range and precision from
7660         return value.
7661         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7662         (MO): New macro.
7663         (__ieee754_atan2f): For results with small absolute value, force
7664         underflow exception and remove excess range and precision from
7665         return value.
7666         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7667         (MO): New macro.
7668         (__atan): For results with small absolute value, force underflow
7669         exception and remove excess range and precision from return value.
7670         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7671         (MO): New macro.
7672         (__atanf): For results with small absolute value, force underflow
7673         exception and remove excess range and precision from return value.
7674         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7675         <math.h>.
7676         (__ieee754_atan2): Force underflow exception for results with
7677         small absolute value.
7678         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7679         <math_private.h>.
7680         (atan): Force underflow exception for results with small absolute
7681         value.
7682         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7683         (__atanf): Force underflow exception for results with small
7684         absolute value.
7685         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7686         <math.h>.
7687         (__atanl): Force underflow exception for results with small
7688         absolute value.
7689         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7690         (__atanl): Force underflow exception for results with small
7691         absolute value.
7692         * sysdeps/x86/fpu/bits/mathinline.h
7693         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7694         (__ieee754_atan2): Only define inline for long double.
7695         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7696         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7697         * math/auto-libm-test-in: Do not mark underflow exceptions as
7698         possibly missing for bug 15319.  Add more tests of atan2.
7699         * math/auto-libm-test-out: Regenerated.
7700         * math/libm-test.inc (casin_test_data): Do not mark underflow
7701         exceptions as possibly missing for bug 15319.
7702         (casinh_test_data): Likewise.
7703         * sysdeps/i386/fpu/libm-test-ulps: Update.
7705 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7707         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7708         * sysdeps/mips/bits/endian.h: Fix comments.
7710 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7712         [BZ #17996]
7713         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7714         (hdestroy_r): Likewise.
7715         (hsearch_r): Likewise.
7716         (__hcreate_r): Declare and use libc_hidden_proto.
7717         (__hdestroy_r): Likewise.
7718         (__hsearch_r): Likewise.
7719         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7720         (hcreate): Call __hcreate_r instead of hcreate_r.
7721         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7722         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7723         as weak alias of __hcreate_r.
7724         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7725         __hdestroy_r.
7726         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7727         __hsearch_r.
7728         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7729         Remove variable.
7730         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7731         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7732         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7733         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7735 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7737         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7738         arena_lock into a single arena_get.
7740 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7742         * dl-reloc.c: Inlucde libc-internal.h.
7743         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7744         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7745         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7746         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7747         (grow_heap): Likewise.
7748         * malloc/malloc.c: Include libc-internal.h.
7749         (do_check_malloc): Call powerof2.
7750         (sysmalloc): Use pagesize. Call ALIGN_UP.
7751         (systrim): Use pagesize.
7752         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7753         (__libc_valloc): Use pagesize.
7754         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7756 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7758         [BZ #17991]
7759         * include/sys/resource.h (__getrlimit64): Declare.  Use
7760         libc_hidden_proto.
7761         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7762         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7763         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7764         getrlimit64.
7765         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7766         __getrlimit64.
7767         [!getrlimit64] (getrlimit64): Define as weak alias of
7768         __getrlimit64.  Use libc_hidden_weak.
7769         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7770         using __getrlimit64 not __new_getrlimit64.
7771         (__GI_getrlimit64): Likewise.
7772         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7773         Likewise.
7774         (__GI_getrlimit64): Likewise.
7775         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7777         (getrlimit): Add __getrlimit64 alias.
7778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7779         Likewise.
7780         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7781         Remove variable.
7782         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7783         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7785 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7787         * libio/fileops.c: Add missing sys/mman.h
7788         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7790 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7792         * manual/math.texi (Errors in Math Functions): Clarify goals
7793         regarding inexact and underflow exceptions.
7795 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7797         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7798         * sysdeps/mips/memset.S: Ditto.
7800 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7802         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7804 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7806         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7807         (__v1longjmp): Remove versioned symbol.
7808         (__v1siglongjmp): Remove alias and versioned symbol.
7809         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7810         (__v2siglongjmp): Likewise.
7812 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7816 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7818         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7820 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7822         [BZ #17987]
7823         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7824         zero result does not depend on the sign resulting from
7825         subtraction.
7826         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7827         Likewise.
7828         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7829         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7830         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7831         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7832         * math/libm-test.inc (remquo_test_data): Add more tests.
7834 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7836         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7837         Problem reported by J William Piggott.
7839 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7841         [BZ #17978]
7842         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7843         products 4 * y and 2 * y where those would overflow.
7844         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7845         Likewise.
7846         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7847         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7848         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7849         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7850         * math/libm-test.inc (remquo_test_data): Add more tests.
7852         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7854         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7855         [defined _COMPILING_NEWLIB].
7856         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7857         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7859         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7860         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7862 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7864         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7865         acquired.
7867 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7869         [BZ #17792]
7870         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7871         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7872         HOST_STACK_END_ADDR): Likewise.
7874 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7876         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7877         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7878         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7880 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7882         * sysdeps/generic/c++-types.data: New file.
7883         * sysdeps/generic/ld.abilist: New file.
7884         * sysdeps/generic/libBrokenLocale.abilist: New file.
7885         * sysdeps/generic/libanl.abilist: New file.
7886         * sysdeps/generic/libc.abilist: New file.
7887         * sysdeps/generic/libcrypt.abilist: New file.
7888         * sysdeps/generic/libdl.abilist: New file.
7889         * sysdeps/generic/libm.abilist: New file.
7890         * sysdeps/generic/libpthread.abilist: New file.
7891         * sysdeps/generic/libresolv.abilist: New file.
7892         * sysdeps/generic/librt.abilist: New file.
7894 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7896         [BZ #17569]
7897         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7898         Compute absolute value of x as modified by fmod, not original
7899         value of x.
7900         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7901         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7902         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7903         RUN_TEST_ffI_f1_mod8.
7904         (remquo_test_data): Add more tests.
7906 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7908         * sysdeps/init_array/pt-crti.S: New file.
7910 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7912         [BZ #17967]
7913         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7914         __builtin_fmaf instead of relying on contraction of a * b + c.
7916 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7918         [BZ #17969]
7919         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7920         node.
7922 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7924         [BZ #17964]
7925         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7926         __builtin_fma instead of relying on contraction of a * b + c.
7928 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7930         * Makeconfig (ASFLAGS): Add -Werror=undef.
7931         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7932         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7933         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7935         * Makeconfig (after-link): New variable.
7936         (+link-pie, +link-pie-tests): Use it.
7937         (+link-static, +link-static-tests): Likewise.
7938         (+link, +link-tests): Likewise.
7939         * Makerules (build-module, build-module-asneeded): Likewise.
7940         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7941         Likewise.
7942         * elf/Makefile ($(objpfx)ld.so): Likewise.
7944 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7946         [BZ #17965]
7947         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7948         both struct timeval and struct timespec.
7950 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7952         [BZ #16560]
7953         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7954         and redefine.
7955         (__ieee754_exp2l): Do not multiply small fractional parts by
7956         M_LN2l.
7957         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7958         small argument.
7959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7960         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7961         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7962         * math/auto-libm-test-in: Add more tests of exp2.
7963         * math/auto-libm-test-out: Regenerated.
7965 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7967         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7968         unaligned path.
7970 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7972         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7973         little endian.
7975 2015-02-12  Andreas Schwab  <schwab@suse.de>
7977         [BZ #15790]
7978         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7979         Filter out elision flags from value returned in kind.
7980         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7981         * nptl/tst-pthread-mutexattr.c: New file.
7983 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7985         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7986         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7987         into gnu-gnu, and update comment to refer to abi-tags.
7989 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7991         [BZ #15467]
7992         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7993         (__sincos): Set errno to EDOM for infinite argument.
7994         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7995         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7996         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7997         (__sincosl): Set errno to EDOM for infinite argument.
7998         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7999         (__sincosl): Set errno to EDOM for infinite argument.
8000         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8001         (__sincosl): Set errno to EDOM for infinite argument.
8002         * math/libm-test.inc (sincos_test_data): Test errno setting.
8004 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
8006         * string/strxfrm_l.c: Remove #define STRCMP.
8007         * string/strcoll_l.c: Remove #define STRLEN.
8008         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8009         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8011 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
8013         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8014         * sysdeps/mips/mips32/sfp-machine.h: ... here.
8015         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8016         * sysdeps/mips/mips64/Makefile: ... here.
8017         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8018         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8019         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8020         * sysdeps/mips/mips64/sfp-machine.h: ... here.
8021         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8022         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8023         * sysdeps/mips/mips64/n64/Implies: Likewise.
8025 2015-02-10  Roland McGrath  <roland@hack.frob.com>
8027         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8028         <sys/time.h>, <string.h>, and <errno.h>.
8029         (dest_offset, dest_address, value, zero): Remove unused variables.
8030         (ldouble): Remove typedef.
8031         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8032         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
8033         1).  Fix code style.
8034         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8035         (check): Function removed.
8036         (CHECK): New macro.
8037         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
8038         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8039         Don't call set_sigaction_FP and remove_sigaction_FP here.
8040         (ldouble_test): Just use 'long double' as macro argument, no need for
8041         the 'ldouble' typedef.
8042         (do_test): Set up SIGFPE handler at start, using plain signal rather
8043         than sigaction.  Fix code style.
8045 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
8047         [BZ #17949]
8048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8049         jump label.
8051 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8053         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8054         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8056         * sysdeps/powerpc/configure.ac: Remove file.
8057         * sysdeps/powerpc/configure: Likewise.
8059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8060         [sysdep_routines]: Remove wordcopy-power6 object.
8061         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8062         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8063         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8064         (__memmove_ppc32): Likewise.
8065         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8066         file.
8067         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8069         Remove preprocessor.
8071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8072         [sysdep_routines]: Remove wide chars objects.
8073         [wcsmbs]: New rule for wide char objects.
8075         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8076         Remove wordcopy-power6 obejct.
8077         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8078         Use local call for wordcopy and memcpy symbols.
8079         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8080         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8081         implementation for loader.
8082         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8084         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8085         Remove wordcopy-power7 object.
8086         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8087         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8088         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8089         (_wordcopy_fwd_dest_aligned): Likewise.
8090         (_wordcopy_bwd_aligned): Likewise.
8091         (_wordcopy_bwd_dest_aligned): Likewise.
8093         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8094         Rewrite to call __memmove_ppc instead of include default
8095         implementation.
8097         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8098         Remove wide chars objects.
8099         [wcsmbs]: New rule for wide char objects.
8101 2015-02-09  Andreas Schwab  <schwab@suse.de>
8103         [BZ #17912]
8104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8105         in terms of __O_DIRECTORY.
8107 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8109         * time/getdate.c: Include <stdbool.h>.
8110         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8111         call PTR_MANGLE.
8112         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8113         PTR_DEMANGLE.
8115 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8117         Add ersatz _Static_assert on older C hosts
8118         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8119         pre-C11 C platform that is not known to support _Static_assert.
8121 2015-02-07  Richard Braun  <rbraun@sceen.net>
8123         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8124         sigstate.
8125         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8127 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8129         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8130         priority against unexistent AIO_PRIO_DELTA_MAX.
8131         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8132         instead of int.
8133         * misc/fchflags.c (fchflags): Likewise.
8134         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8135         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8136         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8137         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8138         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8139         Declare macros.
8140         [__USE_MISC] (chflags, fchflags): Declare functions.
8141         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8142         EINVAL when nfds is greater than FD_SETSIZE.
8143         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8144         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8145         45.
8146         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8147         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8148         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8149         MACH_RCV_TIMED_OUT.
8150         * hurd/hurd/signal.h (_hurd_self_sigstate,
8151         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8152         Explicit casts from void *.
8153         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8154         * abi-tags: Rename gnu-gnu os into gnu.
8156         [BZ #4719]
8157         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8158         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8159         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8160         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8161         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8162         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8164         [BZ #17944]
8165         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8166         duplicates ADDR->sun_path with sockaddr LEN limitation.
8167         * sysdeps/mach/hurd/connect.c: Include <string.h>
8168         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8169         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8170         * sysdeps/mach/hurd/sendto.c: Likewise.
8171         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8172         implementing it by hand.
8174 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8176         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8177         Use sfi_breg on ldr.
8178         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8179         Likewise.
8181         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8182         it's defined.
8183         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8184         Test SIGSETXID only if it's defined.
8186         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8188         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8189         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8191         * nptl/tst-align2.c: Moved ...
8192         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8193         * nptl/Makefile (tests): Remove tst-align2.
8194         * sysdeps/unix/sysv/linux/Makefile
8195         [$(subdir) = nptl] (tests): Add tst-align-clone.
8196         * nptl/tst-getpid1.c: Moved ...
8197         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8198         * nptl/tst-getpid2.c: Moved ...
8199         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8200         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8201         * sysdeps/unix/sysv/linux/Makefile
8202         [$(subdir) = nptl] (tests): ... here.
8203         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8204         * sysdeps/unix/sysv/linux/Makefile
8205         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8207         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8208         Drop trailing \n from perror argument.  Use return rather than exit.
8210         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8211         on [SA_SIGINFO].
8212         * nptl/tst-cancel21.c (do_test): Likewise.
8213         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8214         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8215         [!SA_SIGINFO]: Make it a stub test.
8217         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8218         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8220         * posix/tst-getlogin.c: Move to ...
8221         * login/tst-getlogin.c: ... here.
8222         * posix/Makefile (tests): Move tst-getlogin to ...
8223         * login/Makefile (tests): ... here.
8225         * libio/tst-atime.c (do_test): Move local variables SV and E
8226         inside [ST_NOATIME] conditional.
8228         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8230         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8232         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8233         (wait_code): New function replaces macro.
8234         Call nanosleep rather than syscall.
8236         * nptl/pt-system.c: Rewritten.  Put everything under
8237         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8238         Use IFUNC to redirect when possible.
8240         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8241         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8242         Use IFUNC to redirect when possible.
8244         * nptl/pt-fork.c: Rewritten.  Put everything under
8245         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8246         Use IFUNC to redirect when possible.
8247         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8249         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8250         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8251         unconditionally nowadays.  This included the only reference to
8252         __vdso_clock_gettime that appears outside libc proper.
8253         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8254         Remove version set (containing only __vdso_clock_gettime).
8255         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8256         Add attribute_hidden.
8257         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8258         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8259         libc_hidden_data_def.
8260         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8261         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8263         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8264         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8265         setrpcent, and getrpcport to ...
8266         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8267         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8268         getrpcbynumber_r, and getrpcent_r to ...
8269         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8270         * inet/getrpcbyname.c: Moved ...
8271         * sunrpc/getrpcbyname.c: ... here.
8272         * inet/getrpcbyname_r.c: Moved ...
8273         * sunrpc/getrpcbyname_r.c: ... here.
8274         * inet/getrpcbynumber.c: Moved ...
8275         * sunrpc/getrpcbynumber.c: ... here.
8276         * inet/getrpcbynumber_r.c: Moved ...
8277         * sunrpc/getrpcbynumber_r.c: ... here.
8278         * inet/getrpcent.c: Moved ...
8279         * sunrpc/getrpcent.c: ... here.
8280         * inet/getrpcent_r.c: Moved ...
8281         * sunrpc/getrpcent_r.c: ... here.
8282         * inet/Makefile (routines): Move those to ...
8283         * sunrpc/Makefile (routines): ... here.
8284         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8285         the $(subdirs) list.
8286         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8287         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8288         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8289         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8291         * elf/Makefile (routines): Include $(all-dl-routines), not just
8292         $(dl-routines).
8293         (rtld-routines): Likewise.  Use = rather than :=.
8294         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8295         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8296         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8297         * sysdeps/arm/Makefile: Likewise.
8298         * sysdeps/i386/Makefile: Likewise.
8299         * sysdeps/x86_64/Makefile: Likewise.
8300         * sysdeps/hppa/Makefile [$(subdir) = elf]
8301         (sysdep_routines, sysdep-rtld-routines): Don't add
8302         $(sysdep-dl-routines) to these.
8303         * sysdeps/ia64/Makefile: Likewise.
8304         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8305         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8306         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8307         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8308         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8309         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8310         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8311         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8312         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8313         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8314         these; sysdep-dl-routines alone is enough.
8316 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8318         [BZ #17932]
8319         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8320         where multiplication results in zero and third argument is finite
8321         and nonzero.
8322         * math/auto-libm-test-in: Add more tests of fma.
8323         * math/auto-libm-test-out: Regenerated.
8325         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8326         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8327         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8328         (_FP_CMP_EQ): Likewise.
8329         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8331         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8332         extra argument CHECK_NAN.  Redefine as wrapper around
8333         _FP_EXTEND_CNAN.
8335 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8337         * version.h (RELEASE): Set to "stable".
8338         (VERSION): Set to "2.21"
8339         * include/features.h (__GLIBC_MINOR__): Set to 21.
8341         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8343 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8344             Paul Eggert  <eggert@cs.ucla.edu>
8346         [BZ #16618]
8347         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8348         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8349         size in bytes. Store needed elements in wpmax. Use needed size
8350         in bytes for extend_alloca.
8352 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8354         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8355         binutls 2.25, and texinfo 5.2.
8356         * INSTALL: Regenerate.
8357         * sysdeps/nios2/configure: Regenerate.
8358         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8359         * manual/contrib.texi: Update.
8360         * po/be.po: Update.
8361         * po/bg.po: Update.
8362         * po/ca.po: Update.
8363         * po/cs.po: Update.
8364         * po/da.po: Update.
8365         * po/de.po: Update.
8366         * po/el.po: Update.
8367         * po/eo.po: Update.
8368         * po/es.po: Update.
8369         * po/fi.po: Update.
8370         * po/fr.po: Update.
8371         * po/gl.po: Update.
8372         * po/hr.po: Update.
8373         * po/hu.po: Update.
8374         * po/ia.po: Update.
8375         * po/id.po: Update.
8376         * po/it.po: Update.
8377         * po/ja.po: Update.
8378         * po/ko.po: Update.
8379         * po/lt.po: Update.
8380         * po/nb.po: Update.
8381         * po/nl.po: Update.
8382         * po/pl.po: Update.
8383         * po/pt_BR.po: Update.
8384         * po/ru.po: Update.
8385         * po/rw.po: Update.
8386         * po/sk.po: Update.
8387         * po/sl.po: Update.
8388         * po/sv.po: Update.
8389         * po/tr.po: Update.
8390         * po/uk.po: Update.
8391         * po/vi.po: Update.
8392         * po/zh_CN.po: Update.
8393         * po/zh_TW.po: Update.
8395         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8396         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8397         * sysdeps/hppa/dl-irel.h: Remove #warning.
8398         * sysdeps/hppa/entry.h: Provide prototype for
8399         __canonicalize_funcptr_for_compare and cast argument.
8400         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8401         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8402         * sysdeps/hppa/sotruss-lib.c: New file.
8403         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8404         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8405         (atomic_compare_and_exchange_bool_acq): Likewise.
8406         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8407         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8409         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8410         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8411         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8413 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8415         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8416         called function in non-PIC case.
8418 2015-01-31  David S. Miller  <davem@davemloft.net>
8420         * sysdeps/sparc/sparc32/bits/atomic.h
8421         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8422         unlock not after it.
8423         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8424         volatile register usage warnings from the compiler.
8426         * sysdeps/sparc/nptl/sem_init.c: Delete.
8427         * sysdeps/sparc/nptl/sem_post.c: Delete.
8428         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8429         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8430         * sysdeps/sparc/sparc32/sem_init.c: New file.
8431         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8432         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8433         padding explicitly initialized.
8434         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8435         padding for in-semaphore spinlock.
8436         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8437         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8438         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8439         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8440         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8441         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8442         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8443         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8444         version.
8445         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8446         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8448 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8450         [BZ #17801]
8451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8452         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8453         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8454         New.
8455         (index_AVX_Fast_Unaligned_Load): Likewise.
8456         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8457         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8458         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8459         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8460         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8461         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8462         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8463         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8464         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8466 2015-01-29  Andreas Schwab  <schwab@suse.de>
8468         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8470 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8472         [BZ #17892]
8473         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8475 2015-01-28  Martin Sebor  <msebor@redhat.com>
8477         * math/README.libm-test: Clarify. Add "How to read the test output."
8479 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8481         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8482         Define to 0.
8484 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8486         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8487         (__HAVE_64B_ATOMICS): Define to 0.
8489 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8491         [BZ #17885]
8492         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8493         value to set as new flag.
8495         [BZ #16576]
8496         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8497         and use _ARCH_PPCSQ instead.
8498         (__ieee754_sqrt): Likewise.
8499         (__ieee754_sqrtf): Likewise.
8500         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8501         _ARCH_PPCSQ is defined.
8502         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8503         fsqrt instruction.
8504         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8505         _ARCH_PPCSQ is defined.
8506         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8507         fsqrts instruction.
8508         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8510 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8512         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8513         bug (GCC BZ #64739).
8515 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8517         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8518         Mark _retval as used.
8519         (lll_futex_wake_unlock): Likewise.
8520         (lll_futex_timed_wait_requeue_pi): Likewise.
8522         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8523         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8524         register variables.
8526         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8527         libm_hidden_def.
8529         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8530         (__bswap_64): Mark as __always_inline.
8532 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8534         [BZ #15378]
8535         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8536         when none of the search directories exist.
8538 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8540         [BZ #17869]
8541         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8542         power8 in .machine directive.
8544         [BZ #17868]
8545         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8546         set dependency from opd value.
8548 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8551         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8552         architecture.
8554 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8556         [BZ #17870]
8557         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8558         with uint64_t.
8559         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8560         (uint64_t) 1.
8561         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8562         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8563         Replace 1UL with (uint64_t) 1.
8564         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8565         int with uint64_t.
8567 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8569         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8570         (if_freenameindex): Likewise.
8572         * resource/getrlimit64.c: Add missing libc_hidden_def.
8574 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8576         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8577         __label__.
8578         (_FP_FMA): Likewise.
8579         (_FP_TO_INT_ROUND): Likewise.
8580         (_FP_FROM_INT): Likewise.
8582 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8584         [BZ #16418]
8585         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8586         Make code racy and cancel safe.
8588 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8590         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8591         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8592         attribution.
8594         * pwd/tst-getpw.c: Rewrite.
8596         [BZ #17702]
8597         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8598         (modules-names): Add moddummy1 and moddummy2.
8599         ($(objpfx)tst-rec-dlopen): Define.
8600         * dlfcn/moddummy1.c: New file.
8601         * dlfcn/moddummy2.c: New file.
8602         * dlfcn/tst-rec-dlopen.c: New file.
8603         * elf/dl-cache.c (_dl_load_cache_lookup):
8604         Return char*. Copy result with alloca/strcpy/strdup.
8605         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8606         returns char*. Free cached. If not saving realname
8607         free cached.
8608         * elf/dl-open.c (dl_open_worker): Do not assert that
8609         _r_debug->r_state is RT_CONSISTENT.
8610         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8611         returns char*.
8613 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8614             Carlos O'Donell  <carlos@redhat.com>
8616         [BZ #12674]
8617         * nptl/sem_waitcommon.c: New file.
8618         * nptl/sem_wait.c: Include sem_waitcommon.c.
8619         (__sem_wait_cleanup, do_futex_wait): Remove.
8620         (__new_sem_wait): Adapt.
8621         (__new_sem_trywait): New function.
8622         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8623         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8624         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8625         (sem_timedwait): Adapt.
8626         * nptl/sem_post.c (__new_sem_post): Adapt.
8627         (futex_wake): New function.
8628         (__old_sem_post): Add release MO fence.
8629         * nptl/sem_open.c (sem_open): Adapt.
8630         * nptl/sem_init.c (__new_sem_init): Adapt.
8631         (futex_private_if_supported): New function.
8632         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8633         (__old_sem_getvalue): Add using previous code.
8634         * sysdeps/nptl/internaltypes.h: Adapt.
8635         * nptl/tst-sem13.c (do_test): Adapt.
8636         * nptl/tst-sem11.c (main): Adapt.
8637         * nptl/sem_trywait.c: Remove.
8638         * nptl/DESIGN-sem.txt: Remove.
8639         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8640         (gen-as-const-headers): Remove structsem.sym.
8641         * nptl/structsem.sym: Remove.
8642         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8643         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8644         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8645         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8646         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8647         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8648         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8649         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8650         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8651         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8652         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8653         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8654         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8655         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8656         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8657         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8658         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8659         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8660         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8661         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8662         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8663         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8665 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8667         * INSTALL: Regenerated.
8669         * po/libc.pot: Regenerated.
8671 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8672             Sandra Loosemore  <sandra@codesourcery.com>
8673             Andrew Jenner  <andrew@codesourcery.com>
8674             Joseph Myers  <joseph@codesourcery.com>
8675             Nathan Sidwell  <nathan@codesourcery.com>
8677         * NEWS: Mention new Nios II port.
8678         * sysdeps/nios2/Implies: New file.
8679         * sysdeps/nios2/Makefile: New file.
8680         * sysdeps/nios2/Subdirs: New file.
8681         * sysdeps/nios2/Versions: New file.
8682         * sysdeps/nios2/__longjmp.S: New file.
8683         * sysdeps/nios2/abort-instr.h: New file.
8684         * sysdeps/nios2/backtrace.c: New file.
8685         * sysdeps/nios2/bits/endian.h: New file.
8686         * sysdeps/nios2/bits/fenv.h: New file.
8687         * sysdeps/nios2/bits/link.h: New file.
8688         * sysdeps/nios2/bits/setjmp.h: New file.
8689         * sysdeps/nios2/bsd-_setjmp.S: New file.
8690         * sysdeps/nios2/bsd-setjmp.S: New file.
8691         * sysdeps/nios2/configure: New generated file.
8692         * sysdeps/nios2/configure.ac: New file.
8693         * sysdeps/nios2/crti.S: New file.
8694         * sysdeps/nios2/crtn.S: New file.
8695         * sysdeps/nios2/dl-init.c: New file.
8696         * sysdeps/nios2/dl-machine.h: New file.
8697         * sysdeps/nios2/dl-sysdep.h: New file.
8698         * sysdeps/nios2/dl-tls.h: New file.
8699         * sysdeps/nios2/dl-trampoline.S: New file.
8700         * sysdeps/nios2/gccframe.h: New file.
8701         * sysdeps/nios2/gmp-mparam.h: New file.
8702         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8703         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8704         * sysdeps/nios2/ldsodefs.h: New file.
8705         * sysdeps/nios2/libc-tls.c: New file.
8706         * sysdeps/nios2/libm-test-ulps: New file.
8707         * sysdeps/nios2/machine-gmon.h: New file.
8708         * sysdeps/nios2/math-tests.h: New file.
8709         * sysdeps/nios2/math_private.h: New file.
8710         * sysdeps/nios2/memusage.h: New file.
8711         * sysdeps/nios2/nptl/Makefile: New file.
8712         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8713         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8714         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8715         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8716         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8717         * sysdeps/nios2/nptl/tls.h: New file.
8718         * sysdeps/nios2/preconfigure: New file.
8719         * sysdeps/nios2/s_fma.c: New file.
8720         * sysdeps/nios2/s_fmaf.c: New file.
8721         * sysdeps/nios2/setjmp.S: New file.
8722         * sysdeps/nios2/sfp-machine.h: New file.
8723         * sysdeps/nios2/sotruss-lib.c: New file.
8724         * sysdeps/nios2/stackguard-macros.h: New file.
8725         * sysdeps/nios2/stackinfo.h: New file.
8726         * sysdeps/nios2/start.S: New file.
8727         * sysdeps/nios2/sysdep.h: New file.
8728         * sysdeps/nios2/tls-macros.h: New file.
8729         * sysdeps/nios2/tst-audit.h: New file.
8730         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8731         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8732         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8733         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8734         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8735         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8736         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8737         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8738         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8739         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8740         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8741         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8742         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8743         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8744         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8745         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8746         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8747         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8748         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8749         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8750         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8751         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8752         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8753         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8754         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8755         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8756         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8757         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8758         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8759         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8760         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8761         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8762         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8763         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8764         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8765         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8766         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8767         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8768         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8769         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8770         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8771         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8772         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8773         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8775 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8777         [BZ #17844]
8778         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8779         (getutent): Use weak_alias in non SHARED case
8780         and default_symbol_version in SHARED case.
8781         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8782         (getutent_r, pututline): Likewise.
8783         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8784         (getutid): Likewise.
8785         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8786         (getutid_r): Likewise.
8787         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8788         (getutline): Likewise.
8789         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8790         (getutline_r): Likewise.
8791         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8792         (updwtmp): Likewise.
8794 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8796         [BZ #17848]
8797         * sysdeps/s390/s390-32/memcmp.S
8798         (memcmp_g5): Rename to __memcmp_g5.
8799         * sysdeps/s390/s390-32/memcpy.S
8800         (memcpy_g5): Rename to __memcpy_g5.
8801         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8802         (memcpy_mvcle) Rename to __memcpy_mvcle.
8803         * sysdeps/s390/s390-32/memset.S
8804         (memset_g5): Rename to __memset_g5.
8805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8806         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8807         and use prefixed functions.
8808         * sysdeps/s390/s390-32/multiarch/memcmp.S
8809         (memcmp_z196): Rename to __memcmp_z196.
8810         (memcmp_z10): Rename to __memcmp_z10.
8811         (memcmp): Set alias to __memcmp_g5.
8812         (bcmp): Set alias to __memcmp_g5.
8813         * sysdeps/s390/s390-32/multiarch/memcpy.S
8814         (memcpy_z196): Rename to __memcpy_z196.
8815         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8816         (memcpy_z10): Rename to __memcpy_z10.
8817         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8818         (memcpy): Set alias to __memcpy_g5.
8819         * sysdeps/s390/s390-32/multiarch/memset.S
8820         (memset_z196): Rename to __memset_z196.
8821         Jump to __memset_mvcle instead of memset_mvcle.
8822         (memset_z10): Rename to __memset_z10.
8823         Jump to __memset_mvcle instead of memset_mvcle.
8824         (memset_mvcle) Rename to __memset_mvcle.
8825         (memset): Set alias to __memset_g5.
8826         * sysdeps/s390/s390-64/memcmp.S
8827         (memcmp_z900): Rename to __memcmp_z900.
8828         * sysdeps/s390/s390-64/memcpy.S
8829         (memcpy_z900): Rename to __memcpy_z900.
8830         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8831         (memcpy_mvcle) Rename to __memcpy_mvcle.
8832         * sysdeps/s390/s390-64/memset.S
8833         (memset_z900): Rename to __memset_z900.
8834         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8835         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8836         and use prefixed functions.
8837         * sysdeps/s390/s390-64/multiarch/memcmp.S
8838         (memcmp_z196): Rename to __memcmp_z196.
8839         (memcmp_z10): Rename to __memcmp_z10.
8840         (memcmp): Set alias to __memcmp_z900.
8841         (bcmp): Set alias to __memcmp_z900.
8842         * sysdeps/s390/s390-64/multiarch/memcpy.S
8843         (memcpy_z196): Rename to __memcpy_z196.
8844         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8845         (memcpy_z10): Rename to __memcpy_z10.
8846         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8847         (memcpy): Set alias to __memcpy_z900.
8848         * sysdeps/s390/s390-64/multiarch/memset.S
8849         (memset_z196): Rename to __memset_z196.
8850         Jump to __memset_mvcle instead of memset_mvcle.
8851         (memset_z10): Rename to __memset_z10.
8852         Jump to __memset_mvcle instead of memset_mvcle.
8853         (memset_mvcle) Rename to __memset_mvcle.
8854         (memset): Set alias to __memset_z900.
8856 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8858         [BZ #17748]
8859         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8860         __fesetenv instead of fesetenv.
8862 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8864         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8865         macro.
8867 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8869         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8870         regression on LE.
8872         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8873         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8875         strncmp-power8 object.
8876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8877         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8878         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8879         * NEWS: Update.
8881 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8882             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8884         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8885         trailing byte check.
8887 2015-01-13  David S. Miller  <davem@davemloft.net>
8889         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8891 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8893         * login/logout.c (logout): Use memset rather than bzero.
8894         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8895         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8896         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8897         (_gethtbyaddr): Likewise.
8898         * locale/programs/simple-hash.c (bcopy): Macro removed.
8900 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8902         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8903         Add strcmp-power8 object.
8904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8905         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8906         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8907         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8908         __strcmp_power8 implementation.
8909         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8910         * NEWS: Update.
8912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8913         Add strncpy-power8 and stpncpy-power8 objects.
8914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8915         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8916         implementations.
8917         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8918         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8919         __stpncpy_power8 implementation.
8920         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8921         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8922         __strncpy_power8 implementation.
8923         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8924         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8925         * NEWS: Update.
8927         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8928         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8929         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8931         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8932         strncat-power8 object.
8933         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8934         __strcat_power8 implementation.
8935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8936         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8937         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8938         optimized strcat for power8.
8940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8941         strcpy-power8 and stpcpy-power8 objects.
8942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8943         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8944         implementations.
8945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8946         multiarch stpcpy implementation for POWER8.
8947         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8948         multiarch strcpy implementation for POWER8.
8949         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8950         __strcpy_power8 function.
8951         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8952         stpcpy for POWER8.
8953         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8954         strcpy for POWER8.
8955         * NEWS: Update.
8957 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8959         [BZ #16009]
8960         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8961         weights and rules. Use do_xfrm_cached if data fits in cache,
8962         do_xfrm otherwise.  Moved former main loop to...
8963         * (do_xfrm_cached): New function.
8964         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8965         find_idx, find_position and stack_push.
8966         * (find_idx): New function.
8967         * (find_position): Likewise.
8968         * localedata/sort-test.sh: Added test run for do_xfrm.
8969         * localedata/xfrm-test.c (main): Added command line option
8970         -nocache to run the test with strings that are too large for
8971         the STRXFRM cache.
8973 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8975         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8976         variable to lll_futex_wake call, not the value itself.
8978 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8980         [BZ #17803]
8981         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8982         twom64.  Adjust value to 0x1p-64L.
8983         (__scalblnl): Only return standard underflowing result for K <=
8984         -64 not K <= -63; adjust exponent for underflowing result by 64
8985         not 63.
8986         * math/libm-test.inc (scalbn_test_data): Add more tests.
8987         (scalbln_test_data): Likewise.
8989         [BZ #17834]
8990         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8991         0x1p63L.
8992         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8993         not HX.
8994         * math/libm-test.inc (scalbn_test_data): Add more tests.
8995         (scalbln_test_data): Likewise.
8997 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8998             Stefani Seibold  <stefani@seibold.net>
9000         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9001         (sysdep_routines): Add dl-vdso here, ...
9002         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9003         (sysdep_routines): ... not here.
9004         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9005         fallback when vDSO is not presented.
9006         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9007         Define with libc_hidden_proto/libc_hidden_data_def definitions.
9008         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9009         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9010         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9011         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9012         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9014         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9016         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
9017         fallback configurable symbol when vDSO is not available.
9018         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9019         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
9020         be able to redefine fallback symbol when vDSO is not available.
9021         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9022         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9024 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9026         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9027         (TLS_INIT_TP): Add tm_capable initialization.
9028         (TLS_DEFINE_INIT_TP): Likewise.
9029         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9030         TCB.
9031         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9032         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9033         calculation.
9034         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9035         transactoion is lock elision is built and TCB tm_capable is set.
9036         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9038         (INTERNAL_SYSCALL_NCS): Likewise.
9039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9040         (INTERNAL_SYSCALL_NCS): Likewise.
9041         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9043         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9044         for powerpc.
9045         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9046         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9047         and remove it for 32 bits case.
9048         [pthread_rwlock_t] (__rwelision): New field for lock elision.
9049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9050         initialization.
9051         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9052         Disable lock elision with rdlocks if elision is not available.
9054         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9055         (sysdep_routines): Add lock elision objects.
9056         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9057         [pthread_mutex_t] (__spins): Rework to add lock elision field.
9058         [pthread_mutex_t] (__elision): Add field.
9059         [__PTHREAD_SPINS]: Adjust to init lock elision field.
9060         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9061         elision definitions for powerpc.
9062         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9063         implementation of lock elision for powerpc.
9064         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9065         implementation of timed lock elision for powerpc.
9066         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9067         implementation of trylock with lock elision for powerpc.
9068         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9069         implementaion of unlock for lock elision for powerpc.
9070         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9071         automatic enable lock elision for mutexes.
9072         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9073         transaction execution definitions for powerpc.
9074         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9075         definitions.
9076         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9077         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9078         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9079         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9080         * NEWS: Update.
9082 2015-01-09  Roland McGrath  <roland@hack.frob.com>
9084         * sysdeps/posix/shm-directory.c: Use <> rather than ""
9085         for #include of <shm-directory.h>.
9087 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
9089         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9090         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9092 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
9094         [BZ #17791]
9095         * NEWS: Mention bug fix.
9096         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9097         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9098         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9100 2015-01-09  Torvald Riegel <triegel@redhat.com>
9102         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9104 2015-01-09  Torvald Riegel <triegel@redhat.com>
9106         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9108 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9110         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9111         pointer and cast to uintptr_t.
9113 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9115         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9116         removed.
9117         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9119 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9121         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9122         of 0.
9124 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9126         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9127         <nptl/pthreadP.h> instead.
9128         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9130         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9131         already defined.
9132         [__SIGRTMIN] (init): Function removed.
9133         [__SIGRTMIN] (initialized): Variable removed.
9134         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9135         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9136         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9137         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9138         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9139         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9140         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9141         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9142         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9143         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9144         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9145         * sysdeps/nptl/allocrtsig.c: New file.
9146         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9147         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9148         * sysdeps/generic/testrtsig.h: File removed.
9150         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9151         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9153         * nptl/nptl-init.c (pthread_functions): Conditionalize
9154         .ptr__nptl_setxid initialization on [SIGSETXID].
9156         * sysdeps/nptl/sys/procfs.h: New file.
9157         * nptl_db/Makefile (headers): Add it.
9158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9160         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9161         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9162         * nptl/pthread_attr_setaffinity.c: Include it.
9163         * nptl/pthread_setattr_default_np.c: Likewise.
9164         * nptl/check-cpuset.h: New file.
9166 2015-01-08  Richard Henderson  <rth@redhat.com>
9168         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9169         (CFLAGS-tst-execstack-prog.c): Likewise.
9170         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9172 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9173             Sandra Loosemore  <sandra@codesourcery.com>
9174             Andrew Jenner  <andrew@codesourcery.com>
9175             Joseph Myers  <joseph@codesourcery.com>
9176             Nathan Sidwell  <nathan@codesourcery.com>
9178         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9179         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9180         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9181         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9182         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9183         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9184         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9185         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9186         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9187         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9188         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9189         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9190         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9191         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9192         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9193         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9194         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9196 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9198         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9199         timespec struct member in syscall macro.
9200         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9201         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9202         first timeval struct member in syscall macro.
9203         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9205 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9207         [BZ #17748]
9208         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9209         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9210         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9211         __feupdateenv and define as weak alias of __feupdateenv.  Use
9212         libm_hidden_weak.
9213         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9214         libm_hidden_def.
9215         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9216         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9217         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9218         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9219         libm_hidden_def.
9220         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9221         __feupdateenv and define as weak alias of __feupdateenv.  Use
9222         libm_hidden_weak.
9223         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9224         libm_hidden_def.
9225         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9226         __feupdateenv and define as weak alias of __feupdateenv.  Use
9227         libm_hidden_weak.
9228         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9229         libm_hidden_def.
9230         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9231         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9232         (__feupdateenv): Likewise.
9233         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9234         __feupdateenv and define as weak alias of __feupdateenv.  Use
9235         libm_hidden_weak.
9236         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9237         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9238         libm_hidden_def.
9239         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9240         function.
9241         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9242         libm_hidden_def.
9243         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9244         __feupdateenv instead of feupdateenv.
9245         (default_libc_feupdateenv_test): Likewise.
9246         (libc_feresetround_ctx): Likewise.
9248 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9250         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9251         prototype.
9253 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9255         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9256         COLL_SYM in a couple of places to avoid uninitialized variable
9257         wanings on tilegx gcc 4.8.2.
9259 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9261         * sysdeps/aarch64/strcpy.S: New file.
9262         * sysdeps/aarch64/stpcpy.S: New file.
9263         * NEWS: Updated.
9265 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9267         * sysdeps/aarch64/strrchr.S: New file.
9268         * NEWS: Updated.
9270 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9272         [BZ #17658]
9273         * stdlib/setenv.c: Fix memory leak when setting large,
9274         duplicate string.
9276 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9278         [BZ #17273]
9279         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9280         and tabs from buffer before parsing fstab entry.
9281         * misc/tst-mntent.c (main): Add test for mount entry with
9282         trailing spaces and tabs.
9284 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9286         [BZ #17748]
9287         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9288         * math/fesetround.c (fesetround): Rename to __fesetround and
9289         define as weak alias of __fesetround.  Use libm_hidden_weak.
9290         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9291         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9292         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9293         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9294         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9295         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9296         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9297         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9298         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9299         __fesetround_inline.
9300         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9301         __fesetround_inline instead of __fesetround.
9302         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9303         __fesetround and define as weak alias of __fesetround.  Use
9304         libm_hidden_weak.  Call __fesetround_inline instead of
9305         __fesetround.
9306         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9307         __fesetround and define as weak alias of __fesetround.  Use
9308         libm_hidden_weak.
9309         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9310         Likewise.
9311         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9312         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9313         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9314         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9315         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9316         __fesetround and define as weak alias of __fesetround.  Use
9317         libm_hidden_weak.
9318         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9319         __fesetround instead of fesetround.
9320         (default_libc_feholdexcept_setround): Likewise.
9321         (libc_feholdsetround_ctx): Likewise.
9322         (libc_feholdsetround_noex_ctx): Likewise.
9324         [BZ #17748]
9325         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9326         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9327         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9328         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9329         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9330         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9331         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9332         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9333         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9334         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9335         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9336         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9337         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9338         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9339         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9340         libm_hidden_def.
9341         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9342         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9343         Likewise.
9344         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9345         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9346         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9347         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9348         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9349         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9350         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9351         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9352         __fesetenv instead of fesetenv.
9353         (libc_feresetround_noex_ctx): Likewise.
9354         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9355         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9356         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9357         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9358         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9359         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9360         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9361         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9362         (__feupdateenv): Likewise.
9363         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9364         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9365         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9366         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9368 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9370         [BZ #17806]
9371         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9372         addresses have been freed.
9374 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9376         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9377         and nservall.
9379 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9381         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9382         Clean up check_pf allocation pattern. addresses
9384 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9386         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9387         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9388         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9389         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9390         * nptl/pthread_join.c (pthread_join): Likewise.
9391         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9392         * sysdeps/posix/waitid.c (__waitid): Likewise.
9393         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9394         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9395         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9396         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9398         Likewise.
9399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9400         (__libc_pread64): Likewise.
9401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9402         (__libc_pwrite): Likewise.
9403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9404         (__libc_pwrite64): Likewsie.
9405         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9406         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9407         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9408         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9409         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9410         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9411         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9415         (__libc_pread64): Likewise.
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9417         Likewise.
9418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9419         (__libc_pwrite64): Likewise.
9420         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9421         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9422         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9423         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9424         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9425         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9426         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9427         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9428         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9429         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9430         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9431         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9432         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9433         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9434         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9435         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9436         Likewise.
9438 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9440         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9441         (CFLAGS-test-double.c): Likewise.
9442         (CFLAGS-test-ldouble.c): Likewise.
9443         (CPPFLAGS-test-ifloat.c): Likewise.
9444         (CPPFLAGS-test-idouble.c): Likewise.
9445         (CPPFLAGS-test-ildoubl.c): Likewise.
9446         (CFLAGS-test-test-fenv.c): Remove variable.
9447         (CFLAGS-test-misc.c): Likewise.
9449 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9451         [BZ #17797]
9452         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9453         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9454         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9455         CLOCKS_PER_SEC == 1000000.
9456         * time/clocktest.c (main): Replace %ld with %jd and cast to
9457         intmax_t.
9459 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9461         * sysdeps/generic/unwind-resume.h: New file.
9462         * sysdeps/gnu/unwind-resume.c: Include it.
9463         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9464         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9465         argument list.
9466         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9467         global rather than static.
9468         (_Unwind_Resume): Update user.
9469         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9470         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9471         rather than static.  Add __attribute__ ((cold)).
9472         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9473         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9474         * sysdeps/arm/arm-unwind-resume.S: New file.
9475         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9476         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9477         * sysdeps/arm/Makefile [$(subdir) = csu]
9478         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9479         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9480         Add rt-arm-unwind-resume.
9481         [$(subdir) = nptl]
9482         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9483         Add pt-arm-unwind-resume.
9484         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9485         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9487 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9489         [BZ #17748]
9490         * include/fenv.h (__feholdexcept): Declare.  Use
9491         libm_hidden_proto.
9492         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9493         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9494         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9495         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9496         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9497         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9498         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9499         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9500         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9501         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9502         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9503         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9504         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9505         (feholdexcept): Likewise.
9506         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9507         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9508         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9509         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9510         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9511         __feholdexcept instead of feholdexcept.
9512         (default_libc_feholdexcept_setround): Likewise.
9514 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9516         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9517         to avoid using stl/str to align destination.
9519 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9521         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9523 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9525         [BZ #17796]
9526         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9527         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9528         Define as weak alias not strong alias.
9530 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9532         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9533         bltzal with addiupc.
9534         (RTLD_START): Ditto.
9536 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9538         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9539         for __vdso_* functions in declarations.
9540         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9541         definitions.
9542         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9543         INTERNAL_VSYSCALL): Use struct return types to check for error.
9545         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9546         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9547         function with cast from llround().
9548         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9549         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9550         Define.
9552 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9554         [BZ #17793]
9555         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9556         Define as weak alias not strong alias.
9558         [BZ #17635]
9559         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9560         ...
9561         * ctype/ctype-extn.c: ... here.
9562         (__isblank_l): Move to ...
9563         * ctype/ctype-c99_l.c: ... here.  New file.
9564         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9565         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9566         Remove variable.
9567         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9568         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9569         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9570         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9571         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9573         [BZ #17777]
9574         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9575         (posix_fadvise64): Define as weak alias not strong alias.
9576         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9577         (posix_fallocate64): Likewise.
9578         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9579         Remove variable.
9580         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9581         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9582         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9583         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9584         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9586 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9588         [BZ #16191]
9589         * NEWS: Mention bug fix.
9590         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9591         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9592         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9593         (HOST_STACK_END_ADDR): Likewise.
9595 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9597         [BZ #17748]
9598         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9599         * math/fegetround.c (fegetround): Rename to __fegetround and
9600         define as weak alias of __fegetround.  Use libm_hidden_weak.
9601         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9602         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9603         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9604         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9605         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9606         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9607         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9608         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9609         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9610         Undefine after rather than before function definition; use
9611         parentheses around function name in definition.
9612         (__fegetround): Also undefine macro after function definition.
9613         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9614         __fegetround and define as weak alias of __fegetround.  Use
9615         libm_hidden_weak.  Do not undefine as macro.
9616         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9617         Likewise.
9618         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9619         __fegetround and define as weak alias of __fegetround.  Use
9620         libm_hidden_weak.
9621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9622         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9623         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9624         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9625         __fegetround and define as weak alias of __fegetround.  Use
9626         libm_hidden_weak.
9627         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9628         __fegetround instead of fegetround.
9630         [BZ #17782]
9631         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9632         Condition macro definition on [__USE_MISC].
9634         [BZ #17781]
9635         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9636         (struct sigaction): Change type of sa_flags field to int.
9638         [BZ #17780]
9639         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9640         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9641         __glibc_reserved0.
9643         * nptl/version.c (banner): Use single year in copyright notice.
9645         * NEWS: Update copyright dates.
9646         * catgets/gencat.c (print_version): Likewise.
9647         * csu/version.c (banner): Likewise.
9648         * debug/catchsegv.sh: Likewise.
9649         * debug/pcprofiledump.c (print_version): Likewise.
9650         * debug/xtrace.sh (do_version): Likewise.
9651         * elf/ldconfig.c (print_version): Likewise.
9652         * elf/ldd.bash.in: Likewise.
9653         * elf/pldd.c (print_version): Likewise.
9654         * elf/sotruss.sh: Likewise.
9655         * elf/sprof.c (print_version): Likewise.
9656         * iconv/iconv_prog.c (print_version): Likewise.
9657         * iconv/iconvconfig.c (print_version): Likewise.
9658         * locale/programs/locale.c (print_version): Likewise.
9659         * locale/programs/localedef.c (print_version): Likewise.
9660         * login/programs/pt_chown.c (print_version): Likewise.
9661         * malloc/memusage.sh (do_version): Likewise.
9662         * malloc/memusagestat.c (print_version): Likewise.
9663         * malloc/mtrace.pl: Likewise.
9664         * manual/libc.texinfo: Likewise.
9665         * nptl/version.c (banner): Likewise.
9666         * nscd/nscd.c (print_version): Likewise.
9667         * nss/getent.c (print_version): Likewise.
9668         * nss/makedb.c (print_version): Likewise.
9669         * posix/getconf.c (main): Likewise.
9670         * scripts/test-installation.pl: Likewise.
9671         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9673 2015-01-02  Will Newton  <will.newton@linaro.org>
9675         * sysdeps/arm/armv7/configure: Removed.
9676         * sysdeps/arm/armv7/configure.ac: Likewise.
9678 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9680         * All files with FSF copyright notices: Update copyright dates
9681         using scripts/update-copyrights.
9682         * intl/plural.c: Regenerated.
9683         * locale/programs/charmap-kw.h: Likewise.
9684         * locale/programs/locfile-kw.h: Likewise.
9686 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9688         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9690 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9692         [BZ #17748]
9693         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9694         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9695         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9696         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9697         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9698         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9699         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9700         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9701         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9702         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9703         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9704         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9705         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9706         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9707         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9708         libm_hidden_def.
9709         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9710         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9711         Likewise.
9712         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9713         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9715         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9716         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9717         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9718         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9719         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9720         __fegetenv instead of fegetenv.
9721         (libc_feholdsetround_noex_ctx): Likewise.
9723 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9725         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9726         (Elf_MIPS_ABIFlags_v0): New structure.
9727         (EF_MIPS_FP64): Define.
9728         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9729         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9730         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9731         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9732         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9733         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9734         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9735         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9736         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9737         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9738         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9739         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9740         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9741         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9742         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9743         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9744         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9745         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9746         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9747         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9748         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9749         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9750         field.
9751         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9752         EF_MIPS_FP64.
9753         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9754         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9755         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9756         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9757         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9758         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9759         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9760         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9761         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9762         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9763         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9764         record the current FP ABI extension.
9765         (mips-mode-switch): Define to show if kernel headers support mode
9766         switching.
9767         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9768         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9769         supported SYSV ABI version to 3.
9770         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9771         feature.
9773 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9774             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9776         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9777         path.
9778         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9780 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9782         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9783         __fegetround and redefine to call __fegetround.  Remove condition
9784         on [!__NO_MATH_INLINES].
9785         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9786         function.
9787         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9788         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9789         Remove macro.
9790         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9791         instead of <fenv_libc.h>.
9792         (__llrintl): Call fegetround instead of __fegetround.
9793         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9794         instead of <fenv_libc.h>.
9795         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9796         (__lrintl): Call fegetround instead of __fegetround.
9797         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9798         instead of <fenv_libc.h>.
9799         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9800         (__rintl): Call fegetround instead of __fegetround.
9802 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9804         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9805         arrays.
9807 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9809         [BZ #17775]
9810         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9811         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9812         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9814 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9816         * sysdeps/i386/tls-macros.h: Include <features.h>.
9817         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9818         (TLS_IE): Likewise.
9819         (TLS_LD): Likewise.
9820         (TLS_GD): Likewise.
9821         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9822         define for GCC >= 5.0.
9824 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9826         * math/test-fenv.c (test_single_exception, set_single_exc,
9827         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9828         feexcp_mask_test, feenable_test, fe_single_test): Add
9829         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9830         case where they are not used.
9831         * math/libm-test.inc: Likewise.
9832         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9833         unused in the absence of FP rounding/exception support.
9834         * stdio-common/tst-printf-round.c: Likewise.
9835         * stdlib/tst-strtod-round.c: Likewise.
9836         * stdlib/tst-strtod-underflow.c: Likewise.
9838 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9840         [BZ #17723]
9841         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9842         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9843         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9844         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9845         libm_hidden_weak.
9846         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9847         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9848         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9849         libm_hidden_def.
9850         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9851         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9852         libm_hidden_weak.
9853         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9854         Likewise.
9855         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9856         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9857         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9858         libm_hidden_weak.
9859         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9860         libm_hidden_def.
9861         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9862         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9863         (__feraiseexcept): Likewise.
9864         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9865         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9866         libm_hidden_weak.
9867         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9868         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9869         libm_hidden_def.
9870         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9871         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9872         Use libm_hidden_def.
9873         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9874         libm_hidden_def.
9875         (feraiseexcept): Define as weak not strong alias.  Use
9876         libm_hidden_weak.
9877         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9878         New inline function.  Factored out of ...
9879         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9880         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9881         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9882         feraiseexcept.
9883         * math/w_acos.c (__acos): Likewise.
9884         * math/w_asin.c (__asin): Likewise.
9885         * math/w_ilogb.c (__ilogb): Likewise.
9886         * math/w_j0.c (y0): Likewise.
9887         * math/w_j1.c (y1): Likewise.
9888         * math/w_jn.c (yn): Likewise.
9889         * math/w_log.c (__log): Likewise.
9890         * math/w_log10.c (__log10): Likewise.
9891         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9892         * sysdeps/aarch64/fpu/math_private.h
9893         (libc_feupdateenv_test_aarch64): Likewise.
9894         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9895         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9896         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9897         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9898         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9899         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9900         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9901         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9902         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9903         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9905 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9907         [BZ #17732]
9908         * io/test-utime.c (main): Replace %ld with %jd and cast to
9909         intmax_t.
9910         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9911         * nptl/tst-mutex5.c: Include <stdint.h>.
9912         (do_test): Replace %ld with %jd and cast to intmax_t.
9913         * posix/tst-regex.c (run_test): Likewise.
9914         (run_test_backwards): Likewise.
9915         * rt/tst-clock.c: Include <stdint.h>.
9916         (clock_test): Replace %ld with %jd and cast to intmax_t.
9917         * rt/tst-cpuclock1.c: Include <stdint.h>.
9918         (do_test): Replace %lu with %ju and cast to uintmax_t.
9919         * rt/tst-cpuclock2.c: Include <stdint.h>.
9920         (do_test): Replace %lu with %ju and cast to uintmax_t.
9921         * rt/tst-mqueue1.c: Include <stdint.h>.
9922         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9923         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9924         intmax_t.
9925         * rt/tst-mqueue4.c (do_test): Likewise.
9926         * rt/tst-timer4.c: Include <stdint.h>.
9927         (check_ts): Replace %ld with %jd and cast to intmax_t.
9928         (do_test): Likewise.
9929         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9930         and cast to intmax_t.
9931         * sysdeps/pthread/tst-timer.c (main): Likewise.
9932         * time/clocktest.c (main): Likewise.
9933         * time/tst-posixtz.c (do_test): Likewise.
9934         * timezone/tst-timezone.c (main): Likewise.
9936 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9937             H.J. Lu  <hongjiu.lu@intel.com>
9939         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9940         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9941         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9942         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9943         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9944         version if bit_Fast_Unaligned_Load is set.
9945         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9946         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9947         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9948         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9949         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9950         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9952         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9953         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9954         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9955         to 4.
9956         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9957         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9958         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9959         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9961 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9963         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9964         instead of #if to avoid a Wundef warning.
9965         * stdlib/tst-limits.c (do_test): Likewise.
9967         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9968         parallel other exception macros.
9969         (fegetenv): Convert from macro to extern inline so that it applies
9970         retroactively to inline functions already seen by the compiler.
9971         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9973         * posix/Makefile (before-compile): Use $(objpfx) for
9974         posix-conf-vars-def.h.
9976 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9978         * posix/getconf.c (main): Use size_t for type of I.
9979         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9980         NSPEC.
9982         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9983         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9984         * posix/posix-envs.def: Likewise.
9985         * sysdeps/posix/sysconf.c: Likewise.
9986         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9987         (specs): Remove array.
9988         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9989         array.
9991         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9992         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9993         (__sysconf): Use CONF_IS_* macros.
9995         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9996         ($(objpfx)posix-conf-vars-def.h): New target.
9997         * posix/posix-conf-vars.list: New file.
9998         * posix/posix-conf-vars.h: New file.
9999         * posix/confstr.c: Include posix-conf-vars.h.
10000         (confstr): Use CONF_IS_* macros.
10001         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
10002         CONF_IS_* macros.
10003         * scripts/gen-posix-conf-vars.awk: New file.
10005 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
10007         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10008         fegetround): Add no-op macros to avoid linknamespace issues.
10010         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10011         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10013         * sysdeps/unix/sysv/linux/tile/sysdep.h
10014         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10015         assembly-specific section to avoid a redefinition warning.
10017         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10018         long before casting to pointer to avoid a cast warning.
10020 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
10022         * sysdeps/tile/tilegx/Implies: New file.
10024 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
10026         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10028 2014-12-23  Florian Weimer  <fweimer@redhat.com>
10030         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10032 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10034         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10035         not define.
10036         * sysdeps/unix/sysv/linux/utimes.c: Do not include
10037         <kernel-features.h>.
10038         (__utimes) [__NR_utimes]: Make code unconditional.
10039         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10041         (__ASSUME_UTIMES): Do not undefine.
10042         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10043         (__ASSUME_UTIMES): Likewise.
10044         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10045         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10046         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10047         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10049 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10051         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10053 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
10055         [BZ #17747]
10056         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10057         alias to weak alias for j0l, y0l.
10058         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10059         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10061         [BZ #17746]
10062         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10063         conversion.
10065 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10067         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10068         to zero if not already defined.
10070 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10072         [BZ #17724]
10073         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10074         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
10075         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
10076         (char *) casts added.
10077         * sysdeps/ieee754/k_standardf.c: New file.
10078         * sysdeps/ieee754/k_standardl.c: Likewise.
10079         * math/Makefile (libm-support): Remove k_standard.
10080         (libm-calls): Add k_standard.
10082 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10084         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10085         Optimize to avoid an unnecessary FPCR read.
10087 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10089         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10090         Optimize to reduce FPCR/FPSR accesses.
10092 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10094         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10095         Call libc_fetestexcept_aarch64.
10097 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10099         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10100         Call libc_fesetround_aarch64.
10102 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10104         [BZ #17733]
10105         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10106         (__bind): Do not define as weak alias.
10107         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10108         define.
10109         (__getsockname): Do not define as weak alias.
10111 2014-12-22  Will Newton  <will.newton@linaro.org>
10113         * manual/install.texi: Document that we require bison 2.7
10114         or above.
10115         * INSTALL: Regenerate.
10116         * configure.ac: Use AC_CHECK_PROG_VER instead of
10117         AC_PATH_PROG when checking for bison and check for
10118         version 2.7 or above.
10119         * configure: Regenerate.
10121 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10123         [BZ #17745]
10124         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10125         * sysdeps/tile/ffsll.c (ffsll): To here.
10127         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10129 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10131         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10132         if not defined.
10133         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10134         definition.
10135         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10136         hidden ___tls_get_addr.
10137         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10138         hidden __tls_get_addr.
10139         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10140         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10141         Likewise.
10143 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10145         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10146         _dl_init call.
10148 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10150         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10151         from "call _dl_init@PLT".
10152         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10154 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10156         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10157         guarantees.
10159 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10161         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10163 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10165         [BZ #17744]
10166         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10167         strnlen.
10169 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10171         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10172         of multu on MIPSr6.
10173         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10174         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10175         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10176         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10177         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10179 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10181         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10182         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10183         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10184         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10185         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10186         mips32r6/mips64r6.
10187         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10189 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10191         * string/strncat.c (STRNCAT): Simplify implementation.
10193 2014-12-19  David S. Miller  <davem@davemloft.net>
10195         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10196         access the quad as both a long double and as a series of 4 words.
10198         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10199         link_map->l_info array access.
10201 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10203         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10205         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10206         * math/atest-exp2.c (TIMEOUT): Likewise.
10207         * math/atest-sincos.c (TIMEOUT): Likewise.
10209 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10211         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10212         -Wno-error with -fno-builtin-lround.
10214 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10216         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10217         Contains futex constants and functions moved over from ...
10218         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10219         <lowlevellock-futex.h>.
10220         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10221         (lll_timedwait_tid): Add comments and parentheses around macro
10222         arguments.
10224 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10226         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10227         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10228         (__lll_private_flag): Remove.
10229         (lll_futex_wait): Likewise.
10230         (lll_futex_timed_wait): Likewise.
10231         (lll_futex_wake): Likewise.
10232         (lll_futex_requeue): Likewise.
10233         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10234         (__lll_timedwait_tid): Spell out argument names.
10235         (lll_timedwait_tid): Add comments and parentheses around macro
10236         arguments.
10237         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10238         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10240 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10242         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10243         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10244         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10245         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10246         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10247         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10248         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10249         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10250         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10251         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10252         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10253         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10254         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10255         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10256         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10257         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10258         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10259         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10260         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10262 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10264         * sysdeps/x86_64/x32/Makefile: New file.
10266 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10268         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10269         1L with (mp_limb_t) 1.
10271 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10273         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10274         * nptl/libc_pthread_init.c: ... here.
10275         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10276         * nptl/register-atfork.c: ... here.
10278         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10279         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10280         Use assert_perror to check its return value.
10281         (__gai_create_helper_thread): Likewise.
10283         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10285         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10287 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10289         [BZ #17725]
10290         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10291         __profil_counter.
10292         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10293         Likewise.
10294         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10295         Likewise.
10296         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10297         Likewise.
10298         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10299         (profil_counter): Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10301         (profil_counter): Likewise.
10302         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10303         Likewise.
10304         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10307         (profil_counter): Likewise.
10308         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10309         Likewise.
10310         [!__profil_counter] (profil_counter): Define as weak alias of
10311         __profil_counter.
10312         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10313         (profil_counter): Rename to __profil_counter.
10314         [!__profil_counter] (profil_counter): Define as weak alias of
10315         __profil_counter.
10316         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10317         (profil_counter): Rename to __profil_counter.
10318         [!__profil_counter] (profil_counter): Define as weak alias of
10319         __profil_counter.
10320         * sysdeps/posix/profil.c: Update comment referring to
10321         profil_counter.
10322         (__profil): Use __profil_counter instead of profil_counter.
10323         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10324         __profil_counter.  Use __profil_counter_ushort and
10325         __profil_counter_uint in definitions.
10326         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10327         instead of profil_counter_uint and profil_counter_ushort.
10329         [BZ #17722]
10330         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10331         define as weak alias of __inet_makeaddr.
10332         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10333         as weak alias of __inet_addr.
10334         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10335         as weak alias of __inet_pton.  Use libc_hidden_weak.
10336         * include/arpa/inet.h (__inet_pton): Declare.  Use
10337         libc_hidden_proto.
10338         (inet_makeaddr): Don't use libc_hidden_proto.
10339         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10340         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10341         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10342         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10343         Remove variable.
10344         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10345         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10347 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10349         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10351 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10353         * stdio-common/bug-vfprintf-nargs.c (do_test):
10354         Cast value to intptr_t to avoid format warning
10355         for usage with PRIdPTR printing macro.
10357 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10359         * libio/tst-widetext.c (do_test):
10360         Use format type %td instead of %Zd for ptrdiff_t
10361         in order to avoid format warning.
10363 2014-12-17  Andreas Schwab  <schwab@suse.de>
10365         * nscd/mem.c (gc): Add size_t cast to match printf format.
10367 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10369         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10370         (init): Apply PTR_MANGLE to pointers before storing them.
10371         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10372         before using them.
10374 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10376         [BZ #17719]
10377         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10378         define as weak alias of __memrchr.
10379         (__memrchr): Do not define as strong alias of memrchr.
10380         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10381         Remove variable.
10382         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10383         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10384         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10386         [BZ #17717]
10387         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10388         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10389         (if_indextoname): Rename to __if_indextoname and define as weak
10390         alias of __if_indextoname.  Use libc_hidden_weak.
10391         (if_freenameindex): Rename to __if_freenameindex and define as
10392         weak alias of __if_freenameindex.
10393         (if_nameindex): Rename to __if_nameindex and define as weak alias
10394         of __if_nameindex.
10395         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10396         __if_nametoindex and define as weak alias of __if_nametoindex.
10397         Use libc_hidden_weak.
10398         (if_freenameindex): Rename to __if_freenameindex and define as
10399         weak alias of __if_freenameindex.
10400         (if_nameindex): Rename to __if_nameindex and define as weak alias
10401         of __if_nameindex.
10402         (if_indextoname): Rename to __if_indextoname and define as weak
10403         alias of __if_indextoname.  Use libc_hidden_weak.
10404         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10405         __if_nametoindex and define as weak alias of __if_nametoindex.
10406         Use libc_hidden_weak.
10407         (if_freenameindex): Rename to __if_freenameindex and define as
10408         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10409         (if_nameindex_netlink): Use __if_freenameindex instead of
10410         if_freenameindex.
10411         (if_nameindex): Rename to __if_nameindex and define as weak alias
10412         of __if_nameindex.  Use libc_hidden_weak.
10413         (if_indextoname): Rename to __if_indextoname and define as weak
10414         alias of __if_indextoname.  Use libc_hidden_weak.
10415         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10416         libc_hidden_proto.
10417         [!_ISOMAC] (__if_freenameindex): Likewise.
10418         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10419         if_nametoindex.
10420         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10421         variable.
10422         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10423         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10424         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10425         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10426         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10427         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10428         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10430         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10431         Remove variable.
10432         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10433         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10435 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10437         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10438         subscript above bounds'
10440         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10441         bounds.
10443 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10445         * libio/tst-fopenloc.c: Use test-skeleton.c.
10447         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10448         (entry): Rename to ITEM.
10449         (do_test, comp): Adjust.
10451         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10453 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10455         * string/tester.c: Include <libc-internal.h>.
10456         (test_memset): Ignore -Wmemset-transposed-args.
10458 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10460         * misc/tst-mntent2.c (do_test): Fix warning.
10462 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10464         * elf/tst-unique4lib.cc(a): Mark as used.
10466 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10468         [BZ #17630]
10469         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10470         names.
10472 2014-12-16  Allan McRae  <allan@archlinux.org>
10474         * stdio-common/Makefile (tests): Re-add bug26.
10476 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10478         [BZ #17657]
10479         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10480         static array.
10482 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10484         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10485         (__lll_lock_wait): Likewise.
10486         (__lll_timedlock_wait): Likewise.
10487         (__lll_timedwait_tid): Likewise.
10488         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10489         (__lll_robust_timedlock_wait): Likewise.
10490         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10491         (lll_cond_trylock): Likewise.
10492         (__lll_lock): Likewise.
10493         (__lll_robust_lock): Likewise.
10494         (__lll_cond_lock): Likewise.
10495         (lll_robust_cond_lock): Likewise.
10496         (__lll_timedlock): Likewise.
10497         (__lll_robust_timedlock): Likewise.
10498         (__lll_unlock): Likewise.
10499         (__lll_robust_unlock): Likewise.
10500         (lll_wait_tid): Likewise.
10501         (lll_timedwait_tid): Likewise.
10503 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10505         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10507 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10509         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10511 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10513         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10514         * stdio-common/tst-sprintf.c: Likewise.
10516 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10518         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10520 2014-12-15  Jeff Law  <law@redhat.com>
10522         [BZ #16617]
10523         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10524         on the heap.  (CVE-2012-3406)
10525         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10526         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10527         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10529 2014-12-15  Will Newton  <will.newton@linaro.org>
10531         * manual/install.texi: Bump required version of texinfo
10532         to 4.7 from 4.5.
10533         * INSTALL: Regenerated.
10534         * configure.ac: Check for makeinfo version 4.7 and above.
10535         * configure: Regenerated.
10537 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10539         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10540         PREFIX, string constant to insert between directory and name.
10541         * sysdeps/posix/shm_open.c: Update caller.
10542         * sysdeps/posix/shm_unlink.c: Likewise.
10543         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10544         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10545         (SEM_SHM_PREFIX): New macro.
10546         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10547         [$(have-thread-library) = no].
10548         * nptl/Makefile (libpthread-routines): Add shm-directory.
10549         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10550         * sysdeps/nptl/shm-directory.h: New file.
10551         * sysdeps/posix/shm-directory.c
10552         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10553         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10554         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10555         INTERNAL_SYSCALL.
10556         (__where_is_shmfs): Function removed.
10557         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10558         Variables removed.
10559         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10560         Use SHM_GET_NAME.
10561         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10563         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10564         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10565         unconditional for use inside libpthread.
10566         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10568 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10570         * nptl/pthread_getaffinity.c: New file.
10571         * nptl/pthread_setaffinity.c: New file.
10572         * nptl/pthread_getname.c: New file.
10573         * nptl/pthread_setname.c: New file.
10575         * nptl/pthread_create.c (START_THREAD_DEFN)
10576         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10578 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10579             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10581         * resolv/res_send.c (send_vc): Disable warning resplen may
10582         be used uninitialized.
10584 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10586         * nptl/tst-mutex6.c
10587         (ATTR_NULL): New define checks ATTR against NULL.
10588         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10589         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10591 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10593         [BZ #17581]
10594         * malloc/hooks.c
10595         (mem2mem_check): Revert my previous change.
10596         (malloc_check_get_size): Revert my previous change.
10597         (mem2chunk_check): Revert my previous change.
10599 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10601         * sysdeps/posix/shm-directory.c: New file.
10602         * sysdeps/posix/shm-directory.h: New file.
10603         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10604         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10605         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10606         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10607         Transmute EPERM to EACCES.
10608         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10609         from ...
10610         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10611         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10613 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10615         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10616         pointer and cast to uintptr_t.
10617         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10618         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10619         Add cast to avoid warning.
10620         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10622 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10624         * nptl/semaphore.h: Move to ...
10625         * sysdeps/pthread/semaphore.h: ... here.
10626         * Makefile (installed-headers): Change nptl/semaphore.h to
10627         sysdeps/pthread/semaphore.h.
10629 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10631         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10632         generated error format strings.
10634         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10635         -Wformat-extra-args warnings for scanf formats.
10636         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10637         test of zero-length format (duh).
10638         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10639         corner-case scanf format test.
10640         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10641         generated fprintf format string.
10642         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10643         corner-case sprintf format tests.
10644         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10645         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10646         -Wformat-extra-args warnings throughout.
10647         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10648         (CFLAGS-scanf4.c): Likewise.
10649         (CFLAGS-scanf7.c): Likewise.
10650         (CFLAGS-tst-sprintf.c): Likewise.
10651         (CFLAGS-tst-printf.c): Likewise.
10652         (CFLAGS-tst-printfsz.c): Likewise.
10654 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10656         * include/cpio.h: New file.
10657         * include/fmtmsg.h: Likewise.
10659         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10660         corresponding format argument to size_t.
10661         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10662         arguments.
10663         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10664         corresponding format argument to size_t.
10665         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10666         arguments.
10667         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10668         corresponding format argument to size_t.
10669         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10670         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10671         (CFLAGS-tst-mbswcs2.c): Likewise.
10672         (CFLAGS-tst-mbswcs3.c): Likewise.
10673         (CFLAGS-tst-mbswcs4.c): Likewise.
10674         (CFLAGS-tst-mbswcs5.c): Likewise.
10675         (CFLAGS-tst-trans.c): Likewise
10677 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10679         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10680         rather than assuming they won't contain any '%'s.
10682 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10684         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10685         inhibit_loop_to_libcall to avoid recursive calls.
10686         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10687         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10689 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10691         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10692         prototype.
10694 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10696         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10697         integer value instead of boolean.
10699 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10701         * malloc/malloc.c: Fix powerof2 check.
10703 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10705         * locale/programs/locfile.h (maybe_swap_uint32):
10706         Remove inline and add unused attribute.
10708 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10711         Truncating assembler expression to a .long expression.
10713 2014-12-11  Andreas Schwab  <schwab@suse.de>
10715         * elf/rtld.c (struct map_args): Constify str member.
10716         (do_preload): Constify fname argument.
10718 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10720         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10721         constants definition.
10723 2014-12-11  Andreas Schwab  <schwab@suse.de>
10725         [BZ #16657]
10726         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10727         FORCE_ELISION instead of DO_ELISION.
10728         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10729         Remove.
10730         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10731         Likewise.
10733         * iconvdata/gconv-modules: Remove duplicate entry.
10735 2014-12-11  Will Newton  <will.newton@linaro.org>
10737         Merge gettext 0.19.3 into intl/.
10739         This involves a number of cosmetic changes to comments
10740         and ANSI function definitions and prototypes throughout
10741         all the files. The gettext copyright header is used but
10742         with the date ranges taken from the glibc copy.
10744         * NEWS: Add gettext merge to 2.21.
10745         * intl/bindtextdom.c: Switch to gettext copyright.
10746         Use ANSI definitions and prototypes.
10747         Use gl_* locking primitives rather than __libc_* ones.
10748         Use __builtin_expect rather than __glibc_likely/unlikely.
10749         * intl/dcgettext.c: Switch to gettext copyright.
10750         Use ANSI definitions and prototypes.
10751         * intl/dcigettext.c: Switch to gettext copyright.
10752         Use ANSI definitions and prototypes.
10753         (INTDIV0_RAISES_SIGFPE): New define.
10754         Use gl_* locking primitives rather than __libc_* ones.
10755         Include eval-plural.h instead of plural-eval.c.
10756         Use __builtin_expect rather than __glibc_likely/unlikely.
10757         * intl/dcngettext.c: Switch to gettext copyright.
10758         Use ANSI definitions and prototypes.
10759         * intl/dgettext.c: Likewise.
10760         * intl/dngettext.c: Likewise.
10761         * intl/plural-eval.c: Renamed to...
10762         * intl/eval-plural.h: ...this.
10763         * intl/explodename.c: Switch to gettext copyright.
10764         Use ANSI definitions and prototypes.
10765         (_nl_explode_name): Use strchr instead of __rawmemchr.
10766         * intl/finddomain.c: Switch to gettext copyright.
10767         Use ANSI definitions and prototypes.
10768         Use gl_* locking primitives rather than __libc_* ones.
10769         (_nl_find_domain): Use malloc rather than alloca for
10770         allocation of temporary locale name.
10771         * intl/gettext.c: Switch to gettext copyright.
10772         Use ANSI definitions and prototypes.
10773         * intl/gettextP.h: Switch to gettext copyright.
10774         Use ANSI definitions and prototypes.
10775         Use gl_* locking primitives rather than __libc_* ones.
10776         * intl/gmo.h: Switch to gettext copyright.
10777         (struct sysdep_string): Move struct segment_pair outside of
10778         struct definition.
10779         * intl/hash-string.c: Use ANSI definitions and prototypes.
10780         * intl/hash-string.h: Switch to gettext copyright.
10781         Use ANSI definitions and prototypes.
10782         * intl/l10nflist.c: Switch to gettext copyright.
10783         Use ANSI definitions and prototypes.
10784         (_nl_normalize_codeset): Avoid integer overflow.
10785         * intl/loadinfo.h: Switch to gettext copyright.
10786         Use ANSI definitions and prototypes.
10787         (LIBINTL_DLL_EXPORTED): New define.
10788         (PATH_SEPARATOR): New define.
10789         * intl/loadmsgcat.c: Switch to gettext copyright.
10790         * intl/localealias.c: Switch to gettext copyright.
10791         Use ANSI definitions and prototypes.
10792         (_nl_expand_alias): Use PATH_SEPARATOR.
10793         * intl/ngettext.c: Switch to gettext copyright.
10794         Use ANSI definitions and prototypes.
10795         * intl/plural-exp.c: Likewise.
10796         * intl/plural-exp.h: Switch to gettext copyright.
10797         Use ANSI definitions and prototypes.
10798         (struct expression): Move definition of enum operator outside
10799         of struct definition.
10800         * intl/plural.c: Regenerate.
10801         * intl/plural.y: Switch to gettext copyright.
10802         Use ANSI definitions and prototypes.
10803         Port to bison 3.0.
10804         * intl/textdomain.c: Switch to gettext copyright.
10805         Use ANSI definitions and prototypes.
10806         Use gl_* locking primitives rather than __libc_* ones.
10808 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10810         * debug/warning-nop.c: Add used atrribute.
10812 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10814         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10816         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10817         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10818         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10820 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10821             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10823         [BZ #17634]
10824         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10825         Undefine after defining function.  Define as weak alias of
10826         __wcschr.  Use libc_hidden_weak.
10827         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10828         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10829         (libc_hidden_def): Also define __GI___wcschr alias.
10830         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10831         __wcschr and define as weak alias of __wcschr.
10832         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10833         __wcschr.
10834         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10835         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10836         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10837         libc_hidden_weak.  Do not use libc_hidden_def.
10838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10839         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10840         __GI___wcschr alias.
10841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10842         [IS_IN (libc)] (wcschr): Define as macro expanding to
10843         __redirect_wcschr.
10844         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10845         [IS_IN (libc)] (__wcschr_power6): Likewise.
10846         [IS_IN (libc)] (__wcschr_power7): Likewise.
10847         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10848         instead of wcschr.
10849         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10850         __libc_wcschr.
10851         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10852         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10853         __wcschr and define as weak alias of __wcschr.  Use
10854         libc_hidden_builtin_def.
10855         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10856         as weak alias of __wcschr.  Use libc_hidden_weak.
10857         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10858         wcschr.
10859         * time/era.c (_nl_init_era_entries): Likewise.
10860         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10861         variable.
10862         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10863         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10865 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10867         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10868         format for long int variable.
10870 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10872         [BZ #10672]
10873         * manual/search.texi: (Array Sort Function): Remove claim how to make
10874         qsort stable.
10876 2014-12-10  Andreas Schwab  <schwab@suse.de>
10878         [BZ #12847]
10879         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10880         user-controlled locks.
10882 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10884         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10885         register.
10887 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10889         * configure.ac (--disable-werror): New configure option.
10890         (enable_werror): New AC_SUBST.
10891         * configure: Regenerated.
10892         * config.make.in (enable-werror): New variable.
10893         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10894         -Wno-error=undef.
10895         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10896         * manual/install.texi (Configuring and compiling): Document
10897         --disable-werror.
10898         * INSTALL: Regenerated.
10899         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10900         (CFLAGS-tst-chk2.c): Likewise.
10901         (CFLAGS-tst-chk3.c): Likewise.
10902         (CFLAGS-tst-chk4.cc): Likewise.
10903         (CFLAGS-tst-chk5.cc): Likewise.
10904         (CFLAGS-tst-chk6.cc): Likewise.
10905         (CFLAGS-tst-lfschk1.c): Likewise.
10906         (CFLAGS-tst-lfschk2.c): Likewise.
10907         (CFLAGS-tst-lfschk3.c): Likewise.
10908         (CFLAGS-tst-lfschk4.cc): Likewise.
10909         (CFLAGS-tst-lfschk5.cc): Likewise.
10910         (CFLAGS-tst-lfschk6.cc): Likewise.
10912         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10913         (main): Disable -Wdeprecated-declarations around calls to
10914         register_printf_function.
10916         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10917         (do_test): Disable -Wdiv-by-zero around some calls to
10918         fwrite_unlocked and fread_unlocked.
10920         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10921         (DIAG_POP_NEEDS_COMMENT): Likewise.
10922         (_DIAG_STR1): Likewise.
10923         (_DIAG_STR): Likewise.
10924         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10925         * stdio-common/bug21.c: Include <libc-internal.h>.
10926         (do_test): Disable -Wformat around call to sscanf.
10927         * stdio-common/scanf14.c: Include <libc-internal.h>.
10928         (main): Disable -Wformat around some calls to scanf functions.
10930 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10932         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10934 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10936         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10937         stack variable alignment.
10939 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10941         [BZ #17682]
10942         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10943         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10944         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10945         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10946         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10947         __getrlimit instead of getrlimit.
10948         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10949         __gettimeofday instead of gettimeofday.
10950         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10951         Likewise.
10952         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10953         Likewise.
10954         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10955         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10956         Remove variable.
10957         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10958         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10960 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10962         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10963         for wide-character tests.
10965 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10967         * io/openat64.c: #include <libc-internal.h>
10968         (__openat64): Prototypify.  Use ignore_value on MODE.
10969         * io/openat.c: Likewise.
10970         * misc/reboot.c: #include <libc-internal.h>
10971         (reboot): Prototypify.  Use ignore_value on HOWTO.
10972         * misc/ptrace.c: #include <libc-internal.h>
10973         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10975 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10977         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10978         XPG4, UNIX98 and XOPEN2K.
10979         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10980         Remove variable.
10981         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10983 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10985         * libio/fileops.c: Use ISO C style for function definitions.
10986         * libio/iofopen.c: Likewise.
10987         * libio/wfileops.c: Likewise.
10989         [BZ #17653]
10990         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10991         offset on EOF.
10992         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10993         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10994         (fgets_func): Function pointer to fgets and fgetws.
10995         (do_ftell_test): Add test to verify ftell value after read
10996         EOF.
10997         (do_test): Set fgets_func.
10999         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11000         O_TRUNC flag for w and w+ modes.
11001         (do_rewind_test): Likewise.
11002         (do_ftell_test): Likewise.
11003         (do_write_test): Likewise.
11005         [BZ #17647]
11006         * libio/fileops.c (do_ftell): Seek only when there are
11007         unflushed writes.
11008         * libio/wfileops.c (do_ftell_wide): Likewise.
11009         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11010         test case.
11011         (do_one_test): Call it.
11013 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
11015         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11016         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11017         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11018         Remove variable.
11019         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11020         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11021         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11023 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11025         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11026         Remove variable.
11027         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11029         [BZ #17668]
11030         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11031         as weak alias of __getifaddrs.  Use libc_hidden_weak.
11032         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11033         __freeifaddrs.  Use libc_hidden_weak.
11034         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11035         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
11036         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11037         __freeifaddrs.  Use libc_hidden_weak.
11038         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11039         __getifaddrs and define as weak alias of __getifaddrs.  Use
11040         libc_hidden_weak.
11041         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11042         __freeifaddrs.  Use libc_hidden_weak.
11043         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11044         Remove variable.
11045         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11046         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11048 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11050         [BZ #17601]
11051         * sysdeps/mips/start.S (__start): Use indirect jump to call
11052         __libc_start_main.
11054 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11056         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11058         * nptl/tst-mutex1.c: Include <stdbool.h>.
11059         [!ATTR] (ATTR_NULL): New macro.
11060         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11061         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11062         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11064         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11065         to char *.
11067         [BZ #17665]
11068         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11069         Change conditional to [__USE_MISC].
11071         [BZ #17664]
11072         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11073         fgets_unlocked.
11074         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11075         __fgets_unlocked.
11076         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11077         fgets_unlocked.
11078         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11079         Remove variable.
11080         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11081         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11082         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11083         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11084         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11085         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11086         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11087         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11088         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11090         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11092 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11094         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11095         Remove strpbrk objects.
11096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11097         (__libc_ifunc_impl_list): Remove strpbrk implementation.
11098         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11099         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11100         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11101         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11104         Remove strcspn objects.
11105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11106         (__libc_ifunc_impl_list): Remove strcspn implementation.
11107         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11108         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11109         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11110         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11113         Remove strspn objetcs.
11114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11115         (__libc_ifunc_impl_list): Remove strspn implementation.
11116         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11117         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11118         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11119         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11121 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11123         [BZ #17581]
11124         * malloc/hooks.c
11125         (mem2mem_check): Add a terminator to the chain of checking blocks.
11126         (malloc_check_get_size): Use it here.
11127         (mem2chunk_check): Ditto.
11129 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11131         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11132         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11134 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11136         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11138         * nptl/nptl-init.c: Include libc-internal.h.
11139         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11141         * elf/ldconfig.c (search_dir): Expand comment.
11143 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11145         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11146         variable.
11147         (linknamespace-symlist-stdlibs-tests): Likewise.
11148         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11149         instead of $(objpfx)symlist-stdlibs.
11150         (linknamespace-libs-isoc): New variable.
11151         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11152         (linknamespace-libs-ISO): New variable.
11153         (linknamespace-libs-ISO99): Likewise.
11154         (linknamespace-libs-ISO11): Likewise.
11155         (linknamespace-libs-XPG3): Likewise.
11156         (linknamespace-libs-XPG4): Likewise.
11157         (linknamespace-libs-POSIX): Likewise.
11158         (linknamespace-libs-UNIX98): Likewise.
11159         (linknamespace-libs-XOPEN2K): Likewise.
11160         (linknamespace-libs-POSIX2008): Likewise.
11161         (linknamespace-libs-XOPEN2K8): Likewise.
11162         ($(objpfx)symlist-stdlibs): Replace by
11163         $(linknamespace-symlist-stdlibs-tests).  Use
11164         $(linknamespace-libs-$*) as set of libraries.
11165         ($(linknamespace-header-tests)): Update dependencies.  Use
11166         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11167         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11168         * conform/linknamespace.pl: Remove comment about considering
11169         definitions of symbols from irrelevant libraries.
11171 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11173         [BZ #13862]
11174         * elf/dl-tls.c: Include <atomic.h>.
11175         (oom): Remove #ifdef SHARED/#endif.
11176         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11177         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11178         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11179         big enough.
11180         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11181         * nptl/Makefile (tests): Add tst-stack4.
11182         (modules-names): Add tst-stack4mod.
11183         ($(objpfx)tst-stack4): New.
11184         (tst-stack4mod.sos): Likewise.
11185         ($(objpfx)tst-stack4.out): Likewise.
11186         ($(tst-stack4mod.sos)): Likewise.
11187         (clean): Likewise.
11188         * nptl/tst-stack4.c: New file.
11189         * nptl/tst-stack4mod.c: Likewise.
11191 2014-11-27  J. Brown  <jb999@gmx.de>
11193         * sysdeps/x86/bits/string.h: Add recent CPUs.
11195 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11197         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11198         sigblock.
11200         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11201         feof.
11203         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11204         variable.
11206 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11208         * nscd/connections.c: Include libc-internal.h because of macro
11209         usage ignore_value.
11211 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11213         * string/bits/string3.h (__warn_memset_zero_len): Don't
11214         declare for gcc newer than 5.0.
11215         (memset): Don't test for zero-length __LEN for gcc newer than
11216         5.0.
11218 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11220         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11221         size_t for %zu format.
11223         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11224         difference, not %ju.
11226 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11228         * include/libc-internal.h (ignore_value): New macro.
11229         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11230         with ignore_value.
11232         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11233         definition.
11235         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11236         pthread_cleanup_push to void *.
11238         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11239         Undefine.
11241         [BZ #16619]
11242         [BZ #16740]
11243         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11244         instead of 1L << 52.
11246         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11247         * libio/bug-rewind2.c (do_test): Likewise.
11249         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11250         * debug/test-strcpy_chk-ifunc.c: Likewise.
11251         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11252         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11253         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11254         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11255         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11256         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11257         * Rules [$(multi-arch) = no] (tests): Do not filter out
11258         $(tests-ifunc).
11259         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11260         * debug/Makefile (tests-ifunc): Remove variable.
11261         (tests): Do not add $(tests-ifunc).
11262         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11263         (tests): Do not add $(tests-ifunc).
11264         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11265         [TEST_IFUNC]: Remove conditionals.
11266         * string/test-string.h (TEST_IFUNC): Remove macro.
11267         [TEST_IFUNC]: Remove conditionals.
11269         * string/test-strchr.c [!WIDE] (L): New macro.
11270         [WIDE] (L): Likewise.
11271         (check1): Use CHAR instead of char.  Use L on string and character
11272         constants.
11274 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11276         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11277         tests.
11278         * sysdeps/powerpc/bits/atomic.h
11279         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11280         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11281         (atomic_exchange_and_add_acq): Likewise.
11282         (atomic_exchange_and_add_rel): Likewise.
11283         * sysdeps/powerpc/powerpc32/bits/atomic.h
11284         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11285         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11286         * sysdeps/powerpc/powerpc64/bits/atomic.h
11287         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11288         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11290 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11292         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11293         Change synchronization of __sched_fifo_min_prio and
11294         __sched_fifo_max_prio.
11295         * nptl/pthread_mutexattr_getprioceiling.c
11296         (pthread_mutexattr_getprioceiling): Likewise.
11297         * nptl/pthread_mutexattr_setprioceiling.c
11298         (pthread_mutexattr_setprioceiling): Likewise.
11299         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11300         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11301         Likewise.
11303 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11305         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11306         void.
11308 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11310         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11311         third argument const.
11313 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11315         fnmatch: work around GCC compiler warning bug with uninit var
11316         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11317         This works around a bug with x86-64 GCC 4.9.2 and earlier
11318         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11319         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11320         used uninitialized in this function [-Wmaybe-uninitialized]".
11322 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11324         * posix/bug-regex31.c (main): Return RES not 0.
11326 2014-11-25  Anton Blanchard <anton@samba.org>
11328         * sysdeps/powerpc/bits/atomic.h
11329         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11331 2014-11-24  Sterling Augustine  <saugustine@google.com>
11333         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11335 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11337         [BZ #17608]
11338         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11340 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11342         [BZ #17633]
11343         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11344         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11345         variable.
11346         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11347         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11349 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11351         * string/strncpy.c (strncpy): Improve performance by using memset.
11353 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11355         * string/strcpy.c (strcpy):
11356         Improve performance by using strlen and memcpy.
11358 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11360         * string/strcoll_l.c (get_next_seq): __always_inline.
11361         * string/strcoll_l.c (do_compare): __always_inline.
11363 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11365         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11366         defined.
11367         * include/mqueue.h: Likewise.
11368         * include/stdlib.h: Likewise.
11370         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11371         (get_null_defines): Adjust.
11372         * sunrpc/Makefile: Adjust comment.
11373         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11374         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11375         (CFLAGS-interp.c): Likewise.
11376         (CFLAGS-ldconfig.c): Likewise.
11377         (CPPFLAGS-.os): Likewise.
11378         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11379         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11380         * extra-modules.mk (extra-modules.mk): Likewise.
11381         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11382         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11383         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11384         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11385         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11386         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11387         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11388         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11389         * iconvdata/Makefile (CPPFLAGS): Likewise.
11390         (cpp-srcs-left): Add libof for all iconvdata routines.
11391         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11392         * include/assert.h: Likewise.
11393         * include/ctype.h: Likewise.
11394         * include/errno.h: Likewise.
11395         * include/libc-symbols.h: Likewise.
11396         * include/math.h: Likewise.
11397         * include/netdb.h: Likewise.
11398         * include/resolv.h: Likewise.
11399         * include/stdio.h: Likewise.
11400         * include/stdlib.h: Likewise.
11401         * include/string.h: Likewise.
11402         * include/sys/stat.h: Likewise.
11403         * include/wctype.h: Likewise.
11404         * intl/l10nflist.c: Likewise.
11405         * libidn/idn-stub.c: Likewise.
11406         * libio/libioP.h: Likewise.
11407         * nptl/libc_multiple_threads.c: Likewise.
11408         * nptl/pthreadP.h: Likewise.
11409         * posix/regex_internal.h: Likewise.
11410         * resolv/res_hconf.c: Likewise.
11411         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11412         * sysdeps/arm/memmove.S: Likewise.
11413         * sysdeps/arm/sysdep.h: Likewise.
11414         * sysdeps/generic/_itoa.h: Likewise.
11415         * sysdeps/generic/symbol-hacks.h: Likewise.
11416         * sysdeps/gnu/errlist.awk: Likewise.
11417         * sysdeps/gnu/errlist.c: Likewise.
11418         * sysdeps/i386/i586/memcpy.S: Likewise.
11419         * sysdeps/i386/i586/memset.S: Likewise.
11420         * sysdeps/i386/i686/memcpy.S: Likewise.
11421         * sysdeps/i386/i686/memmove.S: Likewise.
11422         * sysdeps/i386/i686/mempcpy.S: Likewise.
11423         * sysdeps/i386/i686/memset.S: Likewise.
11424         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11425         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11426         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11427         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11428         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11429         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11430         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11431         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11432         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11433         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11434         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11435         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11436         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11437         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11438         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11439         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11440         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11441         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11442         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11443         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11444         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11445         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11446         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11447         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11448         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11449         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11450         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11451         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11452         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11453         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11454         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11455         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11456         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11457         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11458         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11459         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11460         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11461         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11462         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11463         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11464         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11465         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11466         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11467         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11468         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11469         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11470         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11471         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11472         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11473         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11474         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11475         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11476         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11477         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11478         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11479         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11480         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11481         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11482         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11483         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11484         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11485         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11486         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11487         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11488         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11489         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11490         * sysdeps/posix/closedir.c: Likewise.
11491         * sysdeps/posix/opendir.c: Likewise.
11492         * sysdeps/posix/readdir.c: Likewise.
11493         * sysdeps/posix/rewinddir.c: Likewise.
11494         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11495         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11496         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11497         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11498         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11499         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11500         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11505         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11506         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11507         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11508         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11509         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11510         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11511         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11512         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11514         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11515         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11516         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11517         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11518         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11519         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11520         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11522         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11524         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11529         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11530         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11531         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11532         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11533         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11534         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11535         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11536         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11537         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11538         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11539         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11540         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11541         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11542         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11543         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11544         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11545         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11546         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11548         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11549         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11550         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11551         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11552         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11553         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11554         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11555         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11556         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11557         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11558         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11559         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11560         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11561         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11562         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11563         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11564         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11565         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11566         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11567         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11568         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11569         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11570         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11571         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11572         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11573         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11574         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11575         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11576         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11578         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11580         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11581         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11582         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11583         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11584         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11585         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11586         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11587         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11588         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11590         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11592         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11593         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11594         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11595         * sysdeps/unix/alpha/sysdep.S: Likewise.
11596         * sysdeps/unix/alpha/sysdep.h: Likewise.
11597         * sysdeps/unix/make-syscalls.sh: Likewise.
11598         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11600         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11601         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11602         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11603         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11604         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11605         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11606         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11607         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11608         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11609         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11610         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11611         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11612         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11613         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11614         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11615         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11616         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11617         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11618         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11619         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11620         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11621         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11622         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11623         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11627         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11628         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11630         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11632         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11634         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11636         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11637         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11638         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11639         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11640         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11641         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11642         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11645         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11648         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11649         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11650         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11651         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11652         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11653         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11654         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11656         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11657         * sysdeps/x86_64/memcpy.S: Likewise.
11658         * sysdeps/x86_64/memmove.c: Likewise.
11659         * sysdeps/x86_64/memset.S: Likewise.
11660         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11661         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11662         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11663         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11664         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11665         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11666         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11667         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11668         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11669         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11670         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11671         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11672         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11673         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11675         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11676         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11677         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11678         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11679         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11680         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11681         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11682         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11683         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11684         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11685         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11686         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11687         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11688         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11689         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11690         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11691         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11692         * sysdeps/x86_64/strcmp.S: Likewise.
11694         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11696         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11697         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11698         * elf/rtld-Rules: Likewise.
11699         * elf/setup-vdso.h: Likewise.
11700         * include/assert.h: Likewise.
11701         * include/bits/stdlib-float.h: Likewise.
11702         * include/errno.h: Likewise.
11703         * include/sys/stat.h: Likewise.
11704         * include/unistd.h: Likewise.
11705         * sysdeps/aarch64/setjmp.S: Likewise.
11706         * sysdeps/alpha/setjmp.S: Likewise.
11707         * sysdeps/arm/__longjmp.S: Likewise.
11708         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11709         * sysdeps/arm/setjmp.S: Likewise.
11710         * sysdeps/arm/sysdep.h: Likewise.
11711         * sysdeps/generic/_itoa.h: Likewise.
11712         * sysdeps/generic/dl-sysdep.h: Likewise.
11713         * sysdeps/generic/ldsodefs.h: Likewise.
11714         * sysdeps/i386/dl-tls.h: Likewise.
11715         * sysdeps/i386/setjmp.S: Likewise.
11716         * sysdeps/m68k/setjmp.c: Likewise.
11717         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11718         * sysdeps/mach/hurd/opendir.c: Likewise.
11719         * sysdeps/posix/getcwd.c: Likewise.
11720         * sysdeps/posix/opendir.c: Likewise.
11721         * sysdeps/posix/profil.c: Likewise.
11722         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11723         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11725         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11726         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11727         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11728         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11729         * sysdeps/s390/dl-tls.h: Likewise.
11730         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11731         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11732         * sysdeps/sh/sh3/setjmp.S: Likewise.
11733         * sysdeps/sh/sh4/setjmp.S: Likewise.
11734         * sysdeps/unix/alpha/sysdep.h: Likewise.
11735         * sysdeps/unix/arm/sysdep.S: Likewise.
11736         * sysdeps/unix/i386/sysdep.S: Likewise.
11737         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11738         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11739         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11740         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11741         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11742         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11743         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11744         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11745         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11746         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11747         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11748         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11752         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11755         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11756         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11757         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11760         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11761         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11764         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11765         * sysdeps/x86_64/setjmp.S: Likewise.
11767         * include/math.h: Use IS_IN instead of IS_IN_libm.
11768         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11769         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11770         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11771         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11773         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11774         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11775         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11777         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11778         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11779         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11780         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11781         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11782         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11783         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11784         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11785         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11786         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11787         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11788         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11789         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11790         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11791         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11792         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11793         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11794         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11795         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11796         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11797         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11798         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11799         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11800         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11802         Likewise.
11803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11804         Likewise.
11805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11806         Likewise.
11807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11808         Likewise.
11809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11810         Likewise.
11811         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11812         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11813         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11814         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11815         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11816         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11822         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11823         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11824         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11825         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11826         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11827         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11828         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11829         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11830         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11831         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11832         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11833         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11834         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11835         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11837         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11839         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11840         * nptl/pthreadP.h: Likewise.
11841         * nptl_db/structs.def: Likewise.
11842         * sysdeps/arm/sysdep.h: Likewise.
11843         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11844         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11845         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11846         * sysdeps/unix/alpha/sysdep.h: Likewise.
11847         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11848         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11849         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11850         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11851         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11852         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11853         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11854         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11855         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11856         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11857         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11858         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11859         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11860         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11864         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11865         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11867         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11868         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11869         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11870         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11871         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11872         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11874         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11875         * nptl/pthreadP.h: Likewise.
11876         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11877         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11878         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11879         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11880         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11881         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11882         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11883         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11884         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11885         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11886         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11887         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11891         Likewise.
11892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11894         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11895         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11897         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11898         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11899         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11901         * dlfcn/dladdr.c: Use IS_IN.
11902         * dlfcn/dladdr1.c: Likewise.
11903         * dlfcn/dlclose.c: Likewise.
11904         * dlfcn/dlerror.c: Likewise.
11905         * dlfcn/dlinfo.c: Likewise.
11906         * dlfcn/dlmopen.c: Likewise.
11907         * dlfcn/dlopen.c: Likewise.
11908         * dlfcn/dlsym.c: Likewise.
11909         * dlfcn/dlvsym.c: Likewise.
11911         * include/ifaddrs.h: Use IS_IN.
11912         * inet/check_pf.c: Likewise.
11913         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11914         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11916         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11917         IS_IN_ldconfig.
11918         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11919         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11921         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11922         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11923         IS_IN (libc).
11925         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11927         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11928         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11929         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11930         * include/libc-symbols.h (IS_IN_LIB): New macro.
11931         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11932         * include/netdb.h: Likewise.
11933         * include/stap-probe.h: Remove all uses of IN_LIB.
11935         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11936         instead of IN_MODULE.
11937         * include/libc-symbols.h (IN_MODULE): Define using
11938         MODULE_NAME.
11939         (PASTE_NAME, PASTE_NAME1): New macros.
11940         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11941         of IN_LIB.
11942         (STAP_PROBE_ASM): Likewise.
11944 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11946         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11947         __mach_init in dlopened libc.
11949 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11951         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11952         * sysdeps/arm/preconfigure: Regenerate.
11954 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11956         * nptl/pthread_create.c (__pthread_create_2_1): Set
11957         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11958         when copying values from IATTR into PD.
11960 2014-11-21  Will Newton  <will.newton@linaro.org>
11961             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11963         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11964         Refactor inline-asm.  Also add comment.
11966         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11967         ElfW macro instead of hardcoded Elf64 types.
11968         (la_aarch64_gnu_pltenter): Likewise.
11969         * sysdeps/aarch64/dl-machine.h
11970         (elf_machine_runtime_setup): Use ElfW(Addr).
11972         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11973         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11974         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11975         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11976         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11977         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11978         (R_AARCH64_TLS_DTPMOD): This.
11979         (R_AARCH64_TLS_DTPREL64): Rename to ...
11980         (R_AARCH64_TLS_DTPREL): This.
11981         (R_AARCH64_TLS_TPREL64): Rename to ...
11982         (R_AARCH64_TLS_TPREL): This.
11983         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11984         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11985         R_AARCH64_TLS_TPREL64.
11986         (elf_machine_rela): Likewise.
11988 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11990         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11991         by setting it to 0.  64b atomics are not supported currently.
11993 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11995         [BZ #16469]
11996         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11997         search domain names.
11999 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12001         [BZ #16469]
12002         * NEWS: Update.
12003         * resolv/res_query.c (__libc_res_nquerydomain): Retain
12004         trailing dot.
12005         * posix/tst-getaddrinfo5.c: New.
12006         * posix/Makefile (tests): Add it.
12008 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12010         [BZ #14498]
12011         * NEWS: Fixed.
12012         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12013         after parsing line but before break_if_match.
12014         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12015         if there is a protocol mismatch.
12017 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12019         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12020         because the potential race is on the user-supplied stream.
12022 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12024         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12025         string literal if not passed a buffer.
12026         * manual/job.texi (ctermid): Update reasoning, note deviation
12027         from posix, suggest mtasurace when not passed a buffer, for
12028         future non-preliminary safety notes.
12030 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12032         * manual/users.texi (cuserid): Fix MT-Safety note for the case
12033         of not passing it a buffer.
12034         Reported by Peng Haitao.
12036 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12038         * manual/Makefile ($(objpfx)stamp-summary): Require
12039         check-safety.sh to pass.
12040         * manual/check-safety.sh: Wish for verification that every
12041         @deftypefn and @deftypefun is followed by a @safety remark.
12043 2014-11-20  Roland McGrath  <roland@hack.frob.com>
12045         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12047         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12048         PTHREAD_CANCEL_ASYNCHRONOUS.
12049         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12050         send SIGCANCEL.
12052         * nptl/default-sched.h: New file.
12053         * sysdeps/unix/sysv/linux/default-sched.h: New file.
12054         * nptl/pthread_create.c: Include it.
12055         (__pthread_create_2_1): Use collect_default_sched instead of making
12056         Linux syscalls here directly.
12058 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12060         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12061         __pthread_once): Use C11 atomics.
12063 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12065         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12067 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12069         * include/atomic.h (__atomic_link_error, __atomic_check_size,
12070         atomic_thread_fence_acquire, atomic_thread_fence_release,
12071         atomic_thread_fence_seq_cst, atomic_load_relaxed,
12072         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12073         atomic_compare_exchange_weak_relaxed,
12074         atomic_compare_exchange_weak_acquire,
12075         atomic_compare_exchange_weak_release,
12076         atomic_exchange_acquire, atomic_exchange_release,
12077         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12078         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12079         atomic_fetch_and_acquire,
12080         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12082 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12084         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12085         USE_ATOMIC_COMPILER_BUILTINS): Define.
12086         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12087         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12088         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12089         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12090         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12091         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12092         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12093         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12094         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12095         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12096         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12097         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12098         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12099         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12100         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12101         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12102         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12103         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12104         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12105         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12106         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12107         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12108         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12109         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12110         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12111         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12112         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12113         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12114         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12115         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12116         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12117         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12118         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12119         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12120         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12121         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12122         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12124         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12127 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12129         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12130         the sched_priority value here.  It was already checked when the user
12131         called pthread_attr_setschedparam.
12133         * nptl/tst-bad-schedattr.c: New file.
12134         * nptl/Makefile (tests): Add it.
12136 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12137             Florian Weimer  <fweimer@redhat.com>
12138             Joseph Myers  <joseph@codesourcery.com>
12139             Adam Conrad  <adconrad@0c3.net>
12140             Andreas Schwab  <schwab@suse.de>
12141             Brooks  <bmoses@google.com>
12143         [BZ #17625]
12144         * wordexp-test.c (__dso_handle): Add prototype.
12145         (__register_atfork): Likewise.
12146         (__app_register_atfork): New function.
12147         (registered_forks): New global.
12148         (register_fork): New function.
12149         (test_case): Add 3 new tests for WRDE_CMDSUB.
12150         (main): Call __app_register_atfork.
12151         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12152         fork count is non-zero fail the test.
12153         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12154         is set.
12155         (parse_dollars): Remove check for WRDE_NOCMD.
12156         (parse_dquote): Likewise.
12158 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12160         * Makeconfig (built-modules): List non-library modules to be
12161         built.
12162         (module-cppflags): Include libc-modules.h for
12163         everything except shlib-versions.v.i.
12164         (CPPFLAGS): Use it.
12165         (before-compile): Add libc-modules.h.
12166         ($(common-objpfx)libc-modules.h,
12167         $(common-objpfx)libc-modules.stmp): New targets.
12168         (common-generated): Add libc-modules.h and libc-modules.stmp.
12169         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12170         * include/libc-symbols.h: Don't include libc-modules.h.
12171         * include/libc-modules.h: Remove file.
12172         * scripts/gen-libc-modules.awk: New script to generate
12173         libc-modules.h.
12174         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12175         Depend on libc-modules.stmp.
12177         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12179         * Makeconfig (in-module): Get value of libof set for the
12180         translation unit.
12181         (CPPFLAGS): Use $(in-module).
12182         * Makerules: Don't suffix routine names for nonlib.
12183         * include/libc-modules.h: New file.
12184         * include/libc-symbols.h: Include libc-modules.h
12185         (IS_IN): New macro to replace IS_IN_* macros.
12186         * elf/Makefile: Set libof-* for each routine.
12187         * elf/rtld-Rules: Likewise.
12188         * extra-modules.mk: Likewise.
12189         * iconv/Makefile: Likewise.
12190         * iconvdata/Makefile: Likewise.
12191         * locale/Makefile: Likewise.
12192         * malloc/Makefile: Likewise.
12193         * nss/Makefile: Likewise.
12194         * sysdeps/gnu/Makefile: Likewise.
12195         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12196         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12197         * sysdeps/s390/s390-64/Makefile: Likewise.
12198         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12199         CPPFLAGS for nscd instead of nonlib.
12201 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12203         * nptl/createthread.c: New file.
12205         * nptl/createthread.c: Moved ...
12206         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12208         * nptl/createthread.c: Add proper top-line comment.
12209         (do_clone): Folded into ...
12210         (create_thread): ... here.  Take new arguments STOPPED_START and
12211         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12212         increment __nptl_threads, do event-reporting logic, do
12213         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12214         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12215         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12216         just send SIGCANCEL.
12217         * nptl/pthread_create.c: Forward-declare create_thread before
12218         including createthread.c.
12219         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12220         declaration, and new macro START_THREAD_SELF to replace argument.
12221         Remove return statement.
12222         (report_thread_creation): New function.
12223         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12224         synchronization logic, and __nptl_nthreads increment here, around
12225         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12226         PD->parent_cancelhandling here, before create_thread.  When
12227         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12228         __deallocate_stack, and ENOMEM translation here.
12230 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12232         [BZ #17616]
12233         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12234         (mptwo): Rename to __mptwo.
12235         (__inv): Use __mptwo instead of mptwo.
12236         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12237         (mptwo): Rename to __mptwo.
12238         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12239         of mpone and __mptwo instead of mptwo.
12240         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12241         instead of mpone.
12242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12243         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12244         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12245         of mpone and __mptwo instead of mptwo.
12246         (__mpranred): Use __mpone instead of mpone.
12247         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12248         variable.
12249         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12250         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12251         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12252         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12253         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12254         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12255         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12256         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12257         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12258         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12259         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12260         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12261         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12262         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12263         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12264         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12265         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12266         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12267         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12269 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12271         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12272         replace BSD Handler xref with BSD Signal Handling.
12274 2014-11-17  Richard Henderson  <rth@redhat.com>
12276         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12277         (_FP_PACK_RAW_2): Remove.
12278         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12279         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12280         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12281         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12282         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12283         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12284         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12285         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12286         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12287         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12288         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12289         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12290         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12291         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12292         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12293         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12295 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12297         * signal/signal.h [__USE_MISC]
12298         (struct sigvec): Remove type.
12299         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12300         (sigvec): Remove declaration.
12301         * sysdeps/posix/sigvec.c: Moved ...
12302         * signal/sigvec.c: ... here, replacing old file.
12303         (struct sigvec): New type, copied from old signal.h definition.
12304         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12305         (__sigvec): Convert definition to prototype.
12306         (sigvec): Replace weak_alias with compat_symbol.
12307         * signal/Versions (libc: GLIBC_2.21): New version set.
12308         * include/signal.h: Remove __sigvec declaration.
12309         * sysdeps/unix/bsd/sigvec.c: Remove file.
12310         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12311         * manual/signal.texi (BSD Handler): Remove subsection.
12312         Move siginterrupt up to ...
12313         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12314         (Blocking in BSD): Fold subsection into its parent.
12315         * NEWS: Mention sigvec removal.
12317 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12319         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12320         (DLA_FMS): Make definition conditional only on [__FMA4__].
12321         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12322         definition.
12324         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12325         Make definition conditional only on [PROF].
12326         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12327         definition.
12328         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12329         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12331         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12332         !__GNUC__].
12333         * include/signal.h (__sigpause): Move declaration above call to
12334         libc_hidden_proto.
12335         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12336         variable.
12337         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12338         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12340 2014-11-14  David S. Miller  <davem@davemloft.net>
12342         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12343         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12345 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12347         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12348         * configure: Regenerated.
12349         * manual/install.texi (Tools for Compilation): Document a
12350         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12351         compiler verified to work.
12352         * INSTALL: Regenerated.
12354         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12355         redeclare with asm name.
12356         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12357         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12358         including <string.h>.
12359         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12360         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12361         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12362         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12363         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12364         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12365         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12367 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12369         * stdlib/strtol.c (__strtol): Use prototype definition.
12371         [BZ #17594]
12372         * stdlib/strtol.c (SYM__): New macro.
12373         (SYM__1): Likewise.
12374         (__strtol): Likewise.
12375         (strtol): Rename to __strtol and define as weak alias of
12376         __strtol.  Use libc_hidden_weak.
12378 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12380         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12381         Use numbered labels in inline assembly.
12383 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12385         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12386         Add setjmp LIBC_PROBE.
12387         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12388         Likewise.
12389         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12390         Add longjmp, longjmp_target LIBC_PROBE.
12391         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12392         Likewise.
12394 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12397         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12398         to get rid of unused variable warning.
12400 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12402         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12403         Check for unwind_backtrace ==  NULL only in SHARED case.
12404         (__backchain_backtrace): Compile only in SHARED case.
12405         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12406         Likewise.
12407         (__backchain_backtrace): Declare as static.
12409 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12411         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12412         (__libc_multiple_threads_ptr): Variable moved ...
12413         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12415 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12417         * conform/GlibcConform.pm: New file.
12418         * conform/conformtest.pl: Use GlibcConform module.
12419         * conform/linknamespace.pl: New file.
12420         * conform/list-header-symbols.pl: Likewise.
12421         * conform/Makefile (linknamespace-symlists-base): New variable.
12422         (linknamespace-symlists-tests): Likewise.
12423         (linknamespace-header-base): Likewise.
12424         (linknamespace-header-tests): Likewise.
12425         (tests-special): Add new tests.
12426         ($(linknamespace-symlists-tests)): New rule.
12427         (linknamespace-libs): New variable.
12428         ($(objpfx)symlist-stdlibs): New rule.
12429         ($(linknamespace-header-tests)): Likewise.
12430         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12431         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12432         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12433         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12434         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12435         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12436         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12437         (test-xfail-ISO/math.h/linknamespace): Likewise.
12438         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12439         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12440         (test-xfail-ISO/time.h/linknamespace): Likewise.
12441         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12442         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12443         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12444         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12445         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12446         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12447         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12448         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12449         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12450         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12451         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12452         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12453         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12454         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12455         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12456         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12457         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12458         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12459         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12460         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12461         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12462         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12463         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12464         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12465         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12466         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12467         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12468         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12469         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12470         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12471         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12472         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12473         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12474         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12475         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12476         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12477         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12478         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12479         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12480         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12481         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12482         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12483         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12484         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12485         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12486         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12487         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12488         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12489         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12490         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12491         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12492         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12493         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12494         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12495         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12496         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12497         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12498         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12499         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12500         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12501         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12502         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12503         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12504         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12505         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12506         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12507         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12508         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12509         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12510         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12511         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12512         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12513         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12514         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12515         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12516         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12517         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12518         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12519         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12520         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12521         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12522         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12523         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12524         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12525         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12526         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12527         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12528         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12529         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12530         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12531         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12532         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12533         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12534         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12535         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12536         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12537         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12538         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12539         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12540         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12541         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12542         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12543         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12544         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12545         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12546         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12547         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12548         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12549         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12550         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12551         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12552         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12553         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12554         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12555         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12556         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12557         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12558         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12559         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12560         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12561         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12562         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12563         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12564         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12565         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12566         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12567         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12568         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12569         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12570         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12571         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12572         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12573         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12574         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12575         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12576         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12577         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12578         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12579         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12580         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12581         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12582         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12583         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12584         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12585         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12586         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12587         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12588         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12589         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12590         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12592         [BZ #17589]
12593         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12594         of fgets_unlocked.
12596         [BZ #17585]
12597         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12598         (memmem): Rename to __memmem and define as weak alias of
12599         __memmem.  Use libc_hidden_weak.
12600         (__memmem): Use libc_hidden_def.
12601         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12602         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12603         memmem.
12605         [BZ #17582]
12606         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12607         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12608         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12609         and define as weak alias of __fgets_unlocked.  Use
12610         libc_hidden_weak.
12611         (__fgets_unlocked): Use libc_hidden_def.
12612         * include/stdio.h (__fgets_unlocked): Declare.  Use
12613         libc_hidden_proto.
12614         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12615         __fgets_unlocked instead of fgets_unlocked.
12616         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12617         (GET_NPROCS_CONF_PARSER): Likewise.
12618         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12619         (GET_NPROCS_CONF_PARSER): Likewise.
12621         [BZ #17574]
12622         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12623         weak alias of __wmemset.  Use libc_hidden_weak.
12624         (__wmemset): Use libc_hidden_def.
12625         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12626         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12627         of wmemset.
12629         [BZ #17573]
12630         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12631         with asm name __mempcpy.
12632         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12634         [BZ #17572]
12635         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12636         and define as weak alias of __rawmemchr.
12637         (__rawmemchr): Do not define as strong alias of rawmemchr.
12639         [BZ #17571]
12640         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12641         alias of __qsort_r.
12642         (qsort): Call __qsort_r instead of qsort_r.
12643         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12644         (__qsort_r): Declare.  Call libc_hidden_proto.
12645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12646         instead of qsort_r.
12647         * nscd/gai.c (__qsort_r): Define to qsort_r.
12648         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12649         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12650         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12652         [BZ #17570]
12653         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12654         define as weak alias of __malloc_info.
12656         [BZ #17584]
12657         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12658         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12659         (__rewinddir): Use libc_hidden_def.
12660         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12661         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12662         (__rewinddir): Use libc_hidden_def.
12663         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12664         weak alias of __rewinddir.  Don't use libc_hidden_def.
12665         (__rewinddir): Use libc_hidden_def.
12666         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12667         (__rewinddir): Use libc_hidden_proto.
12668         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12669         rewinddir.
12670         (__getcwd): Use __rewinddir instead of rewinddir.
12672         [BZ #17583]
12673         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12674         alias of __fileno.  Use libc_hidden_weak.
12675         (__fileno): Use libc_hidden_def.
12676         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12677         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12678         alias of __ftello.
12679         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12680         __ftello.
12681         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12682         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12683         libc_hidden_def.
12684         (fread_unlocked): Don't use libc_hidden_ver.
12685         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12686         and define as weak alias of __fread_unlocked.  Don't use
12687         libc_hidden_def.
12688         (__fread_unlocked): Use libc_hidden_def.
12689         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12690         (ftello): Don't use libc_hidden_proto.
12691         (__ftello): Declare.  Use libc_hidden_proto.
12692         (fread_unlocked): Don't use libc_hidden_proto.
12693         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12694         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12695         and __ftello instead of fileno, fread_unlocked and ftello.
12697 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12699         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12700         GOT12.
12701         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12702         Likewise.
12703         (_dl_start_user): Likewise.
12704         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12706 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12707             Siddhesh Poyarekar  <siddhesh@redhat.com>
12709         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12710         Move argv and envp down instead of moving argc up.
12711         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12713 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12715         [BZ #17506]
12716         * test-skeleton.c (main): Return successful if one of
12717         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12718         * string/tst-strcoll-overflow.c: Define expected status.
12720 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12722         [BZ #17475]
12723         * locale/iso-639.def: Define Bhili and Tulu language codes.
12725 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12727         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12729 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12731         [BZ #17555]
12732         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12734 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12736         * configure.ac: Updated check of minimal required version to
12737         2.22.
12738         * manual/install.texi (Tools for Compilation): Updated version
12739         number.
12740         * configure: Regenerated.
12741         * INSTALL: Likewise.
12743 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12745         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12746         __tls_get_addr.
12748 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12750         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12751         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12752         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12753         libc_hidden_weak.
12754         (waitpid): Define as alias of __waitpid.
12755         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12756         __waitpid.
12757         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12758         libc_hidden_weak.
12759         (waitpid): Define as alias of __waitpid.
12760         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12761         __libc_waitpid alias.
12762         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12763         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12764         Likewise.
12765         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12766         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12767         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12768         alias.
12769         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12770         __waitpid.
12771         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12772         libc_hidden_weak.
12773         (waitpid): Define as alias of __waitpid.
12775 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12777         * manual/llio.texi: Add comment that write safety has been
12778         fixed in Linux.
12780         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12781         (localplt-build-dso): Add elf/ld.so.
12782         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12783         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12784         and free for ld.so.
12785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12786         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12788         Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12792         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12793         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12794         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12795         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12796         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12797         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12798         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12799         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12800         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12801         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12803 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12805         [BZ #14132]
12806         * include/libc-symbols.h (INTUSE): Remove macro.
12807         (INTDEF): Likewise.
12808         (INTVARDEF): Likewise.
12809         (_INTVARDEF): Likewise.
12810         (INTDEF2): Likewise.
12811         (INTVARDEF2): Likewise.
12812         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12813         rtld_hidden_def instead of INTVARDEF.
12814         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12815         (_dl_starting_up_internal): Remove declaration.
12816         (_dl_starting_up): Use rtld_hidden_proto.
12817         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12818         declaration.
12819         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12820         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12821         _dl_starting_up.
12822         * elf/dl-writev.h (_dl_writev): Likewise.
12823         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12824         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12825         _dl_starting_up_internal.
12827 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12829         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12830         test-skeleton.c.
12832 2014-11-05  Will Newton  <will.newton@linaro.org>
12834         * benchtests/Makefile: (bench-malloc): Add malloc thread
12835         scalability benchmark.
12836         * benchtests/bench-malloc-threads.c: New file.
12838 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12840         * sysdeps/aarch64/strchrnul.S: New file.
12842 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12844         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12845         definition.
12846         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12847         Likwise.
12848         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12849         Likewise.
12850         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12851         Likewise.
12852         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12853         Likewise.
12854         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12855         Likewise.
12857 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12859         * catgets/test-gencat.c: Use test-skeleton.c.
12860         * catgets/tst-catgets.c: Likewise.
12861         * csu/tst-empty.c: Likewise.
12862         * elf/tst-audit2.c: Likewise.
12863         * elf/tst-global1.c: Likewise.
12864         * elf/tst-pathopt.c: Likewise.
12865         * elf/tst-piemod1.c: Likewise.
12866         * elf/tst-tls10.c: Likewise.
12867         * elf/tst-tls11.c: Likewise.
12868         * elf/tst-tls12.c: Likewise.
12869         * gnulib/tst-gcc.c: Likewise.
12870         * iconvdata/tst-e2big.c: Likewise.
12871         * iconvdata/tst-loading.c: Likewise.
12872         * iconv/tst-iconv1.c: Likewise.
12873         * iconv/tst-iconv2.c: Likewise.
12874         * inet/test-inet6_opt.c: Likewise.
12875         * inet/tst-gethnm.c: Likewise.
12876         * inet/tst-network.c: Likewise.
12877         * inet/tst-ntoa.c: Likewise.
12878         * intl/tst-codeset.c: Likewise.
12879         * intl/tst-gettext2.c: Likewise.
12880         * intl/tst-gettext3.c: Likewise.
12881         * intl/tst-ngettext.c: Likewise.
12882         * intl/tst-translit.c: Likewise.
12883         * io/test-stat.c: Likewise.
12884         * libio/test-fmemopen.c: Likewise.
12885         * libio/tst-freopen.c: Likewise.
12886         * libio/tst-sscanf.c: Likewise.
12887         * libio/tst-ungetwc1.c: Likewise.
12888         * libio/tst-ungetwc2.c: Likewise.
12889         * libio/tst-widetext.c: Likewise.
12890         * localedata/tst-ctype.c: Likewise.
12891         * localedata/tst-digits.c: Likewise.
12892         * localedata/tst-leaks.c: Likewise.
12893         * localedata/tst-mbswcs1.c: Likewise.
12894         * localedata/tst-mbswcs2.c: Likewise.
12895         * localedata/tst-mbswcs3.c: Likewise.
12896         * localedata/tst-mbswcs4.c: Likewise.
12897         * localedata/tst-mbswcs5.c: Likewise.
12898         * localedata/tst-setlocale.c: Likewise.
12899         * localedata/tst-trans.c: Likewise.
12900         * localedata/tst-wctype.c: Likewise.
12901         * localedata/tst-xlocale1.c: Likewise.
12902         * login/tst-grantpt.c: Likewise.
12903         * malloc/tst-calloc.c: Likewise.
12904         * malloc/tst-malloc.c: Likewise.
12905         * malloc/tst-mallocstate.c: Likewise.
12906         * malloc/tst-mcheck.c: Likewise.
12907         * malloc/tst-mtrace.c: Likewise.
12908         * malloc/tst-obstack.c: Likewise.
12909         * math/atest-exp2.c: Likewise.
12910         * math/atest-exp.c: Likewise.
12911         * math/atest-sincos.c: Likewise.
12912         * math/test-matherr.c: Likewise.
12913         * math/test-misc.c: Likewise.
12914         * math/test-powl.c: Likewise.
12915         * math/tst-definitions.c: Likewise.
12916         * misc/tst-dirname.c: Likewise.
12917         * misc/tst-efgcvt.c: Likewise.
12918         * misc/tst-fdset.c: Likewise.
12919         * misc/tst-hsearch.c: Likewise.
12920         * misc/tst-mntent2.c: Likewise.
12921         * nptl/tst-sem7.c: Likewise.
12922         * nptl/tst-sem8.c: Likewise.
12923         * nptl/tst-sem9.c: Likewise.
12924         * nss/test-netdb.c: Likewise.
12925         * posix/tst-fnmatch.c: Likewise.
12926         * posix/tst-getlogin.c: Likewise.
12927         * posix/tst-gnuglob.c: Likewise.
12928         * posix/tst-mmap.c: Likewise.
12929         * pwd/tst-getpw.c: Likewise.
12930         * resolv/tst-inet_ntop.c: Likewise.
12931         * rt/tst-timer.c: Likewise.
12932         * stdio-common/test-fseek.c: Likewise.
12933         * stdio-common/test-popen.c: Likewise.
12934         * stdio-common/test-vfprintf.c: Likewise.
12935         * stdio-common/tst-cookie.c: Likewise.
12936         * stdio-common/tst-fileno.c: Likewise.
12937         * stdio-common/tst-gets.c: Likewise.
12938         * stdio-common/tst-obprintf.c: Likewise.
12939         * stdio-common/tst-perror.c: Likewise.
12940         * stdio-common/tst-sprintf2.c: Likewise.
12941         * stdio-common/tst-sprintf3.c: Likewise.
12942         * stdio-common/tst-sprintf.c: Likewise.
12943         * stdio-common/tst-swprintf.c: Likewise.
12944         * stdio-common/tst-tmpnam.c: Likewise.
12945         * stdio-common/tst-unbputc.c: Likewise.
12946         * stdio-common/tst-wc-printf.c: Likewise.
12947         * stdlib/tst-environ.c: Likewise.
12948         * stdlib/tst-fmtmsg.c: Likewise.
12949         * stdlib/tst-limits.c: Likewise.
12950         * stdlib/tst-rand48-2.c: Likewise.
12951         * stdlib/tst-rand48.c: Likewise.
12952         * stdlib/tst-random2.c: Likewise.
12953         * stdlib/tst-random.c: Likewise.
12954         * stdlib/tst-strtol.c: Likewise.
12955         * stdlib/tst-strtoll.c: Likewise.
12956         * stdlib/tst-tls-atexit.c: Likewise.
12957         * stdlib/tst-xpg-basename.c: Likewise.
12958         * string/test-ffs.c: Likewise.
12959         * string/tst-bswap.c: Likewise.
12960         * string/tst-inlcall.c: Likewise.
12961         * string/tst-strtok.c: Likewise.
12962         * string/tst-strxfrm.c: Likewise.
12963         * sysdeps/x86_64/tst-audit10.c: Likewise.
12964         * sysdeps/x86_64/tst-audit3.c: Likewise.
12965         * sysdeps/x86_64/tst-audit4.c: Likewise.
12966         * sysdeps/x86_64/tst-audit5.c: Likewise.
12967         * time/tst-ftime_l.c: Likewise.
12968         * time/tst-getdate.c: Likewise.
12969         * time/tst-mktime3.c: Likewise.
12970         * time/tst-mktime.c: Likewise.
12971         * time/tst-posixtz.c: Likewise.
12972         * time/tst-strptime2.c: Likewise.
12973         * time/tst-strptime3.c: Likewise.
12974         * wcsmbs/tst-btowc.c: Likewise.
12975         * wcsmbs/tst-mbrtowc.c: Likewise.
12976         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12977         * wcsmbs/tst-wchar-h.c: Likewise.
12978         * wcsmbs/tst-wcpncpy.c: Likewise.
12979         * wcsmbs/tst-wcrtomb.c: Likewise.
12980         * wcsmbs/tst-wcsnlen.c: Likewise.
12981         * wcsmbs/tst-wcstof.c: Likewise.
12983 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12985         [BZ #14132]
12986         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12987         INTDEF.
12988         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12989         declaration.
12990         (_dl_mcount): Use rtld_hidden_proto.
12991         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12992         _dl_mcount.
12993         * elf/rtld.c (_rtld_global_ro): Likewise.
12995         [BZ #14132]
12996         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12997         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12998         of _dl_init_internal.
12999         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13000         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13001         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13002         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13003         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13004         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13005         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13006         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13007         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13008         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13009         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13010         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13011         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13012         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13013         * sysdeps/tile/dl-start.S (_start): Likewise.
13014         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13015         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13017         [BZ #14132]
13018         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13019         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13020         (rtld_progname): Make macro definition unconditional.
13021         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13022         INTDEF.
13023         (dlmopen_doit): Do not use INTUSE with _dl_argv.
13024         (dl_main): Likewise.
13025         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13026         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13027         instead of _dl_argv_internal.
13028         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13029         __GI__dl_argv instead of INTUSE(_dl_argv).
13030         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13031         __GI__dl_argv instead of _dl_argv_internal.
13033         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13034         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13035         macro.
13036         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13037         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13038         New macro.
13039         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13040         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13041         macro.
13042         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13043         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13045 2014-11-04  Andreas Schwab  <schwab@suse.de>
13047         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13049 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13051         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13052         mtvsrd instruction in binary form.
13054 2014-11-03  Andreas Schwab  <schwab@suse.de>
13056         [BZ #17522]
13057         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13058         for less than MB_LEN_MAX use a local buffer of that size.
13059         * libio/tst-fputws.c: New file.
13060         * libio/Makefile (tests): Add tst-fputws.
13062 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
13064         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13065         the size of the fpu_fr.fpu_dregs[] array.
13067 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
13069         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13070         (__nanosleep): Do not define as alias.
13071         (nanosleep): Define as alias of __nanosleep.
13072         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13073         __libc_nanosleep name.
13075 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13077         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13078         install.texi in comment.
13080 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13082         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13083         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13084         ... add here and use lwsync or sync ...
13085         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13086         ... and add here using lwsync.
13088 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13090         * elf/dl-machine-reject-phdr.h: New file.
13091         * elf/dl-load.c: #include that.
13092         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13093         if that returned true.
13095 2014-10-31  Roland McGrath  <roland@hack.frob.com>
13097         [BZ #17496]
13098         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13099         gen-as-const-headers chunk.  Add a big scare comment after the last
13100         safe place to touch before-compile.
13102 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13104         * manual/install.texi (Tools for Compilation): Update autoconf
13105         version requirements.
13106         * INSTALL: Regenerated.
13108         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13109         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13110         (__libc_pselect): Likewise.
13112         [BZ #14138]
13113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13118 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13120         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13121         correct barrier instruction.
13122         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13123         Likewise.
13124         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13125         Likewise.
13127 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13129         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13130         after defining inlines.  Instead, just use parens to defeat macro
13131         expansion of __isctype in its declaration.
13133 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13135         * include/sys/uio.h (__libc_readv): Remove declaration.
13136         (__libc_writev): Likewise.
13137         * misc/readv.c (__libc_readv): Rename to __readv.
13138         (__readv): Do not define as alias.
13139         (readv): Define as alias of __readv.
13140         * misc/writev.c (__libc_writev): Rename to __writev.
13141         (__writev): Do not define as alias.
13142         (writev): Define as alias of __writev.
13143         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13144         (__readv): Do not define as alias.
13145         (readv): Define unconditionally as alias of __readv.
13146         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13147         (__writev): Do not define as alias.
13148         (writev): Define unconditionally as alias of __writev.
13149         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13150         name.
13151         (writev): Do not define __libc_writev name.
13153 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13155         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13156         (convert_charseq): New function, broken out of ...
13157         (use_from_charmap): ... here.  Call it.
13158         (use_to_charmap): Use convert_charseq and free instead of duplicating
13159         its code with a variable-length stack struct.
13161 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13163         * include/fcntl.h (__libc_creat): Remove declaration.
13164         * io/creat.c (__libc_creat): Rename to creat.
13165         (creat): Do not define as alias.
13166         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13167         of creat instead of __libc_creat.
13168         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13169         to creat.
13170         (creat): Do not define as alias.
13171         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13172         __libc_creat.
13173         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13174         __libc_creat name.
13175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13176         Likewise.
13178 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13180         * manual/llio.texi: Add comments discussing why write() may be
13181         considered MT-unsafe on Linux.
13183 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13185         * dl-load.c (local_strdup): Remove.
13186         (expand_dynamic_string_token): Use __strdup.
13187         (decompose_rpath): Likewise.
13188         (_dl_map_object): Likewise.
13190 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #14132]
13193         * sysdeps/generic/unwind-dw2-fde.c
13194         (__register_frame_info_bases_internal): Do not declare.
13195         (__register_frame_info_table_bases_internal): Likewise.
13196         (__deregister_frame_info_bases_internal): Likewise.
13197         (__register_frame_info_bases): Declare and use hidden_proto before
13198         definition.  Use hidden_def instead of INTDEF.
13199         (__register_frame_info_table_bases): Likewise.
13200         (__deregister_frame_info_bases): Likewise.
13201         (__register_frame_info): Do not use INTUSE.
13202         (__register_frame): Likewise.
13203         (__register_frame_info_table): Likewise.
13204         (__register_frame_table): Likewise.
13205         (__deregister_frame_info): Likewise.
13206         (__deregister_frame): Likewise.
13208 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13210         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13211         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13212         not undefine.
13213         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13214         Likewise.
13215         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13216         Likewise.
13218 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13220         [BZ #14138]
13221         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13222         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13223         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13224         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13225         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13226         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13227         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13228         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13229         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13230         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13231         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13232         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13233         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13234         syscall.
13235         (setfsuid): Likewise.
13236         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13237         (setfsuid): Likewise.
13238         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13239         (setfsuid): Likewise.
13240         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13241         Likewise.
13242         (setfsuid): Likewise.
13243         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13244         (setfsuid): Likewise.
13245         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13246         Likewise.
13247         (setfsuid): Likewise.
13249 2014-10-27  Andreas Schwab  <schwab@suse.de>
13251         [BZ #17501]
13252         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13253         check for Slow_SSE4_2 feature bit.
13254         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13255         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13256         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13257         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13259 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13261         * configure.ac: Validate compiler version with a empirical test of
13262         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13263         $CC -v output.
13264         * configure: Regenerated.
13266         * inet/htons.c (htons): Prototypify.
13267         * inet/htonl.c (htonl): Likewise.
13269 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13271         * string/strncat.c (strncat): Improve performance by using strlen.
13273 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13275         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13277 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13279         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13280         Call libc_fetestexcept_aarch64.
13282 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13284         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13285         Call libc_feholdexcept_aarch64.
13287 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13289         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13290         Call get_rounding_mode.
13292 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13294         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13295         Simplify logic.
13297 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13299         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13300         Simplify logic.
13302 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13304         [BZ #14138]
13305         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13306         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13307         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13308         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13309         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13310         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13311         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13312         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13313         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13314         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13315         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13316         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13317         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13318         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13319         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13320         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13321         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13322         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13323         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13324         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13325         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13326         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13327         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13328         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13329         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13330         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13331         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13332         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13333         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13334         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13335         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13336         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13337         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13338         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13339         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13340         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13341         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13342         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13343         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13344         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13345         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13346         syscall.
13347         (geteuid): Likewise.
13348         (getgid): Likewise.
13349         (getuid): Likewise.
13350         (getresgid): Likewise.
13351         (getresuid): Likewise.
13352         (getgroups): Likewise.
13353         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13354         (geteuid): Likewise.
13355         (getgid): Likewise.
13356         (getuid): Likewise.
13357         (getresgid): Likewise.
13358         (getresuid): Likewise.
13359         (getgroups): Likewise.
13360         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13361         (geteuid): Likewise.
13362         (getgid): Likewise.
13363         (getuid): Likewise.
13364         (getresgid): Likewise.
13365         (getresuid): Likewise.
13366         (getgroups): Likewise.
13367         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13368         Likewise.
13369         (geteuid): Likewise.
13370         (getgid): Likewise.
13371         (getuid): Likewise.
13372         (getresgid): Likewise.
13373         (getresuid): Likewise.
13374         (getgroups): Likewise.
13375         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13376         (geteuid): Likewise.
13377         (getgid): Likewise.
13378         (getuid): Likewise.
13379         (getresgid): Likewise.
13380         (getresuid): Likewise.
13381         (getgroups): Likewise.
13382         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13383         Likewise.
13384         (geteuid): Likewise.
13385         (getgid): Likewise.
13386         (getuid): Likewise.
13387         (getgroups): Likewise.
13389         [BZ #14138]
13390         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13391         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13392         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13393         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13394         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13395         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13396         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13397         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13398         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13399         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13400         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13401         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13402         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13403         __chown.
13404         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13405         (lchown): Likewise.
13406         (fchown): Likewise.
13407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13408         Likewise.
13409         (lchown): Likewise.
13410         (fchown): Likewise.
13411         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13412         (lchown): Likewise.
13413         (fchown): Likewise.
13414         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13415         Likewise.
13416         (lchown): Likewise.
13417         (fchown): Likewise.
13419 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13421         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13422         Simplify logic.
13424 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13426         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13427         Cleanup logic.
13429 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13431         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13432         Remove unused include.
13434 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13436         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13437         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13438         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13439         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13441 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13442             Helge Deller <deller@gmx.de>
13444         [BZ #17508]
13445         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13446         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13447         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13449 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13451         [BZ #14132]
13452         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13453         Remove macro definition.
13454         (__ashrdi3_v_glibc20): Likewise.
13455         (__lshrdi3_v_glibc20): Likewise.
13456         (__cmpdi2_v_glibc20): Likewise.
13457         (__ucmpdi2_v_glibc20): Likewise.
13458         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13459         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13460         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13461         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13462         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13463         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13465 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13467         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13468         old GNU extension [0] syntax.
13469         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13470         alloca rather than an array member with variable length.
13471         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13472         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13473         (parse_opt): ... here.  Likewise use alloca there.
13474         Validate the -i argument before checking for rootness.
13475         (send_shutdown): New function, broken out of ...
13476         (parse_opt): ... here.
13478 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13480         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13481         macro to get at the _rt_local_ro field.
13482         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13483         ([PIC] case) or _dl_hwcap ([!PIC] case).
13484         * sysdeps/arm/setjmp.S: Likewise.
13486         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13487         * sysdeps/arm/configure.ac: New check to define it.
13488         * sysdeps/arm/configure: Regenerated.
13489         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13490         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13491         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13492         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13493         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13494         Use move/movt pair instead of a load.
13495         (LDST_GLOBAL): Macro removed.
13496         (LDR_GLOBAL): New macro replaces it.
13497         (LDR_HIDDEN): New macro.
13498         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13499         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13501         * setjmp/tst-setjmp-static.c: New file.
13502         * setjmp/Makefile (tests): Add it.
13503         (tests-static): New variable.
13505 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13507         [BZ #17485]
13508         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13510 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13512         [BZ #14132]
13513         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13515 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13517         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13519 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13521         * io/fts.c (dirent_not_directory): New function.
13522         (fts_build): Call it.
13524 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13526         * nptl/version.c (__nptl_main): Use normal __write rather than
13527         INTERNAL_SYSCALL.
13528         (banner): Update copyright years.
13530         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13531         gettimeofday.
13532         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13533         * nptl/pthread_cond_timedwait.c: Likewise.
13534         * nptl/pthread_mutex_timedlock.c: Likewise.
13535         * nptl/sem_timedwait.c: Likewise.
13537         * sysdeps/nptl/bits/libc-lock.h
13538         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13539         (__libc_lock_init_recursive): Return void, not 0.
13540         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13541         (__libc_rwlock_init): Likewise.
13542         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13544 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13546         [BZ #15215]
13547         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13548         (__pthread_once_slow): ... here.
13549         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13550         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13552 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13554         [BZ #15215]
13555         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13556         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13557         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13558         * nptl/pthread_once.c (__pthread_once): Likewise.
13559         Update comments.
13561 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13563         [BZ #14138]
13564         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13565         name.
13566         (writev): Use __libc_writev as strong name.
13567         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13568         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13570 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13572         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13574         * sysdeps/i386/nptl/tls.h
13575         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13576         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13577         New macros.
13578         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13579         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13580         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13581         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13582         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13583         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13585         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13586         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13587         on [__NR_futex].
13588         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13589         broken out of ...
13590         (__pthread_mutex_init): ... here.  Call it.
13591         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13592         Conditionalize PI cases on [__NR_futex].
13593         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13594         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13595         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13597         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13598         conditional on [SIGSETXID].
13599         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13600         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13601         is defined.  Likewise for SIGSETXID.
13602         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13603         Conditionalize definitions on [SIGSETXID].
13604         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13605         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13606         unblocking on [SIGCANCEL].
13608         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13609         [__NR_set_robust_list].
13611 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13613         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13614         (do_compare): Likewise.
13616 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13618         [BZ #15884]
13619         * string/strcoll_l.c: Don't include stdio.h.
13620         (coll_seq): Remove members idxarr and rulearr.
13621         (get_next_seq_cached): Remove function.
13622         (get_next_seq): Likewise.
13623         (get_next_seq_nocache): Rename to get_next_seq.
13624         (do_compare): Remove function.
13625         (do_compare_nocache): Rename to do_compare.
13626         (STRCOLL): Remove weight and rules cache.
13628 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13630         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13631         * sysdeps/arm/sfp-machine.h: ... to here.
13632         * sysdeps/arm/Implies: Remove arm/soft-fp.
13634 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13636         * conform/data/sys/utsname.h-data (*_t): Allow.
13637         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13638         [POSIX] (WEXITED): Do not expect constant.
13639         [POSIX] (WSTOPPED): Likewise.
13640         [POSIX] (WNOHANG): Likewise.
13641         [POSIX] (WNOWAIT): Likewise.
13642         [POSIX] (siginfo_t): Do not expect type or elements.
13643         [POSIX] (pid_t): Do not expect type.
13644         [POSIX] (signal.h): Do not allow header.
13645         [POSIX] (sys/resource.h): Likewise.
13646         [POSIX] (si_*): Do not allow pattern.
13647         [POSIX] (W*): Likewise.
13648         [POSIX] (P_*): Likewise.
13649         [POSIX] (BUS_*): Likewise.
13650         [POSIX] (CLD_*): Likewise.
13651         [POSIX] (FPE_*): Likewise.
13652         [POSIX] (ILL_*): Likewise.
13653         [POSIX] (POLL_*): Likewise.
13654         [POSIX] (SEGV_*): Likewise.
13655         [POSIX] (SI_*): Likewise.
13656         [POSIX] (TRAP_*): Likewise.
13657         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13658         variable.
13660 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13662         [BZ #12926]
13663         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13664         infinite loop when __recvmsg returns 0.
13666 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13668         * CANCEL-FCT-WAIVE: Remove file.
13669         * CANCEL-FILE-WAIVE: Likewise.
13671         [BZ #14132]
13672         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13673         instead of INTVARDEF.
13674         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13675         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13676         rtld_hidden_data_def instead of INTVARDEF.
13677         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13678         * elf/dl-deps.c (expand_dst): Likewise.
13679         * elf/dl-load.c (_dl_dst_count): Likewise.
13680         (_dl_dst_substitute): Likewise.
13681         (decompose_rpath): Likewise.
13682         (_dl_init_paths): Likewise.
13683         (open_path): Likewise.
13684         (_dl_map_object): Likewise.
13685         * elf/rtld.c (dl_main): Likewise.
13686         (process_dl_audit): Likewise.
13687         (process_envvars): Likewise.
13688         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13689         Remove declaration.
13690         (__libc_enable_secure): Use rtld_hidden_proto.
13692 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13694         * elf/dl-load.c
13695         (add_path): New function broken out of _dl_rtld_di_serinfo.
13696         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13698 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13700         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13701         parentheses around macro arguments.
13702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13703         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13706         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13707         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13709         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13710         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13711         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13713         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13714         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13715         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13716         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13717         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13718         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13721         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13722         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13724         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13725         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13728         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13729         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13731         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13732         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13733         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13734         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13735         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13736         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13737         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13738         Likewise.
13739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13740         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13743         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13744         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13746         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13747         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13748         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13749         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13750         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13751         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13752         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13753         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13756         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13760         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13761         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13762         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13763         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13764         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13765         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13766         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13767         (_FP_FRAC_SRS_1): Likewise.
13768         (_FP_FRAC_CLZ_1): Likewise.
13769         (_FP_MUL_MEAT_1_imm): Likewise.
13770         (_FP_MUL_MEAT_1_wide): Likewise.
13771         (_FP_MUL_MEAT_1_hard): Likewise.
13772         (_FP_SQRT_MEAT_1): Likewise.
13773         (_FP_FRAC_ASSEMBLE_1): Likewise.
13774         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13775         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13776         (__FP_CLZ_2): Likewise.
13777         (_FP_MUL_MEAT_2_wide): Likewise.
13778         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13779         (_FP_MUL_MEAT_2_gmp): Likewise.
13780         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13781         (_FP_SQRT_MEAT_2): Likewise.
13782         (_FP_FRAC_ASSEMBLE_2): Likewise.
13783         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13784         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13785         (_FP_FRAC_CLZ_4): Likewise.
13786         (_FP_MUL_MEAT_4_wide): Likewise.
13787         (_FP_MUL_MEAT_4_gmp): Likewise.
13788         (_FP_SQRT_MEAT_4): Likewise.
13789         (_FP_FRAC_ASSEMBLE_4): Likewise.
13790         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13791         * soft-fp/op-common.h (_FP_CMP): Likewise.
13792         (_FP_CMP_EQ): Likewise.
13793         (_FP_CMP_UNORD): Likewise.
13794         (_FP_TO_INT): Likewise.
13795         (_FP_FROM_INT): Likewise.
13796         [!__FP_CLZ] (__FP_CLZ): Likewise.
13797         (_FP_DIV_HELP_imm): Likewise.
13798         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13799         Likewise.
13800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13801         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13803         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13804         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13805         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13806         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13807         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13808         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13809         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13811         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13812         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13813         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13814         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13815         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13816         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13819         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13820         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13821         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13822         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13823         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13825         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13826         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13827         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13829         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13830         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13831         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13832         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13833         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13834         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13835         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13836         (FP_UNPACK_RAW_SP): Likewise.
13837         (FP_PACK_RAW_S): Likewise.
13838         (FP_PACK_RAW_SP): Likewise.
13839         (FP_UNPACK_S): Likewise.
13840         (FP_UNPACK_SP): Likewise.
13841         (FP_UNPACK_SEMIRAW_S): Likewise.
13842         (FP_UNPACK_SEMIRAW_SP): Likewise.
13843         (FP_PACK_S): Likewise.
13844         (FP_PACK_SP): Likewise.
13845         (FP_PACK_SEMIRAW_S): Likewise.
13846         (FP_PACK_SEMIRAW_SP): Likewise.
13847         (_FP_SQRT_MEAT_S): Likewise.
13848         (FP_CMP_S): Likewise.
13849         (FP_CMP_EQ_S): Likewise.
13850         (FP_CMP_UNORD_S): Likewise.
13851         (FP_TO_INT_S): Likewise.
13852         (FP_FROM_INT_S): Likewise.
13854         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13856         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13857         (FP_EX_INVALID_IMZ): Likewise.
13858         (FP_EX_INVALID_IMZ_FMA): Likewise.
13859         (FP_EX_INVALID_ISI): Likewise.
13860         (FP_EX_INVALID_ZDZ): Likewise.
13861         (FP_EX_INVALID_IDI): Likewise.
13862         (FP_EX_INVALID_SQRT): Likewise.
13863         (FP_EX_INVALID_CVI): Likewise.
13864         (FP_EX_INVALID_VC): Likewise.
13865         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13866         "invalid" exceptions.
13867         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13868         (_FP_ADD_INTERNAL): Likewise.
13869         (_FP_MUL): Likewise.
13870         (_FP_FMA): Likewise.
13871         (_FP_DIV): Likewise.
13872         (_FP_CMP_CHECK_NAN): Likewise.
13873         (_FP_SQRT): Likewise.
13874         (_FP_TO_INT): Likewise.
13875         (FP_EXTEND): Likewise.
13877 2014-10-09  Allan McRae  <allan@archlinux.org>
13879         * po/fr.po: Update French translation from translation project.
13881 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13883         [BZ #14132]
13884         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13885         of INTDEF.
13886         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13887         (__cxa_atexit): Use libc_hidden_proto.
13888         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13890         [BZ #14132]
13891         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13892         declaration.
13893         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13894         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13895         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13896         [!_ISOMAC] (__iswctype_internal): Likewise.
13897         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13898         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13899         alias.
13900         (fcntl): Remove __fcntl_internal alias.
13901         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13902         __connect_internal alias.
13903         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13904         Likewise.
13906         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13907         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13908         FP_DENORM_ZERO.
13909         (_FP_CHECK_FLUSH_ZERO): New macro.
13910         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13911         (_FP_CMP): Likewise.
13912         (_FP_CMP_EQ): Likewise.
13913         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13914         FP_DENORM_ZERO.
13915         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13916         (FP_TRUNC): Likewise.
13918         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13919         treated as invalid conversion, not as normal exponent.
13921         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13922         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13923         (_FP_CMP_EQ): Likewise.
13924         (_FP_CMP_UNORD): Likewise.
13925         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13926         (FP_CMP_EQ_D): Likewise.
13927         (FP_CMP_UNORD_D): Likewise.
13928         * soft-fp/extended.h (FP_CMP_E): Likewise.
13929         (FP_CMP_EQ_E): Likewise.
13930         (FP_CMP_UNORD_E): Likewise.
13931         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13932         (FP_CMP_EQ_Q): Likewise.
13933         (FP_CMP_UNORD_Q): Likewise.
13934         * soft-fp/single.h (FP_CMP_S): Likewise.
13935         (FP_CMP_EQ_S): Likewise.
13936         (FP_CMP_UNORD_S): Likewise.
13937         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13938         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13939         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13940         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13941         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13942         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13943         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13944         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13945         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13946         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13947         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13948         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13949         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13950         to FP_CMP_Q.
13951         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13952         FP_CMP_Q.
13953         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13954         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13955         FP_CMP_EQ_Q.
13956         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13957         FP_CMP_Q.
13958         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13959         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13960         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13961         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13962         FP_CMP_EQ_Q.
13963         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13964         FP_CMP_Q.
13965         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13966         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13967         FP_CMP_EQ_Q.
13968         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13969         FP_CMP_Q.
13970         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13971         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13972         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13973         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13974         FP_CMP_EQ_Q.
13976         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13977         a subnormal result, set the underflow exception if trapping on
13978         underflow is enabled.
13979         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13980         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13981         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13982         redefine to 0.
13983         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13984         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13985         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13986         * soft-fp/extendxftf2.c (__extendxftf2): Use
13987         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13989         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13990         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13991         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13992         FP_HANDLE_EXCEPTIONS.
13993         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13994         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13995         FP_HANDLE_EXCEPTIONS.
13996         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13997         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13998         FP_HANDLE_EXCEPTIONS.
13999         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14000         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14001         FP_HANDLE_EXCEPTIONS.
14003 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #14132]
14006         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14007         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14008         use INTUSE.
14009         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14010         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14011         Remove alias.
14012         (__adjtimex): Define using libc_hidden_ver.
14013         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14014         Remove declaration.
14015         (ntp_gettime): Call __adjtimex directly.
14016         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14017         Remove declaration.
14018         (ntp_gettimex): Call __adjtimex directly.
14019         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14020         __adjtimex_internal alias.
14022 2014-10-08  Roland McGrath  <roland@hack.frob.com>
14024         [BZ #17460]
14025         * nscd/nscd.c (more_help): Rewrite list of tables collection
14026         using xstrdup and asprintf.
14028         * nscd/nscd_conf.c: Remove local xstrdup declaration.
14030 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14031             Roland McGrath  <roland@hack.frob.com>
14033         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14034         (do_lookup_unique): ... local function 'enter' here; update callers.
14036 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
14038         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14039         compat_symbol calls on [SHARED].
14040         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14041         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14042         Remove.
14043         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14044         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14045         (oldsetrlimit): Remove.
14046         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14048         (lchown): New syscall entry.
14049         (oldsetrlimit): Remove.
14050         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14052         (oldsetrlimit): Remove.
14053         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14055         [BZ #14138]
14056         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14057         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14058         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14059         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14060         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14061         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14062         (fchown): Likewise.
14063         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14064         (fchown): Likewise.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14066         Likewise.
14068 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14070         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14071         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14072         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14073         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14074         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14075         Likewise.
14076         (__old_sem_post): Likewise.
14078 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
14080         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14081         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14082         HAVE_CLOCK_GETTIME_VSYSCALL macros.
14083         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14084         Use INLINE_VSYSCALL macro.
14085         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14086         __vdso_clock_gettime.
14087         * sysdeps/unix/sysv/linux/tile/init-first.c
14088         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14089         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14090         __vdso_clock_gettime.
14092         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14093         to set up frame more cleanly.
14095         * sysdeps/tile/memcmp.c: New file.
14097         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14099         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14100         * sysdeps/tile/tilegx/strcasestr.c: New file.
14101         * sysdeps/tile/tilegx/strnlen.c: New file.
14102         * sysdeps/tile/tilegx/strstr.c: New file.
14104         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14106 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
14108         * nptl/tst-setuid3.c: Write errors to stdout.
14110 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14112         * elf/dl-deps.c
14113         (preload): New functions broken out of _dl_map_object_deps.
14114         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14116 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14118         [BZ #14138]
14119         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14120         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14122 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14124         * sysdeps/mips/strcmp.S: New.
14126 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14128         [BZ #14138]
14129         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14130         (linkat): Likewise.
14131         (mkdirat): Likewise.
14132         (readlinkat): Likewise.
14133         (renameat): Likewise.
14134         (symlinkat): Likewise.
14135         (unlinkat): Likewise.
14136         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14137         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14138         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14139         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14140         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14141         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14142         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14144 2014-09-30  Will Newton  <will.newton@linaro.org>
14146         * math/math.h: Define long double math functions if
14147         _LIBC_TEST is defined.
14148         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14150         * localedata/Makefile: Move assignment to tests-special
14151         into an ifdef testing run-built-tests.
14152         * timezone/Makefile: Likewise.
14154 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14156         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14157         with $(BASH) not $(SHELL).
14159 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14160             Matthew LeGendre  <legendre1@llnl.gov>
14162         [BZ #17411]
14163         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14164         l_reloc_result.
14166 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14168         * stdio-common/printf_fp.c
14169         (hack_digit): New function, broken out of ...
14170         (__printf_fp): ... local function here.  Update call sites.
14171         hack_digit now takes an additional parameter that is a pointer
14172         to a struct of the referenced locals.  Those locals moved inside
14173         the struct and references updated.
14175 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14177         * aclocal.m4: Require autoconf 2.69.
14178         * configure: Regenerated.
14179         * sysdeps/aarch64/configure: Likewise.
14180         * sysdeps/alpha/configure: Likewise.
14181         * sysdeps/arm/armv7/configure: Likewise.
14182         * sysdeps/arm/configure: Likewise.
14183         * sysdeps/ia64/configure: Likewise.
14184         * sysdeps/mach/configure: Likewise.
14185         * sysdeps/mips/configure: Likewise.
14186         * sysdeps/s390/configure: Likewise.
14187         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14190         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14191         file.
14192         * sysdeps/ia64/configure.ac: Likewise.
14194 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14197         specify symbol version for ld.so.  Do not include entry for
14198         libpthread.
14199         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14200         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14201         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14203         [BZ #14171]
14204         * Makeconfig [$(build-shared) = yes]
14205         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14206         makefiles.
14207         [$(build-shared) = yes && $(soversions.mk-done) = t]
14208         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14209         [$(build-shared) = yes && $(soversions.mk-done) = t]
14210         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14211         to Makerules.
14212         [$(build-shared) = yes && $(soversions.mk-done) = t]
14213         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14214         here.
14215         [$(build-shared) = yes && $(soversions.mk-done) = t]
14216         (common-generated): Don't append gnu/lib-names.h and
14217         gnu/lib-names.stmp here.
14218         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14219         (lib-names-h-abi): New variable.
14220         [$(build-shared) = yes && $(soversions.mk-done) = t]
14221         (lib-names-stmp-abi): Likewise.
14222         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14223         abi-variants] (before-compile): Append
14224         $(common-objpfx)$(lib-names-h-abi).
14225         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14226         abi-variants] (common-generated): Append gnu/lib-names.h.
14227         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14228         abi-variants] (install-others-nosubdir): Depend on
14229         $(inst_includedir)/$(lib-names-h-abi).
14230         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14231         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14232         [$(build-shared) = yes && $(soversions.mk-done) = t]
14233         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14234         [$(build-shared) = yes && $(soversions.mk-done) = t]
14235         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14236         [$(build-shared) = yes && $(soversions.mk-done) = t]
14237         (common-generated): Append $(lib-names-h-abi) and
14238         $(lib-names-stmp-abi).
14239         * scripts/lib-names.awk: Do not handle multi being set.
14240         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14241         Remove variable.
14242         (abi-lp64_be-ld-soname): Likewise.
14243         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14244         Likewise.
14245         (abi-hard-ld-soname): Likewise.
14246         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14247         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14248         Remove variable.
14249         (abi-o32_hard-ld-soname): Likewise.
14250         (abi-o32_soft_2008-ld-soname): Likewise.
14251         (abi-o32_hard_2008-ld-soname): Likewise.
14252         (abi-n32_soft-ld-soname): Likewise.
14253         (abi-n32_hard-ld-soname): Likewise.
14254         (abi-n32_soft_2008-ld-soname): Likewise.
14255         (abi-n32_hard_2008-ld-soname): Likewise.
14256         (abi-n64_soft-ld-soname): Likewise.
14257         (abi-n64_hard-ld-soname): Likewise.
14258         (abi-n64_soft_2008-ld-soname): Likewise.
14259         (abi-n64_hard_2008-ld-soname): Likewise.
14260         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14261         Likewise.
14262         (abi-64-v2-ld-soname): Likewise.
14263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14264         ld.so entries.
14265         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14266         variable.
14267         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14268         entry.
14269         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14270         variable.
14271         (abi-64-ld-soname): Likewise.
14272         (abi-x32-ld-soname): Likewise.
14273         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14274         entry.
14275         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14277 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14279         [BZ #14138]
14280         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14281         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14282         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14283         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14284         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14285         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14286         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14287         syscall entry for GLIBC_2.2 symbol version.
14288         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14289         Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14291         (setrlimit): Likewise.
14292         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14293         Likewise.
14295 2014-09-23  Will Newton  <will.newton@linaro.org>
14297         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14298         _LINUX_ARM_SYSDEP_H include guard too.
14299         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14300         define.
14302 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14304         * sysdeps/unix/sysv/linux/eventfd.c:
14305         Make first argument unsigned.
14306         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14307         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14309 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14311         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14312         * socket/sys/socket.h: Likewise
14313         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14315 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14317         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14319 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14321         * time/tst-ftime.c: New test.
14322         * time/Makefile (tests): Add tst-ftime.
14324 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14326         * soft-fp/extended.h: Fix comment formatting.
14327         * soft-fp/op-1.h: Likewise.
14328         * soft-fp/op-2.h: Likewise.
14329         * soft-fp/op-4.h: Likewise.
14330         * soft-fp/op-8.h: Likewise.
14331         * soft-fp/op-common.h: Likewise.
14332         * soft-fp/soft-fp.h: Likewise.
14334         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14336 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14338         [BZ #6652]
14339         * Makeconfig (soversions-default-setname): Remove variable.
14340         ($(common-objpfx)soversions.i): Don't pass default_setname to
14341         soversions.awk.
14342         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14343         oldest_abi to abi-versions.awk.
14344         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14345         * config.make.in (oldest-abi): Remove variable.
14346         * configure.ac (--enable-oldest-abi): Remove configure option.
14347         * configure: Regenerated.
14348         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14349         text.
14350         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14351         * scripts/soversions.awk: Do not handle default_setname variable.
14352         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14353         variable.
14354         * sysdeps/mach/hurd/configure: Regenerated.
14355         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14356         variable.
14357         * sysdeps/unix/sysv/linux/configure: Regenerated.
14359 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14361         * elf/Makefile (CFLAGS-interp.c): Remove.
14362         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14363         path string.
14364         * elf/interp.c: Include generated runtime-linker.h
14366         * Makerules (lib%.so): Don't include $(+interp) in
14367         prerequisites.
14368         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14369         * dlfcn/eval.c: Remove file.
14371         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14372         macros.
14374         [BZ #17266]
14375         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14376         4.2 and newer.
14378         [BZ #17370]
14379         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14381 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14382             Jakub Jelinek  <jakub@redhat.com>
14384         [BZ #17266]
14385         * libio/stdio.h: Check definition of __fortify_function
14386         instead of __extern_always_inline to include bits/stdio2.h.
14387         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14388         check if __extern_always_inline is defined.
14389         [__USE_MISC || __USE_XOPEN]: Likewise.
14390         [__USE_ISOC99] Likewise.
14391         * misc/sys/cdefs.h (__fortify_function): Define only if
14392         __extern_always_inline is defined.
14393         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14394         __extern_always_inline and __extern_inline only for g++-4.3
14395         and newer or a compatible gcc.
14397 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14399         [BZ #17371]
14400         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14401         last change to handle zero prefix length.
14403 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14405         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14406         _SC_REGEX_VERSION.
14408         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14409         _POSIX_RAW_SOCKETS.
14411 2014-09-13  Allan McRae  <allan@archlinux.org>
14413         * po/ru.po: Update Russian translation from translation project.
14415 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14417         * locale/programs/locale.c (show_locale_vars): Inline local function
14418         into its sole call site.  Clean up some style nits.
14419         (print_item): New function, broken out of ...
14420         (show_info): ... local function here.  Clean up style nits.
14422         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14423         out of ...
14424         (set_class_defaults): ... local function set_default here.
14425         Define set_default as a macro locally to pass constant parameters.
14426         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14427         rather than a shared local.
14429         * stdlib/rpmatch.c (try): New function, broken out of ...
14430         (rpmatch): ... local function here.  Also, prototypify definition.
14432 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14434         * scripts/soversions.awk: Do not handle configuration names.
14435         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14436         vendor and os variables to soversions.awk.
14437         * configure.ac: Do not modify gnu-* host_os.
14438         * configure: Regenerated
14439         * shlib-versions: Remove first column with configuration names.
14440         * nptl/shlib-versions: Likewise.
14441         * nptl_db/shlib-versions: Likewise.
14442         * sysdeps/hppa/shlib-versions: Likewise.
14443         * sysdeps/m68k/shlib-versions: Likewise.
14444         * sysdeps/mach/hurd/shlib-versions: Likewise.
14445         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14446         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14447         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14448         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14449         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14450         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14451         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14452         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14454         Likewise.
14455         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14456         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14457         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14458         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14459         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14460         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14461         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14462         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14465         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14467         Regenerated.
14468         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14470         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14472         * shlib-versions: Remove OS-specific entries.  Moved to files in
14473         sysdeps.
14474         * sysdeps/mach/hurd/shlib-versions: New file.
14475         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14477         * nptl/shlib-versions: Remove architecture-specific entries.
14478         Moved to files in sysdeps.
14479         * shlib-versions: Likewise.
14480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14481         file.
14482         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14483         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14484         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14485         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14487         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14488         (UDP_NO_CHECK6_RX): Likewise.
14490 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14492         * sysdeps/posix/sysconf.c (__sysconf): Spell
14493         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14495 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14497         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14498         loading.
14499         * iconv/Versions (__gconv_transliterate): Export for use from
14500         gconv modules.
14501         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14502         (struct __gconv_trans_data, __gconv_trans_fct,
14503         __gconv_trans_context_fct, __gconv_trans_query_fct,
14504         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14505         definitions.
14506         (struct __gconv_step_data): Remove __trans member.
14507         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14508         longer hidden.  Remove unused trans_data argument.
14509         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14510         (__gconv_translit_find): Remove declaration.
14511         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14512         prototype.
14513         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14514         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14515         trans_data argument.  Add hidden definition.
14516         (__gconv_translit_find): Remove.
14517         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14518         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14519         * iconv/skeleton.c: Remove transliteration initialization.
14520         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14521         __gconv_step_data initialization.
14522         * libio/iofwide.c (__libio_translit_): Remove.
14523         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14524         * wcsmbs/btowc.c (__btowc): Likewise.
14525         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14526         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14527         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14528         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14529         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14530         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14531         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14532         * wcsmbs/wctob.c (wctob): Likewise.
14534 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14536         [BZ #16194]
14537         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14538         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14539         register usage.
14540         * sysdeps/x86/Makefile: Adjust.
14542 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14543             Roland McGrath  <roland@hack.frob.com>
14545         * locale/weight.h: Add include guard.
14546         (findidx): Make static rather than auto; take new parameters
14547         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14548         * locale/weightwc.h: Likewise.
14549         * posix/fnmatch_loop.c
14550         (FCT): Change type of EXTRA from int32_t to wint_t.
14551         Don't include either header inside the function.
14552         Call FINDIDX rather than findidx, and pass new arguments.
14553         #undef FINDIDX at the end of the file.
14554         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14555         FINDIDX before including fnmatch_loop.c for the non-wide version.
14556         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14557         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14558         for the wide version.
14559         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14560         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14561         Pass new arguments to findidx.
14562         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14563         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14564         Don't #include it inside the function.  Pass new arguments to findidx.
14565         * posix/regex_internal.h
14566         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14567         (re_string_elem_size_at): Don't #include it inside the function.
14568         Pass new arguments to findidx.
14569         * string/strcoll_l.c: #include WEIGHT_H at top level.
14570         (get_next_seq): Don't #include it inside the function.
14571         Pass new arguments to findidx.
14572         (get_next_seq_nocache): Likewise.
14573         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14574         (STRXFRM): Don't #include it inside the function.
14575         Pass new arguments to findidx.
14577 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14579         [BZ #17344]
14580         * malloc/malloc.c (unlink): Turn asserts into a call to
14581         malloc_printerr.
14583 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14585         [BZ #17370]
14586         * libio/wfileops (do_ftell_wide): Free OUT.
14588 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14590         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14592 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14594         [BZ #17363]
14595         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14596         group if the current group is empty.
14598 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14600         * benchtests/bench-memset.c (test_main): Add more test from size
14601         from 32 to 512 bytes.
14602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14603         Add POWER8 memset object.
14604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14605         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14606         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14607         implementation.
14608         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14609         Likewise.
14610         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14611         multiarch POWER8 memset optimization.
14612         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14613         POWER8 memset optimization.
14615         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14616         Remove bzero multiarch objects.
14617         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14618         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14619         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14620         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14621         Remove define.
14622         [__bzero]: Redefine to specific name.
14623         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14624         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14625         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14626         define.
14627         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14628         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14630 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14632         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14633         warnings into errors.
14635         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14636         __cxa_thread_atexit_impl prototype.
14638 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14640         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14641         Fix capitalization of error message.
14643 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14645         * sysdeps/mips/preconfigure: Modify ABI tests.
14647 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14649         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14651 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14652             Carlos O'Donell  <carlos@systemhalted.org>
14654         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14655         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14656         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14657         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14658         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14659         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14660         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14661         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14662         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14663         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14664         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14665         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14666         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14667         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14668         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14669         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14670         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14671         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14672         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14675         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14676         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14677         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14678         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14679         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14680         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14681         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14682         Deconditionalize the code that was previously under [RESET_PID].
14683         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14684         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14685         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14686         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14687         include sysdep.h.
14689 2014-09-08  Allan McRae  <allan@archlinux.org>
14691         * version.h (RELEASE): Set to "development".
14692         (VERSION): Set to "2.20.90"
14694 2014-09-07  Allan McRae  <allan@archlinux.org
14696         * version.h (RELEASE): Set to "stable".
14697         (VERSION): Set to "2.20"
14698         * include/features.h (__GLIBC_MINOR__): Set to 20.
14700         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14701         Liebler.
14703         * po/ko.po: Update Korean translation from translation project.
14705 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14707         [BZ #17354]
14708         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14709         macro for handling signed relocations.
14711 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14713         [BZ #17325]
14714         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14715         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14716         assert.
14717         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14718         * iconvdata/ibm935.c (BODY): Likewise.
14719         * iconvdata/ibm937.c (BODY): Likewise.
14720         * iconvdata/ibm939.c (BODY): Likewise.
14721         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14722         assert.
14723         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14724         script.
14725         * iconvdata/run-iconv-test.sh: New test loop for checking for
14726         decoder crashers.
14728 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14730         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14731         libm_hidden_ver.
14733 2014-09-01  Allan McRae  <allan@archlinux.org>
14735         * po/eo.po: Update Esperanto translation from translation project.
14737         * po/ca.po: Update Catalan translation from translation project.
14739 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14741         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14742         __proc_dostop call.
14744 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14746         [BZ #17319]
14747         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14748         to call set_thread_area instead of hand written asm.
14749         (__NR_set_thread_area): Removed define.
14750         (TLS_FLAG_WRITABLE): Likewise.
14751         (__ASSUME_SET_THREAD_AREA): Remove check.
14752         (TLS_EBX_ARG): Remove define.
14753         (TLS_LOAD_EBX): Likewise.
14755 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14757         Simplify atomicity of socket creation in bind.
14759         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14760         looking up the name after linking the file.
14762 2014-08-27  Allan McRae  <allan@archlinux.org>
14764         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14766 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14768         [BZ #17187]
14769         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14770         trans_compare, open_translit, __gconv_translit_find):
14771         Remove module loading code.
14773 2014-08-26  Allan McRae  <allan@archlinux.org>
14775         * po/vi.po: Update Vietnamese translation from translation project.
14777         * po/uk.po: Update Ukrainian translation from translation project.
14779         * po/fr.po: Update French translation from translation project.
14781         * po/ru.po: Update Russian translation from translation project.
14783         * po/pl.po: Update Polish translation from translation project.
14785         * po/cs.po: Update Czech translation from translation project.
14787         * po/de.po: Update German translation from translation project.
14789         * po/bg.po: Update Bulgarian translation from translation project.
14791         * po/sv.po: Update Sweedish translation from translation project.
14793         * po/nl.po: Update Dutch translation from translation project.
14795         * po/es.po: Update Spanish translation from translation project.
14797 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14799         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14801         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14802         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14803         (CPPFLAGS-iconvconfig): Likewise.
14804         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14806         * include/libc-symbols.h: Remove unnecessary check for
14807         NOT_IN_libc.
14808         * nptl/pthreadP.h: Likewise.
14809         * sysdeps/aarch64/setjmp.S: Likewise.
14810         * sysdeps/alpha/setjmp.S: Likewise.
14811         * sysdeps/arm/sysdep.h: Likewise.
14812         * sysdeps/i386/setjmp.S: Likewise.
14813         * sysdeps/m68k/setjmp.c: Likewise.
14814         * sysdeps/posix/getcwd.c: Likewise.
14815         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14816         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14817         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14818         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14819         * sysdeps/sh/sh3/setjmp.S: Likewise.
14820         * sysdeps/sh/sh4/setjmp.S: Likewise.
14821         * sysdeps/unix/alpha/sysdep.h: Likewise.
14822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14823         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14824         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14825         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14829         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14830         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14833         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14835         * sysdeps/x86_64/setjmp.S: Likewise.
14837 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14839         [BZ #17263]
14840         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14841         <stdint.h>.
14842         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14843         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14845 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14847         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14849         [BZ #17262]
14850         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14851         and __x86_64__ when disabling x87 inline functions.
14853 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14855         [BZ #17259]
14856         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14857         asm statement with __cpuid_count.
14859 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14861         * configure.ac: Change __ehdr_start code to dereference the struct.
14862         Run readelf on the output to look for relocations.
14863         * configure: Regenerated.
14865 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14867         [BZ #17261]
14868         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14869         value to 0.
14870         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14872 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14874         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14876 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14878         [BZ #16892]
14879         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14880         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14882 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14884         * malloc/malloc.c: Fix typo in comment.
14886 2014-08-09  Allan McRae  <allan@archlinux.org>
14888         * Regenerate libc.po.
14890 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14892         * intl/tst-gettext2.sh: Check every lang file for creation.
14894 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14896         * sysdeps/aarch64/fpu/math_private.h
14897         (libc_feholdsetround_noex_aarch64_ctx): New function.
14899 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14901         * sysdeps/arm/armv6/strcpy.S (strcpy):
14902         Fix performance issue in misaligned cases.
14904 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14906         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14907         Move definition from termios.h.
14908         (struct termio): Likewise.
14909         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14910         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14911         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14912         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14913         Likewise.
14914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14915         Move definition to ioctl-types.h
14916         (struct termio): Likewise.
14917         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14918         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14919         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14920         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14921         Likewise.
14923 2014-08-05  Richard Henderson  <rth@redhat.com>
14925         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14926         exceptions.
14927         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14928         Add fraiseexcpt.
14929         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14930         Use __feraiseexcept.
14931         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14932         Protect libm symbols with IS_IN_libm.
14934         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14936 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14938         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14940 2014-08-04  Will Newton  <will.newton@linaro.org>
14942         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14943         file.
14945 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14947         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14948         variants for each function.
14950 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14952         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14953         appended ...
14954         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14955         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14956         appended ...
14957         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14958         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14959         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14960         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14961         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14962         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14963         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14964         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14965         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14966         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14967         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14968         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14969         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14970         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14971         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14972         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14973         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14974         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14975         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14976         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14977         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14978         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14979         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14980         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14981         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14982         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14983         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14984         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14985         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14986         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14987         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14988         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14989         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14990         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14991         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14992         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14993         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14994         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14995         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14996         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14997         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14998         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14999         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15000         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15001         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15002         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15003         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15005         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15006         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15007         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15008         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15009         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15010         Update #include.
15011         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15012         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15014 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15016         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15017         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15018         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15019         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15020         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15021         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15023 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15025         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15026         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15027         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15028         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15030 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15032         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15033         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15034         (__libc_vfork): Define function under this name.
15035         (__vfork): Define as an alias.
15036         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15037         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15039 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15041         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15042         that was previously under [RESET_PID].
15043         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15045 2014-08-04  Andreas Schwab  <schwab@suse.de>
15047         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15049 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
15051         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15052         (main): Likewise.
15054 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15056         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15058 2014-08-01  Richard Henderon  <rth@redhat.com>
15060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15061         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15062         typo in exact zero test.
15063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15064         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15065         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15067 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15069         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15070         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15071         * sysdeps/arm/sysdep.h: ... here.
15072         [!__ASSEMBLER__]: Include <stdint.h>.
15074 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15076         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15077         (HAVE_WCTYPE_H): Likewise.
15078         (HAVE_ISWCTYPE): Likewise.
15079         (ENABLE_NLS): Likewise.
15080         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15081         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15083         * posix/regex_internal.c: Check if DEBUG is defined and is
15084         set.
15086         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15087         (HAVE_MBSRTOWCS): Likewise.
15088         * posix/fnmatch.c: Include string.h unconditionally.
15090 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15092         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15093         reversal.
15095 2014-07-31  Roland McGrath  <roland@hack.frob.com>
15097         * sysdeps/generic/safe-fatal.h: New file.
15098         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15099         * nptl/forward.c: Include it.
15100         (__pthread_unwind): Use __safe_fatal as default action, rather
15101         than a bogus use of INTERNAL_SYSCALL that could never work.
15103         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15104         * configure.ac (libc_cv_builtin_trap): New test.
15105         * configure: Regenerated.
15106         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15107         (ABORT_INSTRUCTION): Define using __builtin_trap.
15109         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15110         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15111         * sysdeps/nptl/nptl-signals.h: New file.
15112         * nptl/pthreadP.h: Include <nptl-signals.h>.
15114 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15116         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15117         (ONE_DIRECTION): Define.
15118         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15119         (ONE_DIRECTION): Define.
15120         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15121         (ONE_DIRECTION): Define.
15123 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15125         * sysdeps/s390/Makefile: Delete file.
15126         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15127         * sysdeps/s390/__longjmp.c: Delete file.
15128         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15129         Remove fields __flags and __reserved.
15130         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15131         and add versioning.
15132         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15133         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15134         * sysdeps/s390/rtld-setjmp.S: Likewise.
15135         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15136         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15137         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15138         * sysdeps/s390/s390-32/setjmp.S: ... here.
15139         Add versioning.
15140         (__sigsetjmp): Remove setting __flags field.
15141         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15142         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15143         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15144         * sysdeps/s390/s390-64/setjmp.S: ... here.
15145         Add versioning.
15146         (__sigsetjmp): Remove setting __flags field.
15147         * sysdeps/s390/setjmp.S: Delete file.
15148         * sysdeps/s390/sigjmp.c: Likewise.
15149         * sysdeps/s390/v1-longjmp.c: Likewise.
15150         * sysdeps/s390/v1-setjmp.h: Likewise.
15151         * sysdeps/s390/v1-sigjmp.c: Likewise.
15152         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15153         Remove v1-longjmp_chk.
15154         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15155         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15156         Include debug/longjmp_chk.c and add versioning.
15157         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15158         Include nptl/pt-longjmp.c and add versioning.
15159         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15160         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15161         Include __longjmp.c.
15162         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15163         Move to ...
15164         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15165         (__getcontext): Remove setting __flags field.
15166         Add versioning.
15167         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15168         Don't restore upper high grps.
15169         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15170         Likewise.
15171         (__swapcontext): Remove setting uc_flags field.
15172         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15173         Delete file.
15174         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15175         Include __longjmp.c.
15176         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15177         Move to ...
15178         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15179         (__getcontext): Remove setting __flags field.
15180         Add versioning.
15181         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15182         (__swapcontext): Remove setting uc_flags field.
15183         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15184         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15185         Remove fields uc_high_gprs and __reserved.
15186         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15187         New file with reverted content.
15188         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15189         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15190         Regenerated.
15191         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15192         Regenerated.
15194 2014-07-31  Andreas Schwab  <schwab@suse.de>
15196         * config.h.in (HAVE_IFUNC): Define to 0.
15197         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15198         definedness.
15200 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15203         memmove-avx-unaligned, memcpy-avx-unaligned and
15204         mempcpy-avx-unaligned.
15205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15206         Add tests for AVX memcpy functions.
15207         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15208         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15209         memcpy_chk.
15210         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15211         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15212         memmove_chk.
15213         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15214         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15215         mempcpy_chk.
15216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15217         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15218         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15220 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15222         [BZ #17213]
15223         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15224         powerpc64le.
15226 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15228         [BZ #16839]
15229         * manual/llio.texi: Add section about open file description locks.
15230         * manual/examples/ofdlocks.c: Example of open file description
15231         lock usage.
15232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15233         F_OFD_SETLK, and F_OFD_SETLKW.
15235 2014-07-23  Allan McRae  <allan@archlinux.org>
15237         * po/es.po: Update Spanish translation from translation project.
15239 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15241         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15243 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15245         [BZ #17078]
15246         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15247         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15248         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15250 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15252         [BZ #17088]
15253         * math/fesetenv.c (__fesetenv)
15254         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15255         * math/feupdateenv.c (__feupdateenv)
15256         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15258         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15259         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15260         (__ASSUME_SOCKETCALL): Do not define.
15262         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15263         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15264         (__ASSUME_SOCKETCALL): Do not define.
15265         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15266         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15267         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15268         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15269         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15270         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15271         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15272         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15274         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15275         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15276         (__ASSUME_SOCKETCALL): Do not define.
15277         (__ASSUME_IPC64): Define unconditionally.
15278         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15279         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15280         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15281         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15282         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15283         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15284         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15285         Likewise.
15287         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15288         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15289         (__ASSUME_SOCKETCALL): Do not define.
15290         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15291         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15292         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15293         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15294         (__ASSUME_REQUEUE_PI): Define unconditionally.
15295         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15296         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15297         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15298         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15299         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15300         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15302         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15303         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15304         (__ASSUME_SOCKETCALL): Do not define.
15305         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15307         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15308         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15310         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15312         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15313         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15314         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15315         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15317         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15318         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15319         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15320         (__ASSUME_GETCPU_SYSCALL): Likewise.
15322         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15323         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15324         cases for individual architectures.
15325         * sysdeps/gnu/configure: Regenerated.
15326         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15327         LIBC_SLIBDIR_RTLDDIR.
15328         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15329         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15330         LIBC_SLIBDIR_RTLDDIR.
15331         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15333         LIBC_SLIBDIR_RTLDDIR.
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15335         Regenerated.
15336         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15337         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15338         file.
15339         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15340         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15341         file.
15342         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15343         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15344         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15345         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15347         * sysdeps/aarch64/shlib-versions: Move to ...
15348         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15349         * sysdeps/alpha/shlib-versions: Move to ...
15350         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15351         * sysdeps/arm/shlib-versions: Move to ...
15352         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15353         * sysdeps/hppa/shlib-versions: Move all contents except for
15354         libgcc_s entry to ...
15355         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15356         entry from ...
15357         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15358         * sysdeps/ia64/shlib-versions: Move to ...
15359         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15360         entry from ...
15361         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15362         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15363         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15364         * sysdeps/microblaze/shlib-versions: Move to ...
15365         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15366         * sysdeps/mips/shlib-versions: Move to ...
15367         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15368         entry from ...
15369         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15370         * sysdeps/tile/shlib-versions: Move to ...
15371         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15372         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15373         from ...
15374         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15375         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15376         entry from ...
15377         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15379 2014-07-17  Will Newton  <will.newton@linaro.org>
15381         * sysdeps/arm/bits/atomic.h
15382         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15383         (__arch_compare_and_exchange_bool_16_int): Likewise.
15384         (__arch_compare_and_exchange_bool_64_int): Likewise.
15386         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15387         into an #else block.
15389 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15391         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15392         just Linux configurations.  Test empirically that the compiler sets
15393         __ARM_EABI__, rather than using the tuple to decide.
15394         * sysdeps/arm/preconfigure: Regenerated.
15395         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15396         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15397         contents appended ...
15398         * sysdeps/arm/configure.ac: ... here.
15399         * sysdeps/arm/configure: Regenerated.
15401 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15403         * nptl/pthread_kill.c: New file.
15404         * nptl/pthread_sigmask.c: New file.
15405         * nptl/pthread_sigqueue.c: New file.
15407         * sysdeps/nptl/lowlevellock.h: New file.
15408         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15409         * sysdeps/nptl/lowlevellock-futex.h: New file.
15411         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15412         Remove dead declarations.
15414 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15416         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15417         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15418         config-cflags-avx2.
15419         * sysdeps/x86_64/configure.ac: Likewise.
15420         * sysdeps/i386/configure: Regenerated.
15421         * sysdeps/x86_64/configure: Likewise.
15422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15423         memset-avx2 only if config-cflags-avx2 is yes.
15424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15425         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15426         defined.
15427         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15428         only if HAVE_AVX2_SUPPORT is defined.
15429         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15431 2014-07-14  Alan Modra  <amodra@gmail.com>
15433         [BZ #17153]
15434         * elf/elf.h (DT_PPC64_NUM): Correct value.
15435         * NEWS: Add to fixed bug list.
15437 2014-07-13  Jim Meyering  <meyering@fb.com>
15439         [BZ 17150]
15440         regex: don't deref NULL upon heap allocation failure
15441         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15442         failure in one more place.
15443         To trigger the segfault, configure grep -with-included-regex,
15444         build it, and run these commands:
15445         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15447 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15449         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15451 2014-07-11  Richard Henderson  <rth@redhat.com>
15453         * sysdeps/aarch64/libm-test-ulps: Update.
15455 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15457         [BZ #17135]
15458         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15459         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15460         (__nptl_setxid): Initialize error member.  Call
15461         __nptl_setxid_error.
15462         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15463         * nptl/descr.h (struct xid_command): Add error member.
15464         * nptl/tst-setuid3.c: New file.
15465         * nptl/Makefile (tests): Add it.
15467 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15469         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15470         New define.
15471         (__lll_trylock): Use __lll_base_trylock.
15472         (__lll_cond_trylock): Likewise.
15474 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15476         * nptl/pthread_create.c (start_thread): Use atomic_or and
15477         lll_futex_wake directly rather than lll_robust_dead.
15478         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15479         (lll_robust_dead): Macro removed.
15480         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15481         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15482         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15483         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15484         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15485         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15486         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15487         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15488         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15489         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15490         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15491         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15492         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15493         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15496         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15497         Use atomic_compare_and_exchange_val_acq directly rather than
15498         lll_robust_trylock.
15499         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15500         (__lll_robust_trylock, lll_robust_trylock): Removed.
15501         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15502         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15503         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15504         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15505         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15506         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15507         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15508         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15509         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15510         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15511         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15512         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15513         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15514         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15516 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15518         * manual/locale.texi (Locale Names): New section documenting
15519         locale name syntax.  Adjust menu and node chaining accordingly.
15520         (Choosing Locale): Reference Locale Names, Locale Categories.
15521         Mention setting LC_ALL=C.  Reflect that name syntax is now
15522         documented.
15523         (Locale Categories): New section title.  Reference Locale Names.
15524         LC_ALL is an environment variable, but not a category.
15525         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15526         description, now in Locale Name.  Reference that section.  Locale
15527         name syntax is now documented.
15529 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15531         [BZ #17137]
15532         * locale/findlocale.c (name_present, valid_locale_name): New
15533         functions.
15534         (_nl_find_locale): Use the loc_name variable to store name
15535         candidates.  Call name_present and valid_locale_name to check and
15536         validate locale names.  Return an error if the locale is invalid.
15538 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15540         * locale/setlocale.c (setlocale): Use strdup for allocating
15541         composite name copy.
15543 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15545         Sync up with gnulib.
15546         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15547         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15548         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15549         and _GL_ARG_NONNULL.
15550         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15551         [!_LIBC]: Include code for Windows and Cygwin.
15552         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15553         Include prototype for int strerror_r.
15554         [!_LIBC] (is_open): New function.
15555         (flush_stdout): New function.
15556         (print_errno_message): Use it.
15557         (error): Likewise.
15558         (error_at_line): Likewise.
15559         (error_tail) Add function attribute macros.  Use
15560         __builtin_expect.
15562         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15564         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15566         * io/ftw.c: Include sys/param.h unconditionally.
15568         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15570         [BZ #17125]
15571         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15572         libc_freeres_ptr.
15573         (freecache): New function to free CACHE on exit.
15575         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15576         initialization.
15578 2014-07-09  David S. Miller  <davem@davemloft.net>
15580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15582         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15583         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15584         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15585         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15586         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15587         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15588         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15589         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15590         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15591         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15592         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15593         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15594         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15596 2014-07-09  Andreas Schwab  <schwab@suse.de>
15598         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15599         output.
15600         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15601         (do_test): Likewise.
15603         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15605 2014-07-09  Will Newton  <will.newton@linaro.org>
15607         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15608         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15609         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15610         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15611         * sysdeps/hppa/start.S (_start): Likewise.
15613 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15615         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15617         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15618         defined.
15620 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15622         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15623         after checking that it is non-NULL.
15625         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15627 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15629         * sysdeps/powerpc/memmove.c: Remove file.
15630         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15631         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15632         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15633         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15634         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15635         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15636         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15637         string memmove instead of removed powerpc one.
15639         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15640         [weak_alias]: Fix compiler warning due trailing data.
15641         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15642         [weak_alias]: Likewise.
15643         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15644         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15646         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15647         (__libc_ifunc_impl_list): Add memmove functions.
15649 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15651         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15652         Remove code.
15653         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15654         Likewise
15655         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15656         Likewise
15657         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15658         Likewise
15659         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15660         Likewise
15661         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15662         Likewise
15663         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15664         Likewise
15665         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15666         Likewise
15667         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15668         Likewise
15669         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15670         Likewise
15671         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15672         Likewise
15673         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15674         Likewise
15675         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15676         Likewise
15677         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15678         Likewise
15679         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15680         Likewise
15681         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15682         Likewise
15683         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15684         Likewise
15686 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15688         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15689         to avoid alignment traps in non-cacheable memory.
15690         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15693         multiarch objects.
15694         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15695         file: multiarch power7 memmove.
15696         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15697         multiarch default memmove.
15698         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15699         multiarch memove for powerpc32/power4.
15701         * string/bcopy.c: Use full path to include memmove.c.
15702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15703         multiarch objects.
15704         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15705         bcopy for powerpc64.
15706         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15707         bcopy for powerpc64.
15708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15709         and memmove implementations.
15710         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15711         optimized multiarch memmove for POWER7/powerpc64.
15712         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15713         default multiarch memmove for powerpc64.
15714         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15715         multiarch for powerpc64.
15716         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15717         for POWER7/powerpc64.
15718         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15719         memmove for POWER7/powerpc64.
15721         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15722         glibc default one.
15724         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15725         __ELF_NATIVE_CLASS equal to 64.
15727 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15729         * sysdeps/nptl/lowlevellock.h: File removed.
15731         * NEWS: NPTL is no longer an add-on!
15732         * nptl/internaltypes.h: Moved ...
15733         * sysdeps/nptl/internaltypes.h: ... here.
15734         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15735         * sysdeps/nptl/fork.c: Likewise.
15736         * sysdeps/nptl/gai_misc.h: Likewise.
15737         * sysdeps/nptl/librt-cancellation.c: Likewise.
15738         * sysdeps/nptl/jmp-unwind.c: Likewise.
15739         * sysdeps/nptl/setxid.h: Likewise.
15740         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15741         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15742         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15743         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15744         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15745         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15746         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15747         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15748         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15749         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15750         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15751         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15752         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15753         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15754         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15755         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15756         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15757         * nptl/Makeconfig: Moved ...
15758         * sysdeps/nptl/Makeconfig: ... here.
15759         * nptl/configure: File removed.
15760         * nptl/ANNOUNCE: File removed.
15761         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15762         * sysdeps/unix/sysv/linux/configure: Regenerated.
15764         * nptl/Makefile (routines): Add libc_pthread_init,
15765         libc_multiple_threads, register-atfork and unregister-atfork.
15766         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15767         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15768         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15769         pthread-pi-defines.sym, structsem.sym.
15770         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15771         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15772         [$(subdir) = nptl] (tests): Add tst-setgetname.
15773         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15774         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15775         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15776         [!LIBC_SIGACTION]: Remove aliases.
15777         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15778         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15779         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15780         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15781         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15782         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15783         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15785         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15786         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15787         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15788         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15789         __libc_allocate_rtsig_private.
15790         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15791         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15792         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15793         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15794         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15795         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15796         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15797         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15798         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15799         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15800         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15801         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15802         * nptl/internaltypes.h: ... here.
15803         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15804         * sysdeps/nptl/jmp-unwind.c: ... here.
15805         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15806         * nptl/libc-lowlevellock.c: ... here.
15807         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15808         * nptl/libc_multiple_threads.c: ... here.
15809         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15810         * nptl/libc_pthread_init.c: ... here.
15811         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15812         * nptl/lowlevelbarrier.sym: ... here.
15813         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15814         * nptl/lowlevelcond.sym: ... here.
15815         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15816         * nptl/lowlevellock.c: ... here.
15817         * nptl/lowlevellock.h: Moved ...
15818         * sysdeps/nptl/lowlevellock.h: ... here.
15819         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15820         * nptl/lowlevelrobustlock.c: ... here.
15821         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15822         * nptl/lowlevelrobustlock.sym: ... here.
15823         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15824         * nptl/lowlevelrwlock.sym: ... here.
15825         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15826         * nptl/pt-fork.c: ... here.
15827         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15828         * nptl/pthread-pi-defines.sym: ... here.
15829         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15830         * nptl/pthread_attr_getaffinity.c: ... here.
15831         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15832         * nptl/pthread_attr_setaffinity.c: ... here.
15833         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15834         * nptl/pthread_mutex_cond_lock.c: ... here.
15835         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15836         Update #include.
15837         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15838         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15839         * nptl/pthread_once.c: ... here, replacing old file.
15840         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15841         * nptl/pthread_yield.c: ... here.
15842         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15843         * nptl/register-atfork.c: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15845         * nptl/sem_post.c: ... here.
15846         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15847         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15848         * nptl/sem_timedwait.c: ... here.
15849         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15850         * nptl/sem_trywait.c: ... here.
15851         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15852         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15853         * nptl/sem_wait.c: ... here.
15854         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15855         * nptl/structsem.sym: ... here.
15856         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15857         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15858         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15859         * nptl/unregister-atfork.c: ... here.
15860         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15861         * nptl/unwindbuf.sym: ... here.
15862         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15863         * sysdeps/nptl/fork.c: ... here.
15864         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15865         * sysdeps/nptl/fork.h: ... here.
15866         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15867         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15868         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15869         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15870         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15871         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15872         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15873         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15874         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15875         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15876         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15877         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15878         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15879         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15880         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15881         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15882         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15883         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15884         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15885         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15886         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15887         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15888         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15890         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15891         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15892         * sysdeps/unix/sysv/linux/raise.c: ... here.
15893         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15894         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15896         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15897         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15898         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15899         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15900         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15901         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15902         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15903         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15904         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15905         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15906         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15907         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15909 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15911         * sysdeps/generic/memcopy.h: Add comment for
15912         MEMCPY_OK_FOR_FWD_MEMMOVE.
15914 2014-07-04  Will Newton  <will.newton@linaro.org>
15916         * string/memchr.c: Merge from gnulib.
15917         [_LIBC]: Remove conditionals.
15918         (__ptr_t): Remove define.
15919         (LONG_MAX_32_BITS): Likewise.
15920         (LONG_MAX): Likewise.
15921         (MEMCHR): Use ANSI prototype and optimize algorithm.
15923         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15925 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15927         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15928         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15930         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15931         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15932         in a bare environment with no <stdlib.h> installed.
15933         * sysdeps/nptl/configure: Regenerated.
15935         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15937         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15938         AC_EGREP_CPP for kernel header checks, so they only succeed if
15939         including <linux/version.h> actually works right.
15940         * sysdeps/unix/sysv/linux/configure: Regenerated.
15942         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15943         value so it's not diagnosed as unused.
15945         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15946         thing) with "ifeq ($(subdir),rt)".
15948 2014-07-03  Richard Henderson  <rth@redhat.com>
15950         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15951         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15952         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15954         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15955         (math_force_eval): New.
15957         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15958         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15960         * sysdeps/alpha/fpu/s_round.c: Remove file.
15961         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15963         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15964         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15965         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15966         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15967         (_dl_start, print_statistics): Likewise.
15968         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15969         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15971         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15972         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15973         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15974         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15975         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15976         (HP_SMALL_TIMING_AVAIL): Define.
15977         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15978         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15979         (HP_SMALL_TIMING_AVAIL): Define.
15980         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15981         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15983         * sysdeps/aarch64/hp-timing.h: New file.
15985         * sysdeps/generic/hp-timing.h: Remove dead comment.
15986         * sysdeps/generic/hp-timing-common.h: New file.
15987         * sysdeps/alpha/hp-timing.h: Include it.
15988         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15989         * sysdeps/i386/i686/hp-timing.h: Likewise.
15990         * sysdeps/ia64/hp-timing.h: Likewise.
15991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15992         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15993         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15994         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15995         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15996         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15997         (hp_timing_t): New.
15999         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16000         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16001         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16002         * elf/rtld.c (_dl_start_final): Likewise.
16003         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16004         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16005         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16006         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16007         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16008         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16009         (HP_TIMING_DIFF_INIT): Remove.
16010         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16011         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16012         (HP_TIMING_DIFF_INIT): Remove.
16013         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16014         * sysdeps/i386/i686/hp-timing.c: Remove file.
16015         * sysdeps/x86_64/hp-timing.c: Remove file.
16016         * sysdeps/ia64/hp-timing.c: Remove file.
16017         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16018         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16019         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16020         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16022         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16023         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16024         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16025         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16026         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16027         (HP_TIMING_ACCUM): Remove.
16028         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16029         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16030         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16032         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16033         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16034         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16035         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16037         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16038         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16039         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16041         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16043 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
16045         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16047 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16049         Sync up with gettext.
16050         * intl/loadmsgcat.c: Define O_BINARY if not defined.
16051         [_MSC_VER]: Include malloc.h
16052         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16053         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16054         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
16055         TEMP_FAILURE_RETRY.  Cast return of alloca.
16056         [!_LIBC] Call gl_rwlock_init.
16057         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16059 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16061         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16062         before checking its value.
16064 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16066         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16068         * debug/memcpy_chk.c: Don't include pagecopy.h.
16069         * debug/mempcpy_chk.c: Likewise.
16070         * string/memcpy.c: Likewise.
16071         * string/memmove.c: Likewise.
16072         * sysdeps/powerpc/memmove.c: Likewise.
16073         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
16074         definition of PAGE_COPY_FWD_MAYBE here...
16075         * sysdeps/generic/pagecopy.h: ... from here.
16076         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16078 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16079             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16081         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16083         optimizations.
16084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16085         (__libc_ifunc_impl_list): Likewise.
16086         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16087         multiarch strcat for PPC64.
16088         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16089         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16091 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16093         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16095 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16097         * intl/loadmsgcat.c: Remove declaration of
16098         get_sysdep_segment_value.
16099         (get_sysdep_segment_value): Use ISO C style.
16100         (_nl_load_domain): Use ISO C style.  Get rid of redundant
16101         semicolon.  Fix typo and formatting in comment.
16102         (_nl_unload_domain): Use ISO C style.
16104         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16106 2014-07-02  Will Newton  <will.newton@linaro.org>
16108         * malloc/obstack.c: Merge from gnulib master.
16109         [HAVE_CONFIG_H]: Remove conditional code.
16110         [!_LIBC]: Include config.h.
16111         [!ELIDE_CODE]: Don't include inttypes.h, include
16112         stdint.h unconditionally.
16113         (print_and_abort): Mark as _Noreturn.
16114         (_obstack_allocated_p): Mark as __attribute_pure__.
16115         (obstack_free): Rename to __obstack_free.
16116         [!__attribute__]: Remove conditional code.
16117         * malloc/obstack.h: Merge from gnulib master.
16118         [__cplusplus]: Move conditional down.
16119         [!__attribute_pure__]: Define __attribute_pure__ here
16120         if it is not already defined.
16121         (_obstack_memory_used): Mark as __attribute_pure__.
16122         [!__obstack_free]: Define as obstack_free.
16123         [__GNUC__]: Remove check for ancient NeXT gcc.
16125 2014-07-02  Will Newton  <will.newton@linaro.org>
16126             Paul Eggert  <eggert@cs.ucla.edu>
16128         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16130 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16132         * resolv/gethnamaddr.c: Add comment warning that the file is
16133         not maintained.
16135 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16137         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16138         entries.
16140         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16141         entry for aio_cancel and aio_cancel64.
16142         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16143         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16144         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16145         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16146         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16147         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16148         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16149         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16150         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16151         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16152         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16153         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16154         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16156 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16158         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16159         * nptl/pthread_mutex_lock.c: Likewise.
16160         * nptl/pthread_mutex_timedlock.c: Likewise.
16161         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16163 2014-07-01  Richard henderson  <rth@redhat.com>
16165         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16166         (__isnan, __isnanl): Remove.
16167         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16169         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16171 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16173         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16175 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16177         * resolv/nss_dns/dns-host.c (getanswer_r)
16178         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16180 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16183         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16184         undefine.
16185         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16186         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16188 2014-07-01  Roland McGrath <roland@hack.frob.com>
16190         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16191         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16193         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16194         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16196         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16197         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16198         ... here.
16199         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16200         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16202         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16203         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16204         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16205         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16207         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16208         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16209         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16210         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16211         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16212         Moved ...
16213         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16214         ... here.
16215         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16216         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16217         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16218         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16219         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16220         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16221         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16222         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16223         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16224         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16225         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16226         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16227         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16228         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16232         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16233         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16234         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16235         ... here.
16236         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16237         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16238         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16239         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16240         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16241         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16242         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16243         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16245 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16247         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16248         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16249         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16250         Add sysdep.
16252 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16256 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16258         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16259         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16261         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16263         * sysdeps/arm/libm-test-ulps: Regenerated.
16265 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16266             Roland McGrath <roland@hack.frob.com>
16268         * test-skeleton.c (signal_handler): Kill the whole process group
16269         before killing the child individually.
16270         (main): Report any failure on `setpgid'.
16272 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16274         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16275         from _TLS_H to _ARM_NPTL_TLS_H.
16276         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16277         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16279 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16281         [BZ #16539]
16282         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16283         (__expm1l): Return argument unchanged when small but not
16284         subnormal.
16286         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16287         include macro name.
16288         (_FP_UNPACK_RAW_1_P): Likewise.
16289         (_FP_PACK_RAW_1): Likewise.
16290         (_FP_PACK_RAW_1_P): Likewise.
16291         (_FP_MUL_MEAT_1_wide): Likewise.
16292         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16293         (_FP_MUL_MEAT_1_hard): Likewise.
16294         (_FP_DIV_MEAT_1_imm): Likewise.
16295         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16296         (_FP_DIV_MEAT_1_udiv): Likewise.
16297         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16298         (_FP_UNPACK_RAW_2): Likewise.
16299         (_FP_UNPACK_RAW_2_P): Likewise.
16300         (_FP_PACK_RAW_2): Likewise.
16301         (_FP_PACK_RAW_2_P): Likewise.
16302         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16303         (_FP_MUL_MEAT_2_wide): Likewise.
16304         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16305         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16306         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16307         (_FP_MUL_MEAT_2_gmp): Likewise.
16308         (_FP_DIV_MEAT_2_udiv): Likewise.
16309         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16310         (_FP_FRAC_SRL_4): Likewise.
16311         (_FP_FRAC_SRST_4): Likewise.
16312         (_FP_FRAC_SRS_4): Likewise.
16313         (_FP_UNPACK_RAW_4): Likewise.
16314         (_FP_UNPACK_RAW_4_P): Likewise.
16315         (_FP_PACK_RAW_4): Likewise.
16316         (_FP_PACK_RAW_4_P): Likewise.
16317         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16318         (_FP_MUL_MEAT_4_wide): Likewise.
16319         (_FP_MUL_MEAT_4_gmp): Likewise.
16320         (umul_ppppmnnn): Likewise.
16321         (_FP_DIV_MEAT_4_udiv): Likewise.
16322         (__FP_FRAC_ADD_4): Likewise.
16323         (__FP_FRAC_SUB_3): Likewise.
16324         (__FP_FRAC_SUB_4): Likewise.
16325         (__FP_FRAC_DEC_3): Likewise.
16326         (__FP_FRAC_DEC_4): Likewise.
16327         (__FP_FRAC_ADDI_4): Likewise.
16328         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16329         (_FP_FRAC_SRL_8): Likewise.
16330         (_FP_FRAC_SRS_8): Likewise.
16332         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16333         include macro name.
16334         (FP_UNPACK_RAW_EP): Likewise.
16335         (FP_PACK_RAW_E): Likewise.
16336         (FP_PACK_RAW_EP): Likewise.
16337         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16338         (_FP_ISSIGNAN): Likewise.
16339         (_FP_ADD_INTERNAL): Likewise.
16340         (_FP_FMA): Likewise.
16341         (_FP_CMP): Likewise.
16342         (_FP_SQRT): Likewise.
16343         (_FP_TO_INT): Likewise.
16344         (_FP_FROM_INT): Likewise.
16345         (FP_EXTEND): Likewise.
16346         (_FP_DIV_MEAT_N_loop): Likewise.
16348 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16350         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16351         throughout.
16353 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #17097]
16356         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16357         result with correct sign in case of exponents that produce
16358         overflow except for X very close to 1.
16360 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16362         mktime: merge #if/#ifdef usage from glibc
16363         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16364         as that works with both Glibc's and Gnulib's style.
16365         See thread starting at Siddhesh Poyarekar's bug report at:
16366         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16368 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16370         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16371         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16372         * sysdeps/tile/tilegx/memmove.c: Remove file.
16374 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16376         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16377         abi-name definition.
16378         * scripts/soversions.awk: Do not handle or generate ABI lines.
16379         * shlib-versions: Remove ABI entries.
16380         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16381         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16383 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16386         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16387         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16388         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16390         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16392         Moved ...
16393         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16394         ... here.
16395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16396         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16398         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16400         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16402         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16404         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16406         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16408         Moved ...
16409         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16411         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16412         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16413         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16415         Moved ...
16416         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16418         Moved ...
16419         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16420         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16421         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16423         Moved ...
16424         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16426         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16428         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16430         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16432         Moved ...
16433         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16435         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16436         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16437         Moved ...
16438         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16440         Moved ...
16441         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16443         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16445         Moved ...
16446         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16447         ... here.
16448         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16449         Identical file removed.
16450         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16451         Moved ...
16452         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16454         Identical file removed.
16455         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16456         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16458         Moved ...
16459         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16460         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16461         Identical file removed.
16462         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16463         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16465         Identical file removed.
16466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16467         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16469         Identical file removed.
16470         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16471         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16473         Identical file removed.
16474         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16475         Moved ...
16476         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16478         Identical file removed.
16479         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16480         Moved ...
16481         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16482         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16483         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16484         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16485         Identical file removed.
16486         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16487         Moved ...
16488         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16489         ... here.
16490         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16491         Identical file removed.
16492         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16493         Moved ...
16494         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16495         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16496         Identical file removed.
16497         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16498         Moved ...
16499         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16501         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16503         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16505         Moved ...
16506         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16507         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16508         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16510         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16511         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16512         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16513         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16514         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16516 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16518         [BZ #17092]
16519         * nscd/nscd.c (monitor_child): Return exit status of child
16520         instead of return value from wait syscall.
16522 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16524         * configure.ac (libc_commonpagesize): Remove variable.
16525         (libc_relro_required): Likewise.
16526         (libc_cv_z_relro): Remove configure test.
16527         * configure: Regenerated.
16528         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16529         variable.
16530         (libc_relro_required): Likewise.
16531         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16532         (libc_relro_required): Likewise.
16533         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16534         (libc_relro_required): Likewise.
16535         * sysdeps/arm/preconfigure: Regenerated.
16536         * sysdeps/ia64/preconfigure: Remove file.
16537         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16538         variable.
16539         (libc_relro_required): Likewise.
16541         [BZ #16561]
16542         [BZ #16562]
16543         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16544         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16545         recompute overflowing results in original rounding mode.
16546         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16547         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16548         recompute overflowing results in original rounding mode.
16549         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16550         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16551         recompute overflowing results in original rounding mode.
16552         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16553         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16554         recompute overflowing results in original rounding mode.
16555         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16556         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16557         recompute overflowing results in original rounding mode.
16558         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16559         (libc_feholdsetround_ctx): New macro.
16560         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16561         * sysdeps/i386/fpu/libm-test-ulps: Update.
16562         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16564 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16566         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16567         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16568         corresponding .cpsetup call.
16570 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16572         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16573         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16574         * sysdeps/arm/Makefile [$(subdir) = csu]
16575         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16576         (static-only-routines): Add aeabi_read_tp here.
16577         (shared-only-routines): Add libc-aeabi_read_tp here.
16578         (CFLAGS-libc-start.c): Add -fexceptions here.
16579         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16580         (sysdep_routines, static-only-routines, shared-only-routines):
16581         Don't add to these here.
16582         (CFLAGS-libc-start.c): Likewise.
16584         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16585         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16586         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16587         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16588         * sysdeps/arm/Makefile [$(subdir) = rt]
16589         (librt-sysdep_routines, librt-shared-only-routines):
16590         Append rt-aeabi_unwind_cpp_pr1 here.
16591         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16592         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16593         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16594         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16595         Append nptl-aeabi_unwind_cpp_pr1 here.
16596         (tests): Filter out tst-cleanupx4 here.
16597         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16598         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16599         Don't do those here.
16601 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16603         * scripts/list-sources.sh: Do not handle ports specially.
16605 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16607         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16608         * sysdeps/arm/feupdateenv.c: Likewise.
16610         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16612 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16614         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16615         trailing whitespace removed.
16616         * scripts/config.guess: Update to version 2014-03-23.
16617         * scripts/config.sub: Update to version 2014-05-01
16618         * scripts/install-sh: Update to version 2013-12-25.23.
16619         * scripts/move-if-change: Update from gnulib.
16621 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16623         * debug/memmove_chk.c: Remove pagecopy.h include.
16625 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16627         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16628         identical to gnulib mktime.
16630 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16632         * configure.ac: Do not test for machine being rs6000.  Do not test
16633         for powerpc*-*soft.
16634         * configure: Regenerated.
16636         [BZ #11505]
16637         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16638         test.
16639         * configure: Regenerated.
16640         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16641         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16642         Remove configure test.
16643         * sysdeps/arm/configure: Regenerated.
16644         * sysdeps/nptl/configure.ac: Do not check
16645         libc_cv_asm_cfi_directives.
16646         * sysdeps/nptl/configure: Regenerated.
16647         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16648         * sysdeps/x86_64/nptl/configure: Remove generated file.
16649         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16650         unconditional.
16651         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16653 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16655         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16656         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16657         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16658         it is defined.
16660         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16661         instead of whether it is defined.
16662         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16663         * sysdeps/hppa/dl-machine.h: Likewise.
16664         * sysdeps/ia64/dl-machine.h: Likewise.
16665         * sysdeps/m68k/dl-machine.h: Likewise.
16666         * sysdeps/microblaze/dl-machine.h: Likewise.
16667         * sysdeps/mips/dl-machine.: Likewise.
16668         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16669         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16670         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16671         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16672         * sysdeps/sh/dl-machine.h: Likewise.
16673         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16674         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16675         * sysdeps/tile/dl-machine.h: Likewise.
16676         * sysdeps/x86_64/dl-machine.h: Likewise.
16678         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16679         code.
16680         (verify_persistent_db): Likewise.
16682 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16685         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16687         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16689         Moved ...
16690         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16691         ... here.
16692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16693         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16695         Identical file removed.
16696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16697         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16699         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16703         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16705         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16707         Moved ...
16708         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16710         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16712         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16714         Moved ...
16715         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16717         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16719         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16721         Identical file removed.
16722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16723         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16725         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16727         Moved ...
16728         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16729         ... here.
16730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16731         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16733         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16735         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16737         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16739         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16741         Moved ...
16742         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16744         Moved ...
16745         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16747         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16749         Moved ...
16750         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16752         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16755         folded into ...
16756         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16757         * sysdeps/unix/sysv/linux/s390/Versions
16758         (libpthread: GLIBC_2.19): New version set.
16759         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16760         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16761         (librt: GLIBC_2.3.3): New version set.
16762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16763         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16764         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16765         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16766         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16767         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16768         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16770         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16771         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16772         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16773         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16774         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16775         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16776         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16777         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16778         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16780         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16782         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16784         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16785         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16786         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16787         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16788         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16789         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16790         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16791         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16792         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16793         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16795         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16798         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16800         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16801         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16802         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16803         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16804         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16806         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16809         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16810         (__libc_vfork): Define the function under this name.
16811         [!NOT_IN_libc] (__vfork): Make this an alias.
16812         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16814         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16815         (__libc_vfork): Define the function under this name.
16816         [!NOT_IN_libc] (__vfork): Make this an alias.
16817         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16818         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16819         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16820         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16821         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16822         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16824         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16825         code that was previously under [RESET_PID].
16826         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16827         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16828         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16830         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16831         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16832         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16833         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16834         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16835         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16836         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16837         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16838         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16839         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16840         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16843         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16844         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16845         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16846         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16847         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16848         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16849         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16850         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16851         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16852         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16853         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16854         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16855         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16856         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16857         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16858         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16859         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16860         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16861         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16862         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16863         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16864         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16865         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16866         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16867         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16868         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16869         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16870         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16872 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16874         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16875         that was previously under [RESET_PID].
16876         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16878 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16880         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16881         not undefine and redefine.
16882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16883         [O_CLOEXEC]: Make code unconditional.
16884         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16885         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16886         <kernel-features.h>.
16887         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16888         conditional variable definition.
16889         (shm_open) [O_CLOEXEC]: Make code unconditional.
16890         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16891         code.
16893         * configure.ac (USE_REGPARMS): Don't define here.
16894         * configure: Regenerated.
16895         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16896         * sysdeps/i386/configure: Regenerated.
16898         * nptl/createthread.c: Don't include kernel-features.h.
16899         * nptl/pthread_cancel.c: Likewise.
16900         * nptl/pthread_condattr_setclock.c: Likewise.
16901         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16902         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16903         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16904         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16905         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16906         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16907         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16910         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16911         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16912         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16913         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16914         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16915         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16916         * nscd/gai.c: Likewise.
16917         * nss/nss_db/db-open.c: Likewise.
16918         * sysdeps/generic/ldsodefs.h: Likewise.
16919         * sysdeps/sh/nptl/tls.h: Likewise.
16920         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16921         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16922         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16923         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16924         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16925         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16926         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16927         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16928         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16929         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16930         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16931         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16932         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16933         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16934         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16935         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16936         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16937         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16938         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16939         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16940         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16941         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16942         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16943         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16945         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16946         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16947         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16948         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16949         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16950         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16951         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16952         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16953         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16954         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16955         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16956         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16957         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16958         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16959         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16960         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16961         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16962         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16963         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16964         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16965         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16966         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16967         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16968         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16969         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16970         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16971         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16972         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16973         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16974         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16975         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16976         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16977         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17000         * sysdeps/unix/sysv/linux/pread.c: Likewise.
17001         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17002         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17003         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17004         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17005         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17006         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17007         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17008         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17009         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17010         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17011         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17012         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17013         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17014         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17015         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17016         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17017         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17018         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17019         * sysdeps/unix/sysv/linux/system.c: Likewise.
17020         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17021         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17022         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17023         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17024         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17025         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17026         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17028         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17029         * configure: Regenerated.
17030         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17032         * configure.ac (base_machine): Do not set specially for particular
17033         machines here.
17034         * configure: Regenerated.
17035         * sysdeps/powerpc/preconfigure: Move machine and base_machine
17036         settings from configure.ac.
17037         * sysdeps/i386/preconfigure: New file.
17038         * sysdeps/s390/preconfigure: Likewise.
17039         * sysdeps/sh/preconfigure: Likewise.
17040         * sysdeps/sparc/preconfigure: Likewise.
17042 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17044         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17045         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17046         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17047         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17048         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17049         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17050         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17051         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17052         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17053         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17054         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17055         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17056         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17057         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17058         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17059         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17061         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17062         * sysdeps/sparc/sparc64/Makefile: ... appended here.
17064         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17065         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17066         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17067         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17068         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17069         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17070         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17071         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17072         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17073         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17074         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17075         * sysdeps/sparc/sparc32/sem_post.c: ... here.
17076         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17077         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17078         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17079         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17080         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17081         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17082         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17083         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17085         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17086         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17087         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17088         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17089         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17091         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17092         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17093         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17094         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17095         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17096         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17097         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17098         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17099         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17100         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17101         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17104         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17106         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17108         Moved ...
17109         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17110         ... here.
17111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17112         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17114         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17116         Moved ...
17117         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17119         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17121         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17123         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17125         Moved ...
17126         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17128         Moved ...
17129         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17131         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17133         Moved ...
17134         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17136         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17138         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17140         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17142         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17144         Moved ...
17145         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17146         ... here.
17147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17148         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17150         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17152         Moved ...
17153         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17155         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17157         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17159         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17161         Moved ...
17162         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17164         Moved ...
17165         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17167         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17169         Moved ...
17170         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17172         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17174         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17176 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17178         * timezone/checktab.awk: Update from tzcode 2014e.
17179         * timezone/private.h: Likewise.
17180         * timezone/tzfile.h: Likewise.
17181         * timezone/zdump.c: Likewise.
17182         * timezone/zic.c: Likewise.
17184         * sysdeps/unix/sysv/linux/kernel-features.h
17185         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17186         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17187         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17188         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17189         Remove conditional code.
17191 2014-06-25  Will Newton  <will.newton@linaro.org>
17193         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17194         (_dl_arm_cap_flags): Add HWCAP2 values.
17195         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17196         (_DL_HWCAP_COUNT): Increase to 37.
17197         (_DL_HWCAP_LAST): New define.
17198         (_DL_HWCAP2_LAST): New define.
17199         (_dl_procinfo): Add support for printing
17200         AT_HWCAP2 entries.
17201         (_dl_string_hwcap): Use _dl_hwcap_string.
17203 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17207 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17209         * README: Do not mention ports directory.
17211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17212         Remove macro.
17213         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17214         <kernel-features.h>.
17215         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17216         conditional variable definition.
17217         (__futimes): Update comment.
17218         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17219         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17221         [BZ #16560]
17222         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17223         arguments close to 0.
17224         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17225         Likewise.
17226         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17227         Likewise.
17228         * math/auto-libm-test-in: Add more tests of exp10.
17229         * math/auto-libm-test-out: Regenerated.
17230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17232         * sysdeps/unix/sysv/linux/kernel-features.h
17233         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17234         * sysdeps/unix/sysv/linux/readv.c: Do not include
17235         <kernel-features.h>.
17236         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17237         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17238         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17239         unconditional.
17240         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17241         conditional code.
17242         * sysdeps/unix/sysv/linux/writev.c: Do not include
17243         <kernel-features.h>.
17244         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17245         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17246         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17247         unconditional.
17248         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17249         conditional code.
17251 2014-06-25  Will Newton  <will.newton@linaro.org>
17253         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17254         comment changes throughout the file.  Remove checks
17255         for HAVE_*_H definitions that are not required.
17256         (__gen_tempname): Call abort if an unknown kind value is
17257         passed.
17259 2014-06-25  Andreas Schwab  <schwab@suse.de>
17261         [BZ #17086]
17262         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17263         scalbln, scalblnf, scalblnl in libc.
17265 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17267         [BZ #17086]
17268         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17269         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17270         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17272 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17274         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17275         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17276         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17277         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17278         Update #include.
17279         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17280         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17281         Update #include.
17282         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17283         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17284         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17285         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17286         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17287         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17288         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17289         * sysdeps/x86/bits/semaphore.h: ... here.
17290         * sysdeps/x86/nptl/elide.h: Moved ...
17291         * sysdeps/x86/elide.h: ... here.
17292         * sysdeps/x86_64/nptl/Implies: File removed.
17293         * sysdeps/i386/nptl/Implies: File removed.
17295 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17297         [BZ #16539]
17298         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17299         return the argument for normal arguments with exponent below -64.
17300         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17301         Likewise.
17302         * math/auto-libm-test-in: Add another test of expm1.
17303         * math/auto-libm-test-out: Regenerated.
17305         [BZ #16287]
17306         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17307         calling __erfcl for arguments at least 16.
17308         * math/auto-libm-test-in: Add more tests of erf.
17309         * math/auto-libm-test-out: Regenerated.
17311         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17312         individual architectures.
17313         * sysdeps/unix/sysv/linux/configure: Regenerated.
17314         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17315         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17316         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17317         (ldd_rewrite_script): Define variable.
17318         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17320         file.
17321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17322         generated file.
17323         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17324         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17325         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17326         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17327         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17328         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17329         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17330         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17332 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17334         [BZ #17084]
17335         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17336         Rename member __data.d to __data.__elision_data.
17338 2014-06-24  Wilco  <wdijkstr@arm.com>
17340         * NEWS: Add 16918 to fixed bug list.
17342 2014-06-24  Wilco  <wdijkstr@arm.com>
17344         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17346 2014-06-24  Wilco  <wdijkstr@arm.com>
17348         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17349         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17350         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17351         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17352         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17353         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17354         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17355         Use _FPU_MASK_RM.
17357 2014-06-24  Wilco  <wdijkstr@arm.com>
17359         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17361 2014-06-24  Wilco  <wdijkstr@arm.com>
17363         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17364         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17365         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17366         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17368 2014-06-24  Wilco  <wdijkstr@arm.com>
17370         [BZ #16918]
17371         * sysdeps/arm/feupdateenv.c (feupdateenv):
17372         Rewrite to reduce FPSCR accesses and fix return value.
17374 2014-06-24  Wilco  <wdijkstr@arm.com>
17376         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17377         Optimize to avoid unnecessary FPSCR writes.
17378         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17379         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17380         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17381         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17383 2014-06-24  Wilco  <wdijkstr@arm.com>
17385         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17386         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17387         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17388         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17389         Call libc_fetestexcept_vfp.
17390         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17391         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17392         __SOFTFP__ ifdef so that they can be built for softfp.
17394 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17396         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17397         argument type signed char.
17399         * Makerules (check-abi): Dump diff of symlist if the test
17400         fails.
17402 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17404         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17405         using abort.
17407         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17408         Remove unused variable ST.
17410 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17412         [BZ #16354]
17413         [BZ #17061]
17414         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17415         small arguments before calling __expm1.
17416         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17417         small arguments before calling __expm1f.
17418         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17419         small arguments before calling __expm1l.
17420         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17421         Likewise.
17422         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17423         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17424         spurious underflow for some cosh tests.
17425         * math/auto-libm-test-out: Regenerated.
17426         * sysdeps/i386/fpu/libm-test-ulps: Update.
17428         [BZ #17050]
17429         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17430         (__ieee754_y1): Set errno if return value overflows.
17431         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17432         (__ieee754_y1f): Set errno if return value overflows.
17433         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17434         (__ieee754_y1l): Set errno if return value overflows.
17435         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17436         (__ieee754_y1l): Set errno if return value overflows.
17437         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17438         * math/auto-libm-test-out: Regenerated.
17440         * math/gen-auto-libm-tests.c: Document use of
17441         ignore-zero-inf-sign.
17442         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17443         (input_flags): Add ignore-zero-inf-sign.
17444         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17445         * math/gen-libm-test.pl (generate_testfile): Handle
17446         ignore-zero-inf-sign.
17447         * math/auto-libm-test-in: Mark some cpow tests with
17448         ignore-zero-inf-sign and some with xfail-rounding.
17449         * math/auto-libm-test-out: Regenerated.
17450         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17451         * sysdeps/i386/fpu/libm-test-ulps: Update.
17452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454         [BZ #16315]
17455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17456         overflowing or underflowing operations take place with sign of
17457         result.
17458         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17459         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17460         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17461         (__ieee754_pow): Recompute overflowing and underflowing results in
17462         original rounding mode.
17463         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17464         (__powl_helper): Allow negative argument X and scale negated value
17465         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17466         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17467         overflowing or underflowing operations take place with sign of
17468         result.
17469         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17470         Include <math.h>.
17471         * math/auto-libm-test-in: Add more tests of pow.
17472         * math/auto-libm-test-out: Regenerated.
17473         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17474         (pow_tonearest_test_data): Remove.
17475         (pow_test_tonearest): Likewise.
17476         (pow_towardzero_test_data): Likewise.
17477         (pow_test_towardzero): Likewise.
17478         (pow_downward_test_data): Likewise.
17479         (pow_test_downward): Likewise.
17480         (pow_upward_test_data): Likewise.
17481         (pow_test_upward): Likewise.
17482         (main): Don't call removed functions.
17483         * sysdeps/i386/fpu/libm-test-ulps: Update.
17484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17486 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17489         Moved ...
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17492         Moved ...
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17495         Moved ...
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17498         Moved ...
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17501         File removed.
17502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17503         File removed.
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17505         File removed.
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17507         File removed.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17509         File removed.
17510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17511         File removed.
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17513         File removed.
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17515         File removed.
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17517         File removed.
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17519         File removed.
17520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17521         File removed.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17523         File removed.
17524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17525         Moved ...
17526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17530         ... here.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17532         Moved ...
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17535         Moved ...
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17538         Moved ...
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17541         Moved ...
17542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17550         Moved ...
17551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17554         ... here.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17556         Moved ...
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17559         Moved ...
17560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17561         ... here.
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17563         Moved ...
17564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17565         ... here.
17566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17567         Moved ...
17568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17569         ... here.
17570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17571         Moved ...
17572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17574         Moved ...
17575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17579         Moved ...
17580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17581         ... here.
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17583         Moved ...
17584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17585         ... here.
17586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17587         Moved ...
17588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17590         Moved ...
17591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17593         Moved ...
17594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17596         Moved ...
17597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17599         Moved ...
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17601         ... here.
17602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17603         Moved ...
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17606         Moved ...
17607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17609         Moved ...
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17612         Moved ...
17613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17617         Moved ...
17618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17620         Moved ...
17621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17623         Moved ...
17624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17625         ... here.
17626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17627         Moved ...
17628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17629         ... here.
17630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17631         Moved ...
17632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17633         ... here.
17634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17635         Moved ...
17636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17638         Moved ...
17639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17641         Moved ...
17642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17644         Moved ...
17645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17646         ... here.
17647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17648         Moved ...
17649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17650         ... here.
17651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17652         Moved ...
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17654         ... here.
17655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17656         Moved ...
17657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17659         Moved ...
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17662 2014-06-23  Will Newton  <will.newton@linaro.org>
17663             Wilco  <wdijkstr@arm.com>
17665         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17666         implementation.  Include get-rounding-mode.h.
17667         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17668         [!libc_feholdsetround_noex_ctx]: Define
17669         libc_feholdsetround_noex_ctx.
17670         [!libc_feholdsetround_noexf_ctx]: Define
17671         libc_feholdsetround_noexf_ctx.
17672         [!libc_feholdsetround_noexl_ctx]: Define
17673         libc_feholdsetround_noexl_ctx.
17674         (libc_feholdsetround_ctx): New function.
17675         (libc_feresetround_ctx): New function.
17676         (libc_feholdsetround_noex_ctx): New function.
17677         (libc_feresetround_noex_ctx): New function.
17679 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17681         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17682         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17683         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17684         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17685         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17686         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17688         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17689         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17690         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17691         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17692         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17693         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17694         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17695         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17696         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17697         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17698         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17699         Moved ...
17700         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17701         ... here.
17702         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17703         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17704         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17705         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17706         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17707         Moved ...
17708         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17709         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17710         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17711         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17712         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17713         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17714         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17716         Moved ...
17717         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17719         Moved ...
17720         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17721         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17722         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17723         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17724         Moved ...
17725         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17726         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17727         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17728         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17729         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17730         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17731         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17732         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17733         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17734         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17735         Moved ...
17736         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17737         ... here.
17738         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17739         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17740         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17741         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17742         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17743         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17744         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17745         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17746         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17747         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17748         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17749         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17750         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17751         Moved ...
17752         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17753         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17754         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17755         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17756         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17758         Moved ...
17759         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17761         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17762         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17763         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17765         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17766         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17767         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17768         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17769         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17770         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17771         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17772         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17774         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17775         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17776         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17777         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17778         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17779         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17780         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17781         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17782         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17783         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17784         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17785         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17786         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17787         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17788         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17789         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17790         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17791         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17792         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17794 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17796         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17797         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17798         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17799         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17800         (IPV6_PMTUDISC_INTERFACE): Likewise.
17801         (IPV6_PMTUDISC_OMIT): Likewise.
17803 2014-06-23  Andreas Schwab  <schwab@suse.de>
17805         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17806         Remove unused errout label.
17808 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17810         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17811         macro: hardware supports Vector Crypto instructions.
17813 2014-06-23  Will Newton  <will.newton@linaro.org>
17815         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17816         rather than __builtin_expect.
17818         * elf/dl-lookup.c (undefined_msg): Remove variable.
17819         (_dl_lookup_symbol_x): Replace undefined_msg with string
17820         literal.
17822         * elf/dl-lookup.c (do_lookup_unique): New function.
17823         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17824         to a separate function.
17826 2014-06-23  Andreas Schwab  <schwab@suse.de>
17828         [BZ #17079]
17829         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17830         before reading the next line.
17832 2014-06-23  Will Newton  <will.newton@linaro.org>
17834         * test-skeleton.c (signal_handler): Use printf and %m
17835         rather than perror.  Use printf rather than fprintf to
17836         stderr.  Use puts rather than fputs to stderr.
17837         (main): Likewise.
17839 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17841         * nscd/nscd.c (thread_info_t): Remove typedef.
17842         (thread_info): Remove variable.
17844 2014-06-21  Allan McRae  <allan@archlinux.org>
17846         * NEWS: Mention CVE-2014-4043.
17848 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17850         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17851         * nptl/smp.h: ... here.
17853         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17855         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17856         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17857         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17858         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17860         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17861         * nptl/stack-aliasing.h: New file.
17862         * sysdeps/i386/i686/stack-aliasing.h: New file.
17863         * sysdeps/i386/i686/nptl/Makefile: File removed.
17864         * sysdeps/x86_64/stack-aliasing.h: New file.
17865         * sysdeps/x86_64/nptl/Makefile
17866         (CFLAGS-pthread_create.c): Variable removed.
17868         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17869         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17870         old file.
17871         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17872         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17873         old file.
17875 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17878         (__ASSUME_SIGFRAME_V2): Remove macro.
17879         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17880         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17881         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17882         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17883         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17884         Declare as function.  Remove conditional macro definitions.
17885         (__default_rt_sa_restorer): Likewise.
17886         (__default_sa_restorer_v1): Remove declaration.
17887         (__default_sa_restorer_v2): Likewise.
17888         (__default_rt_sa_restorer_v1): Likewise.
17889         (__default_rt_sa_restorer_v2): Likewise.
17890         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17891         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17892         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17894 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17896         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17897         (libpthread-routines): Add sysdep.
17898         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17899         * sysdeps/unix/sysv/linux/sparc/Versions
17900         (libpthread: GLIBC_2.3.3): New version set.
17901         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17902         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17903         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17905         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17906         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17907         Moved ...
17908         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17909         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17910         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17911         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17912         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17913         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17914         * sysdeps/sparc/nptl/sem_init.c: ... here.
17915         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17916         * sysdeps/sparc/nptl/sem_post.c: ... here.
17917         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17918         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17919         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17920         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17921         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17922         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17923         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17924         (libpthread-routines): Add cpu_relax.
17925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17926         File removed.
17927         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17928         (librt: GLIBC_2.3.3): New version set.
17929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17930         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17931         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17932         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17935         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17937         Moved ...
17938         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17940         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17942         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17944         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17946         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17948         Moved ...
17949         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17950         Update #include.
17951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17952         Moved ...
17953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17954         Update #include.
17955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17956         Moved ...
17957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17958         Update #include.
17959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17960         Moved ...
17961         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17962         Update #include.
17963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17964         Moved ...
17965         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17966         Update #include.
17967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17968         Moved ...
17969         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17970         Update #include.
17971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17972         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17978         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17980         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17982         Moved ...
17983         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17985         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17987         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17989 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17991         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17992         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17993         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17994         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17995         * nscd/nscd.c: Likewise.
17996         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17997         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17998         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17999         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18001         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18002         <kernel-features.h>.
18003         (init_mq_netlink): Remove conditional have_sock_cloexec
18004         definitions.  Remove code conditional on have_sock_cloexec < 0.
18005         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18006         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18007         * sysdeps/unix/sysv/linux/opensock.c: Do not include
18008         <kernel-features.h>.
18009         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18010         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18012 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18015         Add tests for memset_chk and memset.
18017         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18018         with AVX2_Usable.
18020 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18022         [BZ #16046]
18023         * elf/tst-dl-iter-static.c: New file.
18024         * elf/Makefile (tests-static): Add tst-dl-iter-static.
18026         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18027         error.
18029 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18031         * sysdeps/unix/sysv/linux/kernel-features.h
18032         (__ASSUME_F_GETOWN_EX): Remove macro.
18033         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18034         <kernel-features.h>.
18035         (miss_F_GETOWN_EX): Remove variable or macro.
18036         (do_fcntl): Do not check miss_F_GETOWN_EX.
18037         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18040         Remove macro.
18041         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18042         [!__ASSUME_AT_RANDOM]: Remove conditional code.
18043         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18045         * sysdeps/unix/sysv/linux/kernel-features.h
18046         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18047         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18048         [ADJ_OFFSET_SS_READ]: Make code unconditional.
18049         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18051 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18053         [BZ #17075]
18054         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18055         Fix calculation of the symbol's value.
18056         * sysdeps/arm/tst-armtlsdescloc.c: New file.
18057         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18058         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18059         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18060         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18061         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18062         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18063         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18064         (modules-names): Add `tst-armtlsdescmod',
18065         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18066         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18067         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18068         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18069         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18070         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18071         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18072         ($(objpfx)tst-armtlsdescloc): New dependency.
18073         ($(objpfx)tst-armtlsdescextnow): Likewise.
18074         ($(objpfx)tst-armtlsdescextlazy): Likewise.
18075         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18076         TLS scheme support.
18077         * sysdeps/arm/configure: Regenerate.
18079 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18081         * include/fcntl.h (__atfct_seterrno): Remove prototype.
18082         (__atfct_seterrno_2): Likewise.
18083         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18084         <kernel-features.h>.
18085         (__ASSUME_ATFCTS): Do not undefine and redefine.
18086         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18087         (__have_atfcts): Remove conditional definition.
18088         (__fxstatat([__NR_fstatat64]: Make code unconditional.
18089         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18090         unreachable if [__ASSUME_ATFCTS].
18091         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18092         not undefine and redefine.
18093         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18094         <kernel-features.h>.
18095         (faccessat) [__NR_faccessat]: Make code unconditional.
18096         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18097         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18098         <kernel-features.h>.
18099         (fchmodat) [__NR_fchmodat]: Make code unconditional.
18100         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18101         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18102         <kernel-features.h>.
18103         (fchownat) [__NR_fchownat]: Make code unconditional.
18104         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18105         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18106         <kernel-features.h>.
18107         (futimesat) [__NR_futimesat]: Make code unconditional.
18108         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18109         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18110         <kernel-features.h>.
18111         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18112         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18113         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18114         <kernel-features.h>.
18115         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18116         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18117         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18118         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18119         <kernel-features.h>.
18120         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18121         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18122         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18123         <kernel-features.h>.
18124         (linkat) [__NR_linkat]: Make code unconditional.
18125         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18126         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18127         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18128         <kernel-features.h>.
18129         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18130         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18131         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18132         <kernel-features.h>.
18133         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18134         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18135         * sysdeps/unix/sysv/linux/openat.c: Do not include
18136         <kernel-features.h>.
18137         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18138         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18139         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18140         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18141         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18142         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18143         <kernel-features.h>.
18144         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18145         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18146         result of INLINE_SYSCALL directly, not via int variable.
18147         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18148         <kernel-features.h>.
18149         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18150         (renameat) [__NR_renameat]: Make code unconditional.
18151         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18152         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18153         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18154         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18155         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18156         (__ASSUME_ATFCTS): Do not undefine and redefine.
18157         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18158         <kernel-features.h>.
18159         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18160         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18161         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18162         <kernel-features.h>.
18163         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18164         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18165         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18166         (__ASSUME_ATFCTS): Do not undefine and redefine.
18167         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18168         <kernel-features.h>.
18169         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18170         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18171         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18172         <kernel-features.h>.
18173         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18174         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18176 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18178         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18180 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18182         [BZ #17069]
18183         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18184         constructed tree before returning error.
18185         * posix/bug-regexp36.c: Expand test case.
18187 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18189         [BZ #6803]
18190         * math/libm-test.inc (scalbln_test_date):
18191         Add errno expectations.
18192         * math/w_scalblnf.c: New File.
18193         Add wrapper which checks for setting errno to ERANGE.
18194         Add weak_alias for corresponding scalbln function.
18195         * math/w_scalbln.c: Likewise.
18196         * math/w_scalblnl.c: Likewise.
18197         * math/Makefile (libm-calls): Add w_scalbln.
18198         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18199         Remove weak_alias for corresponding scalbln function.
18200         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18201         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18202         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18203         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18204         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18205         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18206         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18207         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18208         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18209         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18210         Remove long_double_symbol for scalblnl function in libm, libc.
18211         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18212         Add wrapper which checks for setting errno to ERANGE.
18213         Add long_double_symbol for scalblnl function in libm, libc.
18214         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18215         Remove long_double_symbol for scalblnl in libm.
18216         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18217         Add wrapper which checks for setting errno to ERANGE.
18218         Add long_double_symbol for scalblnl function in libm.
18219         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18220         Do not use wrapper because of own implementation.
18222 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18224         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18225         3 bytes for __pad1 for x32.
18226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18228 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18229             H.J. Lu  <hongjiu.lu@intel.com>
18231         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18232         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18233         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18234         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18235         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18237 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18239         [BZ #17069]
18240         * posix/regcomp.c (parse_expression): Deallocate partially
18241         constructed tree before returning error.
18242         * posix/Makefile.c (tests): Add bug-regex36.
18243         (generated): Add bug-regex36.mtrace.
18244         (tests-special): Add $(objpfx)bug-regex36-mem.out
18245         (bug-regex36-ENV): New variable.
18246         ($(objpfx)bug-regex36-mem.out): New rule.
18247         * posix/bug-regex36.c: New file.
18249 2014-06-19  Will Newton  <will.newton@linaro.org>
18251         * malloc/malloc.c (systrim): If extra is zero then return
18252         early.
18254 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18256         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18258 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18260         * sysdeps/aarch64/strchr.S: New file.
18262 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18264         [BZ #17022]
18265         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18266         from arguments -2 or below.
18267         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18268         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18270 2014-06-18  Andreas Schwab  <schwab@suse.de>
18272         [BZ #17062]
18273         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18274         of a bracket expr not to run off the end of the string.
18275         * posix/Makefile (tests): Add tst-fnmatch3.
18276         * posix/tst-fnmatch3.c: New file.
18278 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18280         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18281         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18282         [$(cross-compiling) = no]: Likewise.
18283         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18284         [$(cross-compiling) = no]: Likewise.
18286 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18288         [BZ #17031]
18289         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18290         double, adjusted for any remainder from the high double.
18291         * math/libm-test.inc (nearbyint): Add tests.
18292         (rint): Likewise.
18294 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18296         * nptl/sysdeps/powerpc/Makefile: Moved ...
18297         * sysdeps/powerpc/nptl/Makefile: ... here.
18298         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18299         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18300         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18301         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18302         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18303         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18304         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18305         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18306         * nptl/sysdeps/powerpc/tls.h: Moved ...
18307         * sysdeps/powerpc/nptl/tls.h: ... here.
18309 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18311         [BZ #16681]
18312         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18313         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18314         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18315         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18316         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18317         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18318         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18319         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18320         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18322 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18324         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18326 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18328         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18329         defined operator.
18331         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18332         $TIMEOUTFACTOR.
18334 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18336         [BZ #17058]
18337         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18338         non-executed part of the test.
18340 2014-06-16  Andreas Schwab  <schwab@suse.de>
18342         * string/bits/string2.h (strdup, strndup): Update feature guard.
18344 2014-06-14  David S. Miller  <davem@davemloft.net>
18346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18348 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18350         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18351         that was previously under [RESET_PID].
18352         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18354         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18355         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18356         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18357         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18358         (__libc_vfork): New strong alias.
18359         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18361 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18363         * sysdeps/generic/elide.h: New file.
18365 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18367         * Makefile (installed-headers): Adjust path of pthread.h header.
18369 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18371         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18372         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18373         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18374         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18376         * nptl/sysdeps/s390/Makefile: Moved ...
18377         * sysdeps/s390/nptl/Makefile: ... here.
18378         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18379         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18380         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18381         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18382         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18383         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18384         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18385         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18386         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18387         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18388         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18389         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18390         * nptl/sysdeps/s390/tls.h: Moved ...
18391         * sysdeps/s390/nptl/tls.h: ... here.
18393         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18394         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18396 2014-06-13  David S. Miller  <davem@davemloft.net>
18398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18401         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18405         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18406         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18407         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18408         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18409         Remove RESET_PID cpp guards.
18410         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18411         Remove RESET_PID cpp guards.
18412         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18414 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18416         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18417         __sp to uintptr_t.
18419 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18421         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18422         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18423         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18424         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18425         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18427         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18428         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18429         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18430         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18431         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18432         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18433         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18434         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18436         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18437         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18438         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18439         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18440         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18442         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18443         (pthread_rwlock_rdlock): Add elision.
18444         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18445         (pthread_rwlock_wrlock): Add elision.
18446         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18447         (pthread_rwlock_trywrlock): Add elision.
18448         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18449         (pthread_rwlock_tryrdlock): Add elision.
18450         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18451         (pthread_rwlock_tryrdlock): Add elision unlock.
18452         * nptl/sysdeps/pthread/pthread.h:
18453         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18454         (PTHREAD_RWLOCK_INITIALIZER,
18455         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18456         Handle new elision field.
18457         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18458         * sysdeps/arm/nptl/bits/pthreadtypes.h
18459         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18460         * sysdeps/sh/nptl/bits/pthreadtypes.h
18461         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18462         * sysdeps/tile/nptl/bits/pthreadtypes.h
18463         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18464         * sysdeps/a/nptl/bits/pthreadtypes.h
18465         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18466         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18467         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18468         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18469         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18470         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18471         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18472         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18473         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18474         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18476         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18478         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18480         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18482         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18483         (elision_init): Set try_xbegin to zero when no RTM.
18484         * sysdeps/x86/nptl/bits/pthreadtypes.h
18485         (pthread_rwlock_t): Change __pad1 to __rwelision.
18486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18488 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18490         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18491         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18492         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18493         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18495 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18497         [BZ #16996]
18498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18499         that the cached result has been set before returning it.
18501 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18503         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18504         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18505         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18506         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18508         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18510         * nptl/sysdeps/sparc/Makefile: Moved ...
18511         * sysdeps/sparc/nptl/Makefile: ... here.
18512         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18513         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18514         * nptl/sysdeps/sparc/tls.h: Moved ...
18515         * sysdeps/sparc/nptl/tls.h: ... here.
18516         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18517         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18518         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18519         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18520         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18521         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18522         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18523         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18524         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18525         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18526         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18527         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18528         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18529         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18530         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18531         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18532         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18533         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18534         Update #include.
18535         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18537         Update #include.
18538         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18539         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18540         Update #include.
18541         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18543         Update #include.
18545         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18547         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18548         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18550         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18551         (struct list_links): Type removed.
18552         (struct thread_node, struct timer_node): Replace struct list_links
18553         with struct list_head.
18554         (list_unlink_ip): Likewise.
18555         * sysdeps/pthread/timer_routines.c
18556         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18557         (list_append, list_insbefore): Likewise.
18558         (list_init): Function removed.
18559         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18560         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18561         * sysdeps/pthread/Makefile: ... here, new file.
18563         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18564         * sysdeps/nptl/Implies: ... here.
18565         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18566         * nptl/sysdeps/pthread/list.h: Moved ...
18567         * include/list.h: ... here.
18568         * nptl/sysdeps/pthread/createthread.c: Moved ...
18569         * nptl/createthread.c: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18571         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18572         * nptl/pt-longjmp.c: ... here.
18573         * nptl/sysdeps/pthread/Makefile: Moved ...
18574         * sysdeps/nptl/Makefile: ... here.
18575         * nptl/sysdeps/pthread/Subdirs: Moved ...
18576         * sysdeps/nptl/Subdirs: ... here.
18577         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18578         * sysdeps/nptl/aio_misc.h: ... here.
18579         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18580         * sysdeps/nptl/bits/libc-lock.h: ... here.
18581         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18582         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18583         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18584         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18585         * nptl/sysdeps/pthread/configure: Moved ...
18586         * sysdeps/nptl/configure: ... here.
18587         * nptl/sysdeps/pthread/configure.ac: Moved ...
18588         * sysdeps/nptl/configure.ac: ... here.
18589         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18590         * sysdeps/nptl/gai_misc.h: ... here.
18591         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18592         * sysdeps/nptl/librt-cancellation.c: ... here.
18593         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18594         * sysdeps/nptl/malloc-machine.h: ... here.
18595         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18596         * sysdeps/nptl/pthread-functions.h: ... here.
18597         * nptl/sysdeps/pthread/pthread.h: Moved ...
18598         * sysdeps/nptl/pthread.h: ... here.
18599         * nptl/sysdeps/pthread/setxid.h: Moved ...
18600         * sysdeps/nptl/setxid.h: ... here.
18601         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18602         * sysdeps/nptl/sigfillset.c: ... here.
18603         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18604         * sysdeps/nptl/tcb-offsets.h: ... here.
18605         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18606         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18607         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18608         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18609         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18610         * sysdeps/pthread/allocalim.h: ... here.
18611         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18612         * sysdeps/pthread/bits/sigthread.h: ... here.
18613         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18614         * sysdeps/pthread/flockfile.c: ... here.
18615         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18616         * sysdeps/pthread/ftrylockfile.c: ... here.
18617         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18618         * sysdeps/pthread/funlockfile.c: ... here.
18619         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18620         * sysdeps/pthread/posix-timer.h: ... here.
18621         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18622         * sysdeps/pthread/timer_create.c: ... here.
18623         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18624         * sysdeps/pthread/timer_delete.c: ... here.
18625         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18626         * sysdeps/pthread/timer_getoverr.c: ... here.
18627         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18628         * sysdeps/pthread/timer_gettime.c: ... here.
18629         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18630         * sysdeps/pthread/timer_routines.c: ... here.
18631         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18632         * sysdeps/pthread/timer_settime.c: ... here.
18633         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18634         * sysdeps/pthread/tst-timer.c: ... here.
18635         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18636         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18638         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18639         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18641         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18642         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18643         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18644         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18645         Update #include target.
18646         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18647         * sysdeps/i386/i686/nptl/Makefile: ... here.
18648         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18649         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18650         Update #include target.
18651         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18652         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18653         * nptl/sysdeps/i386/Makefile: Moved ...
18654         * sysdeps/i386/nptl/Makefile: ... here.
18655         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18656         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18657         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18658         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18659         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18660         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18661         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18662         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18663         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18664         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18665         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18666         * nptl/sysdeps/i386/tls.h: Moved ...
18667         * sysdeps/i386/nptl/tls.h: ... here.
18669         * sysdeps/sh/Makefile [$(subdir) = csu]
18670         (gen-as-const-headers): Add tcb-offsets.sym.
18671         * nptl/sysdeps/sh/Makefile: File removed.
18672         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18673         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18674         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18675         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18676         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18677         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18678         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18679         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18680         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18681         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18682         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18683         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18684         * nptl/sysdeps/sh/tls.h: Moved ...
18685         * sysdeps/sh/nptl/tls.h: ... here.
18686         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18687         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18688         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18689         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18690         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18691         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18692         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18694         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18695         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18696         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18697         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18698         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18699         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18700         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18701         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18702         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18703         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18704         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18705         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18706         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18707         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18708         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18709         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18710         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18711         Moved ...
18712         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18713         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18714         Moved ...
18715         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18716         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18717         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18718         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18719         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18720         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18721         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18722         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18723         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18724         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18725         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18726         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18727         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18728         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18729         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18730         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18731         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18732         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18733         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18735 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18737         * posix/spawn_faction_addopen.c: Include string.h.
18739 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18741         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18742         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18743         * nptl/sysdeps/x86_64/Makefile: Moved ...
18744         * sysdeps/x86_64/nptl/Makefile: ... here.
18745         * nptl/sysdeps/x86_64/configure: Moved ...
18746         * sysdeps/x86_64/nptl/configure: ... here.
18747         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18748         * sysdeps/x86_64/nptl/configure.ac: ... here.
18749         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18750         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18751         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18752         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18753         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18754         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18755         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18756         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18757         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18758         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18759         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18760         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18761         * nptl/sysdeps/x86_64/tls.h: Moved ...
18762         * sysdeps/x86_64/nptl/tls.h: ... here.
18763         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18764         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18765         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18766         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18768         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18770 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18774 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18776         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18777         type.
18778         [POSIX] (off_t): Likewise.
18779         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18780         [POSIX] (S_ISBLK): Require macro.
18781         [POSIX] (S_ISCHR): Likewise.
18782         [POSIX] (S_ISDIR): Likewise.
18783         [POSIX] (S_ISFIFO): Likewise.
18784         [POSIX] (S_ISREG): Likewise.
18785         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18786         optional-macro.
18787         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18788         type.
18789         [POSIX] (time_t): Likewise.
18790         [POSIX] (timer_t): Likewise.
18792 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18794         [BZ #17048]
18795         * posix/spawn_int.h (struct __spawn_action): Make the path string
18796         non-const to support deallocation.
18797         * posix/spawn_faction_addopen.c
18798         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18799         * posix/spawn_faction_destroy.c
18800         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18801         path in all spawn_do_open actions.
18802         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18803         posix_spawn_file_actions_addopen.
18805 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18807         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18808         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18809         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18810         conditional code always true.
18811         (__libc_vfork): New alias.
18813 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18815         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18816         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18818         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18820         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18821         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18823         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18824         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18826         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18827         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18829 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18831         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18832         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18833         multiarch strcmp for PPC64.
18834         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18835         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18837         multiarch optimizations.
18838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18839         (__libc_ifunc_impl_list): Likewise.
18841 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18843         * benchtests/scripts/validate_benchout.py: New script.
18844         * benchtests/Makefile (bench-func): Call it.
18845         * benchtests/scripts/benchout.schema.json: New file.
18847 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18849         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18850         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18851         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18852         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18853         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18854         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18855         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18856         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18857         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18858         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18859         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18860         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18861         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18862         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18863         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18864         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18866         Moved ...
18867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18868         ... here.
18869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18870         Moved ...
18871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18873         Moved ...
18874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18875         ... here.
18876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18877         Moved ...
18878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18879         ... here.
18880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18881         Moved ...
18882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18884         Moved ...
18885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18886         ... here.
18887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18888         Moved ...
18889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18890         ... here.
18891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18892         Moved ...
18893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18895         Moved ...
18896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18897         ... here.
18898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18899         Moved ...
18900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18901         ... here.
18902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18903         Moved ...
18904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18905         ... here.
18906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18907         Moved ...
18908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18910         Moved ...
18911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18912         ... here.
18913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18914         Moved ...
18915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18916         ... here.
18917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18918         Moved ...
18919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18920         ... here.
18921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18922         Moved ...
18923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18925         Moved ...
18926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18927         ... here.
18928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18929         Moved ...
18930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18931         ... here.
18932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18933         Moved ...
18934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18936         Moved ...
18937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18938         ... here.
18939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18940         Moved ...
18941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18943         Moved ...
18944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18946         Moved ...
18947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18948         ... here.
18949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18950         Moved ...
18951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18952         ... here.
18953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18954         Moved ...
18955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18956         ... here.
18957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18958         Moved ...
18959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18961         Moved ...
18962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18963         ... here.
18964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18965         Moved ...
18966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18967         ... here.
18968         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18969         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18970         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18971         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18972         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18973         Moved ...
18974         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18975         ... here.
18976         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18977         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18978         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18979         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18980         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18981         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18982         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18983         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18984         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18985         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18987         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18988         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18989         Moved ...
18990         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18992         Moved ...
18993         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18995         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18997         Moved ...
18998         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18999         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19000         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19001         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19002         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19003         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19004         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19006 2014-06-10  Wilco  <wdijkstr@arm.com>
19008         * math/test-fenv-return.c: New file.
19009         * math/Makefile: Add new test test-fenv-return.
19011 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
19013         [BZ #17042]
19014         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19015         when x - 1 is zero.
19016         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19017         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19018         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19019         0.0L for an argument of 1.0L.
19020         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19021         Likewise.
19022         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19023         value when x - 1 is zero.
19024         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19025         * sysdeps/i386/fpu/libm-test-ulps: Update.
19026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
19030         [BZ #15119]
19031         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19033 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19035         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19036         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19038 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19040         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19041         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19043         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19044         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19046         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19047         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19049         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19050         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19052         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19053         if not already defined.
19054         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19055         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19056         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19057         (TLS_INIT_TP): Use it.
19058         (TLS_DEFINE_INIT_TP): New macro.
19059         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19061 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
19063         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19064         constant.
19065         [POSIX] (IXANY): Likewise.
19066         [POSIX] (OLCUC): Likewise.
19067         [POSIX || POSIX2008] (CBAUD): Do not allow.
19068         [POSIX || POSIX2008] (DEFECHO): Likewise.
19069         [POSIX || POSIX2008] (ECHOCTL): Likewise.
19070         [POSIX || POSIX2008] (ECHOKE): Likewise.
19071         [POSIX || POSIX2008] (ECHOPRT): Likewise.
19072         [POSIX || POSIX2008] (EXTA): Likewise.
19073         [POSIX || POSIX2008] (EXTB): Likewise.
19074         [POSIX || POSIX2008] (FLUSHO): Likewise.
19075         [POSIX || POSIX2008] (LOBLK): Likewise.
19076         [POSIX || POSIX2008] (PENDIN): Likewise.
19077         [POSIX || POSIX2008] (SWTCH): Likewise.
19078         [POSIX || POSIX2008] (VDISCARD): Likewise.
19079         [POSIX || POSIX2008] (VDSUSP): Likewise.
19080         [POSIX || POSIX2008] (VLNEXT): Likewise.
19081         [POSIX || POSIX2008] (VREPRINT): Likewise.
19082         [POSIX || POSIX2008] (VSTATUS): Likewise.
19083         [POSIX || POSIX2008] (VWERASE): Likewise.
19084         (B*): Change to B[0123456789]*.
19085         * conform/data/time.h-data [POSIX || UNIX98]
19086         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19087         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19088         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19089         [POSIX] (tm_*): Do not allow.
19091 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
19093         * Makefile (install): Don't set LANGUAGE.
19094         * Makefile.in (install): Likewise.
19095         * assert/Makefile (test-assert-ENV): Remove variable.
19096         (test-assert-perr-ENV): Likewise.
19097         * elf/Makefile (neededtest4-ENV): Likewise.
19098         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19099         [$(cross-compiling) = no]: Don't set LANGUAGE.
19100         * io/ftwtest-sh (LANG): Remove variable.
19101         * libio/Makefile (tst-widetext-ENV): Likewise.
19102         * manual/install.texi (Running make install): Don't refer to
19103         environment settings for make install.
19104         * INSTALL: Regenerated.
19105         * nptl/tst-tls6.sh: Don't set LANG.
19106         * posix/globtest.sh (LANG): Remove variable.
19107         * string/Makefile (tester-ENV): Likewise.
19108         (inl-tester-ENV): Likewise.
19109         (noinl-tester-ENV): Likewise.
19110         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19111         [$(cross-compiling) = no]: Don't set LANGUAGE.
19112         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19113         without explicit environment settings.
19115 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19117         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19118         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19119         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19120         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19122 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19124         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19125         other files in the crypt directory.
19126         * crypt/crypt.c: Remove duplicate includes.
19127         * crypt/crypt-entry.c: Likewise.
19128         * crypt/crypt_util.c: Likewise.
19130 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19132         * Makeconfig (run-program-env): New variable.
19133         (run-program-prefix-before-env): Likewise.
19134         (run-program-prefix-after-env): Likewise.
19135         (run-program-prefix): Define in terms of new variables.
19136         (built-program-cmd-before-env): New variable.
19137         (built-program-cmd-after-env): Likewise.
19138         (built-program-cmd): Define in terms of new variables.
19139         (test-program-prefix-before-env): New variable.
19140         (test-program-prefix-after-env): Likewise.
19141         (test-program-prefix): Define in terms of new variables.
19142         (test-program-cmd-before-env): New variable.
19143         (test-program-cmd-after-env): Likewise.
19144         (test-program-cmd): Define in terms of new variables.
19145         * Rules (make-test-out): Use $(run-program-env).
19146         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19147         (help): Do not mention environment variables.  Mention
19148         --timeoutfactor option.
19149         (timeoutfactor): New variable.
19150         (blacklist_exports): Remove function.
19151         (exports): Remove variable.
19152         (command): Do not include ${exports}.
19153         * manual/install.texi (Configuring and compiling): Do not mention
19154         test wrappers preserving environment variables.  Mention that last
19155         assignment to a variable must take precedence.
19156         * INSTALL: Regenerated.
19157         * benchtests/Makefile (run-bench): Use $(run-program-env).
19158         * catgets/Makefile ($(objpfx)test1.cat): Use
19159         $(built-program-cmd-before-env), $(run-program-env) and
19160         $(built-program-cmd-after-env).
19161         ($(objpfx)test2.cat): Do not specify environment variables
19162         explicitly.
19163         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19164         $(run-program-env) and $(built-program-cmd-after-env).
19165         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19166         $(run-program-env) and $(test-program-cmd-after-env).
19167         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19168         explicitly.
19169         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19170         run_program_env and test_program_cmd_after_env arguments.
19171         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19172         * elf/tst-pathopt.sh: Use run_program_env argument.
19173         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19174         $(test-wrapper-env) and $(run-program-env).
19175         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19176         run_program_env arguments.
19177         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19178         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19179         $(test-program-prefix-before-env), $(run-program-env) and
19180         $(test-program-prefix-after-env).
19181         ($(objpfx)tst-gettext2.out): Likewise.
19182         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19183         run_program_env and test_program_prefix_after_env arguments.
19184         * intl/tst-gettext2.sh: Likewise.
19185         * intl/tst-gettext4.sh: Do not set environment variables
19186         explicitly.
19187         * intl/tst-gettext6.sh: Likewise.
19188         * intl/tst-translit.sh: Likewise.
19189         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19190         $(test-program-prefix-before-env), $(run-program-env) and
19191         $(test-program-prefix-after-env).
19192         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19193         run_program_env and test_program_prefix_after_env arguments.
19194         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19195         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19196         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19197         explicitly with each use of ${test_wrapper_env}.
19198         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19199         $(test-program-prefix-before-env), $(run-program-env) and
19200         $(test-program-prefix-after-env).
19201         * posix/tst-getconf.sh: Do not set environment variables
19202         explicitly.
19203         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19204         run_program_env and test_program_prefix_after_env arguments.
19205         * stdio-common/tst-printf.sh: Do not set environment variables
19206         explicitly.
19207         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19208         $(test-program-prefix-before-env), $(run-program-env) and
19209         $(test-program-prefix-after-env).
19210         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19211         run_program_env and test_program_prefix_after_env arguments.
19212         Split $test calls into $test_pre and $test.
19213         * timezone/Makefile (build-testdata): Use
19214         $(built-program-cmd-before-env), $(run-program-env) and
19215         $(built-program-cmd-after-env).
19217 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19219         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19220         strlen for non SHARED builds.
19222 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19224         * nptl/allocatestack.c (check_list): Inlined function...
19225         (__reclaim_stacks): ... here.
19227 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19229         [BZ #15698]
19230         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19231         memory overrun.
19233 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19235         * Rules (make-test-out): Include
19236         LOCPATH=$(common-objpfx)localedata in default environment.
19237         * debug/Makefile (tst-chk1-ENV): Remove variable.
19238         (tst-chk2-ENV): Likewise.
19239         (tst-chk3-ENV): Likewise.
19240         (tst-chk4-ENV): Likewise.
19241         (tst-chk5-ENV): Likewise.
19242         (tst-chk6-ENV): Likewise.
19243         (tst-lfschk1-ENV): Likewise.
19244         (tst-lfschk2-ENV): Likewise.
19245         (tst-lfschk3-ENV): Likewise.
19246         (tst-lfschk4-ENV): Likewise.
19247         (tst-lfschk5-ENV): Likewise.
19248         (tst-lfschk6-ENV): Likewise.
19249         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19250         (tst-iconv7-ENV): Likewise.
19251         * intl/Makefile (LOCPATH-ENV): Likewise.
19252         (tst-codeset-ENV): Likewise.
19253         (tst-gettext3-ENV): Likewise.
19254         (tst-gettext5-ENV): Likewise.
19255         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19256         (tst-fopenloc-ENV): Likewise.
19257         (tst-fgetws-ENV): Remove variable.
19258         (tst-ungetwc1-ENV): Likewise.
19259         (tst-ungetwc2-ENV): Likewise.
19260         (bug-ungetwc2-ENV): Likewise.
19261         (tst-swscanf-ENV): Likewise.
19262         (bug-ftell-ENV): Likewise.
19263         (tst-fgetwc-ENV): Likewise.
19264         (tst-fseek-ENV): Likewise.
19265         (tst-ftell-partial-wide-ENV): Likewise.
19266         (tst-ftell-active-handler-ENV): Likewise.
19267         (tst-ftell-append-ENV): Likewise.
19268         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19269         (tst-regexloc-ENV): Likewise.
19270         (bug-regex1-ENV): Likewise.
19271         (tst-regex-ENV): Likewise.
19272         (tst-regex2-ENV): Likewise.
19273         (bug-regex5-ENV): Likewise.
19274         (bug-regex6-ENV): Likewise.
19275         (bug-regex17-ENV): Likewise.
19276         (bug-regex18-ENV): Likewise.
19277         (bug-regex19-ENV): Likewise.
19278         (bug-regex20-ENV): Likewise.
19279         (bug-regex22-ENV): Likewise.
19280         (bug-regex23-ENV): Likewise.
19281         (bug-regex25-ENV): Likewise.
19282         (bug-regex26-ENV): Likewise.
19283         (bug-regex30-ENV): Likewise.
19284         (bug-regex32-ENV): Likewise.
19285         (bug-regex33-ENV): Likewise.
19286         (bug-regex34-ENV): Likewise.
19287         (bug-regex35-ENV): Likewise.
19288         (tst-rxspencer-ENV): Likewise.
19289         (tst-rxspencer-no-utf8-ENV): Likewise.
19290         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19291         (tst-sscanf-ENV): Likewise.
19292         (tst-swprintf-ENV): Likewise.
19293         (tst-swscanf-ENV): Likewise.
19294         (test-vfprintf-ENV): Likewise.
19295         (scanf13-ENV): Likewise.
19296         (bug14-ENV): Likewise.
19297         (tst-grouping-ENV): Likewise.
19298         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19299         (tst-strtod3-ENV): Likewise.
19300         (tst-strtod4-ENV): Likewise.
19301         (tst-strtod5-ENV): Likewise.
19302         (testmb2-ENV): Likewise./
19303         * string/Makefile (tst-strxfrm-ENV): Likewise.
19304         (tst-strxfrm2-ENV): Likewise.
19305         (bug-strcoll1-ENV): Likewise.
19306         (test-strcasecmp-ENV): Likewise.
19307         (test-strncasecmp-ENV): Likewise.
19308         * time/Makefile (tst-strptime-ENV): Likewise.
19309         (tst-ftime_l-ENV): Likewise.
19310         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19311         (tst-mbrtowc-ENV): Likewise.
19312         (tst-wcrtomb-ENV): Likewise.
19313         (tst-mbrtowc2-ENV): Likewise.
19314         (tst-c16c32-1-ENV): Likewise.
19315         (tst-mbsnrtowcs-ENV): Likewise.
19317 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19319         * manual/resource.texi (How to get information about the memory
19320         subsystem?): Fix typo.
19321         Reported by Peon de la Parra Ivan <peon@keba.com>
19323 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19325         [BZ #16882]
19326         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19327         (pthread_spin_lock): Branch out of spin loop to proper location.
19328         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19329         (pthread_spin_lock): Likewise.
19331         * nptl/tst-spin4.c: New test.
19332         * nptl/Makefile (tests): Add tst-spin4.
19334 2014-06-03  Andreas Schwab  <schwab@suse.de>
19336         [BZ #15946]
19337         * resolv/res_send.c (send_dg): Reload file descriptor after
19338         calling reopen.
19340 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19342         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19344 2014-06-03  Richard Henderson  <rth@redhat.com>
19346         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19347         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19348         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19349         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19350         in the SAVE_PID block.
19351         (__libc_vfork): New alias.
19352         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19354         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19355         child in registers, not on the stack.  Remove RESET_PID conditionals.
19356         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19358 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19360         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19362 2014-06-03  Wilco  <wdijkstr@arm.com>
19364         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19365         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19366         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19367         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19368         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19369         Likewise.
19371 2014-06-03  Wilco  <wdijkstr@arm.com>
19373         * sysdeps/aarch64/fpu/math_private.h
19374         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19375         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19376         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19377         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19378         Fix declarations.
19380 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19382         * crypt/crypt-private.h: Include ufc-crypt.h.
19383         (__b64_from_24bit): Declare extern.
19384         * crypt/crypt_util.c(__b64_from_24bit): New function.
19385         (b64t): New static const variable.
19386         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19387         (b64t): Remove variable.
19388         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19389         * crypt/sha256-crypt.c: Include crypt-private.h.
19390         (b64t): Remove variable.
19391         (__sha256_crypt_r): Remove b64_from_24bit and replace
19392         with __b64_from_24bit.
19393         * crypt/sha512-crypt.c: Likewise.
19395 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19397         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19398         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19399         Label the code __libc_vfork rather than __vfork.
19400         [!NOT_IN_libc] (vfork): Define as weak alias.
19401         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19402         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19403         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19405 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19407         * malloc/malloc.c (malloc_info): Fix format specifier for
19408         n_mmaps.
19410 2014-06-02  Wilco  <wdijkstr@arm.com>
19412         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19413         FPCR write.
19415 2014-06-02  Wilco  <wdijkstr@arm.com>
19417         [BZ #17009]
19418         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19419         Rewrite to reduce FPCR/FPSR accesses.
19421 2014-06-01  David S. Miller  <davem@davemloft.net>
19423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19425 2014-05-31  David S. Miller  <davem@davemloft.net>
19427         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19428         to occur in round to nearest mode when |x| >= 2.0
19430 2014-05-30  Richard Henderson  <rth@twiddle.net>
19432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19433         (PSEUDO_RET_NOERRNO): Remove.
19434         (ret): Don't redefine.
19435         (ret_NOERRNO): Define in terms of ret.
19436         (ret_ERRVAL): Likewise.
19438         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19439         use of PSEUDO_RET; perform the error check directly.
19441 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19443         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19444         with __int128_t.
19446 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19448         * malloc/malloc (malloc_info): Fix formatting.
19450 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19451             Roland McGrath  <roland@hack.frob.com>
19453         * malloc/malloc (malloc_info): Also print mmapped statistics.
19455 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19457         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19458         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19460 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19462         * malloc/malloc.c (malloc_info): Inline mi_arena.
19464 2014-05-29  Richard Henderson  <rth@twiddle.net>
19466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19467         Remove comma before expanding ASM_ARGS_##nr.
19468         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19469         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19470         of ASM_ARGS_##nr.
19471         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19472         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19473         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19474         (ASM_ARGS_1): Add leading comma.
19476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19477         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19478         to __errno_location.
19479         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19480         Remove the expected plt for __errno_location.
19482         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19483         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19484         call to __read_tp.
19486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19487         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19488         it and break it down.
19489         (DOCARGS_0, DOCARGS_1): Do nothing.
19490         (DOCARGS_2): Update to store into the new stack frame.
19491         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19492         (UNDOCARGS_1): Update to restore from the new stack frame.
19493         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19494         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19497         (SINGLE_THREAD_P): New parameter for result regno.
19498         (PSEUDO): Update to match; use cbz instead of beq.
19500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19501         Use ENTRY to define the _nocancel entry point.  Share the syscall
19502         and syscall error check paths with the cancel path.
19503         (PSEUDO_END): New.
19505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19506         whitespace; tabs before and after asm mnemonics.
19508 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19510         [BZ #15132]
19511         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19512         Call fstat64 or stat64 internally, depending on arguments passed.
19513         Replace stat buffer argument with file descriptor argument.
19514         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19515         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19516         Pass fd to __internal_statvfs instead of calling fstat64.
19517         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19518         Pass fd to __internal_statvfs64 instead of calling fstat64.
19519         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19520         Pass -1 to __internal_statvfs instead of calling stat64.
19521         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19522         Pass -1 to __internal_statvfs64 instead of calling stat64.
19524 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19526         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19527         that was previously under [RESET_PID].
19528         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19530         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19531         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19533 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19535         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19537         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19538         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19540 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19542         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19544 2014-05-27  Andreas Schwab  <schwab@suse.de>
19546         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19547         TLS_INIT_TP macro.
19548         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19549         * elf/rtld.c (init_tls, dl_main): Likewise.
19550         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19551         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19552         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19553         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19554         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19555         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19556         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19557         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19558         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19559         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19560         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19561         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19562         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19563         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19564         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19565         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19566         * sysdeps/generic/tls.h: Update description.
19568 2014-05-27  Will Newton  <will.newton@linaro.org>
19570         [BZ #16990]
19571         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19572         and restore r2 rather than just restoring.
19574 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19576         [BZ #16724]
19577         * libio/tst-ftell-append.c: New test case.
19578         * libio/Makefile (tests): Add test case.
19579         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19580         append mode.
19581         * libio/wfileops.c (do_ftell_wide): Likewise.
19583 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19587         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19588         ...
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19591         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19592         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19594         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19596         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19598         Moved ...
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19601         Moved ...
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19603         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19604         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19605         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19606         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19608         ...
19609         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19610         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19611         Moved ...
19612         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19613         here.
19614         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19615         ...
19616         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19617         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19618         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19620         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19621         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19623         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19626         merge into ...
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19629         ...
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19632         ...
19633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19635         Moved ...
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19637         here.
19638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19639         Moved ...
19640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19642         Moved ...
19643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19646         conditional [RESET_PID].
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19649         removed.
19650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19651         removed.
19653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19654         <tcb-offsets.h>.
19655         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19656         (__libc_vfork): New strong alias.
19657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19658         removed.
19659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19660         Removed.
19662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19663         <tcb-offsets.h>.
19664         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19665         (__libc_vfork): New strong alias.
19666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19667         removed.
19668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19669         removed.
19671 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19673         * malloc/malloc.c (mi_arena): New function.
19674         (malloc_info): Remove nested function mi_arena. Call non-nosted
19675         function mi_arena.
19677 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19679         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19680         by insrwi.
19681         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19682         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19683         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19684         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19685         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19686         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19687         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19689 2014-05-26  Andreas Schwab  <schwab@suse.de>
19691         [BZ #16984]
19692         * locale/programs/repertoire.c (repertoire_read): Add slash
19693         between I18NPATH element and file name.
19694         * locale/programs/locfile.c (locfile_read): Likewise.
19696 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19698         * nptl/pthread_mutexattr_settype.c
19699         (__pthread_mutexattr_settype):
19700         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19702 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19704         * nptl/tst-mutex5 (do_test):
19705         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19707 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19709         * benchtests/README: Document 'init' directive.
19710         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19711         BENCH_INIT.
19712         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19713         (parse_file): Recognize 'init' directive.
19715 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19717         [BZ #16796]
19718         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19719         alignment of struct pthread.
19721 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19723         [BZ #16878]
19724         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19725         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19726         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19727         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19729 2014-05-25  Richard Henderson  <rth@twiddle.net>
19731         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19732         (SINGLE_THREAD_P_PIC): Remove.
19733         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19734         (SINGLE_THREAD_P_PIC): Remove.
19736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19737         branch to syscall error ...
19738         (PSEUDO): ... here.
19739         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19740         from __local_syscall_error to .Lsyscall_error.
19741         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19742         (SYSCALL_ERROR): Update label name.
19744         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19745         Do not use DOARGS/UNDOARGS.
19746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19747         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19748         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19749         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19750         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19752         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19753         block comment.
19755         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19756         define if !NOT_IN_libc.
19757         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19758         define with non-default symbol versions.
19760 2014-05-23  Richard Henderson  <rth@twiddle.net>
19762         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19763         (vfork, __vfork): Define via compat_symbol.
19765         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19766         [!HAVE_IFUNC] (vfork_compat): Remove.
19767         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19769 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19771         [BZ #16978]
19772         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19773         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19774         variable.
19776 2014-05-23  Richard Henderson  <rth@twiddle.net>
19778         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19779         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19780         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19781         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19783         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19784         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19785         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19786         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19787         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19788         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19789         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19790         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19791         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19792         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19793         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19794         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19795         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19796         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19797         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19798         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19799         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19800         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19801         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19802         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19803         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19804         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19805         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19806         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19807         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19808         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19809         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19810         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19811         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19812         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19813         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19814         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19815         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19816         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19817         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19818         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19819         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19820         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19821         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19822         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19823         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19824         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19825         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19826         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19827         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19828         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19829         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19830         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19831         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19832         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19833         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19834         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19835         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19836         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19837         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19838         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19840         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19841         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19842         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19843         before exiting on error.
19844         (__libc_vfork): New strong alias.
19845         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19846         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19848         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19849         that was previously under [RESET_PID].
19850         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19852         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19854 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19856         [BZ #16977]
19857         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19858         value when x - 1 is zero.
19859         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19860         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19861         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19862         0.0L for an argument of 1.0L.
19863         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19864         Likewise.
19865         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19866         value when x - 1 is zero.
19867         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19868         * sysdeps/i386/fpu/libm-test-ulps: Update.
19869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19871 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19873         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19874         alphasort and versionsort.
19876 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19878         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19879         macro.
19880         [copysignf]: Likewise.
19882 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19884         * crypt/md5-crypt.c: Fix formatting.
19886 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19888         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19889         (b64_from_24bit): New function.
19891 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19893         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19894         libc_hidden_builtin_def to ifunc.
19895         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19896         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19898 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19900         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19901         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19903 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19905         * nscd/Depend (linuxthreads): Remove.
19906         (nptl): Add.
19907         * resolv/Depend (linuxthreads): Remove.
19908         * rt/Depend (linuxthreads): Remove.
19910         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19911         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19912         $(common-objpfx)elf/.
19913         (link-libc-before-gnulib): Likewise.
19914         (elfobjdir): Remove variable.
19915         * Makefile (install): Use $(elf-objpfx) instead of
19916         $(common-objpfx)elf/.
19917         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19918         $(elfobjdir)/.
19919         (link-libc-deps): Likewise.
19920         ($(common-objpfx)libc.so): Likewise.
19921         ($(common-objpfx)linkobj/libc.so): Likewise.
19922         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19923         instead of $(common-objpfx)elf/.
19924         (symbolic-link-list): Likewise.
19925         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19926         [$(cross-compiling) = no]: Likewise.
19927         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19928         $(elfobjdir)/.
19929         (static-gnulib-arch): Likewise.
19930         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19931         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19932         $(common-objpfx)elf/.
19934 2014-05-21  Richard Henderson  <rth@redhat.com>
19936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19937         (SINGLE_THREAD_P): Use the correct width load.  Fold
19938         into the ldr offset.
19940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19941         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19943 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19945         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19946         (libgcc_s_resume): Use __attribute_used__.
19947         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19948         Likewise.
19950 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19952         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19953         optimization when used with float constants.
19955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19957 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19959         [BZ #16915]
19960         * locale/nl_langinfo_l.c: Make direct reference to every
19961         _nl_current_CATEGORY symbol.
19962         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19963         (tests-static): Add tst-langinfo-static.
19964         (tests-special): Add tst-langinfo-static.out.
19965         ($(objpfx)tst-langinfo.out): Redirect output.
19966         ($(objpfx)tst-langinfo-static.out): New.
19967         * localedata/tst-langinfo.sh: Send output to stdout.
19968         * localedata/tst-langinfo-static.c: New file.
19970         [BZ #16965]
19971         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19972         when the shift amount is modulo the limb size.
19974 2014-05-20  Richard Henderson  <rth@redhat.com>
19976         [BZ #16967]
19977         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19978         Change type of sa_flags from unsigned int to int.
19980         [BZ #16966]
19981         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19983         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19985 2014-05-20  Will Newton  <will.newton@linaro.org>
19987         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19988         Test the return value of the system call in the nocancel case.
19990 2014-05-20  Will Newton  <will.newton@linaro.org>
19991             Yvan Roux  <yvan.roux@linaro.org>
19993         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19994         #include of asm/ptrace.h.
19995         (PTRACE_GET_THREAD_AREA): Remove #undef.
19996         (PTRACE_GETHBPREGS): Likewise.
19997         (PTRACE_SETHBPREGS): Likewise.
19998         (struct user_regs_struct): New structure.
19999         (struct user_fpsimd_struct): New structure.
20000         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20001         #include of asm/ptrace.h and second #include of sys/user.h.
20002         (PTRACE_GET_THREAD_AREA): Remove #undef.
20003         (PTRACE_GETHBPREGS): Likewise.
20004         (PTRACE_SETHBPREGS): Likewise.
20005         (ELF_NGREG): Use new struct user_regs_struct.
20006         (elf_fpregset_t): Use new struct user_fpsimd_struct.
20008 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20010         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20011         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20013 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
20015         [BZ #16958]
20016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20017         membar to avoid block loads/stores to overlap previous stores.
20019 2014-05-17  Richard Henderson  <rth@redhat.com>
20021         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20022         Create the __##syscall_name##_nocancel entry point.
20023         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20024         Remove; let the sysdep-cancel.h code create it.
20026 2014-05-17  David S. Miller  <davem@davemloft.net>
20028         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20029         Protect with __USE_GNU.
20030         (TIOCSET_TEMPT): Likewise.
20031         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20032         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20033         these are already provided in bits/ioctl-types.h
20035 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20037         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20038         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20040         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20041         Use wait4 regardless of [__NR_waitpid].
20043 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20045         PR libgcc/60166
20046         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20047         (_FP_NANSIGN_Q): Set the quiet bit.
20049 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
20051         * benchtests/Makefile
20052         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20053         not $(common-objpfx)math/libm.so.
20054         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20055         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20056         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20057         $(common-objpfx)dlfcn/libdl.so.
20058         ($(objpfx)tst-audit8): Depend on $(libm), not
20059         $(common-objpfx)math/libm.so.
20060         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20061         not $(common-objpfx)dlfcn/libdl.so.
20062         * math/Makefile
20063         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20064         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
20065         [$(build-shared) = yes].
20066         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20067         $(common-objpfx)nptl/libpthread.so.
20068         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20069         $(common-objpfx)math/libm.so$(libm.so-version) or
20070         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20071         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20072         $(common-objpfx)dlfcn/libdl.so.
20073         * setjmp/Makefile (link-libm): Remove variable.
20074         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20075         * stdio-common/Makefile (link-libm): Remove variable.
20076         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20077         * stdlib/Makefile (link-libm): Remove variable.
20078         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20079         ($(objpfx)tst-strtod-round): Likewise.
20080         ($(objpfx)tst-tininess): Likewise.
20081         ($(objpfx)tst-strtod-underflow): Likewise.
20082         ($(objpfx)tst-strtod6): Likewise.
20083         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20084         $(libdl), not $(common-objpfx)nptl/libpthread.so and
20085         $(common-objpfx)dlfcn/libdl.so.
20087 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20089         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20090         BSD terminal modes definitions.
20092 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20094         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20095         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20097         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20098         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20099         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20100         Don't do #include_next.
20101         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20102         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20103         Don't do #include_next.
20104         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20105         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20106         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20107         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20109 2014-05-16  Allan McRae  <allan@archlinux.org>
20111         * po/sv.po: Update Swedish translation from translation project.
20113         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20114         in sed expression.
20116 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20118         [BZ #16917]
20119         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20120         errno if the TIOCGPTN ioctl fails with an error different than
20121         EINVAL.
20122         * login/tst-ptsname.c: New file.
20123         * login/Makefile (tests): Add tst-ptsname.
20125         [BZ #16943]
20126         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20127         and prlimit64.
20129 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20131         [BZ #16849]
20132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20133         herrno to return EAI_AGAIN.
20135 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20137         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20138         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20139         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20140         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20141         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20142         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20143         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20144         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20145         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20146         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20147         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20148         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20149         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20150         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20151         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20152         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20153         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20154         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20155         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20156         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20157         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20158         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20159         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20160         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20161         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20162         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20163         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20164         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20165         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20166         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20168         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20170         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20172         Moved ...
20173         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20175         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20177         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20179         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20181         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20183         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20185         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20187         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20189         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20191         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20193         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20195         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20197         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20199         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20201         Moved ...
20202         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20204         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20206         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20208         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20210         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20212         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20214         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20216         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20218         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20220         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20222         Moved ...
20223         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20225         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20228         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20229         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20230         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20231         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20232         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20233         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20235         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20236         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20237         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20238         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20239         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20240         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20241         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20242         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20243         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20244         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20245         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20246         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20247         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20248         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20249         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20250         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20251         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20252         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20253         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20254         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20255         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20256         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20257         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20259         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20260         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20262         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20263         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20264         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20266         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20267         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20268         Moved ...
20269         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20270         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20271         Moved ...
20272         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20273         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20274         Moved ...
20275         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20276         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20277         Moved ...
20278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20279         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20280         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20281         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20282         Moved ...
20283         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20284         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20285         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20286         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20287         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20288         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20289         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20291         Moved ...
20292         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20293         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20294         Moved ...
20295         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20296         ... here.
20297         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20298         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20299         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20300         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20301         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20302         Moved ...
20303         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20304         ... here.
20305         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20306         Moved ...
20307         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20308         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20309         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20310         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20311         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20312         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20313         Moved ...
20314         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20315         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20316         Moved ...
20317         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20319         Moved ...
20320         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20321         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20322         Moved ...
20323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20324         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20325         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20326         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20327         Moved ...
20328         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20329         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20330         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20331         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20332         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20333         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20334         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20336         Moved ...
20337         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20338         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20339         Moved ...
20340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20341         ... here.
20342         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20343         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20344         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20345         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20346         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20347         Moved ...
20348         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20349         ... here.
20350         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20351         Moved ...
20352         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20353         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20354         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20355         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20356         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20357         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20359         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20360         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20362         Moved ...
20363         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20364         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20365         Moved ...
20366         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20368         Moved ...
20369         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20370         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20371         Moved ...
20372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20373         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20374         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20375         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20376         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20377         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20378         Moved ...
20379         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20380         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20381         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20382         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20383         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20384         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20385         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20387         Moved ...
20388         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20389         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20390         Moved ...
20391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20392         ... here.
20393         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20394         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20395         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20396         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20397         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20398         Moved ...
20399         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20400         ... here.
20401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20402         Moved ...
20403         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20404         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20405         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20406         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20407         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20408         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20409         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20410         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20411         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20412         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20413         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20415         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20416         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20418         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20419         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20421         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20422         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20423         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20424         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20425         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20426         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20427         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20428         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20429         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20430         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20431         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20432         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20433         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20434         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20435         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20436         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20437         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20438         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20439         Moved ...
20440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20441         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20443         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20444         Moved ...
20445         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20446         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20447         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20448         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20449         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20453         Moved ...
20454         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20456         Moved ...
20457         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20458         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20459         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20461         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20463         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20464         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20465         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20466         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20467         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20468         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20469         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20470         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20471         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20472         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20473         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20475         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20476         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20477         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20478         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20479         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20481         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20482         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20483         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20484         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20485         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20486         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20487         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20488         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20489         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20490         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20495         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20496         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20497         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20498         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20499         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20500         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20501         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20502         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20503         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20504         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20505         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20506         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20507         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20508         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20510         Update #include.
20511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20512         Likewise.
20513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20514         Likewise.
20515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20516         Likewise.
20517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20518         Likewise.
20519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20520         Likewise.
20521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20522         Likewise.
20523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20524         Likewise.
20525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20526         Likewise.
20527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20528         Likewise.
20529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20531         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20534         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20535         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20536         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20537         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20538         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20539         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20540         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20541         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20542         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20543         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20545         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20546         that was previously under [RESET_PID].
20547         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20548         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20549         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20551         * sysdeps/i386/nptl/Implies: New file.
20552         * sysdeps/x86_64/nptl/Implies: New file.
20553         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20554         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20555         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20556         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20558         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20559         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20560         (__libc_vfork): New strong alias.
20561         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20562         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20564         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20565         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20566         (__libc_vfork): New strong alias.
20567         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20568         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20570         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20571         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20572         (__libc_vfork): New strong alias.
20573         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20574         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20575         * nptl/pt-vfork.c: New file.
20576         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20577         (libpthread: GLIBC_2.20): New version set (empty).
20579 2014-05-14  Will Newton  <will.newton@linaro.org>
20581         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20582         rather than #if.
20584 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20586         [BZ #16564]
20587         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20588         arguments with exponent 65 or above.
20589         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20590         arguments 0x1p113L or above.
20591         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20592         to arguments 0x1p107L or above.
20593         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20594         positive arguments with exponent 65 or above.
20595         * math/auto-libm-test-in: Add more tests of log1p.
20596         * math/auto-libm-test-out: Regenerated.
20598         [BZ #16928]
20599         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20600         non-finite arguments is +0.
20601         * math/s_cacosf.c (__cacosf): Likewise.
20602         * math/s_cacosl.c (__cacosl): Likewise.
20603         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20604         * sysdeps/i386/fpu/libm-test-ulps: Update.
20605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20607         [BZ #16927]
20608         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20609         value.
20610         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20611         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20612         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20613         for explicit high bit of mantissa when testing for argument equal
20614         to 1.
20615         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20616         * sysdeps/i386/fpu/libm-test-ulps: Update.
20617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20619         [BZ #16516]
20620         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20621         (__erf): Scale by 16 instead of 8 in potentially underflowing
20622         case.  Ensure exception if result actually underflows.
20623         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20624         (__erff): Scale by 16 instead of 8 in potentially underflowing
20625         case.  Ensure exception if result actually underflows.
20626         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20627         (efx8): Remove variable.
20628         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20629         case.  Ensure exception if result actually underflows.
20630         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20631         (efx8): Remove variable.
20632         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20633         case.  Ensure exception if result actually underflows.
20634         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20635         (efx8): Remove variable.
20636         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20637         case.  Ensure exception if result actually underflows.
20638         * math/auto-libm-test-in: Add more tests of erf.
20639         * math/auto-libm-test-out: Regenerated.
20641 2014-05-14  Andreas Schwab  <schwab@suse.de>
20643         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20644         Remove code conditionalized on USE___THREAD.
20646         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20647         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20648         not definedness.
20650 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20652         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20653         Define unconditionally.
20654         (__ASSUME_O_CLOEXEC): Likewise.
20655         (__ASSUME_SOCK_CLOEXEC): Likewise.
20656         (__ASSUME_IN_NONBLOCK): Likewise.
20657         (__ASSUME_PIPE2): Likewise.
20658         (__ASSUME_EVENTFD2): Likewise.
20659         (__ASSUME_SIGNALFD4): Likewise.
20660         (__ASSUME_DUP3): Likewise.
20661         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20662         (__ASSUME_DUP3): Do not define.
20663         (__ASSUME_EVENTFD2): Likewise.
20664         (__ASSUME_IN_NONBLOCK): Likewise.
20665         (__ASSUME_O_CLOEXEC): Likewise.
20666         (__ASSUME_PIPE2): Likewise.
20667         (__ASSUME_SIGNALFD4): Likewise.
20668         (__ASSUME_SOCK_CLOEXEC): Likewise.
20669         (__ASSUME_UTIMES): Undefine.
20670         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20671         (__ASSUME_UTIMES): Do not define.
20672         (__ASSUME_O_CLOEXEC): Likewise.
20673         (__ASSUME_SOCK_CLOEXEC): Likewise.
20674         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20675         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20676         0x020621].
20677         (__ASSUME_PIPE2): Likewise.
20678         (__ASSUME_EVENTFD2): Likewise.
20679         (__ASSUME_SIGNALFD4): Likewise.
20680         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20681         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20682         Do not define.
20683         (__ASSUME_EVENTFD2): Likewise.
20684         (__ASSUME_SIGNALFD4): Likewise.
20685         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20686         (__ASSUME_32BITUIDS): Likewise.
20687         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20688         (__ASSUME_IPC64): Likewise.
20689         (__ASSUME_ST_INO_64_BIT): Likewise.
20690         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20691         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20693         (__ASSUME_UTIMES): Do not define.
20694         (__ASSUME_PSELECT): Likewise.
20695         (__ASSUME_PPOLL): Likewise.
20696         (__ASSUME_O_CLOEXEC): Likewise.
20697         (__ASSUME_SOCK_CLOEXEC): Likewise.
20698         (__ASSUME_IN_NONBLOCK): Likewise.
20699         (__ASSUME_PIPE2): Likewise.
20700         (__ASSUME_EVENTFD2): Likewise.
20701         (__ASSUME_SIGNALFD4): Likewise.
20702         (__ASSUME_DUP3): Likewise.
20703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20704         (__ASSUME_UTIMES): Likewise.
20705         (__ASSUME_O_CLOEXEC): Likewise.
20706         (__ASSUME_SOCK_CLOEXEC): Likewise.
20707         (__ASSUME_IN_NONBLOCK): Likewise.
20708         (__ASSUME_PIPE2): Likewise.
20709         (__ASSUME_EVENTFD2): Likewise.
20710         (__ASSUME_SIGNALFD4): Likewise.
20711         (__ASSUME_DUP3): Likewise.
20712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20713         (__ASSUME_UTIMES): Likewise.
20714         (__ASSUME_O_CLOEXEC): Likewise.
20715         (__ASSUME_SOCK_CLOEXEC): Likewise.
20716         (__ASSUME_IN_NONBLOCK): Likewise.
20717         (__ASSUME_PIPE2): Likewise.
20718         (__ASSUME_EVENTFD2): Likewise.
20719         (__ASSUME_SIGNALFD4): Likewise.
20720         (__ASSUME_DUP3): Likewise.
20721         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20722         Likewise.
20723         (__ASSUME_UTIMES): Likewise.
20724         (__ASSUME_EVENTFD2): Likewise.
20725         (__ASSUME_SIGNALFD4): Likewise.
20726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20727         (__ASSUME_O_CLOEXEC): Likewise.
20728         (__ASSUME_SOCK_CLOEXEC): Likewise.
20729         (__ASSUME_IN_NONBLOCK): Likewise.
20730         (__ASSUME_PIPE2): Likewise.
20731         (__ASSUME_EVENTFD2): Likewise.
20732         (__ASSUME_SIGNALFD4): Likewise.
20733         (__ASSUME_DUP3): Likewise.
20734         (__ASSUME_UTIMES): Undefine.
20736         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20737         feclearexcept.  Remove symbol versioning code.
20738         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20739         symbol versioning code.
20740         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20741         symbol versioning code.
20742         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20743         feupdateenv.  Remove symbol versioning code.
20744         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20745         fegetexceptflag.  Remove symbol versioning code.
20746         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20747         fesetexceptflag.  Remove symbol versioning code.
20748         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20749         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20750         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20751         (__posix_fadvise64_l32): Remove prototype.
20752         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20753         code.
20755 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20757         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20758         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20759         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20760         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20762 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20764         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20765         current working directory
20767 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20769         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20770         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20771         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20772         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20773         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20774         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20775         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20776         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20777         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20778         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20779         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20780         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20781         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20782         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20783         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20784         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20785         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20786         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20787         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20788         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20789         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20790         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20791         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20792         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20793         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20794         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20795         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20796         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20797         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20798         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20799         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20800         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20801         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20802         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20803         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20804         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20805         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20806         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20807         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20808         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20809         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20810         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20812         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20813         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20815         * sysdeps/unix/sysv/linux/arm/Makefile
20816         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20817         Add rt-aeabi_unwind_cpp_pr1.
20818         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20819         Add nptl-aeabi_unwind_cpp_pr1.
20820         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20821         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20822         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20823         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20824         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20825         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20827         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20828         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20829         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20830         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20832         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20833         Deconditionalize the code that was previously under [RESET_PID].
20834         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20836         * sysdeps/generic/exit-thread.h: New file.
20837         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20838         * include/unistd.h (__exit_thread): Remove declaration.
20839         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20840         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20841         * csu/libc-start.c: Include <exit-thread.h>.
20842         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20843         * nptl/pthread_create.c: Include <exit-thread.h>.
20844         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20845         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20846         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20847         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20848         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20849         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20850         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20851         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20852         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20853         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20854         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20855         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20856         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20857         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20858         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20859         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20860         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20862 2014-05-13  Andreas Schwab  <schwab@suse.de>
20864         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20866 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20868         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20869         (__ASSUME_UTIMES): Do not condition on kernel version.
20870         (__ASSUME_PSELECT): Define unconditionally.
20871         (__ASSUME_PPOLL): Likewise.
20872         (__ASSUME_ATFCTS): Likewise.
20873         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20874         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20875         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20876         (__ASSUME_UTIMENSAT): Define unconditionally.
20877         (__ASSUME_PRIVATE_FUTEX): Likewise.
20878         (__ASSUME_FALLOCATE): Likewise.
20879         (__ASSUME_O_CLOEXEC): Likewise.
20880         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20881         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20882         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20883         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20884         (__ASSUME_IN_NONBLOCK): Likewise.
20885         (__ASSUME_PIPE2): Likewise.
20886         (__ASSUME_EVENTFD2): Likewise.
20887         (__ASSUME_SIGNALFD4): Likewise.
20888         (__ASSUME_DUP3): Likewise.
20889         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20890         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20891         (__ASSUME_AT_RANDOM): Likewise.
20892         (__ASSUME_PREADV): Likewise.
20893         (__ASSUME_PWRITEV): Likewise.
20894         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20895         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20896         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20897         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20898         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20899         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20900         (__ASSUME_O_CLOEXEC): Define unconditionally.
20901         (__ASSUME_PSELECT): Do not undefine conditionally.
20902         (__ASSUME_PPOLL): Likewise.
20903         (__ASSUME_ATFCTS): Likewise.
20904         (__ASSUME_SET_ROBUST_LIST): Likewise.
20905         (__ASSUME_UTIMENSAT): Likewise.
20906         (__ASSUME_FDATASYNC): Define unconditionally.
20907         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20908         (__ASSUME_SIGFRAME_V2): Likewise.
20909         )__ASSUME_EVENTFD2): Likewise.
20910         (__ASSUME_SIGNALFD4): Likewise.
20911         (__ASSUME_PSELECT): Do not undefine conditionally.
20912         (__ASSUME_PPOLL): Likewise.
20913         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20914         (__ASSUME_PSELECT): Define unconditionally.
20915         (__ASSUME_PPOLL): Likewise.
20916         (__ASSUME_O_CLOEXEC): Likewise.
20917         (__ASSUME_SOCK_CLOEXEC): Likewise.
20918         (__ASSUME_IN_NONBLOCK): Likewise.
20919         (__ASSUME_PIPE2): Likewise.
20920         (__ASSUME_EVENTFD2): Likewise.
20921         (__ASSUME_SIGNALFD4): Likewise.
20922         (__ASSUME_DUP3): Likewise.
20923         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20924         (__ASSUME_O_CLOEXEC): Likewise.
20925         (__ASSUME_SOCK_CLOEXEC): Likewise.
20926         (__ASSUME_IN_NONBLOCK): Likewise.
20927         (__ASSUME_PIPE2): Likewise.
20928         (__ASSUME_EVENTFD2): Likewise.
20929         (__ASSUME_SIGNALFD4): Likewise.
20930         (__ASSUME_DUP3): Likewise.
20931         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20932         (__ASSUME_EVENTFD2): Likewise.
20933         (__ASSUME_SIGNALFD4): Likewise.
20934         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20936 2014-05-12  Andreas Schwab  <schwab@suse.de>
20938         [BZ #16932]
20939         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20940         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20941         than maximum RPC packet size.
20942         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20943         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20944         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20945         (_nss_nis_getservbyport_r): Likewise.
20947 2014-05-12  Will Newton  <will.newton@linaro.org>
20949         * malloc/Makefile (tests): Add tst-mallopt.
20950         * malloc/tst-mallopt.c: New file.
20952 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20954         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20955         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20957 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20959         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20960         (tst-tlsmod6.so): Likewise.
20962 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20964         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20966 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20968         [BZ #16064]
20969         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20970         and <dl-procinfo.h>.
20971         (__fegetenv): Save SSE state in envp->__eip if supported.
20972         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20973         envp->__eip if supported.
20974         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20975         and <dl-procinfo.h>.
20976         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20977         __data_offset and __data_selector in environment to 0.  Set SSE
20978         state if supported.
20979         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20980         test-fenv-sse.
20981         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20982         -mfpmath=sse.
20983         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20985 2014-05-09  Will Newton  <will.newton@linaro.org>
20987         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20988         and libc_relro_required for ARM.
20989         * sysdeps/arm/preconfigure: Regenerate.
20991 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20992             Stefan Liebler  <stli@linux.vnet.ibm.com>
20994         * config.make.in (enable-lock-elision): New Makefile variable.
20995         * configure.ac: Likewise.
20996         * configure: Regenerate.
20997         * sysdeps/s390/configure.ac:
20998         Add check for gcc transactions support.
20999         * sysdeps/s390/configure: Regenerate.
21000         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21001         Build elision files if enabled.
21002         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21003         Add lock elision support for s390.
21004         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21005         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21006         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21007         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21008         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21009         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21010         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21011         Likewise.
21012         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21013         Likewise.
21014         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21015         Likewise.
21016         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21017         Likewise.
21018         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21019         (__lll_timedlock_elision, __lll_lock_elision)
21020         (__lll_unlock_elision, __lll_trylock_elision)
21021         (lll_timedlock_elision, lll_lock_elision)
21022         (lll_unlock_elision, lll_trylock_elision): Add.
21023         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21024         (pthread_mutex_t): Add lock elision support for s390.
21026 2014-05-14  Wilco  <wdijkstr@arm.com>
21028         * sysdeps/arm/fclrexcpt.c: Cleanup.
21029         * sysdeps/arm/fedisblxcpt.c: Cleanup.
21030         * sysdeps/arm/feenablxcpt.c: Cleanup.
21031         * sysdeps/arm/fegetenv.c: Cleanup.
21032         * sysdeps/arm/fegetexcept.c: Cleanup.
21033         * sysdeps/arm/fegetround.c: Cleanup.
21034         * sysdeps/arm/feholdexcpt.c: Cleanup.
21035         * sysdeps/arm/fesetenv.c: Cleanup.
21036         * sysdeps/arm/fesetround.c: Cleanup.
21037         * sysdeps/arm/feupdateenv.c: Cleanup.
21038         * sysdeps/arm/fgetexcptflg.c: Cleanup.
21039         * sysdeps/arm/fraiseexcpt.c: Cleanup.
21040         * sysdeps/arm/fsetexcptflg.c: Cleanup.
21041         * sysdeps/arm/ftestexcept.c: Cleanup.
21042         * sysdeps/arm/get-rounding-mode.h: Cleanup.
21043         * sysdeps/arm/setfpucw.c: Cleanup.
21045 2014-05-09  Will Newton  <will.newton@linaro.org>
21047         * sysdeps/arm/armv7/strcmp.S: New file.
21048         * NEWS: Mention addition of ARMv7 optimized strcmp.
21050 2014-05-08  Roland McGrath  <roland@hack.frob.com>
21052         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21053         look for %.ac rather than %.in.
21055         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21056         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21057         * sysdeps/mach/hurd/configure: Regenerated.
21058         * sysdeps/unix/sysv/linux/configure: Regenerated.
21060         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21062 2014-05-07  Steve Ellcey  <sellcey@mips.com>
21064         [BZ# 16922]
21065         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21066         (LONG_SUB): Ditto.
21067         (PTR_SUB): Ditto.
21069 2014-05-07  Andreas Schwab  <schwab@suse.de>
21071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21072         when skipping over non-matching result from nscd.
21074 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
21076         [BZ #16876]
21077         * nptl/sockperf.c (client): Check socket return value.
21079         [BZ #16877]
21080         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21081         nscd security class.
21083 2014-05-06  Roland McGrath  <roland@hack.frob.com>
21085         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21086         * sysdeps/arm/unwind.h: ... here.
21088 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
21090         [BZ# 16916]
21091         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21092         Define.
21094 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21096         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21097         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21098         multiarch strncpy for PPC64.
21099         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21100         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21102         multiarch optimizations.
21103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21104         (__libc_ifunc_impl_list): Likewise.
21105         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21106         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21107         multiarch stpncpy for PPC64.
21108         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21109         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21111 2014-05-06  Andreas Schwab  <schwab@suse.de>
21113         [BZ #16912]
21114         * gmon/mcount.c (_MCOUNT_DECL): Use
21115         atomic_compare_and_exchange_bool_acq instead of
21116         catomic_compare_and_exchange_bool_acq.
21118 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21120         * elf/Makefile (others, install-bin): Remove pldd.
21121         (pldd-modules): Variable removed.
21122         ($(objpfx)pldd): Target removed.
21123         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21124         (others, install-bin): Append pldd here.
21125         ($(objpfx)pldd): New target.
21127         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21128         to 0, so the first #if test emitted later doesn't see it undefined.
21129         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21130         * sysdeps/gnu/errlist.c: Regenerated.
21132 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21134         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21135         [libc_hidden_builtin_def]: Define to empty value.
21136         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21137         [libc_hidden_builtin_def]: Likewise.
21138         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21139         [libc_hidden_builtin_def]: Likewise.
21140         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21141         [libc_hidden_builtin_def]: Likewise.
21142         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21143         __redirect_memcpy and define ifunc as default hidden symbol.
21144         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21145         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21147 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21149         * locale/iso-4217.def: Reintroduce XDR currency.
21151 2014-05-04  Allan McRae  <allan@archlinux.org>
21153         * po/eo.po: Update Esperanto translation from translation project.
21155 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21157         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21158         and FEATURE_INDEX_MAX to 1.
21159         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21161 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21163         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21164         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21165         * iconvdata/big5.c (ONE_DIRECTION): Define.
21166         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21167         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21168         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21169         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21170         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21171         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21172         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21173         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21174         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21175         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21176         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21177         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21178         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21179         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21180         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21181         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21182         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21183         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21184         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21185         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21186         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21187         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21188         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21189         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21190         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21191         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21192         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21193         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21194         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21195         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21196         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21197         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21198         * iconvdata/johab.c (ONE_DIRECTION): Define.
21199         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21200         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21201         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21202         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21203         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21204         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21205         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21206         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21207         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21208         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21210 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21212         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21213         (_IO_JUMPS_OFFSET): Define to 0.
21215         * nptl/sysdeps/pthread/bits/libc-lock.h
21216         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21217         (__libc_lock_define_initialized_recursive): Always define using
21218         initializer.  Modern compilers treat uninitialized (implicit zero) and
21219         explicit zero initializers the same (i.e. put the datum in bss).
21221 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21223         * nscd/nscd-client.h: Include <string.h>.
21225 2014-05-01  David S. Miller  <davem@davemloft.net>
21227         [BZ #16885]
21228         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21229         multiple zero bytes exist at the end of a string.
21230         Reported by Aurelien Jarno <aurelien@aurel32.net>
21232         * string/test-strcmp.c (check): Add explicit test for situations where
21233         there are multiple zero bytes after the first.
21235 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21237         [BZ #16890]
21238         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21239         when compiling wprintf.
21240         * stdio-common/tstdiomisc.c (t3): New function.
21241         (main): Call it.
21243 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21245         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21246         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21247         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21248         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21250 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21252         * stdlib/longlong.h: Updated from GCC.
21254 2014-05-01  Will Newton  <will.newton@linaro.org>
21255             Bernard Ogden  <bernie.ogden@linaro.org>
21257         * NEWS: Update fixed bug list.
21259         [BZ #15119]
21260         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21262 2014-04-30  David S. Miller  <davem@davemloft.net>
21264         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21265         (libc_feholdexcept_setround_sparc_ctx): New function.
21266         (libc_fesetenv_sparc_ctx): Likewise.
21267         (libc_feupdateenv_sparc_ctx): Likewise.
21268         (libc_feholdsetround_sparc_ctx): Likewise.
21269         (libc_feholdexcept_setround_ctx): Define.
21270         (libc_feholdexcept_setroundf_ctx): Likewise.
21271         (libc_feholdexcept_setroundl_ctx): Likewise.
21272         (libc_fesetenv_ctx): Likewise.
21273         (libc_fesetenvf_ctx): Likewise.
21274         (libc_fesetenvl_ctx): Likewise.
21275         (libc_feupdateenv_ctx): Likewise.
21276         (libc_feupdateenvf_ctx): Likewise.
21277         (libc_feupdateenvl_ctx): Likewise.
21278         (libc_feresetround_ctx): Likewise.
21279         (libc_feresetroundf_ctx): Likewise.
21280         (libc_feresetroundl_ctx): Likewise.
21281         (libc_feholdsetround_ctx): Likewise.
21282         (libc_feholdsetroundf_ctx): Likewise.
21283         (libc_feholdsetroundl_ctx): Likewise.
21285         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21286         with __USE_GNU instead of XOPEN cpp guards.
21288         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21289         0.
21291         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21292         with XOPEN cpp guards.
21294 2014-04-30  Julian Brown  <julian@codesourcery.com>
21296         [BZ #16888]
21297         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21298         handling.
21300 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21302         [BZ #9894]
21303         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21304         Change to 2.6.32.
21305         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21306         * sysdeps/unix/sysv/linux/configure: Regenerated.
21307         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21308         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21309         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21310         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21311         * README: Update reference to required Linux kernel version.
21312         * manual/install.texi (Linux): Update reference to required Linux
21313         kernel headers version.
21314         * INSTALL: Regenerated.
21316         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21317         header inclusion.
21318         [POSIX] (limits.h): Likewise.
21319         [POSIX] (math.h): Likewise.
21320         [POSIX] (sys/wait.h): Likewise.
21321         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21322         function.
21323         [POSIX] (stddef.h): Do not allow header inclusion.
21325 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21327         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21329 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21331         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21332         Return immediately after lll_futex_wake.
21334 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21336         [BZ #16791]
21337         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21338         structure.
21339         (datahead_init_pos): Call datahead_init_common early.
21340         (datahead_init_neg): Likewise.
21342         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21343         datahead_init_neg): New functions.
21344         * nscd/aicache.c (addhstaiX): Use them.
21345         * nscd/grpcache.c (cache_addgr): Likewise.
21346         * nscd/hstcache.c (cache_addhst): Likewise.
21347         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21348         * nscd/netgroupcache.c (do_notfound): Likewise.
21349         (addgetnetgrentX): Likewise.
21350         (addinnetgrX): Likewise.
21351         * nscd/pwdcache.c (cache_addpw): Likewise.
21352         * nscd/servicescache.c (cache_addserv): Likewise.
21354 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21355             Atsushi Onoe  <atsushi@onoe.org>
21357         [BZ #14308]
21358         [BZ #12994]
21359         [BZ #13651]
21360         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21361         one response is valid.
21362         * resolv/res_send.c (send_dg): Check for validity of other
21363         response if the current response is a referral.
21365 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21367         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21369 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21371         [BZ #16823]
21372         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21373         Always divide by positive zero when computing -Inf result.
21374         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21375         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21377 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21379         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21380         FPSCR if value do not change.
21381         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21382         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21383         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21384         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21385         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21386         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21387         function.
21389 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21391         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21392         * sysdeps/unix/sysv/linux/hppa: Move directory from
21393         ports/systeps/unix/sysv/linux/hppa.
21394         * README: Update listing for hppa-*-linux-gnu.
21396 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21398         [BZ #16754]
21399         * manual/stdio.texi (Hook functions): Fix types of stream hook
21400         functions.
21401         [BZ #16854]
21402         * socket/sys/socket.h: Fix typo in comment.
21404 2014-04-28  Wilco  <wdijkstr@arm.com>
21406         * sysdeps/arm/fenv_private.h: New file.
21407         * sysdeps/arm/math_private.h: New file.
21408         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21410 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21412         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21413         with __int128_t.
21414         (La_x86_64_retval): Likewise.
21416 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21418         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21419         fpsr if value didn't change.
21420         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21421         to fpcr if value didn't change.
21422         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21423         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21424         fpsr or fpcr if value didn't change.
21425         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21426         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21427         fpcr if value didn't change.
21428         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21429         to fpsr if value didn't change.
21431 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21433         * nptl/tst-sem3.c: Use test-skeleton.c
21434         (main): Rename to do_test.  Use return instead of
21435         exit.
21436         * nptl/tst-sem4.c: Use test-skeleton.c
21437         (main): Rename to do_test.
21439 2014-04-22  David S. Miller  <davem@davemloft.net>
21441         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21442         (struct sigaction): New struct member __glibc_reserved0, change
21443         type of sa_flags to int.
21445 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21447         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21448         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21450 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21452         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21453         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21455 2014-04-22  Will Newton  <will.newton@linaro.org>
21456             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21458         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21459         (__longjmp): Add longjmp and longjmp_target SystemTap
21460         probes.
21461         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21462         (__sigsetjmp): Add setjmp SystemTap probe.
21464 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21466         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21467         match manual order.
21469 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21471         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21473         * sysdeps/powerpc/fpu/fenv_private.h
21474         (libc_feholdexcept_setroundl_ctx): Define to
21475         libc_feholdexcept_setround_ppc_ctx.
21476         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21477         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21478         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21479         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21481 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21483         * sysdeps/aarch64/math-tests.h: New file.
21485 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21487         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21488         New.
21489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21490         Check and set bit_AVX2_Usable.
21491         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21492         macro.
21493         (bit_AVX2): Likewise.
21494         (index_AVX2_Usable): Likewise.
21495         (CPUID_AVX2): Likewise.
21496         (HAS_AVX2): Likewise.
21498 2014-04-17  Will Newton  <will.newton@linaro.org>
21500         * manual/setjmp.texi (System V contexts): Add note that
21501         calling setcontext on a context created by a call to a
21502         signal handler is undefined.  Update text to note that
21503         setcontext from a signal handler is possible but not
21504         recommended.
21506         [BZ #16629]
21507         * stdlib/tst-setcontext.c: Include signal.h.
21508         (main): Check that the signal stack before and
21509         after swapcontext is the same.
21511         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21512         Re-implement to restore registers in user code and avoid
21513         rt_sigreturn system call.
21515 2014-04-17  Wilco  <wdijkstr@arm.com>
21517         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21518         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21519         * math/test-fenv.c: Skip exception trap tests on targets which only
21520         support non-stop mode.
21522 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21523             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21525         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21526         (libc_feholdsetround_aarch64_ctx)
21527         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21528         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21529         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21530         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21531         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21532         (libc_feresetround_noexl_ctx): Define.
21534 2014-04-16  Richard Henderson  <rth@redhat.com>
21536         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21538         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21539         unwind tables.
21541         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21542         const from the non-libc, non-ldso copy.
21544         * sysdeps/alpha/libm-test-ulps: Regenerate.
21546 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21547             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21549         * sysdeps/aarch64/fpu/math_private.h: New file.
21551 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21553         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21555 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21557         [BZ #16275]
21558         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21559         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21560         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21561         Intel MPX bound registers before _dl_profile_fixup.
21562         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21563         registers after _dl_profile_fixup.  Save and restore bound
21564         registers bnd0/bnd1 when calling _dl_call_pltexit.
21565         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21566         (LR_BND_OFFSET): Likewise.
21567         (LRV_BND0_OFFSET): Likewise.
21568         (LRV_BND1_OFFSET): Likewise.
21570 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21572         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21573         to...
21574         * sysdeps/mach/hurd/i386/tls.h: ... here.
21575         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21576         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21577         fields.
21579 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21581         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21583 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21585         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21587 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21589         [BZ #14770]
21590         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21591         * sysdeps/s390/configure: Regenerate.
21593         [BZ #16824]
21594         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21595         Set round-to-nearest internally to reduce error accumulation.
21597 2014-04-16  Alan Modra  <amodra@gmail.com>
21599         [BZ #16740]
21600         [BZ #16619]
21601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21602         * math/libm-test.inc (frexp_test_data): Add tests.
21603         * NEWS: Update fixed bug list.
21605 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21607         * benchtests/Makefile: Depend on libraries in build directory.
21608         (bench-math): Separate out math tests.
21609         (bench-pthread): Separate out pthread tests.
21610         (bench): Include math and pthread tests.
21612 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21614         [BZ #16831]
21615         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21616         _dl_debug_initialize.
21618         * configure.ac: Remove SELinux header check.
21619         * configure: Regenerate.
21620         * nscd/selinux.c (perms): Array of const char* to permission names.
21621         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21622         default policy. Call string_to_security_class and string_to_av_perm to
21623         translate strings. Enforce default policy and call avs_has_perm with
21624         results of translated strings.
21626 2014-04-13  David S. Miller  <davem@davemloft.net>
21628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21630 2014-04-12  Allan McRae  <allan@archlinux.org>
21632         [BZ #16838]
21633         * manual/string.texi (Collation Functions): Fix qsort argument
21634         order in example.
21635         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21637 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21639         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21640         Make the test a no-op if there are no exceptions defined.
21642 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21644         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21645         enable-hardcoded-path-in-tests
21647 2014-04-11  Will Newton  <will.newton@linaro.org>
21649         * benchtests/Makefile (extra-objs): Add json-lib.o.
21650         (bench-func): Tidy up JSON output.
21651         * benchtests/bench-skeleton.c: Include json-lib.h.
21652         (main): Use JSON library functions to do output of
21653         benchmark results.
21654         * benchtests/bench-timing-type.c (main): Output the
21655         timing type simply, leaving formatting to the user.
21656         * benchtests/json-lib.c: New file.
21657         * benchtests/json-lib.h: Likewise.
21659 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21661         [BZ #15215]
21662         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21663         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21664         memory barriers.  Add comments.
21665         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21666         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21667         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21668         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21669         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21670         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21672 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21674         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21675         * sysdeps/s390/s390-64/configure.ac: ... this ...
21676         * sysdeps/s390/configure.ac: ... to here.
21677         * sysdeps/s390/s390-32/configure: Delete file.
21678         * sysdeps/s390/s390-64/configure: Delete file.
21679         * sysdeps/s390/configure: Regenerate.
21681 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21683         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21685 2014-04-11  Will Newton  <will.newton@linaro.org>
21687         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21688         to zero if it is not defined elsewhere.  (mtrim): Test
21689         the value of MALLOC_DEBUG with #if rather than #ifdef.
21691 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21693         * benchtests/pthread_once-inputs: New file.
21694         * benchtests/pthread_once-source.c: New file.
21695         * benchtests/README: Update documentation.
21697 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21698             H.J. Lu  <hongjiu.lu@intel.com>
21700         [BZ #16275]
21701         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21702         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21703         * sysdeps/x86_64/configure: Regenerated.
21704         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21705         macro.
21706         (REGISTER_SAVE_RAX): Likewise.
21707         (REGISTER_SAVE_RCX): Likewise.
21708         (REGISTER_SAVE_RDX): Likewise.
21709         (REGISTER_SAVE_RSI): Likewise.
21710         (REGISTER_SAVE_RDI): Likewise.
21711         (REGISTER_SAVE_R8): Likewise.
21712         (REGISTER_SAVE_R9): Likewise.
21713         (REGISTER_SAVE_BND0): Likewise.
21714         (REGISTER_SAVE_BND1): Likewise.
21715         (REGISTER_SAVE_BND2): Likewise.
21716         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21717         bound registers when calling _dl_fixup.
21719 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21721         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21722         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21723         of its definition.
21724         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21725         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21726         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21727         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21728         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21729         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21730         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21732 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21734         [BZ #15514]
21735         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21736         pathconf(_PC_NAME_MAX).
21738 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21740         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21741         Remove macro usage.
21742         (__PTHREAD_SPINS): Move definition to ...
21743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21744         (__PTHREAD_SPINS): ... here.
21745         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21746         (__PTHREAD_SPIN): Likewise.
21747         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21748         (__PTHREAD_SPIN): Likewise.
21749         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21750         (__PTHREAD_SPIN): Likewise.
21751         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21752         (__PTHREAD_SPIN): Likewise.
21753         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21754         (__PTHREAD_SPIN): Likewise.
21755         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21756         (__PTHREAD_SPIN): Likewise.
21757         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21758         (__PTHREAD_SPIN): Likewise.
21759         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21760         (__PTHREAD_SPIN): Likewise.
21761         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21762         (__PTHREAD_SPIN): Likewise.
21763         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21764         (__PTHREAD_SPIN): Likewise.
21765         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21766         (__PTHREAD_SPIN): Likewise.
21767         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21768         (__PTHREAD_SPIN): Likewise.
21770         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21771         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21772         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21773         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21774         imply folder.
21775         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21776         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21777         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21778         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21779         correct imply path.
21780         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21781         strlen symbol for non multi-arch builds.
21782         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21783         missing hidden_def and weak_alias.
21785 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21787         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21789 2014-04-07  Will Newton  <will.newton@linaro.org>
21791         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21792         and contents.  [!_LIBC] Remove #ifndef and contents.
21793         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21794         * string/memccpy.c (__memccpy): Use ANSI prototype.
21795         * string/memfrob.c (memfrob): Likewise.
21796         * string/strcoll.c (STRCOLL): Likewise.
21797         * string/strlen.c (strlen): Likewise.
21798         * string/strtok.c (STRTOK): Likewise.
21799         * string/strcat.c: Remove unused #include of memcopy.h.
21800         (strcat): Use ANSI prototype.
21801         * string/strchr.c: Remove unused #include of memcopy.h.
21802         (strchr): Use ANSI prototype.
21803         * string/strcmp.c: Remove unused #include of memcopy.h.
21804         (strcmp): Use ANSI prototype.
21805         * string/strcpy.c: Remove unused #include of memcopy.h.
21806         (strcpy): Use ANSI prototype.
21808 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21810         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21811         * config.make.in (config-extra-cppflags): Set it from
21812         libc_extra_cppflags.
21813         * configure.ac (libc_extra_cflags): Make it accumulate over
21814         configure fragments.
21815         (libc_extra_cppflags): New flag.
21816         * configure. Regenerate.
21817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21818         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21819         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21822         [BZ #16815]
21823         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21824         result for FE_DOWNWARD rounding mode.
21825         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21826         Likewise.
21827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21829 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21831         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21832         in function argument name.
21834 2014-04-03  David Svoboda  <svoboda@cert.org>
21836         [BZ #5666]
21837         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21838         explicitly.
21840 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21842         * elf/dl-unmap-segments.h: New file.
21843         * sysdeps/generic/ldsodefs.h
21844         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21845         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21846         * elf/dl-fptr.c: Likewise.
21847         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21848         * sysdeps/aarch64/tlsdesc.c: Likewise.
21849         * sysdeps/arm/tlsdesc.c: Likewise.
21850         * sysdeps/i386/tlsdesc.c: Likewise.
21851         * sysdeps/tile/dl-runtime.c: Likewise.
21852         * sysdeps/x86_64/tlsdesc.c: Likewise.
21853         * elf/dl-load.h: New file.
21854         * elf/dl-load.c: Include it.
21855         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21856         Macros moved to dl-load.h.
21857         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21858         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21859         Use _dl_unmap_segments in place of __munmap.
21860         Break out segment-mapping loop into ...
21861         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21863 2014-04-03  Will Newton  <will.newton@linaro.org>
21865         * elf/dl-lookup.c (do_lookup_x): Remove comment
21866         referring to nested function and move variable
21867         declarations down to before first use.
21869 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21871         [BZ #16799]
21872         [BZ #16800]
21873         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21874         with 0 numerator.
21875         * math/s_catanf.c (__catanf): Likewise.
21876         * math/s_catanh.c (__catanh): Likewise.
21877         * math/s_catanhf.c (__catanhf): Likewise.
21878         * math/s_catanhl.c (__catanhl): Likewise.
21879         * math/s_catanl.c (__catanl): Likewise.
21880         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21881         by positive zero when computing -Inf result.
21882         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21883         (catanh_test): Likewise.
21884         * sysdeps/i386/fpu/libm-test-ulps: Update.
21885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21887         [BZ #16789]
21888         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21889         instead of using underflowing value in computing result.
21890         * math/s_clog10.c (__clog10): Likewise.
21891         * math/s_clog10f.c (__clog10f): Likewise.
21892         * math/s_clog10l.c (__clog10l): Likewise.
21893         * math/s_clogf.c (__clogf): Likewise.
21894         * math/s_clogl.c (__clogl): Likewise.
21895         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21896         (clog10_test): Likewise.
21897         * sysdeps/i386/fpu/libm-test-ulps: Update.
21898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21900 2014-04-02  Alan Modra  <amodra@gmail.com>
21902         [BZ #16739]
21903         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21904         output when value is near a power of two.  Use int64_t for lx and
21905         remove casts.  Use decimal rather than hex exponent constants.
21906         Don't use long double multiplication when double will suffice.
21907         * math/libm-test.inc (nextafter_test_data): Add tests.
21908         * NEWS: Add 16739 and 16786 to bug list.
21910         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21912         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21914 2014-04-01  Will Newton  <will.newton@linaro.org>
21916         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21917         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21919 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21921         [BZ #13347]
21922         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21923         * nptl/tst-setuid2.c: New file.
21924         * nptl/Makefile (xtests): Add tst-setuid2.
21926 2014-04-01  Alan Modra  <amodra@gmail.com>
21928         [BZ #16786]
21929         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21931 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21933         [BZ #6803]
21934         [BZ #6804]
21935         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21936         set errno as appropriate.
21937         * math/w_scalbf.c (__scalbf): Likewise.
21938         * math/w_scalbl.c (__scalbl): Likewise.
21939         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21940         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21941         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21942         Add more NaN tests.
21944         [BZ #16349]
21945         * math/w_atan2.c: Include <errno.h>.
21946         (__atan2): Set errno for result underflowing to zero.
21947         * math/w_atan2f.c: Include <errno.h>.
21948         (__atan2f): Set errno for result underflowing to zero.
21949         * math/w_atan2l.c: Include <errno.h>.
21950         (__atan2l): Set errno for result underflowing to zero.
21951         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21952         tests.
21953         * math/auto-libm-test-out: Regenerated.
21955 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21957         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21958         Encode instruction correctly in little endian.
21959         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21960         Likewise.
21961         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21962         Likewise.
21963         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21964         Likewise.
21965         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21966         Likewise.
21968 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21970         [BZ #9894]
21971         * sysdeps/unix/sysv/linux/kernel-features.h
21972         [__sparc__ && !__arch64__ && !__sparc_v9__]
21973         (__ASSUME_SET_ROBUST_LIST): Do not define.
21974         [__sparc__ && !__arch64__ && !__sparc_v9__]
21975         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21976         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21977         Likewise.
21978         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21979         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21980         (__ASSUME_REQUEUE_PI): Likewise.
21981         (__ASSUME_SET_ROBUST_LIST): Likewise.
21982         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21983         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21984         Undefine.
21985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21986         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21987         Likewise.
21988         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21989         Likewise.
21990         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21991         Likewise.
21992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21993         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21994         Undefine.
21995         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21996         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21997         Likewise.
21999         [BZ #16648]
22000         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22001         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22002         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22004 2014-03-31  Will Newton  <will.newton@linaro.org>
22006         * benchtests/Makefile (bench): Add ffs and ffsll to list
22007         of tests.
22008         * benchtests/ffs-inputs: New file.
22009         * benchtests/ffsll-inputs: Likewise.
22011 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
22013         [BZ #16770]
22014         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22015         too large before casting to int.
22016         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22017         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22018         * math/libm-test.inc (scalb_test_data): Add more tests.
22020 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22022         * benchtests/Makefile (DETAILED_OPT): New make option.
22023         (bench-func): Run benchmark program with -d if DETAILED_OPT is
22024         set.
22025         * benchtests/bench-skeleton.c: Include stdbool.h.
22026         (main): Store and print timings per input.
22027         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22028         member to each argument value.
22029         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22030         (_print_arg_data): Initialize per-input timing to 0.
22032         * benchtests/Makefile (timing-type): New binary.
22033         (bench-clean): Also remove bench-timing-type.
22034         (bench): New target for timing-type.
22035         (bench-func): Print output in JSON format.
22036         * benchtests/bench-skeleton.c (main): Print output in JSON
22037         format.
22038         * benchtests/bench-timing-type.c: New file.
22039         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22040         (TIMING_PRINT_STATS): Remove.
22041         * benchtests/scripts/bench.py (_print_arg_data): Store variant
22042         name separately.
22044         * benchtests/bench-modf.c: Remove.
22045         * benchtests/modf-inputs: New inputs file.
22047 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
22049         [BZ #16362]
22050         * math/s_clog10.c (M_PI_LOG10E): New macro.
22051         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22052         imaginary parts are 0.
22053         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22054         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22055         imaginary parts are 0.
22056         * math/s_clog10l.c (M_PI_LOG10El): New macro.
22057         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22058         imaginary parts are 0.
22059         * math/libm-test.inc (clog10_test_data): Update expected results
22060         for when real and imaginary parts are 0.
22062 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
22064         * elf/dl-load.c: Finish conversion of __builtin_expect into
22065         __glibc_{un}likely.
22067 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
22069         [BZ #16348]
22070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22071         1+x for argument with exponent below -67.
22072         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22073         Likewise.
22074         * math/auto-libm-test-in: Add more tests of exp.
22075         * math/auto-libm-test-out: Regenerated.
22077 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22079         [BZ #16759]
22080         * inet/getnetgrent_r.c (get_nonempty_val): New function.
22081         (nscd_getnetgrent): Use it.
22083         [BZ #16760]
22084         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22085         of stpcpy.
22087 2014-03-27  Andi Kleen  <ak@linux.intel.com>
22089         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22090         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22091         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22092         (lll_robust_unlock): Remove out of line section. Use cfi
22093         intrinsics.
22094         (LLL_STUB_UNWIND_INFO*): Remove.
22095         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22096         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22097         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22098         (lll_robust_unlock): Remove out of line section. Use cfi
22099         intrinsics.
22100         (LLL_STUB_UNWIND_INFO*): Remove.
22102 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22104         [BZ #16758]
22105         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22106         blank values.
22108 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22110         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22112 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22114         [BZ #16198]
22115         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22116         fnstenv.
22117         * math/test-fenv-preserve.c: New file.
22118         * math/Makefile (tests): Add test-fenv-preserve.
22120 2014-03-26  Will Newton <will.newton@linaro.org>
22122         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22124 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22126         * scripts/versionlist.awk: Partition the version sets and emit all
22127         GLIBC_* (sorted) before all others (sorted).
22129 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22131         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22132         GLIBC_2.2.5 version.
22134 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22136         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22137         calls.
22139         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22140         previous change.
22142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22144 2014-03-25  Andreas Schwab  <schwab@suse.de>
22146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22147         label to be used after in6ailist is initialized.
22149 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22151         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22152         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22154 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #16357]
22157         [BZ #16599]
22158         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22159         min_plus_half.
22160         (fp_formats): Update initializers.
22161         (init_fp_formats): Initialize new field.
22162         (output_for_one_input_case): Allow underflow for results up to
22163         min_plus_half.
22164         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22165         * math/auto-libm-test-in: Don't mark some underflows from asin and
22166         atanh as spurious.
22167         * math/auto-libm-test-out: Regenerated.
22168         * sysdeps/i386/fpu/libm-test-ulps: Update.
22169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171 2014-03-25  Andreas Schwab  <schwab@suse.de>
22173         * libio/Makefile (tst-ftell-partial-wide-ENV)
22174         (tst-ftell-active-handler-ENV): Define.
22176 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22178         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22180 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22182         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22184 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22186         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22187         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22188         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22190 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22192         [BZ #16634]
22193         * elf/dl-load.c (open_verify): Add mode parameter.
22194         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22195         (open_path): Change from boolean 'secure' to complete flag 'mode'
22196         (_dl_map_object): Adjust.
22197         * elf/Makefile (tests): Add tst-dlopen-aout.
22198         * elf/tst-dlopen-aout.c: New test.
22200 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22202         [BZ #16714]
22203         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22204         (struct stat): Rename member pad0 to __glibc_reserved0.
22206         [BZ #16712]
22207         * sysdeps/s390/s390-32/bits/wordsize.h
22208         (__WORDSIZE32_SIZE_ULONG): New define.
22209         * sysdeps/s390/s390-64/bits/wordsize.h
22210         (__WORDSIZE32_SIZE_ULONG): Likewise.
22211         * sysdeps/generic/stdint.h (SIZE_MAX):
22212         Define as UL if __WORDSIZE32_SIZE_ULONG.
22214         [BZ #16713]
22215         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22216         (__glibc_reserved0): New variable.
22217         (sa_flags): Change type to int.
22219         * posix/Makefile (before-compile): Use += before-compile instead
22220         of a :=.
22222         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22223         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22225 2014-03-20  Andreas Schwab  <schwab@suse.de>
22227         [BZ #16743]
22228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22229         non-matching result from nscd.
22231 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22233         * scripts/bench.py: Moved to ...
22234         * benchtests/scripts/bench.py: ... here.
22235         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22237 2014-03-24  Andreas Schwab  <schwab@suse.de>
22239         [BZ #16002]
22240         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22241         alloca_account and account alloca use for struct in6ailist.
22243 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22245         [BZ #16284]
22246         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22247         rounding mode to recompute results that overflow to infinity or
22248         underflow to zero.
22249         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22250         bug 16284.
22251         * math/auto-libm-test-out: Regenerated.
22252         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22253         (ccosh_test): Likewise.
22254         (csin_test_data): Use plus_oflow.
22255         (csin_test): Use ALL_RM_TEST.
22256         (csinh_test_data): Use plus_oflow.
22257         (csinh_test): Use ALL_RM_TEST.
22258         * sysdeps/i386/fpu/libm-test-ulps: Update.
22259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22261 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22263         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22264         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22265         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22267         [BZ #16731]
22268         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22269         when x - 1 is zero.
22270         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22271         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22272         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22273         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22274         argument is 1.
22275         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22276         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22277         zero.
22278         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22279         * sysdeps/i386/fpu/libm-test-ulps: Update.
22280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22282 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284         * scripts/bench.pl: Remove file.
22285         * scripts/bench.py: New benchmark script.
22286         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22287         * benchtests/README: Mention python dependency.
22288         * scripts/pylintrc: New file.
22289         * scripts/pylint: New file.
22291         * bits/mathdef.h: Use #ifdef instead of #if.
22292         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22293         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22294         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22295         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22296         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22297         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22299 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22300             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22302         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22304         and strpbrk-ppc64 objects.
22305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22306         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22307         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22308         multiarch strpbrk for POWER7.
22309         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22310         multiarch strpbrk for PPC64.
22311         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22312         ifunc selector.
22313         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22314         strpbrk for POWER7.
22316 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22318         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22319         (atan_test): Likewise.
22320         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22321         (atanh_test): Use ALL_RM_TEST.
22322         (atan2_test_data): Likewise.
22323         (cabs_test): Likewise.
22324         (cacosh_test): Likewise.
22325         (carg_test): Likewise.
22326         (casin_test): Likewise.
22327         (casinh_test): Likewise.
22328         (cbrt_test): Likewise.
22329         (csqrt_test): Likewise.
22330         (erf_test): Likewise.
22331         (erfc_test): Likewise.
22332         (pow10_test): Likewise.
22333         (exp2_test): Likewise.
22334         (hypot_test): Likewise.
22335         (j0_test): Likewise.
22336         (j1_test): Likewise.
22337         (lgamma_test): Likewise.
22338         (gamma_test): Likewise.
22339         (sincos_test): Likewise.
22340         (tanh_test): Likewise.
22341         (y0_test): Likewise.
22342         (y1_test): Likewise.
22343         * sysdeps/i386/fpu/libm-test-ulps: Update.
22344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22346 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22348         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22350         and strcspn-ppc64 objects.
22351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22352         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22353         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22354         multiarch strcspn for POWER7.
22355         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22356         multiarch strcspn for PPC64.
22357         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22358         ifunc selector.
22359         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22360         strcspn for POWER7.
22362 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22364         * math/gen-libm-test.pl (generate_testfile): Expect only function
22365         name as argument to AUTO_TESTS_* and pass results for all rounding
22366         modes to parse_args.
22367         (parse_auto_input): Separate inputs of automatic tests from
22368         outputs before storing in %auto_tests.
22369         * math/libm-test.inc (acos_test_data): Update call to
22370         AUTO_TESTS_f_f.
22371         (acos_test): Use ALL_RM_TEST.
22372         (acos_tonearest_test_data): Remove.
22373         (acos_test_tonearest): Likewise.
22374         (acos_towardzero_test_data): Likewise.
22375         (acos_test_towardzero): Likewise.
22376         (acos_downward_test_data): Likewise.
22377         (acos_test_downward): Likewise.
22378         (acos_upward_test_data): Likewise.
22379         (acos_test_upward): Likewise.
22380         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22381         (asin_test_data): Likewise.
22382         (asin_test): Use ALL_RM_TEST.
22383         (asin_tonearest_test_data): Remove.
22384         (asin_test_tonearest): Likewise.
22385         (asin_towardzero_test_data): Likewise.
22386         (asin_test_towardzero): Likewise.
22387         (asin_downward_test_data): Likewise.
22388         (asin_test_downward): Likewise.
22389         (asin_upward_test_data): Likewise.
22390         (asin_test_upward): Likewise.
22391         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22392         (atan_test_data): Likewise.
22393         (atanh_test_data): Likewise.
22394         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22395         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22396         (carg_test_data): Likewise.
22397         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22398         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22399         (ccosh_test_data): Likewise.
22400         (cexp_test_data): Likewise.
22401         (clog_test_data): Likewise.
22402         (clog10_test_data): Likewise.
22403         (cos_test_data): Update call to AUTO_TESTS_f_f.
22404         (cos_test): Use ALL_RM_TEST.
22405         (cos_tonearest_test_data): Remove.
22406         (cos_test_tonearest): Likewise.
22407         (cos_towardzero_test_data): Likewise.
22408         (cos_test_towardzero): Likewise.
22409         (cos_downward_test_data): Likewise.
22410         (cos_test_downward): Likewise.
22411         (cos_upward_test_data): Likewise.
22412         (cos_test_upward): Likewise.
22413         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22414         (cosh_test): Use ALL_RM_TEST.
22415         (cosh_tonearest_test_data): Remove.
22416         (cosh_test_tonearest): Likewise.
22417         (cosh_towardzero_test_data): Likewise.
22418         (cosh_test_towardzero): Likewise.
22419         (cosh_downward_test_data): Likewise.
22420         (cosh_test_downward): Likewise.
22421         (cosh_upward_test_data): Likewise.
22422         (cosh_test_upward): Likewise.
22423         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22424         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22425         (ctan_test_data): Likewise.
22426         (ctan_test): Use ALL_RM_TEST.
22427         (ctan_tonearest_test_data): Remove.
22428         (ctan_test_tonearest): Likewise.
22429         (ctan_towardzero_test_data): Likewise.
22430         (ctan_test_towardzero): Likewise.
22431         (ctan_downward_test_data): Likewise.
22432         (ctan_test_downward): Likewise.
22433         (ctan_upward_test_data): Likewise.
22434         (ctan_test_upward): Likewise.
22435         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22436         (ctanh_test): Use ALL_RM_TEST.
22437         (ctanh_tonearest_test_data): Remove.
22438         (ctanh_test_tonearest): Likewise.
22439         (ctanh_towardzero_test_data): Likewise.
22440         (ctanh_test_towardzero): Likewise.
22441         (ctanh_downward_test_data): Likewise.
22442         (ctanh_test_downward): Likewise.
22443         (ctanh_upward_test_data): Likewise.
22444         (ctanh_test_upward): Likewise.
22445         (erf_test_data): Update call to AUTO_TESTS_f_f.
22446         (erfc_test_data): Likewise.
22447         (exp_test_data): Likewise.
22448         (exp_test): Use ALL_RM_TEST.
22449         (exp_tonearest_test_data): Remove.
22450         (exp_test_tonearest): Likewise.
22451         (exp_towardzero_test_data): Likewise.
22452         (exp_test_towardzero): Likewise.
22453         (exp_downward_test_data): Likewise.
22454         (exp_test_downward): Likewise.
22455         (exp_upward_test_data): Likewise.
22456         (exp_test_upward): Likewise.
22457         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22458         (exp10_test): Use ALL_RM_TEST.
22459         (exp10_tonearest_test_data): Remove.
22460         (exp10_test_tonearest): Likewise.
22461         (exp10_towardzero_test_data): Likewise.
22462         (exp10_test_towardzero): Likewise.
22463         (exp10_downward_test_data): Likewise.
22464         (exp10_test_downward): Likewise.
22465         (exp10_upward_test_data): Likewise.
22466         (exp10_test_upward): Likewise.
22467         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22468         (expm1_test_data): Likewise.
22469         (expm1_test): Use ALL_RM_TEST.
22470         (expm1_tonearest_test_data): Remove.
22471         (expm1_test_tonearest): Likewise.
22472         (expm1_towardzero_test_data): Likewise.
22473         (expm1_test_towardzero): Likewise.
22474         (expm1_downward_test_data): Likewise.
22475         (expm1_test_downward): Likewise.
22476         (expm1_upward_test_data): Likewise.
22477         (expm1_test_upward): Likewise.
22478         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22479         (fma_test): Use ALL_RM_TEST.
22480         (fma_towardzero_test_data): Remove.
22481         (fma_test_towardzero): Likewise.
22482         (fma_downward_test_data): Likewise.
22483         (fma_test_downward): Likewise.
22484         (fma_upward_test_data): Likewise.
22485         (fma_test_upward): Likewise.
22486         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22487         (j0_test_data): Update call to AUTO_TESTS_f_f.
22488         (j1_test_data): Likewise.
22489         (jn_test_data): Update call to AUTO_TESTS_if_f.
22490         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22491         (log_test_data): Update call to AUTO_TESTS_f_f.
22492         (log10_test_data): Likewise.
22493         (log1p_test_data): Likewise.
22494         (log2_test_data): Likewise.
22495         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22496         (pow_tonearest_test_data): Likewise.
22497         (sin_test_data): Update call to AUTO_TESTS_f_f.
22498         (sin_test): Use ALL_RM_TEST.
22499         (sin_tonearest_test_data): Remove.
22500         (sin_test_tonearest): Likewise.
22501         (sin_towardzero_test_data): Likewise.
22502         (sin_test_towardzero): Likewise.
22503         (sin_downward_test_data): Likewise.
22504         (sin_test_downward): Likewise.
22505         (sin_upward_test_data): Likewise.
22506         (sin_test_upward): Likewise.
22507         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22508         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22509         (sinh_test): Use ALL_RM_TEST.
22510         (sinh_tonearest_test_data): Remove.
22511         (sinh_test_tonearest): Likewise.
22512         (sinh_towardzero_test_data): Likewise.
22513         (sinh_test_towardzero): Likewise.
22514         (sinh_downward_test_data): Likewise.
22515         (sinh_test_downward): Likewise.
22516         (sinh_upward_test_data): Likewise.
22517         (sinh_test_upward): Likewise.
22518         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22519         (sqrt_test): Use ALL_RM_TEST.
22520         (sqrt_tonearest_test_data): Remove.
22521         (sqrt_test_tonearest): Likewise.
22522         (sqrt_towardzero_test_data): Likewise.
22523         (sqrt_test_towardzero): Likewise.
22524         (sqrt_downward_test_data): Likewise.
22525         (sqrt_test_downward): Likewise.
22526         (sqrt_upward_test_data): Likewise.
22527         (sqrt_test_upward): Likewise.
22528         (tan_test_data): Update call to AUTO_TESTS_f_f.
22529         (tan_test): Use ALL_RM_TEST.
22530         (tan_tonearest_test_data): Remove.
22531         (tan_test_tonearest): Likewise.
22532         (tan_towardzero_test_data): Likewise.
22533         (tan_test_towardzero): Likewise.
22534         (tan_downward_test_data): Likewise.
22535         (tan_test_downward): Likewise.
22536         (tan_upward_test_data): Likewise.
22537         (tan_test_upward): Likewise.
22538         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22539         (tgamma_test_data): Likewise.
22540         (y0_test_data): Likewise.
22541         (y1_test_data): Likewise.
22542         (yn_test_data): Update call to AUTO_TESTS_if_f.
22543         (main): Do not call removed functions.
22545 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22547         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22548         (ldexp_test_data): Remove.
22549         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22550         scalbn_test_data.
22551         (scalb_test): Use ALL_RM_TEST.
22553 2014-03-19  Andreas Schwab  <schwab@suse.de>
22555         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22557 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22559         [BZ #16649]
22560         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22561         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22562         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22564         (__ASSUME_PREADV): Undefine.
22565         (__ASSUME_PWRITEV): Likewise.
22567 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22569         * bits/mman-linux.h: Add comment about non-Linux use.
22570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22571         bits/mman-linux.h resting place.
22573         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22574         * bits/mman-linux.h: ... here.
22576 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22578         * conform/conformtest.pl: Add standard definition when calling C
22579         preprocessor on data files.
22580         (checknamespace): Remove unused variable.
22582 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22584         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22585         minus_oflow, plus_uflow and minus_uflow in expected results.
22586         * math/libm-test.inc (scalbn_test_data): Add more tests of
22587         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22588         minus_uflow.
22589         (scalbn_test): Use ALL_RM_TEST.
22590         (scalbln_test_data): Add more tests of negative arguments.  Use
22591         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22592         (scalbln_test): Use ALL_RM_TEST.
22594 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22596         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22598 2014-03-18  Will Newton  <will.newton@linaro.org>
22600         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22601         inaccurate comment.
22603 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22605         * Makerules [!subdir] (check-abi): Exit with error status if a
22606         test failed.
22608 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22610         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22611         for rint.  Include results for all rounding modes.
22612         (nearbyint_test): Use ALL_RM_TEST.
22613         (rint_test_data): Include all tests used for nearbyint.
22615 2014-03-17  Will Newton  <will.newton@linaro.org>
22617         * nptl/sysdeps/pthread/pthread.h: Revert previous
22618         change.
22620         * sysdeps/generic/ldsodefs.h: Revert previous
22621         change.
22623         * libio/genops.c: Revert previous change.
22624         * libio/libioP.h: Likewise.
22625         * stdio-common/vfprintf.c: Likewise.
22627         * sysdeps/generic/math_private.h: Revert previous
22628         change.
22630         * sysdeps/generic/math_private.h: Check whether
22631         HAVE_RM_CTX is defined with #ifdef rather
22632         than #if.
22634         * argp/argp-fmtstream.h: Check whether
22635         __STRICT_ANSI__ is defined with #ifdef rather
22636         than #if.
22637         * argp/argp.h: Likewise.
22639         * libio/genops.c: Check whether
22640         _IO_JUMPS_OFFSET is defined with #ifdef rather
22641         than #if.
22642         * libio/libioP.h: Likewise.
22643         * stdio-common/vfprintf.c: Likewise.
22645         * sysdeps/generic/ldsodefs.h: Check whether
22646         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22647         than #if.
22649         * nptl/sysdeps/pthread/pthread.h: Check
22650         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22651         its value.
22653 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22655         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22656         setting O_APPEND.
22657         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22658         test case.
22660         [BZ #16680]
22661         * libio/fileops.c (_IO_file_open): Seek to end of file but
22662         don't cache the offset.
22663         (get_file_offset): Remove function.
22664         (do_ftell): Use cached offset when available.
22665         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22666         don't cache the offset.
22667         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22668         case.
22669         (do_one_test): Call it.
22670         (do_ftell_test): Fix up expected old offset for a+ mode.
22671         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22672         available.
22674         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22675         up test status with function return status.
22676         (do_write_test): Likewise.
22677         (do_append_test): Likewise.
22679         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22680         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22681         Remove.
22683 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22685         * math/gen-libm-test.pl (parse_args): Handle results specified for
22686         each rounding mode separately.
22687         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22688         tests and results from lrint_tonearest_test_data,
22689         lrint_towardzero_test_data, lrint_downward_test_data and
22690         lrint_upward_test_data.
22691         (lrint_test): Use ALL_RM_TEST.
22692         (lrint_tonearest_test_data): Remove.
22693         (lrint_test_tonearest): Likewise.
22694         (lrint_towardzero_test_data): Likewise.
22695         (lrint_test_towardzero): Likewise.
22696         (lrint_downward_test_data): Likewise.
22697         (lrint_test_downward): Likewise.
22698         (lrint_upward_test_data): Likewise.
22699         (lrint_test_upward): Likewise.
22700         (llrint_test_data): Merge in per-rounding-mode tests and results
22701         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22702         llrint_downward_test_data and llrint_upward_test_data.
22703         (llrint_test): Use ALL_RM_TEST.
22704         (llrint_tonearest_test_data): Remove.
22705         (llrint_test_tonearest): Likewise.
22706         (llrint_towardzero_test_data): Likewise.
22707         (llrint_test_towardzero): Likewise.
22708         (llrint_downward_test_data): Likewise.
22709         (llrint_test_downward): Likewise.
22710         (llrint_upward_test_data): Likewise.
22711         (llrint_test_upward): Likewise.
22712         (rint_test_data): Merge in per-rounding-mode tests and results
22713         from rint_tonearest_test_data, rint_towardzero_test_data,
22714         rint_downward_test_data and rint_upward_test_data.  Add
22715         per-rounding-mode results for tests not in those arrays.
22716         (rint_test): Use ALL_RM_TEST.
22717         (rint_tonearest_test_data): Remove.
22718         (rint_test_tonearest): Likewise.
22719         (rint_towardzero_test_data): Likewise.
22720         (rint_test_towardzero): Likewise.
22721         (rint_downward_test_data): Likewise.
22722         (rint_test_downward): Likewise.
22723         (rint_upward_test_data): Likewise.
22724         (rint_test_upward): Likewise.
22725         (main): Don't call removed functions.
22727 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22729         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22730         "Compiled on ..." crapola.  It is anti-useful.
22732 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22734         * scripts/evaluate-test.sh: Handle fourth argument to determine
22735         whether test run should stop on failure.
22736         * Makeconfig (stop-on-test-failure): New variable.
22737         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22738         $(stop-on-test-failure).
22739         * Makefile (tests): Give a summary of results from testing and
22740         exit with failure status if they include an ERROR or FAIL.
22741         (xtests): Likewise.
22742         * manual/install.texi (Configuring and compiling): Mention
22743         stop-on-test-failure=y.
22744         * INSTALL: Regenerated.
22746 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22748         * scripts/versionlist.awk: New file.
22749         * Makerules [$(build-shared) = yes]
22750         (postclean-generated): Add Versions.def, not Versions.def.v and
22751         Versions.def.v.i.
22752         ($(common-objpfx)Versions.def.v.i): Target removed.
22753         ($(common-objpfx)Versions.def): New target.
22754         ($(common-objpfx)Versions.all): Depend on that rather that
22755         $(common-objpfx)Versions.def.v.
22756         * Versions.def: File removed.
22758         * Makeconfig (+gccwarn): Add -Wundef.
22759         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22760         a dl-sysdep.h breaking its contract.
22761         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22762         * include/stackinfo.h: New file.
22763         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22764         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22765         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22766         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22767         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22768         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22769         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22770         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22771         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22772         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22773         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22774         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22775         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22776         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22777         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22779 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22781         [BZ #16707]
22782         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22783         implementation.
22784         * math/libm-test.inc (round_test_data): Add more tests.
22786         [BZ #16706]
22787         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22788         implementation.
22789         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22791         [BZ #16701]
22792         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22793         implementation.
22794         * math/libm-test.inc (ceil_test_data): Add more tests.
22796         * math/libm-test.inc (trunc_test_data): Add more tests related to
22797         BZ#16414.
22799 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22801         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22802         with #if rather than #ifdef.
22803         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22805 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22807         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22808         first.  Disable AVX-512 GCC support if assembler doesn't support
22809         it.
22810         * sysdeps/x86_64/configure: Regenerated.
22812 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22814         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22815         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22816         (__old_pthread_attr_setstack): Likewise.
22817         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22818         [!_STACK_GROWS_DOWN]: Likewise.
22820 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22822         * config.make.in (have-bash2): Delete.
22823         * configure.ac (libc_cv_have_bash2): Delete.
22824         * configure: Regenerate.
22825         * elf/Makefile (common-ldd-rewrite): Rename to ...
22826         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22827         (sh-ldd-rewrite): Delete.
22828         (bash-ldd-rewrite): Delete.
22829         (have-bash2): Delete checks.
22830         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22831         ldd-rewrite.
22833         * config.make.in (have-ksh): Delete.
22834         (KSH): Delete.
22835         * configure.ac (libc_cv_have_ksh): Delete.
22836         * configure: Regenerate.
22838         * elf/Makefile: Delete $(have-ksh) check.
22839         ($(objpfx)sotruss): Change KSH to BASH.
22840         * elf/sotruss.ksh: Rename to ...
22841         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22842         function style to match POSIX.  Drop ksh vim mode setting.
22844         * manual/time.texi (Specifying the Time Zone with TZ): Change
22845         Tuesday to Thursday.
22847         * debug/tst-longjmp_chk2.c: Update header comment.
22848         (stackoverflow_handler): Add comment.  Call assert on pass value.
22850 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22852         [BZ #16194]
22853         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22854         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22855         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22856         (La_x86_64_vector): Add zmm.
22857         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22858         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22859         ($(objpfx)tst-audit10): New target.
22860         ($(objpfx)tst-audit10.out): Likewise.
22861         (tst-audit10-ENV): New.
22862         (AVX512-CFLAGS): Likewise.
22863         (CFLAGS-tst-audit10.c): Likewise.
22864         (CFLAGS-tst-auditmod10a.c): Likewise.
22865         (CFLAGS-tst-auditmod10b.c): Likewise.
22866         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22867         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22868         * sysdeps/x86_64/configure: Regenerated.
22869         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22870         AVX-512 zmm register support.
22871         (_dl_x86_64_save_sse): Likewise.
22872         (_dl_x86_64_restore_sse): Likewise.
22873         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22874         size vector registers.
22875         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22876         (ZMM_SIZE): Likewise.
22877         * sysdeps/x86_64/tst-audit10.c: New file.
22878         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22879         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22881 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22883         * configure.ac (HAVE_EHDR_START): New check.
22884         * configure: Regenerated.
22885         * config.h.in (HAVE_EHDR_START): New #undef.
22886         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22887         assuming the lowest-addressed segment maps the start of the file.
22889 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22891         * INSTALL: Regenerated.
22893 2014-03-13  Will Newton  <will.newton@linaro.org>
22895         * manual/setjmp.texi (System V contexts): Improve
22896         clarity and grammar of documentation.
22898 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22900         [BZ #16381]
22901         * elf/Makefile (tests): Add tst-pie2.
22902         (tests-pie): Add tst-pie2.
22903         * elf/tst-pie2.c: New file.
22904         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22905         for ET_EXEC.
22906         * elf/rtld.c (map_doit): Load executable as lt_executable.
22907         (dl_main): Likewise.
22909 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22911         [BZ #16642]
22912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22913         (__ASSUME_PSELECT): Undefine.
22915 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22917         [BZ #16689]
22918         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22919         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22920         static build.
22921         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22922         selector for static builds.
22924 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22926         [BZ #16695]
22927         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22928         key in the buffer.
22930 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22932         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22933         IFUNC selector for static builds.
22935 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22937         * sysdeps/mips/math_private.h [__mips_hard_float]
22938         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22939         libc_feresetround_mips_ctx.
22940         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22941         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22942         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22944         [BZ #16677]
22945         * math/s_nextafter.c (__nextafter): Do not return value from
22946         overflowing computation.
22947         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22948         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22949         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22950         Likewise.
22951         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22952         Likewise.
22953         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22954         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22956 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22958         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22959         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22960         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22961         the new mov targetting sp.
22963 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22965         [BZ #16683]
22966         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22967         Define it for static builds as well.
22968         (NO_BZERO_IMPL): Likewise.
22970 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22972         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22973         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22974         multiarch strspn for PPC64.
22975         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22976         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22978         (__libc_ifunc_impl_list): Likewise.
22979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22980         multiarch optimizations
22981         * string/strspn.c (strspn): Using macro to redefine symbol name.
22983 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22984             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22986         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22987         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22988         multiarch strncat for PPC64.
22989         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22990         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22992         (__libc_ifunc_impl_list): Likewise.
22993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22994         multiarch optimizations
22996 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22998         [BZ #16639]
22999         * nscd/nscd.service: Make service type forking.
23001 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23003         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23004         sign in non default rounding modes.
23005         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23007 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
23009         * math/libm-test.inc (ALL_RM_TEST): New macro.
23010         (ceil_test): Use ALL_RM_TEST.
23011         (cimag_test): Likewise.
23012         (conj_test): Likewise.
23013         (copysign_test): Likewise.
23014         (cproj_test): Likewise.
23015         (creal_test): Likewise.
23016         (fabs_test): Likewise.
23017         (floor_test): Likewise.
23018         (fmax_test): Likewise.
23019         (fmin_test): Likewise.
23020         (fmod_test): Likewise.
23021         (fpclassify_test): Likewise.
23022         (frexp_test): Likewise.
23023         (ilogb_test): Likewise.
23024         (isfinite_test): Likewise.
23025         (finite_test): Likewise.
23026         (isgreater_test): Likewise.
23027         (isgreaterequal_test): Likewise.
23028         (isinf_test): Likewise.
23029         (isless_test): Likewise.
23030         (islessequal_test): Likewise.
23031         (islessgreater_test): Likewise.
23032         (isnan_test): Likewise.
23033         (isnormal_test): Likewise.
23034         (issignaling_test): Likewise.
23035         (isunordered_test): Likewise.
23036         (logb_test): Likewise.
23037         (logb_downward_test_data): Remove.
23038         (logb_test_downward): Likewise.
23039         (lround_test): Use ALL_RM_TEST.
23040         (llround_test): Likewise.
23041         (modf_test): Likewise.
23042         (nexttoward_test): Likewise.
23043         (remainder_test): Likewise.
23044         (drem_test): Likewise.
23045         (remainder_tonearest_test_data): Likewise.
23046         (remainder_test_tonearest): Likewise.
23047         (drem_test_tonearest): Likewise.
23048         (remainder_towardzero_test_data): Likewise.
23049         (remainder_test_towardzero): Likewise.
23050         (drem_test_towardzero): Likewise.
23051         (remainder_downward_test_data): Likewise.
23052         (remainder_test_downward): Likewise.
23053         (drem_test_downward): Likewise.
23054         (remainder_upward_test_data): Likewise.
23055         (remainder_test_upward): Likewise.
23056         (drem_test_upward): Likewise.
23057         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
23058         (round_test): Use ALL_RM_TEST.
23059         (signbit_test): Likewise.
23060         (trunc_test): Likewise.
23061         (significand_test): Likewise.
23062         (main): Don't call removed functions.
23064 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23066         [BZ #16674]
23067         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23068         || __USE_XOPEN2K8].
23069         (ILL_ILLOPN): Likewise.
23070         (ILL_ILLADR): Likewise.
23071         (ILL_ILLTRP): Likewise.
23072         (ILL_PRVOPC): Likewise.
23073         (ILL_PRVREG): Likewise.
23074         (ILL_COPROC): Likewise.
23075         (ILL_BADSTK): Likewise.
23076         (FPE_INTDIV): Likewise.
23077         (FPE_INTOVF): Likewise.
23078         (FPE_FLTDIV): Likewise.
23079         (FPE_FLTOVF): Likewise.
23080         (FPE_FLTUND): Likewise.
23081         (FPE_FLTRES): Likewise.
23082         (FPE_FLTINV): Likewise.
23083         (FPE_FLTSUB): Likewise.
23084         (SEGV_MAPERR): Likewise.
23085         (SEGV_ACCERR): Likewise.
23086         (BUS_ADRALN): Likewise.
23087         (BUS_ADRERR): Likewise.
23088         (BUS_OBJERR): Likewise.
23089         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23090         (TRAP_TRACE): Likewise.
23091         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23092         __USE_XOPEN2K8].
23093         (CLD_KILLED): Likewise.
23094         (CLD_DUMPED): Likewise.
23095         (CLD_TRAPPED): Likewise.
23096         (CLD_STOPPED): Likewise.
23097         (CLD_CONTINUED): Likewise.
23098         (POLL_IN): Likewise.
23099         (POLL_OUT): Likewise.
23100         (POLL_MSG): Likewise.
23101         (POLL_ERR): Likewise.
23102         (POLL_PRI): Likewise.
23103         (POLL_HUP): Likewise.
23104         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23105         Likewise.
23106         (ILL_ILLOPN): Likewise.
23107         (ILL_ILLADR): Likewise.
23108         (ILL_ILLTRP): Likewise.
23109         (ILL_PRVOPC): Likewise.
23110         (ILL_PRVREG): Likewise.
23111         (ILL_COPROC): Likewise.
23112         (ILL_BADSTK): Likewise.
23113         (FPE_INTDIV): Likewise.
23114         (FPE_INTOVF): Likewise.
23115         (FPE_FLTDIV): Likewise.
23116         (FPE_FLTOVF): Likewise.
23117         (FPE_FLTUND): Likewise.
23118         (FPE_FLTRES): Likewise.
23119         (FPE_FLTINV): Likewise.
23120         (FPE_FLTSUB): Likewise.
23121         (SEGV_MAPERR): Likewise.
23122         (SEGV_ACCERR): Likewise.
23123         (BUS_ADRALN): Likewise.
23124         (BUS_ADRERR): Likewise.
23125         (BUS_OBJERR): Likewise.
23126         (BUS_MCEERR_AR): Likewise.
23127         (BUS_MCEERR_AO): Likewise.
23128         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23129         (TRAP_TRACE): Likewise.
23130         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23131         __USE_XOPEN2K8].
23132         (CLD_KILLED): Likewise.
23133         (CLD_DUMPED): Likewise.
23134         (CLD_TRAPPED): Likewise.
23135         (CLD_STOPPED): Likewise.
23136         (CLD_CONTINUED): Likewise.
23137         (POLL_IN): Likewise.
23138         (POLL_OUT): Likewise.
23139         (POLL_MSG): Likewise.
23140         (POLL_ERR): Likewise.
23141         (POLL_PRI): Likewise.
23142         (POLL_HUP): Likewise.
23143         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23144         (ILL_ILLOPN): Likewise.
23145         (ILL_ILLADR): Likewise.
23146         (ILL_ILLTRP): Likewise.
23147         (ILL_PRVOPC): Likewise.
23148         (ILL_PRVREG): Likewise.
23149         (ILL_COPROC): Likewise.
23150         (ILL_BADSTK): Likewise.
23151         (FPE_INTDIV): Likewise.
23152         (FPE_INTOVF): Likewise.
23153         (FPE_FLTDIV): Likewise.
23154         (FPE_FLTOVF): Likewise.
23155         (FPE_FLTUND): Likewise.
23156         (FPE_FLTRES): Likewise.
23157         (FPE_FLTINV): Likewise.
23158         (FPE_FLTSUB): Likewise.
23159         (SEGV_MAPERR): Likewise.
23160         (SEGV_ACCERR): Likewise.
23161         (BUS_ADRALN): Likewise.
23162         (BUS_ADRERR): Likewise.
23163         (BUS_OBJERR): Likewise.
23164         (BUS_MCEERR_AR): Likewise.
23165         (BUS_MCEERR_AO): Likewise.
23166         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23167         (TRAP_TRACE): Likewise.
23168         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23169         __USE_XOPEN2K8].
23170         (CLD_KILLED): Likewise.
23171         (CLD_DUMPED): Likewise.
23172         (CLD_TRAPPED): Likewise.
23173         (CLD_STOPPED): Likewise.
23174         (CLD_CONTINUED): Likewise.
23175         (POLL_IN): Likewise.
23176         (POLL_OUT): Likewise.
23177         (POLL_MSG): Likewise.
23178         (POLL_ERR): Likewise.
23179         (POLL_PRI): Likewise.
23180         (POLL_HUP): Likewise.
23181         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23182         Likewise.
23183         (ILL_ILLOPN): Likewise.
23184         (ILL_ILLADR): Likewise.
23185         (ILL_ILLTRP): Likewise.
23186         (ILL_PRVOPC): Likewise.
23187         (ILL_PRVREG): Likewise.
23188         (ILL_COPROC): Likewise.
23189         (ILL_BADSTK): Likewise.
23190         (ILL_BADIADDR): Likewise.
23191         (ILL_BREAK): Likewise.
23192         (FPE_INTDIV): Likewise.
23193         (FPE_INTOVF): Likewise.
23194         (FPE_FLTDIV): Likewise.
23195         (FPE_FLTOVF): Likewise.
23196         (FPE_FLTUND): Likewise.
23197         (FPE_FLTRES): Likewise.
23198         (FPE_FLTINV): Likewise.
23199         (FPE_FLTSUB): Likewise.
23200         (FPE_DECOVF): Likewise.
23201         (FPE_DECDIV): Likewise.
23202         (FPE_DECERR): Likewise.
23203         (FPE_INVASC): Likewise.
23204         (FPE_INVDEC): Likewise.
23205         (SEGV_MAPERR): Likewise.
23206         (SEGV_ACCERR): Likewise.
23207         (SEGV_PSTKOVF): Likewise.
23208         (BUS_ADRALN): Likewise.
23209         (BUS_ADRERR): Likewise.
23210         (BUS_OBJERR): Likewise.
23211         (BUS_MCEERR_AR): Likewise.
23212         (BUS_MCEERR_AO): Likewise.
23213         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23214         (TRAP_TRACE): Likewise.
23215         (TRAP_BRANCH): Likewise.
23216         (TRAP_HWBKPT): Likewise.
23217         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23218         __USE_XOPEN2K8].
23219         (CLD_KILLED): Likewise.
23220         (CLD_DUMPED): Likewise.
23221         (CLD_TRAPPED): Likewise.
23222         (CLD_STOPPED): Likewise.
23223         (CLD_CONTINUED): Likewise.
23224         (POLL_IN): Likewise.
23225         (POLL_OUT): Likewise.
23226         (POLL_MSG): Likewise.
23227         (POLL_ERR): Likewise.
23228         (POLL_PRI): Likewise.
23229         (POLL_HUP): Likewise.
23230         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23231         (ILL_ILLOPN): Likewise.
23232         (ILL_ILLADR): Likewise.
23233         (ILL_ILLTRP): Likewise.
23234         (ILL_PRVOPC): Likewise.
23235         (ILL_PRVREG): Likewise.
23236         (ILL_COPROC): Likewise.
23237         (ILL_BADSTK): Likewise.
23238         (FPE_INTDIV): Likewise.
23239         (FPE_INTOVF): Likewise.
23240         (FPE_FLTDIV): Likewise.
23241         (FPE_FLTOVF): Likewise.
23242         (FPE_FLTUND): Likewise.
23243         (FPE_FLTRES): Likewise.
23244         (FPE_FLTINV): Likewise.
23245         (FPE_FLTSUB): Likewise.
23246         (SEGV_MAPERR): Likewise.
23247         (SEGV_ACCERR): Likewise.
23248         (BUS_ADRALN): Likewise.
23249         (BUS_ADRERR): Likewise.
23250         (BUS_OBJERR): Likewise.
23251         (BUS_MCEERR_AR): Likewise.
23252         (BUS_MCEERR_AO): Likewise.
23253         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23254         (TRAP_TRACE): Likewise.
23255         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23256         __USE_XOPEN2K8].
23257         (CLD_KILLED): Likewise.
23258         (CLD_DUMPED): Likewise.
23259         (CLD_TRAPPED): Likewise.
23260         (CLD_STOPPED): Likewise.
23261         (CLD_CONTINUED): Likewise.
23262         (POLL_IN): Likewise.
23263         (POLL_OUT): Likewise.
23264         (POLL_MSG): Likewise.
23265         (POLL_ERR): Likewise.
23266         (POLL_PRI): Likewise.
23267         (POLL_HUP): Likewise.
23268         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23269         (ILL_ILLOPN): Likewise.
23270         (ILL_ILLADR): Likewise.
23271         (ILL_ILLTRP): Likewise.
23272         (ILL_PRVOPC): Likewise.
23273         (ILL_PRVREG): Likewise.
23274         (ILL_COPROC): Likewise.
23275         (ILL_BADSTK): Likewise.
23276         (FPE_INTDIV): Likewise.
23277         (FPE_INTOVF): Likewise.
23278         (FPE_FLTDIV): Likewise.
23279         (FPE_FLTOVF): Likewise.
23280         (FPE_FLTUND): Likewise.
23281         (FPE_FLTRES): Likewise.
23282         (FPE_FLTINV): Likewise.
23283         (FPE_FLTSUB): Likewise.
23284         (SEGV_MAPERR): Likewise.
23285         (SEGV_ACCERR): Likewise.
23286         (BUS_ADRALN): Likewise.
23287         (BUS_ADRERR): Likewise.
23288         (BUS_OBJERR): Likewise.
23289         (BUS_MCEERR_AR): Likewise.
23290         (BUS_MCEERR_AO): Likewise.
23291         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23292         (TRAP_TRACE): Likewise.
23293         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23294         __USE_XOPEN2K8].
23295         (CLD_KILLED): Likewise.
23296         (CLD_DUMPED): Likewise.
23297         (CLD_TRAPPED): Likewise.
23298         (CLD_STOPPED): Likewise.
23299         (CLD_CONTINUED): Likewise.
23300         (POLL_IN): Likewise.
23301         (POLL_OUT): Likewise.
23302         (POLL_MSG): Likewise.
23303         (POLL_ERR): Likewise.
23304         (POLL_PRI): Likewise.
23305         (POLL_HUP): Likewise.
23306         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23307         (ILL_ILLOPN): Likewise.
23308         (ILL_ILLADR): Likewise.
23309         (ILL_ILLTRP): Likewise.
23310         (ILL_PRVOPC): Likewise.
23311         (ILL_PRVREG): Likewise.
23312         (ILL_COPROC): Likewise.
23313         (ILL_BADSTK): Likewise.
23314         (FPE_INTDIV): Likewise.
23315         (FPE_INTOVF): Likewise.
23316         (FPE_FLTDIV): Likewise.
23317         (FPE_FLTOVF): Likewise.
23318         (FPE_FLTUND): Likewise.
23319         (FPE_FLTRES): Likewise.
23320         (FPE_FLTINV): Likewise.
23321         (FPE_FLTSUB): Likewise.
23322         (SEGV_MAPERR): Likewise.
23323         (SEGV_ACCERR): Likewise.
23324         (BUS_ADRALN): Likewise.
23325         (BUS_ADRERR): Likewise.
23326         (BUS_OBJERR): Likewise.
23327         (BUS_MCEERR_AR): Likewise.
23328         (BUS_MCEERR_AO): Likewise.
23329         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23330         (TRAP_TRACE): Likewise.
23331         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23332         __USE_XOPEN2K8].
23333         (CLD_KILLED): Likewise.
23334         (CLD_DUMPED): Likewise.
23335         (CLD_TRAPPED): Likewise.
23336         (CLD_STOPPED): Likewise.
23337         (CLD_CONTINUED): Likewise.
23338         (POLL_IN): Likewise.
23339         (POLL_OUT): Likewise.
23340         (POLL_MSG): Likewise.
23341         (POLL_ERR): Likewise.
23342         (POLL_PRI): Likewise.
23343         (POLL_HUP): Likewise.
23344         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23345         (ILL_ILLOPN): Likewise.
23346         (ILL_ILLADR): Likewise.
23347         (ILL_ILLTRP): Likewise.
23348         (ILL_PRVOPC): Likewise.
23349         (ILL_PRVREG): Likewise.
23350         (ILL_COPROC): Likewise.
23351         (ILL_BADSTK): Likewise.
23352         (ILL_DBLFLT): Likewise.
23353         (ILL_HARDWALL): Likewise.
23354         (FPE_INTDIV): Likewise.
23355         (FPE_INTOVF): Likewise.
23356         (FPE_FLTDIV): Likewise.
23357         (FPE_FLTOVF): Likewise.
23358         (FPE_FLTUND): Likewise.
23359         (FPE_FLTRES): Likewise.
23360         (FPE_FLTINV): Likewise.
23361         (FPE_FLTSUB): Likewise.
23362         (SEGV_MAPERR): Likewise.
23363         (SEGV_ACCERR): Likewise.
23364         (BUS_ADRALN): Likewise.
23365         (BUS_ADRERR): Likewise.
23366         (BUS_OBJERR): Likewise.
23367         (BUS_MCEERR_AR): Likewise.
23368         (BUS_MCEERR_AO): Likewise.
23369         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23370         (TRAP_TRACE): Likewise.
23371         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23372         __USE_XOPEN2K8].
23373         (CLD_KILLED): Likewise.
23374         (CLD_DUMPED): Likewise.
23375         (CLD_TRAPPED): Likewise.
23376         (CLD_STOPPED): Likewise.
23377         (CLD_CONTINUED): Likewise.
23378         (POLL_IN): Likewise.
23379         (POLL_OUT): Likewise.
23380         (POLL_MSG): Likewise.
23381         (POLL_ERR): Likewise.
23382         (POLL_PRI): Likewise.
23383         (POLL_HUP): Likewise.
23384         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23385         (ILL_ILLOPN): Likewise.
23386         (ILL_ILLADR): Likewise.
23387         (ILL_ILLTRP): Likewise.
23388         (ILL_PRVOPC): Likewise.
23389         (ILL_PRVREG): Likewise.
23390         (ILL_COPROC): Likewise.
23391         (ILL_BADSTK): Likewise.
23392         (FPE_INTDIV): Likewise.
23393         (FPE_INTOVF): Likewise.
23394         (FPE_FLTDIV): Likewise.
23395         (FPE_FLTOVF): Likewise.
23396         (FPE_FLTUND): Likewise.
23397         (FPE_FLTRES): Likewise.
23398         (FPE_FLTINV): Likewise.
23399         (FPE_FLTSUB): Likewise.
23400         (SEGV_MAPERR): Likewise.
23401         (SEGV_ACCERR): Likewise.
23402         (BUS_ADRALN): Likewise.
23403         (BUS_ADRERR): Likewise.
23404         (BUS_OBJERR): Likewise.
23405         (BUS_MCEERR_AR): Likewise.
23406         (BUS_MCEERR_AO): Likewise.
23407         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23408         (TRAP_TRACE): Likewise.
23409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23410         __USE_XOPEN2K8].
23411         (CLD_KILLED): Likewise.
23412         (CLD_DUMPED): Likewise.
23413         (CLD_TRAPPED): Likewise.
23414         (CLD_STOPPED): Likewise.
23415         (CLD_CONTINUED): Likewise.
23416         (POLL_IN): Likewise.
23417         (POLL_OUT): Likewise.
23418         (POLL_MSG): Likewise.
23419         (POLL_ERR): Likewise.
23420         (POLL_PRI): Likewise.
23421         (POLL_HUP): Likewise.
23422         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23423         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23425         [BZ #16670]
23426         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23427         before #include of <time.h>.
23428         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23429         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23430         (test-xfail-UNIX98/sched.h/conform): Likewise.
23432 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23434         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23435         error absence of trapping exception support.
23436         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23438 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23440         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23441         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23442         * timezone/Makefile (testdata): Move definition above include of
23443         Rules.
23444         (test-zones): New variable.
23445         (tests-special): Add zone files.
23446         (build-testdata): Use $(evaluate-test).
23448         * elf/Makefile (tests-special): Rename tests to end with .out.
23449         ($(objpfx)noload-mem): Likewise.
23450         ($(objpfx)tst-leaks1-mem): Likewise.
23451         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23452         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23453         $(objpfx)test-iconvconfig.out.
23454         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23455         set -e inside subshell and redirect output to file.
23456         * iconvdata/Makefile (generated): Rename tests to end with .out.
23457         Correct type.
23458         (tests-special): Rename tests to end with .out.
23459         ($(objpfx)mtrace-tst-loading): Likewise.
23460         * intl/Makefile (generated): Likewise.
23461         (tests-special): Likewise.
23462         ($(objpfx)mtrace-tst-gettext): Likewise.
23463         * misc/Makefile (generated): Likewise.
23464         (tests-special): Likewise.
23465         ($(objpfx)tst-error1-mem): Likewise.
23466         * nptl/Makefile (tests-special): Likewise.
23467         ($(objpfx)tst-stack3-mem): Likewise.
23468         (generated): Likewise.
23469         * posix/Makefile (generated): Likewise.
23470         (tests-special): Likewise.
23471         (xtests-special): Likewise.
23472         ($(objpfx)tst-fnmatch-mem): Likewise.
23473         ($(objpfx)bug-regex2-mem): Likewise.
23474         ($(objpfx)bug-regex14-mem): Likewise.
23475         ($(objpfx)bug-regex21-mem): Likewise.
23476         ($(objpfx)bug-regex31-mem): Likewise.
23477         ($(objpfx)tst-vfork3-mem): Likewise.
23478         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23479         ($(objpfx)tst-pcre-mem): Likewise.
23480         ($(objpfx)tst-boost-mem): Likewise.
23481         ($(objpfx)bug-ga2-mem): Likewise.
23482         ($(objpfx)bug-glob2-mem): Likewise.
23483         * resolv/Makefile (generate): Likewise.
23484         (tests-special): Likewise.
23485         (xtests-special): Likewise.
23486         (generated): Likewise.
23487         ($(objpfx)mtrace-tst-leaks): Likewise.
23488         ($(objpfx)mtrace-tst-leaks2): Likewise.
23490         * scripts/merge-test-results.sh: New file.
23491         * Makefile (tests-special-notdir): New variable.
23492         (tests): Run merge-test-results.sh.
23493         (xtests): Likewise.
23494         * Rules (tests-special-notdir): New variable.
23495         (xtests-special-notdir): Likewise.
23496         (tests): Run merge-test-results.sh
23497         (xtests): Likewise.
23499         * Makeconfig (test-xfail-name): New variable.
23500         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23501         compute variable name for expected failures.
23502         * conform/Makefile (conformtest-headers-data): New variable.
23503         (conformtest-standards): Likewise.
23504         (conformtest-headers-ISO): Likewise.
23505         (conformtest-headers-ISO99): Likewise.
23506         (conformtest-headers-ISO11): Likewise.
23507         (conformtest-headers-POSIX): Likewise.
23508         (conformtest-headers-XPG3): Likewise.
23509         (conformtest-headers-XPG4): Likewise.
23510         (conformtest-headers-UNIX98): Likewise.
23511         (conformtest-headers-XOPEN2K): Likewise.
23512         (conformtest-headers-POSIX2008): Likewise.
23513         (conformtest-headers-XOPEN2K8): Likewise.
23514         (conformtest-header-list-base): Likewise.
23515         (conformtest-header-list-tests): Likewise.
23516         (conformtest-header-base): Likewise.
23517         (conformtest-header-tests): Likewise.
23518         (tests-special): Add $(conformtest-header-list-tests).  If
23519         [$(fast-check) && !$(cross-compiling)], add
23520         $(conformtest-header-tests) instead of
23521         $(objpfx)run-conformtest.out.
23522         (generated): Add $(conformtest-header-list-base).  If
23523         [$(fast-check) && !$(cross-compiling)], add
23524         $(conformtest-header-base).  Remove previous setting.
23525         ($(conformtest-header-list-tests)): New target.
23526         (test-xfail-run-conformtest): Remove variable.
23527         ($(objpfx)run-conformtest.out): Remove target.
23528         (test-xfail-ISO11/complex.h/conform): New variable.
23529         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23530         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23531         (test-xfail-XPG3/varargs.h/conform): Likewise.
23532         (test-xfail-XPG4/varargs.h/conform): Likewise.
23533         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23534         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23535         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23536         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23537         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23538         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23539         (test-xfail-XPG3/ftw.h/conform): Likewise.
23540         (test-xfail-XPG3/grp.h/conform): Likewise.
23541         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23542         (test-xfail-XPG3/limits.h/conform): Likewise.
23543         (test-xfail-XPG3/pwd.h/conform): Likewise.
23544         (test-xfail-XPG3/search.h/conform): Likewise.
23545         (test-xfail-XPG3/signal.h/conform): Likewise.
23546         (test-xfail-XPG3/stdio.h/conform): Likewise.
23547         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23548         (test-xfail-XPG3/string.h/conform): Likewise.
23549         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23550         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23551         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23552         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23553         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23554         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23555         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23556         (test-xfail-XPG3/termios.h/conform): Likewise.
23557         (test-xfail-XPG3/time.h/conform): Likewise.
23558         (test-xfail-XPG3/unistd.h/conform): Likewise.
23559         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23560         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23561         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23562         (test-xfail-XPG4/netdb.h/conform): Likewise.
23563         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23564         (test-xfail-XPG4/signal.h/conform): Likewise.
23565         (test-xfail-XPG4/stdio.h/conform): Likewise.
23566         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23567         (test-xfail-XPG4/stropts.h/conform): Likewise.
23568         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23569         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23570         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23571         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23572         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23573         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23574         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23575         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23576         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23577         (test-xfail-XPG4/termios.h/conform): Likewise.
23578         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23579         (test-xfail-XPG4/unistd.h/conform): Likewise.
23580         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23581         (test-xfail-POSIX/sched.h/conform): Likewise.
23582         (test-xfail-POSIX/signal.h/conform): Likewise.
23583         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23584         (test-xfail-POSIX/tar.h/conform): Likewise.
23585         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23586         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23587         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23588         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23589         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23590         (test-xfail-UNIX98/sched.h/conform): Likewise.
23591         (test-xfail-UNIX98/signal.h/conform): Likewise.
23592         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23593         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23594         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23595         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23596         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23597         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23598         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23599         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23600         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23601         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23602         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23603         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23604         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23605         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23606         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23607         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23608         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23609         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23610         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23611         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23612         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23613         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23614         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23615         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23616         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23617         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23618         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23619         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23620         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23621         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23622         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23623         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23624         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23625         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23626         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23627         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23628         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23629         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23630         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23631         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23632         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23633         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23634         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23635         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23636         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23637         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23638         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23639         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23640         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23641         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23642         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23643         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23644         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23645         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23646         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23647         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23648         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23649         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23650         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23651         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23652         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23653         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23654         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23655         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23656         (conformtest-cc-flags): Likewise.
23657         ($(conformtest-header-tests): New target.
23658         * conform/check-header-lists.sh: New file.
23659         * conform/run-conformtest.sh: Remove.
23661         * conform/conformtest.pl: Allow ' and \ in values given for
23662         constants.
23663         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23664         inclusion.
23665         [POSIX] (sys/types.h): Likewise.
23666         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23667         inclusion.
23668         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23669         inclusion.
23670         * conform/data/signal.h-data (SIGIO): Remove expectation.
23671         [XPG3] (SIGBUS): Do not expect.
23672         [POSIX || XPG3] (SIGPOLL): Likewise.
23673         [POSIX || XPG3] (SIGPROF): Likewise.
23674         [POSIX || XPG3] (SIGSYS): Likewise.
23675         [XPG3] (SIGTRAP): Likewise.
23676         [POSIX || XPG3] (SIGURG): Likewise.
23677         [POSIX || XPG3] (SIGVTALRM): Likewise.
23678         [POSIX || XPG3] (SIGXCPU): Likewise.
23679         [POSIX || XPG3] (SIGXFSZ): Likewise.
23680         [POSIX] (SA_SIGINFO): Expect.
23681         [XPG3] (siginfo_t): Do not expect type or contents.
23682         [POSIX] (si_pid): Do not expect element.
23683         [POSIX] (si_uid): Likewise.
23684         [POSIX] (si_addr): Likewise.
23685         [POSIX] (si_status): Likewise.
23686         [POSIX] (si_band): Likewise.
23687         [XPG4] (si_value): Likewise.
23688         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23689         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23690         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23691         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23692         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23693         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23694         [POSIX || XPG3] (ILL_COPROC): Likewise.
23695         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23696         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23697         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23698         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23699         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23700         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23701         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23702         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23703         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23704         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23705         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23706         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23707         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23708         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23709         [POSIX || XPG3] (CLD_EXITED): Likewise.
23710         [POSIX || XPG3] (CLD_KILLED): Likewise.
23711         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23712         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23713         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23714         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23715         [POSIX || XPG3] (POLL_IN): Likewise.
23716         [POSIX || XPG3] (POLL_OUT): Likewise.
23717         [POSIX || XPG3] (POLL_MSG): Likewise.
23718         [POSIX || XPG3] (POLL_ERR): Likewise.
23719         [POSIX || XPG3] (POLL_PRI): Likewise.
23720         [POSIX || XPG3] (POLL_HUP): Likewise.
23721         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23722         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23723         (SIG*): Do not allow.
23724         [XPG3] (si_*): Likewise.
23725         [XPG3] (SI_*): Likewise.
23726         [XPG3 || XPG4] (sigev_*): Likewise.
23727         [XPG3 || XPG4] (SIGEV_*): Likewise.
23728         [XPG3 || XPG4] (sival_*): Likewise.
23729         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23730         [POSIX || XPG3] (BUS_*): Likewise.
23731         [POSIX || XPG3] (CLD_*): Likewise.
23732         [POSIX || XPG3] (FPE_*): Likewise.
23733         [POSIX || XPG3] (ILL_*): Likewise.
23734         [POSIX || XPG3] (POLL_*): Likewise.
23735         [POSIX || XPG3] (SEGV_*): Likewise.
23736         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23737         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23738         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23739         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23740         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23741         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23742         Specify type and value.
23743         (TVERSLEN): Likewise.
23744         (REGTYPE): Likewise.
23745         (AREGTYPE): Likewise.
23746         (LNKTYPE): Likewise.
23747         (SYMTYPE): Likewise.
23748         (CHRTYPE): Likewise.
23749         (BLKTYPE): Likewise.
23750         (DIRTYPE): Likewise.
23751         (FIFOTYPE): Likewise.
23752         (CONTTYPE): Likewise.
23753         (TSUID): Likewise.
23754         (TSGID): Likewise.
23755         (TSVTX): Likewise.
23756         (TUREAD): Likewise.
23757         (TUWRITE): Likewise.
23758         (TUEXEC): Likewise.
23759         (TGREAD): Likewise.
23760         (TGWRITE): Likewise.
23761         (TGEXEC): Likewise.
23762         (TOREAD): Likewise.
23763         (TOWRITE): Likewise.
23764         (TOEXEC): Likewise.
23765         [POSIX] (TSVTX): Expect constant.
23767 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23769         * Makefile (tests): Change dependencies to ....
23770         (tests-special): ... additions to this variable.
23771         (tests): Depend on $(tests-special).
23772         * Makerules (check-abi-list): New variable.
23773         (check-abi): Depend on $(check-abi-list).
23774         [$(subdir) = elf] (tests-special): Add
23775         $(objpfx)check-abi-libc.out.
23776         [$(build-shared) = yes && subdir] (tests-special): Add
23777         $(check-abi-list).
23778         [$(build-shared) = yes && subdir] (tests): Do not depend on
23779         check-abi.
23780         * Rules (tests): Depend on $(tests-special).
23781         (xtests): Depend on $(xtests-special).
23782         * catgets/Makefile (tests): Change dependencies to ....
23783         (tests-special): ... additions to this variable.
23784         * conform/Makefile (tests): Change dependencies to ....
23785         (tests-special): ... additions to this variable.
23786         * elf/Makefile (tests): Change dependencies to ....
23787         (tests-special): ... additions to this variable.
23788         * grp/Makefile (tests): Change dependencies to ....
23789         (tests-special): ... additions to this variable.
23790         * iconv/Makefile (xtests): Change dependencies to ....
23791         (xtests-special): ... additions to this variable.
23792         * iconvdata/Makefile (tests): Change dependencies to ....
23793         (tests-special): ... additions to this variable.
23794         * intl/Makefile (tests): Change dependencies to ....
23795         (tests-special): ... additions to this variable.  Also add
23796         $(objpfx)tst-gettext.out.
23797         * io/Makefile (tests): Change dependencies to ....
23798         (tests-special): ... additions to this variable.
23799         * libio/Makefile (tests): Change dependencies to ....
23800         (tests-special): ... additions to this variable.
23801         * malloc/Makefile (tests): Change dependencies to ....
23802         (tests-special): ... additions to this variable.
23803         * misc/Makefile (tests): Change dependencies to ....
23804         (tests-special): ... additions to this variable.
23805         * nptl/Makefile (tests): Change dependencies to ....
23806         (tests-special): ... additions to this variable.
23807         * nptl_db/Makefile (tests): Change dependencies to ....
23808         (tests-special): ... additions to this variable.
23809         * posix/Makefile (tests): Change dependencies to ....
23810         (tests-special): ... additions to this variable.
23811         (xtests): Change dependencies to ....
23812         (xtests-special): ... additions to this variable.
23813         * resolv/Makefile (tests): Change dependencies to ....
23814         (tests-special): ... additions to this variable.
23815         (xtests): Change dependencies to ....
23816         (xtests-special): ... additions to this variable.
23817         * stdio-common/Makefile (tests): Change dependencies to ....
23818         (tests-special): ... additions to this variable.
23819         (do-tst-unbputc): Remove target.
23820         (do-tst-printf): Likewise.
23821         * stdlib/Makefile (tests): Change dependencies to ....
23822         (tests-special): ... additions to this variable.
23823         * string/Makefile (tests): Change dependencies to ....
23824         (tests-special): ... additions to this variable.
23825         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23826         (tests-special): ... additions to this variable.
23828         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23829         whole file.
23830         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23831         whole file.
23832         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23833         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23835         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23836         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23837         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23838         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23839         * conform/data/libgen.h-data [XPG3]: Likewise.
23840         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23841         * conform/data/ndbm.h-data [XPG3]: Likewise.
23842         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23843         * conform/data/netdb.h-data [XPG3]: Likewise.
23844         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23845         * conform/data/poll.h-data [XPG3]: Likewise.
23846         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23847         * conform/data/strings.h-data [XPG3]: Likewise.
23848         * conform/data/stropts.h-data [XPG3]: Likewise.
23849         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23850         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23851         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23852         Likewise.
23853         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23854         * conform/data/sys/time.h-data [XPG3]: Likewise.
23855         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23856         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23857         * conform/data/sys/un.h-data [XPG3]: Likewise.
23858         * conform/data/syslog.h-data [XPG3]: Likewise.
23859         * conform/data/ucontext.h-data [XPG3]: Likewise.
23860         * conform/data/utmpx.h-data [XPG3]: Likewise.
23861         * conform/data/varargs.h-data [UNIX98]: Enable file.
23863         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23865         * math/libm-test.inc (struct test_f_f_data): Move expected results
23866         into structure for each rounding mode.
23867         (struct test_ff_f_data): Likewise.
23868         (struct test_ff_f_data_nexttoward): Likewise.
23869         (struct test_fi_f_data): Likewise.
23870         (struct test_fl_f_data): Likewise.
23871         (struct test_if_f_data): Likewise.
23872         (struct test_fff_f_data): Likewise.
23873         (struct test_c_f_data): Likewise.
23874         (struct test_f_f1_data): Likewise.
23875         (struct test_fF_f1_data): Likewise.
23876         (struct test_ffI_f1_data): Likewise.
23877         (struct test_c_c_data): Likewise.
23878         (struct test_cc_c_data): Likewise.
23879         (struct test_f_i_data): Likewise.
23880         (struct test_ff_i_data): Likewise.
23881         (struct test_f_l_data): Likewise.
23882         (struct test_f_L_data): Likewise.
23883         (struct test_fFF_11_data): Likewise.
23884         (RM_): New macro.
23885         (RM_FE_DOWNWARD): Likewise.
23886         (RM_FE_TONEAREST): Likewise.
23887         (RM_FE_TOWARDZERO): Likewise.
23888         (RM_FE_UPWARD): Likewise.
23889         (RUN_TEST_LOOP_f_f): Update references to expected results.
23890         (RUN_TEST_LOOP_2_f): Likewise.
23891         (RUN_TEST_LOOP_fff_f): Likewise.
23892         (RUN_TEST_LOOP_c_f): Likewise.
23893         (RUN_TEST_LOOP_f_f1): Likewise.
23894         (RUN_TEST_LOOP_fF_f1): Likewise.
23895         (RUN_TEST_LOOP_fI_f1): Likewise.
23896         (RUN_TEST_LOOP_ffI_f1): Likewise.
23897         (RUN_TEST_LOOP_c_c): Likewise.
23898         (RUN_TEST_LOOP_cc_c): Likewise.
23899         (RUN_TEST_LOOP_f_i): Likewise.
23900         (RUN_TEST_LOOP_f_i_tg): Likewise.
23901         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23902         (RUN_TEST_LOOP_f_b): Likewise.
23903         (RUN_TEST_LOOP_f_b_tg): Likewise.
23904         (RUN_TEST_LOOP_f_l): Likewise.
23905         (RUN_TEST_LOOP_f_L): Likewise.
23906         (RUN_TEST_LOOP_fFF_11): Likewise.
23907         * math/gen-libm-test.pl (parse_args): Output four copies of
23908         expected results for each test.
23910         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23911         (__ASSUME_UTIMES): Remove.
23912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23913         (__ASSUME_UTIMES): Likewise.
23915         * math/gen-auto-libm-tests.c: Update comment on output format.
23916         (output_for_one_input_case): Generate before-rounding and
23917         after-rounding information as conditions on output flags not
23918         floating-point format.
23919         * math/auto-libm-test-out: Regenerated.
23920         * math/gen-libm-test.pl (cond_value): New function.
23921         (or_cond_value): Use cond_value.
23922         (generate_testfile): Handle conditional exceptions.
23924 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23926         * math/libm-test.inc (max_valid_error): New variable.
23927         (init_max_error): Take new argument specifying whether function
23928         results are exactly determined.  Set max_valid_error and bound
23929         other variables for errors based on this argument.
23930         (set_max_error): Do not record results above max_valid_error.
23931         (check_float_internal): Only accept errors of up to 0.5ulps if
23932         also at most max_valid_error.
23933         (START): Take new argument EXACT and pass it to init_max_error.
23934         (acos_test): Update call to START.
23935         (acos_test_tonearest): Likewise.
23936         (acos_test_towardzero): Likewise.
23937         (acos_test_downward): Likewise.
23938         (acos_test_upward): Likewise.
23939         (acosh_test): Likewise.
23940         (asin_test): Likewise.
23941         (asin_test_tonearest): Likewise.
23942         (asin_test_towardzero): Likewise.
23943         (asin_test_downward): Likewise.
23944         (asin_test_upward): Likewise.
23945         (asinh_test): Likewise.
23946         (atan_test): Likewise.
23947         (atanh_test): Likewise.
23948         (atan2_test): Likewise.
23949         (cabs_test): Likewise.
23950         (cacos_test): Likewise.
23951         (cacosh_test): Likewise.
23952         (carg_test): Likewise.
23953         (casin_test): Likewise.
23954         (casinh_test): Likewise.
23955         (catan_test): Likewise.
23956         (catanh_test): Likewise.
23957         (cbrt_test): Likewise.
23958         (ccos_test): Likewise.
23959         (ccosh_test): Likewise.
23960         (ceil_test): Likewise.
23961         (cexp_test): Likewise.
23962         (cimag_test): Likewise.
23963         (clog_test): Likewise.
23964         (clog10_test): Likewise.
23965         (conj_test): Likewise.
23966         (copysign_test): Likewise.
23967         (cos_test): Likewise.
23968         (cos_test_tonearest): Likewise.
23969         (cos_test_towardzero): Likewise.
23970         (cos_test_downward): Likewise.
23971         (cos_test_upward): Likewise.
23972         (cosh_test): Likewise.
23973         (cosh_test_tonearest): Likewise.
23974         (cosh_test_towardzero): Likewise.
23975         (cosh_test_downward): Likewise.
23976         (cosh_test_upward): Likewise.
23977         (cpow_test): Likewise.
23978         (cproj_test): Likewise.
23979         (creal_test): Likewise.
23980         (csin_test): Likewise.
23981         (csinh_test): Likewise.
23982         (csqrt_test): Likewise.
23983         (ctan_test): Likewise.
23984         (ctan_test_tonearest): Likewise.
23985         (ctan_test_towardzero): Likewise.
23986         (ctan_test_downward): Likewise.
23987         (ctan_test_upward): Likewise.
23988         (ctanh_test): Likewise.
23989         (ctanh_test_tonearest): Likewise.
23990         (ctanh_test_towardzero): Likewise.
23991         (ctanh_test_downward): Likewise.
23992         (ctanh_test_upward): Likewise.
23993         (erf_test): Likewise.
23994         (erfc_test): Likewise.
23995         (exp_test): Likewise.
23996         (exp_test_tonearest): Likewise.
23997         (exp_test_towardzero): Likewise.
23998         (exp_test_downward): Likewise.
23999         (exp_test_upward): Likewise.
24000         (exp10_test): Likewise.
24001         (exp10_test_tonearest): Likewise.
24002         (exp10_test_towardzero): Likewise.
24003         (exp10_test_downward): Likewise.
24004         (exp10_test_upward): Likewise.
24005         (pow10_test): Likewise.
24006         (exp2_test): Likewise.
24007         (expm1_test): Likewise.
24008         (expm1_test_tonearest): Likewise.
24009         (expm1_test_towardzero): Likewise.
24010         (expm1_test_downward): Likewise.
24011         (expm1_test_upward): Likewise.
24012         (fabs_test): Likewise.
24013         (fdim_test): Likewise.
24014         (floor_test): Likewise.
24015         (fma_test): Likewise.
24016         (fma_test_towardzero): Likewise.
24017         (fma_test_downward): Likewise.
24018         (fma_test_upward): Likewise.
24019         (fmax_test): Likewise.
24020         (fmin_test): Likewise.
24021         (fmod_test): Likewise.
24022         (fpclassify_test): Likewise.
24023         (frexp_test): Likewise.
24024         (hypot_test): Likewise.
24025         (ilogb_test): Likewise.
24026         (isfinite_test): Likewise.
24027         (finite_test): Likewise.
24028         (isgreater_test): Likewise.
24029         (isgreaterequal_test): Likewise.
24030         (isinf_test): Likewise.
24031         (isless_test): Likewise.
24032         (islessequal_test): Likewise.
24033         (islessgreater_test): Likewise.
24034         (isnan_test): Likewise.
24035         (isnormal_test): Likewise.
24036         (issignaling_test): Likewise.
24037         (isunordered_test): Likewise.
24038         (j0_test): Likewise.
24039         (j1_test): Likewise.
24040         (jn_test): Likewise.
24041         (ldexp_test): Likewise.
24042         (lgamma_test): Likewise.
24043         (gamma_test): Likewise.
24044         (lrint_test): Likewise.
24045         (lrint_test_tonearest): Likewise.
24046         (lrint_test_towardzero): Likewise.
24047         (lrint_test_downward): Likewise.
24048         (lrint_test_upward): Likewise.
24049         (llrint_test): Likewise.
24050         (llrint_test_tonearest): Likewise.
24051         (llrint_test_towardzero): Likewise.
24052         (llrint_test_downward): Likewise.
24053         (llrint_test_upward): Likewise.
24054         (log_test): Likewise.
24055         (log10_test): Likewise.
24056         (log1p_test): Likewise.
24057         (log2_test): Likewise.
24058         (logb_test): Likewise.
24059         (logb_test_downward): Likewise.
24060         (lround_test): Likewise.
24061         (llround_test): Likewise.
24062         (modf_test): Likewise.
24063         (nearbyint_test): Likewise.
24064         (nextafter_test): Likewise.
24065         (nexttoward_test): Likewise.
24066         (pow_test): Likewise.
24067         (pow_test_tonearest): Likewise.
24068         (pow_test_towardzero): Likewise.
24069         (pow_test_downward): Likewise.
24070         (pow_test_upward): Likewise.
24071         (remainder_test): Likewise.
24072         (drem_test): Likewise.
24073         (remainder_test_tonearest): Likewise.
24074         (drem_test_tonearest): Likewise.
24075         (remainder_test_towardzero): Likewise.
24076         (drem_test_towardzero): Likewise.
24077         (remainder_test_downward): Likewise.
24078         (drem_test_downward): Likewise.
24079         (remainder_test_upward): Likewise.
24080         (drem_test_upward): Likewise.
24081         (remquo_test): Likewise.
24082         (rint_test): Likewise.
24083         (rint_test_tonearest): Likewise.
24084         (rint_test_towardzero): Likewise.
24085         (rint_test_downward): Likewise.
24086         (rint_test_upward): Likewise.
24087         (round_test): Likewise.
24088         (scalb_test): Likewise.
24089         (scalbn_test): Likewise.
24090         (scalbln_test): Likewise.
24091         (signbit_test): Likewise.
24092         (sin_test): Likewise.
24093         (sin_test_tonearest): Likewise.
24094         (sin_test_towardzero): Likewise.
24095         (sin_test_downward): Likewise.
24096         (sin_test_upward): Likewise.
24097         (sincos_test): Likewise.
24098         (sinh_test): Likewise.
24099         (sinh_test_tonearest): Likewise.
24100         (sinh_test_towardzero): Likewise.
24101         (sinh_test_downward): Likewise.
24102         (sinh_test_upward): Likewise.
24103         (sqrt_test): Likewise.
24104         (sqrt_test_tonearest): Likewise.
24105         (sqrt_test_towardzero): Likewise.
24106         (sqrt_test_downward): Likewise.
24107         (sqrt_test_upward): Likewise.
24108         (tan_test): Likewise.
24109         (tan_test_tonearest): Likewise.
24110         (tan_test_towardzero): Likewise.
24111         (tan_test_downward): Likewise.
24112         (tan_test_upward): Likewise.
24113         (tanh_test): Likewise.
24114         (tgamma_test): Likewise.
24115         (trunc_test): Likewise.
24116         (y0_test): Likewise.
24117         (y1_test): Likewise.
24118         (yn_test): Likewise.
24119         (significand_test): Likewise.
24121         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24122         individual tests in comment.
24123         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24124         (prev_max_error): New variable.
24125         (prev_real_max_error): Likewise.
24126         (prev_imag_max_error): Likewise.
24127         (compare_ulp_data): Don't refer to test names in comment.
24128         (find_test_ulps): Remove function.
24129         (find_function_ulps): Likewise.
24130         (find_complex_function_ulps): Likewise.
24131         (init_max_error): Take function name as argument.  Look up ulps
24132         for that function.
24133         (print_ulps): Remove function.
24134         (print_max_error): Use prev_max_error instead of calling
24135         find_function_ulps.
24136         (print_complex_max_error): Use prev_real_max_error and
24137         prev_imag_max_error instead of calling find_complex_function_ulps.
24138         (check_float_internal): Take max_ulp parameter instead of calling
24139         find_test_ulps.  Don't call print_ulps.
24140         (check_float): Update call to check_float_internal.
24141         (check_complex): Update calls to check_float_internal.
24142         (START): Pass argument to init_max_error.
24143         * math/gen-libm-test.pl (%results): Don't include "kind"
24144         information.
24145         (parse_ulps): Don't handle ulps of individual tests.
24146         (print_ulps_file): Likewise.
24147         (output_ulps): Likewise.
24148         * math/README.libm-test: Update.
24149         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24150         individual tests.
24151         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24152         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24153         * sysdeps/arm/libm-test-ulps: Likewise.
24154         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24155         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24156         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24157         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24158         * sysdeps/microblaze/libm-test-ulps: Likewise.
24159         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24160         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24161         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24162         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24163         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24164         * sysdeps/sh/libm-test-ulps: Likewise.
24165         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24166         * sysdeps/tile/libm-test-ulps: Likewise.
24167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24169 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24171         * math/libm-test.inc (print_complex_max_error): Check separately
24172         whether real and imaginary errors are within allowed range and
24173         pass 0 to print_complex_function_ulps instead of value within
24174         allowed range.
24176 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24178         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24179         formatting.
24180         (get_handles_fopen): Likewise.
24181         (do_write_test): Likewise.
24183         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24185         * libio/fileops.c (do_ftell): Use cached offset when
24186         available.
24187         * libio/iofwide.c (do_ftell_wide): Likewise.
24188         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24189         _IO_file_attach.
24190         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24192         [BZ #16532]
24193         * libio/libioP.h (get_file_offset): New function.
24194         * libio/fileops.c (get_file_offset): Likewise.
24195         (do_ftell): Likewise.
24196         (_IO_new_file_seekoff): Split out ftell logic.
24197         * libio/wfileops.c (do_ftell_wide): Likewise.
24198         (_IO_wfile_seekoff): Split out ftell logic.
24199         * libio/tst-ftell-active-handler.c: New test case.
24200         * libio/Makefile (tests): Add it.
24202 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24204         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24205         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24207 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24209         [BZ #16639]
24210         * nscd/connections.c (nscd_init): Call do_exit.
24211         (start_threads): Call do_exit and notify_parent.
24212         (begin_drop_privileges): Call do_exit.
24213         (finish_drop_privileges): Likewise.
24214         * nscd/selinux.c (preserve_capabilities): Likewise.
24215         (install_real_capabilities): Likewise.
24216         (nscd_selinux_enabled): Likewise.
24217         (avc_create_thread): Likewise.
24218         (avc_alloc_lock): Likewise.
24219         (nscd_avc_init): Likewise.
24220         * nscd/nscd.c (parent_fd): New static variable.
24221         (main): Create a pipe between parent and child processes.
24222         Skip closing parent_fd.
24223         (monitor_child): New function.
24224         (do_exit): Likewise.
24225         (notify_parent): Likewise.
24226         * nscd/nscd.h (notify_parent): Likewise.
24227         (do_exit): Likewise.
24229 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24231         * malloc/malloc.c (__libc_calloc): Revert last change.
24233 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24237 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24239         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24241         implementation.
24242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24243         (__libc_ifunc_impl_list): Likewise.
24244         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24245         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24246         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24247         * string/strrchr.c: Define STRRCHR.
24249 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24251         * benchtest/bench-strtok.c (simple_strtok): Delete.
24252         (strtok_string): Use as benchmark.
24253         * string/strtok (STRTOK): New macro.
24255 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24257         * manual/threads.texi: Add header and standard comments to all
24258         functions.
24260         * elf/dl-lookup.c (check_match): New function.
24261         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24262         (do_lookup_x): Remove nested function check_match. Use non-nested
24263         function check_match.
24265 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24267         * csu/Makefile (generated, before-compile): Use += rather than =.
24268         * catgets/Makefile (generated, generated-dirs): Likewise.
24269         * debug/Makefile (generated): Likewise.
24270         * dlfcn/Makefile (generated): Likewise.
24271         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24272         * iconvdata/Makefile (before-compile, generated): Likewise.
24273         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24274         * libio/Makefile (generated): Likewise.
24275         * malloc/Makefile (generated): Likewise.
24276         * manual/Makefile (generated, generated-dirs): Likewise.
24277         * misc/Makefile (generated): Likewise.
24278         * posix/Makefile (generated): Likewise.
24279         * resolv/Makefile (generated): Likewise.
24280         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24281         * timezone/Makefile (generated, generated-dirs): Likewise.
24283         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24285 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24288         power8 implementation.
24289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24290         file: POWER8 llround ifunc implementation.
24291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24292         (__lllround): Add POWER8 implementation.
24293         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24294         POWER8 llround implementation.
24296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24297         power8 implementation.
24298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24299         file: POWER8 llrint ifunc implementation.
24300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24301         Add POWER8 implementation.
24302         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24303         POWER8 llrint implementation.
24305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24306         power8 implementation.
24307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24308         file: POWER8 finite ifunc implementation.
24309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24310         Add POWER8 implementation.
24311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24312         Likewise.
24313         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24314         POWER8 finite implementation.
24315         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24318         power8 implementation.
24319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24320         file: POWER8 isinf ifunc implementation.
24321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24322         POWER8 implementation.
24323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24324         Likewise.
24325         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24326         isinf implementation.
24327         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24329         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24330         (INIT_ARCH): Add hwcap2 initialization.
24331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24332         power8 implementation.
24333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24334         file: POWER8 isnan ifunc implementation.
24335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24336         POWER8 implementation.
24337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24338         Likewise.
24339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24340         isnan implementation.
24341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24343 2014-02-27  Joey Ye  <joey.ye@arm.com>
24345         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24346         (_FP_NANFRAC_Q): Set to zero.
24348 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24350         [BZ #16623]
24351         * math/auto-libm-test-in: New test inputs.
24352         * math/auto-libm-test-out: Regenerate.
24353         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24354         and DA.
24355         (__cos): Likewise.
24356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24358 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24360         * scripts/evaluate-test.sh: Take new argument indicating whether
24361         failure is expected.
24362         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24363         indicating whether failure is expected.
24364         * conform/Makefile (test-xfail-run-conformtest): New variable.
24365         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24366         level.
24367         * posix/Makefile (test-xfail-annexc): New variable.
24368         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24370 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24372         * argp/Makefile: Include Makeconfig immediately after defining
24373         subdir.
24374         * assert/Makefile: Likewise.
24375         * benchtests/Makefile: Likewise.
24376         * catgets/Makefile: Likewise.
24377         * conform/Makefile: Likewise.
24378         * crypt/Makefile: Likewise.
24379         * csu/Makefile: Likewise.
24380         (all): Remove target.
24381         * ctype/Makefile: Include Makeconfig immediately after defining
24382         subdir.
24383         * debug/Makefile: Likewise.
24384         * dirent/Makefile: Likewise.
24385         * dlfcn/Makefile: Likewise.
24386         * gmon/Makefile: Likewise.
24387         * gnulib/Makefile: Likewise.
24388         * grp/Makefile: Likewise.
24389         * gshadow/Makefile: Likewise.
24390         * hesiod/Makefile: Likewise.
24391         * hurd/Makefile: Likewise.
24392         (all): Remove target.
24393         * iconvdata/Makefile: Include Makeconfig immediately after
24394         defining subdir.
24395         * inet/Makefile: Likewise.
24396         * intl/Makefile: Likewise.
24397         * io/Makefile: Likewise.
24398         * libio/Makefile: Likewise.
24399         (all): Remove target.
24400         * locale/Makefile: Include Makeconfig immediately after defining
24401         subdir.
24402         * login/Makefile: Likewise.
24403         * mach/Makefile: Likewise.
24404         (all): Remove target.
24405         * malloc/Makefile: Include Makeconfig immediately after defining
24406         subdir.
24407         (all): Remove target.
24408         * manual/Makefile: Include Makeconfig immediately after defining
24409         subdir.
24410         * math/Makefile: Likewise.
24411         * misc/Makefile: Likewise.
24412         * nis/Makefile: Likewise.
24413         * nss/Makefile: Likewise.
24414         * po/Makefile: Likewise.
24415         (all): Remove target.
24416         * posix/Makefile: Include Makeconfig immediately after defining
24417         subdir.
24418         * pwd/Makefile: Likewise.
24419         * resolv/Makefile: Likewise.
24420         * resource/Makefile: Likewise.
24421         * rt/Makefile: Likewise.
24422         * setjmp/Makefile: Likewise.
24423         * shadow/Makefile: Likewise.
24424         * signal/Makefile: Likewise.
24425         * socket/Makefile: Likewise.
24426         * soft-fp/Makefile: Likewise.
24427         * stdio-common/Makefile: Likewise.
24428         * stdlib/Makefile: Likewise.
24429         * streams/Makefile: Likewise.
24430         * string/Makefile: Likewise.
24431         * sunrpc/Makefile: Likewise.
24432         (all): Remove target.
24433         * sysvipc/Makefile: Include Makeconfig immediately after defining
24434         subdir.
24435         * termios/Makefile: Likewise.
24436         * time/Makefile: Likewise.
24437         * timezone/Makefile: Likewise.
24438         (all): Remove target.
24439         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24440         subdir.
24441         * wctype/Makefile: Likewise.
24443 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24445         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24446         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24447         (libc_feholdexcept_setround_mips): Ditto.
24448         (libc_feholdsetround): New.
24449         (libc_feholdsetroundf): New.
24450         (libc_feholdsetroundl): New.
24451         (libc_feupdateenv_test_mips): New.
24452         (libc_feupdateenv_test): New.
24453         (libc_feupdateenv_testf): New.
24454         (libc_feupdateenv_testl): New.
24455         (libc_feresetround): New.
24456         (libc_feresetroundf): New.
24457         (libc_feresetroundl): New.
24458         (libc_fetestexcept_mips): New.
24459         (libc_fetestexcept): New.
24460         (libc_fetestexceptf): New.
24461         (libc_fetestexceptl): New.
24462         (HAVE_RM_CTX): New.
24463         (libc_feholdexcept_setround_mips_ctx): New.
24464         (libc_feholdexcept_setround_ctx): New.
24465         (libc_feholdexcept_setroundf_ctx): New.
24466         (libc_feholdexcept_setroundl_ctx): New.
24467         (libc_fesetenv_mips_ctx): New.
24468         (libc_fesetenv_ctx): New.
24469         (libc_fesetenv_ctxf): New.
24470         (libc_fesetenv_ctxl): New.
24471         (libc_feupdateenv_mips_ctx): New.
24472         (libc_feupdateenv_ctx): New.
24473         (libc_feupdateenvf_ctx): New.
24474         (libc_feupdateenvl_ctx): New.
24475         (libc_feholdsetround_mips_ctx): New.
24476         (libc_feholdsetround_ctx): New.
24477         (libc_feholdsetroundf_ctx): New.
24478         (libc_feholdsetroundl_ctx): New.
24479         (libc_feresetround_mips_ctx): New.
24480         (libc_feresetround_ctx): New.
24481         (libc_feresetroundf_ctx): New.
24482         (libc_feresetroundl_ctx): New.
24484 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24486         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24488         * manual/ipc.texi: New file.
24489         * manual/Makefile (chapters): Add ipc.
24490         * manual/job.texi: Add "Inter-Process Communication" to next.
24491         * manual/process.texi: Add "Inter-Process Communication" to prev.
24493 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24497 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24499         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24501         * manual/arith.texi: Fix spaces after sentences.
24502         * manual/charset.texi: Likewise.
24503         * manual/errno.texi: Likewise.
24504         * manual/install.texi: Likewise.
24505         * manual/llio.texi: Likewise.
24506         * manual/locale.texi: Likewise.
24507         * manual/maint.texi: Likewise.
24508         * manual/math.texi: Likewise.
24509         * manual/memory.texi: Likewise.
24510         * manual/message.texi: Likewise.
24511         * manual/probes.texi: Likewise.
24512         * manual/resource.texi: Likewise.
24513         * manual/signal.texi: Likewise.
24514         * manual/socket.texi: Likewise.
24515         * manual/stdio.texi: Likewise.
24516         * manual/string.texi: Likewise.
24517         * manual/time.texi: Likewise.
24518         * manual/users.texi: Likewise.
24520 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24522         [BZ #16632]
24523         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24524         _DEFAULT_SOURCE is defined.
24526 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24527             Carlos O'Donell  <carlos@redhat.com>
24529         [BZ #16613]
24530         * elf/dl-tls.c (_dl_count_modids): New function.
24531         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24532         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24533         audit library and increment generation counter.
24534         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24535         * elf/tst-audit9.c: New file.
24536         * elf/tst-auditmod9a.c: New file.
24537         * elf/tst-auditmod9b.c: New file.
24538         * elf/Makefile: Add rules to build and run tst-audit9.
24540 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24542         [BZ #15347]
24543         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24545 2014-02-25  Will Newton  <will.newton@linaro.org>
24547         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24548         (__longjmp): Restore sp and lr before restoring callee
24549         saved registers.  Add longjmp and longjmp_target
24550         SystemTap probe point.
24551         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24552         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24553         Define to zero to match jmpbuf layout.
24554         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24555         (__sigsetjmp): Save sp and lr before saving callee
24556         saved registers.  Add setjmp SystemTap probe point.
24558 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24560         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24562 2014-02-24  Andreas Schwab  <schwab@suse.de>
24564         [BZ #15804]
24565         * elf/pldd.c (wait_for_ptrace_stop): New function.
24566         (main): Call it after attaching.
24568 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24570         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24571         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24572         Versions files is now verboten.
24573         * hurd/Versions (libc: GLIBC_2.0):
24574         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24575         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24576         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24577         * mach/Versions: Likewise.
24579         * csu/Versions: Remove unused %include.
24580         * resolv/Versions: Likewise.
24582 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24584         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24585         ($(objpfx)check-local-headers.out): Likewise.
24586         ($(objpfx)begin-end-check.out): Likewise.
24587         * Makerules (check-abi-%.out): Likewise.
24588         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24589         ($(objpfx)test2.cat): Likewise.
24590         ($(objpfx)de/libc.cat): Likewise.
24591         ($(objpfx)test-gencat.out): Likewise.
24592         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24593         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24594         ($(objpfx)noload-mem): Likewise.
24595         ($(objpfx)tst-pathopt.out): Likewise.
24596         ($(objpfx)tst-rtld-load-self.out): Likewise.
24597         ($(objpfx)tst-array1-cmp.out): Likewise.
24598         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24599         ($(objpfx)tst-array2-cmp.out): Likewise.
24600         ($(objpfx)tst-array3-cmp.out): Likewise.
24601         ($(objpfx)tst-array4-cmp.out): Likewise.
24602         ($(objpfx)tst-array5-cmp.out): Likewise.
24603         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24604         ($(objpfx)check-textrel.out): Likewise.
24605         ($(objpfx)check-execstack.out): Likewise.
24606         ($(objpfx)check-localplt.out): Likewise.
24607         ($(objpfx)order2-cmp.out): Likewise.
24608         ($(objpfx)tst-leaks1-mem): Likewise.
24609         ($(objpfx)tst-leaks1-static-mem): Likewise.
24610         ($(objpfx)tst-initorder-cmp.out): Likewise.
24611         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24612         ($(objpfx)tst-unused-dep.out): Likewise.
24613         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24614         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24615         * iconv/Makefile (test-iconvconfig): Likewise.
24616         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24617         ($(objpfx)iconv-test.out): Likewise.
24618         ($(objpfx)tst-tables.out): Likewise.
24619         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24620         ($(objpfx)tst-gettext.out): Likewise.
24621         ($(objpfx)tst-translit.out): Likewise.
24622         ($(objpfx)tst-gettext2.out): Likewise.
24623         ($(objpfx)tst-gettext4.out): Likewise.
24624         ($(objpfx)tst-gettext6.out): Likewise.
24625         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24626         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24627         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24628         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24629         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24630         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24631         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24632         ($(objpfx)wordexp-tst.out): Likewise.
24633         ($(objpfx)annexc.out): Likewise.
24634         ($(objpfx)tst-fnmatch-mem): Likewise.
24635         ($(objpfx)bug-regex2-mem): Likewise.
24636         ($(objpfx)bug-regex14-mem): Likewise.
24637         ($(objpfx)bug-regex21-mem): Likewise.
24638         ($(objpfx)bug-regex31-mem): Likewise.
24639         ($(objpfx)tst-vfork3-mem): Likewise.
24640         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24641         ($(objpfx)tst-pcre-mem): Likewise.
24642         ($(objpfx)tst-boost-mem): Likewise.
24643         ($(objpfx)tst-getconf.out): Likewise.
24644         ($(objpfx)bug-ga2-mem): Likewise.
24645         ($(objpfx)bug-glob2-mem): Likewise.
24646         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24647         ($(objpfx)mtrace-tst-leaks2): Likewise.
24648         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24649         ($(objpfx)tst-printf.out): Likewise.
24650         ($(objpfx)tst-setvbuf1.out): Likewise.
24651         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24652         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24653         ($(objpfx)tst-fmtmsg.out): Likewise.
24654         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24655         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24657         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24658         * bits/sigaction.h [__USE_MISC]: Likewise.
24659         * bits/waitstatus.h: Update #endif comments.
24660         * ctype/ctype.h: Likewise.
24661         * dirent/dirent.h: Likewise.
24662         [__USE_MISC]: Remove redundant conditionals.
24663         * grp/grp.h: Update #endif comments.
24664         [__USE_GNU]: Remove redundant conditionals.
24665         [__USE_MISC]: Likewise.
24666         * inet/netinet/in.h [__USE_GNU]: Likewise.
24667         * io/sys/stat.h [__USE_MISC]: Likewise.
24668         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24669         * libio/bits/stdio.h: Update #endif comments.
24670         [__USE_MISC]: Remove redundant conditionals.
24671         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24672         * libio/stdio.h: Update #endif comments.
24673         [__USE_MISC]: Remove redundant conditionals.
24674         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24675         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24676         * math/math.h: Update #else and #endif comments.
24677         [__USE_MISC]: Remove redundant conditionals.
24678         * misc/sys/uio.h: Update #endif comments.
24679         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24680         * posix/glob.h [__USE_MISC]: Likewise.
24681         * posix/sys/types.h: Update #endif comments.
24682         [__USE_MISC]: Remove redundant conditionals.
24683         * posix/sys/wait.h: Update #endif comments.
24684         [__USE_MISC]: Remove redundant conditionals.
24685         * posix/unistd.h: Update #endif comments.
24686         [__USE_MISC]: Remove redundant conditionals.
24687         * pwd/pwd.h [__USE_GNU]: Likewise.
24688         [__USE_MISC]: Likewise.
24689         * resolv/netdb.h [__USE_GNU]: Likewise.
24690         * signal/signal.h: Update #endif comments.
24691         [__USE_MISC]: Remove redundant conditionals.
24692         * stdlib/stdlib.h: Update #else and #endif comments.
24693         [__USE_MISC]: Remove redundant conditionals.
24694         [__USE_GNU]: Likewise.
24695         * string/bits/string2.h [__USE_MISC]: Likewise.
24696         * string/string.h: Update #endif comments.
24697         [__USE_MISC]: Remove redundant conditionals.
24698         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24699         Likewise.
24700         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24701         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24702         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24703         Likewise.
24704         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24705         Likewise.
24706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24707         comments.
24708         [__USE_MISC]: Remove redundant conditionals.
24709         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24710         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24711         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24712         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24713         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24714         Likewise.
24715         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24716         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24717         Likewise.
24718         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24719         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24720         Likewise.
24721         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24722         Likewise.
24723         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24724         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24725         Likewise.
24726         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24727         Likewise.
24728         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24729         * sysdeps/x86/bits/string.h: Update #endif comments.
24730         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24731         conditionals.
24732         * time/sys/time.h: Update #endif comments.
24733         * time/time.h: Likewise.
24734         [__USE_MISC]: Remove redundant conditionals.
24736 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24738         [BZ #16600]
24739         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24741 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24743         * Versions.def (librt): Add GLIBC_2.17.
24745 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24747         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24748         synonym for _SYS_AUXV_H to allow direct inclusion.
24749         * sysdeps/sparc/bits/hwcap.h: Likewise.
24750         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24751         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24752         * sysdeps/sparc/sysdep.h: Likewise.
24754 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24756         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24758 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24760         * benchtests/bench-strrchr.c: Print length instead of position.
24762 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24764         [BZ #16611]
24765         * sysdeps/unix/sysv/linux/kernel-features.h
24766         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24767         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24768         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24769         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24770         Likewise.
24771         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24772         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24773         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24774         (__ASSUME_SENDMMSG): Define instead of using previous
24775         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24776         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24777         (__ASSUME_SENDMMSG_SYSCALL): Define.
24778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24779         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24780         Likewise.
24781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24782         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24783         Likewise.
24784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24785         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24786         Likewise.
24787         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24788         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24789         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24790         [__ASSUME_SENDMMSG]: Change conditionals to
24791         [__ASSUME_SENDMMSG_SOCKETCALL].
24792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24793         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24794         Define.
24795         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24796         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24797         Likewise.
24798         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24799         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24800         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24801         [!__ASSUME_SENDMMSG]: Change conditional to
24802         [!__ASSUME_SENDMMSG_SOCKETCALL].
24803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24804         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24805         Define.
24807         [BZ #16610]
24808         * sysdeps/unix/sysv/linux/kernel-features.h
24809         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24810         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24811         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24812         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24813         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24814         [__i386__ || __sparc__]
24815         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24816         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24817         (__ASSUME_RECVMMSG): Define instead of using previous
24818         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24819         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24820         (__ASSUME_RECVMMSG_SYSCALL): Define.
24821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24822         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24823         Likewise.
24824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24825         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24826         Likewise.
24827         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24828         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24829         Likewise.
24830         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24831         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24832         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24833         [__ASSUME_RECVMMSG]: Change condition to
24834         [__ASSUME_RECVMMSG_SOCKETCALL].
24835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24836         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24837         Define.
24838         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24839         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24840         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24841         Likewise.
24842         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24843         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24844         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24845         [!__ASSUME_RECVMMSG]: Change condition to
24846         [!__ASSUME_RECVMMSG_SOCKETCALL].
24847         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24848         (__ASSUME_RECVMMSG_SYSCALL): Define.
24850         [BZ #16609]
24851         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24852         __powerpc__ || __s390__ || __sh__ || __sparc__]
24853         (__ASSUME_SOCKETCALL): Define.
24854         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24855         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24856         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24857         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24858         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24859         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24860         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24861         (__ASSUME_ACCEPT4): Define instead of using previous
24862         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24863         __powerpc__ || __sparc__ || __s390__)] condition.
24864         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24865         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24866         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24867         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24868         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24869         [!__ASSUME_ACCEPT4]: Change condition to
24870         [!__ASSUME_ACCEPT4_SOCKETCALL].
24871         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24872         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24873         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24874         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24875         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24876         __ASSUME_ACCEPT4_SYSCALL.
24877         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24878         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24879         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24880         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24881         __ASSUME_ACCEPT4_SYSCALL.
24882         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24883         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24884         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24885         [__ASSUME_ACCEPT4]: Change condition to
24886         [__ASSUME_ACCEPT4_SOCKETCALL].
24887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24888         (__ASSUME_SOCKETCALL): Define.
24889         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24891         (__ASSUME_SOCKETCALL): Define.
24892         (__ASSUME_ACCEPT4): Remove.
24893         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24894         Define.
24895         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24896         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24897         Likewise.
24898         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24899         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24901         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24902         macro.
24903         (HWCAP_ARM_LPAE): Likewise.
24904         (HWCAP_ARM_EVTSTRM): Likewise.
24905         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24906         Add vpfd32, lpae and evtstrm.
24907         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24908         Increase to 22.
24910 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24912         * math/auto-libm-test-in: Add tests of clog10.
24913         * math/auto-libm-test-out: Regenerated.
24914         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24915         * sysdeps/i386/fpu/libm-test-ulps: Update.
24916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24918 2014-02-18  Andreas Schwab  <schwab@suse.de>
24920         [BZ #16574]
24921         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24922         Store non-zero if the second buffer was newly allocated.
24923         (send_dg): Likewise.
24924         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24925         to send_vc and send_dg.
24926         (res_nsend): Pass NULL for ansp2_malloced.
24927         * resolv/res_query.c (__libc_res_nquery): Add parameter
24928         answerp2_malloced and pass it down to __libc_res_nsend.
24929         (res_nquery): Pass additional NULL to __libc_res_nquery.
24930         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24931         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24932         second answer buffer if answerp2_malloced was set.
24933         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24934         (__libc_res_nquerydomain): Add parameter
24935         answerp2_malloced and pass it down to __libc_res_nquery.
24936         (res_nquerydomain): Pass additional NULL to
24937         __libc_res_nquerydomain.
24938         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24939         additional NULL to __libc_res_nsend and __libc_res_nquery.
24940         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24941         additional NULL to __libc_res_nsearch.
24942         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24943         parameter of __libc_res_nsearch to check for separately allocated
24944         second buffer.
24945         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24946         __libc_res_nquery.
24947         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24948         additional NULL to __libc_res_nquery.
24949         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24950         __libc_res_nsearch.
24951         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24952         * include/resolv.h: Update prototypes of __libc_res_nquery,
24953         __libc_res_nsearch, __libc_res_nsend.
24955 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24957         * math/auto-libm-test-in: Add tests of fma.
24958         * math/auto-libm-test-out: Regenerated.
24959         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24960         (fma_towardzero_test_data): Likewise.
24961         (fma_downward_test_data): Likewise.
24962         (fma_upward_test_data): Likewise.
24963         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24964         mpc_mode.
24965         (rounding_modes): Add values for new field.
24966         (func_calc_method): Add value mpfr_fff_f.
24967         (func_calc_desc): Add mpfr_fff_f union field.
24968         (test_function): Add field exact_args.
24969         (FUNC): Add macro argument EXACT_ARGS.
24970         (FUNC_mpfr_f_f): Update call to FUNC.
24971         (FUNC_mpfr_f_f): Likewise.
24972         (FUNC_mpfr_ff_f): Likewise.
24973         (FUNC_mpfr_if_f): Likewise.
24974         (FUNC_mpc_c_f): Likewise.
24975         (FUNC_mpc_c_c): Likewise.
24976         (test_functions): Add fma.  Update calls to FUNC.
24977         (handle_input_arg): Add argument exact_args.
24978         (add_test): Update call to handle_input_arg.
24979         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24980         (output_for_one_input_case): Update call to calc_generic_results.
24981         Recalculate exact zero results in each rounding mode.
24983         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24984         non-negative before setting low bit.
24985         * math/auto-libm-test-in: Mark one asin test possibly having
24986         spurious underflow.
24987         * math/auto-libm-test-out: Regenerated.
24988         * sysdeps/i386/fpu/libm-test-ulps: Update.
24989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24991 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24993         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24994         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24995         ports/sysdeps/unix/sysv/linux/microblaze.
24996         * README: Add missing listing for microblaze*-*-linux-gnu.
24998 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
25000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25001         duplicate code
25003 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
25005         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25006         * sysdeps/unix/sysv/linux/ia64: Move directory from
25007         ports/sysdeps/unix/sysv/linux/ia64.
25008         * README: Update listing for ia64-*-linux-gnu.
25010 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
25011             Joseph Myers  <joseph@codesourcery.com>
25013         * Makeconfig (test-name): New variable.
25014         (evaluate-test): Likewise.
25015         * Makerules (do-test-clean): Remove .test-result files.
25016         (common-mostlyclean): Likewise.
25017         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25018         * scripts/evaluate-test.sh: New file.
25020 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
25022         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25023         separate $(objpfx)tst-fopenloc-cmp.out and
25024         $(objpfx)tst-fopenloc-mem.out targets.
25025         (tests): Update dependencies.
25026         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25027         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25028         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25029         (tst-rxspencer-no-utf8-ARGS): New variable.
25030         (tst-rxspencer-no-utf8-ENV): Likewise.
25031         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25032         instead of $(objpfx)tst-rxspencer-mem.
25033         ($(objpfx)tst-rxspencer-mem): Change target to
25034         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
25035         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25036         * posix/tst-rxspencer-no-utf8.c: New file.
25038         * elf/Makefile ($(objpfx)order.out): Remove rule.
25039         [$(run-built-tests) = yes] (tests): Depend on
25040         $(objpfx)order-cmp.out.
25041         ($(objpfx)order-cmp.out): New rule.
25042         [$(run-built-tests) = yes] (tests): Depend on
25043         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25044         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25045         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25046         $(objpfx)tst-array5-static-cmp.out.
25047         ($(objpfx)tst-array1.out): Remove rule.
25048         ($(objpfx)tst-array1-cmp.out): New rule.
25049         ($(objpfx)tst-array1-static.out): Remove rule.
25050         ($(objpfx)tst-array1-static-cmp.out): New rule.
25051         ($(objpfx)tst-array2.out): Remove rule.
25052         ($(objpfx)tst-array2-cmp.out): New rule.
25053         ($(objpfx)tst-array3.out): Remove rule.
25054         ($(objpfx)tst-array3-cmp.out): New rule.
25055         ($(objpfx)tst-array4.out): Remove rule.
25056         ($(objpfx)tst-array4-cmp.out): New rule.
25057         ($(objpfx)tst-array5.out): Remove rule.
25058         ($(objpfx)tst-array5-cmp.out): New rule.
25059         ($(objpfx)tst-array5-static.out): Remove rule.
25060         ($(objpfx)tst-array5-static-cmp.out): New rule.
25061         [$(run-built-tests) = yes] (tests): Depend on
25062         $(objpfx)order2-cmp.out.
25063         ($(objpfx)order2.out): Remove rule.
25064         ($(objpfx)order2-cmp.out): New rule.
25065         ($(objpfx)tst-initorder.out): Remove rule.
25066         [$(run-built-tests) = yes] (tests): Depend on
25067         $(objpfx)tst-initorder-cmp.out.
25068         ($(objpfx)tst-initorder-cmp.out): New rule.
25069         ($(objpfx)tst-initorder2.out): Remove rule.
25070         [$(run-built-tests) = yes] (tests): Depend on
25071         $(objpfx)tst-initorder2-cmp.out.
25072         ($(objpfx)tst-initorder2-cmp.out): New rule.
25073         [$(run-built-tests) = yes] (tests): Depend on
25074         $(objpfx)tst-unused-dep-cmp.out.
25075         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25076         ($(objpfx)tst-unused-dep-cmp.out): New rule.
25077         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25078         on $(objpfx)tst-setvbuf1-cmp.out.
25079         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25080         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25081         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25082         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25083         ($(objpfx)tst-svc.out): Remove rule.
25084         ($(objpfx)tst-svc-cmp.out): New rule.
25086 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
25088         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25089         * ctype/ctype.h [__USE_MISC]: Likewise.
25090         * dirent/dirent.h [__USE_MISC]: Likewise.
25091         * grp/grp.h [__USE_MISC]: Likewise.
25092         * io/fcntl.h [__USE_MISC]: Likewise.
25093         * io/sys/stat.h [__USE_MISC]: Likewise.
25094         * libio/stdio.h [__USE_MISC]: Likewise.
25095         * posix/unistd.h [__USE_MISC]: Likewise.
25096         * pwd/pwd.h [__USE_MISC]: Likewise.
25097         * stdlib.h [__USE_MISC]: Likewise.
25098         * string/bits/string2.h [__USE_MISC]: Likewise.
25099         * string/string.h [__USE_MISC]: Likewise.
25100         * time/time.h [__USE_MISC]: Likewise.
25102 2014-02-13  Andreas Schwab  <schwab@suse.de>
25104         [BZ #16574]
25105         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25106         second answer buffer if it was separately allocated.
25108 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
25110         * sysdeps/mips/math-tests.h: Include <features.h>.
25111         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25112         (ROUNDING_TESTS_long_double): Do not define.
25113         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25114         (EXCEPTION_TESTS_long_double): Likewise.
25115         * sysdeps/mips/mips64/libm-test-ulps: Update.
25117         * include/features.h (__USE_BSD): Remove macro definitions.
25118         (__USE_SVID): Likewise.
25119         (_BSD_SOURCE): Likewise.
25120         (_SVID_SOURCE): Likewise.
25121         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25122         from definition of _DEFAULT_SOURCE.
25123         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25124         [_DEFAULT_SOURCE].
25125         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25126         * bits/mman.h [__USE_BSD]: Likewise.
25127         * bits/termios.h [__USE_BSD]: Likewise.
25128         * bits/waitstatus.h [__USE_BSD]: Likewise.
25129         * ctype/ctype.h [__USE_SVID]: Likewise.
25130         * dirent/dirent.h [__USE_BSD]: Likewise.
25131         * grp/grp.h [__USE_SVID]: Likewise.
25132         [__USE_BSD]: Likewise.
25133         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25134         * io/fcntl.h [__USE_BSD]: Likewise.
25135         * io/ftw.h [__USE_BSD]: Likewise.
25136         * io/sys/stat.h [__USE_BSD]: Likewise.
25137         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25138         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25139         * libio/stdio.h [__USE_SVID]: Likewise.
25140         [__USE_BSD]: Likewise.
25141         * math/math.h [__USE_SVID]: Likewise.
25142         [__USE_BSD]: Likewise.
25143         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25144         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25145         * misc/search.h [__USE_SVID]: Likewise.
25146         * misc/sys/mman.h [__USE_BSD]: Likewise.
25147         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25148         * misc/sys/uio.h [__USE_BSD]: Likewise.
25149         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25150         * posix/glob.h [__USE_BSD]: Likewise.
25151         * posix/regex.h [__USE_BSD]: Likewise.
25152         * posix/sys/types.h [__USE_BSD]: Likewise.
25153         [__USE_SVID]: Likewise.
25154         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25155         * posix/sys/wait.h [__USE_BSD]: Likewise.
25156         [__USE_SVID]: Likewise.
25157         * posix/unistd.h [__USE_BSD]: Likewise.
25158         [__USE_SVID]: Likewise.
25159         * pwd/pwd.h [__USE_SVID]: Likewise.
25160         * resolv/netdb.h [__USE_BSD]: Likewise.
25161         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25162         * signal/signal.h [__USE_BSD]: Likewise.
25163         [__USE_SVID]: Likewise.
25164         * socket/sys/socket.h [__USE_BSD]: Likewise.
25165         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25166         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25167         [__USE_SVID]: Likewise.
25168         * string/bits/string2.h [__USE_BSD]: Likewise.
25169         [__USE_SVID]: Likewise.
25170         * string/bits/string3.h [__USE_BSD]: Likewise.
25171         * string/endian.h [__USE_BSD]: Likewise.
25172         * string/string.h [__USE_SVID]: Likewise.
25173         [__USE_BSD]: Likewise.
25174         * string/strings.h [__USE_BSD]: Likewise.
25175         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25176         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25177         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25178         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25179         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25180         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25181         Likewise.
25182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25183         Likewise.
25184         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25185         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25186         Likewise.
25187         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25188         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25189         Likewise.
25190         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25191         Likewise.
25192         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25193         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25194         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25197         Likewise.
25198         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25199         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25200         * termios/termios.h [__USE_BSD]: Likewise.
25201         * time/sys/time.h [__USE_BSD]: Likewise.
25202         * time/time.h [__USE_BSD]: Likewise.
25203         [__USE_SVID]: Likewise.
25205         * Makefile (subdir_targets): Remove subdir_lint.out.
25207         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25208         (do-tst-printf): Likewise.
25209         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25210         $(objpfx)tst-printf.out.
25212         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25214         * Makerules (check-abi-%): Change target to
25215         $(objpfx)check-abi-%.out.
25216         (check-abi target): Update dependencies.
25217         (check-abi-pattern variable): Redirect output of diff to $@.
25218         (check-abi variable): Likewise.
25219         * elf/Makefile (check-abi): Update dependencies.
25221         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25222         unused.
25223         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25224         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25225         subnormal range.
25226         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25227         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25228         value has largest subnormal exponent.
25229         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25230         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25231         * sysdeps/aarch64/soft-fp/sfp-machine.h
25232         (_FP_TININESS_AFTER_ROUNDING): New macro.
25233         * sysdeps/alpha/soft-fp/sfp-machine.h
25234         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25235         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25236         Likewise.
25237         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25238         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25239         * sysdeps/mips/soft-fp/sfp-machine.h
25240         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25241         * sysdeps/powerpc/soft-fp/sfp-machine.h
25242         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25243         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25244         Likewise.
25245         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25246         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25247         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25248         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25249         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25250         Likewise.
25252 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25254         [BZ #16545]
25255         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25256         model 1.
25258 2014-02-12  Richard Henderson  <rth@redhat.com>
25260         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25261         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25262         * sysdeps/unix/sysv/linux/alpha: Move directory from
25263         ports/sysdeps/unix/sysv/linux/alpha.
25264         * README: Update listing for alpha-*-linux-gnu.
25266 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25268         * include/features.h: Update comment documenting feature test
25269         macros.
25270         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25271         _DEFAULT_SOURCE.
25272         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25273         (_SVID_SOURCE): Likewise.
25274         (_DEFAULT_SOURCE): Update description of default features.
25275         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25276         with _GNU_SOURCE.
25277         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25278         (S_ISVTX): Likewise.
25279         * manual/math.texi (Mathematical Constants): Likewise.
25280         * manual/signal.texi (Interrupted Primitives): Likewise.
25281         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25282         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25283         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25284         Don't refer to _SVID_SOURCE in warning text.
25286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25288         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25289         already defined.
25290         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25291         * sysdeps/mips/dl-lookup.c: Remove.
25292         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25294 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25296         [BZ #16447]
25297         * math/auto-libm-test-in: Add testcase for expl.
25298         * math/auto-libm-test-out: Regenerate.
25299         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25300         calculation of unsafe.
25301         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25303 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25305         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25306         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25307         ports/sysdeps/unix/sysv/linux/aarch64.
25308         * README: Update listing for aarch64*-*-linux-gnu.
25310 2014-02-11  Will Newton  <will.newton@linaro.org>
25312         * manual/probes.texi (Mathematical Function Probes): Use
25313         "triggered" instead of "hit".
25315         * manual/probes.texi (Internal Probes): Add documentation
25316         of setjmp, longjmp and longjmp_target probes.
25318         * include/stap-probe.h: Add comment about probe argument
25319         format.
25321         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25322         definition.  (tr_where, tr_freehook, tr_mallochook,
25323         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25325 2014-02-11  David S. Miller  <davem@davemloft.net>
25327         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25328         processing int_tests.
25330 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25332         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25333         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25334         * sysdeps/unix/sysv/linux/mips: Move directory from
25335         ports/sysdeps/unix/sysv/linux/mips.
25336         * README: Update listing for mips-*-linux-gnu and
25337         mips64-*-linux-gnu.
25339 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25341         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25342         * sysdeps/unix/sysv/linux/m68k: Move directory from
25343         ports/sysdeps/unix/sysv/linux/m68k.
25344         * README: Update listing for m68k-*-linux-gnu.
25346 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25348         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25349         * sysdeps/unix/sysv/linux/generic: Move directory from
25350         ports/sysdeps/unix/sysv/linux/generic.
25351         * sysdeps/unix/sysv/linux/tile: Move directory from
25352         ports/sysdeps/unix/sysv/linux/tile.
25353         * README: Update listing for tile*-*-linux-gnu.
25355 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25357         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25358         __builtin_expect.
25359         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25360         * catgets/open_catalog.c (__open_catalog): Likewise.
25361         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25362         * debug/confstr_chk.c: Likewise.
25363         * debug/fread_chk.c (__fread_chk): Likewise.
25364         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25365         * debug/getgroups_chk.c: Likewise.
25366         * debug/mbsnrtowcs_chk.c: Likewise.
25367         * debug/mbsrtowcs_chk.c: Likewise.
25368         * debug/mbstowcs_chk.c: Likewise.
25369         * debug/memcpy_chk.c: Likewise.
25370         * debug/memmove_chk.c: Likewise.
25371         * debug/mempcpy_chk.c: Likewise.
25372         * debug/memset_chk.c: Likewise.
25373         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25374         * debug/strcat_chk.c (__strcat_chk): Likewise.
25375         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25376         * debug/strncat_chk.c (__strncat_chk): Likewise.
25377         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25378         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25379         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25380         * debug/wcpncpy_chk.c: Likewise.
25381         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25382         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25383         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25384         * debug/wcsncpy_chk.c: Likewise.
25385         * debug/wcsnrtombs_chk.c: Likewise.
25386         * debug/wcsrtombs_chk.c: Likewise.
25387         * debug/wcstombs_chk.c: Likewise.
25388         * debug/wmemcpy_chk.c: Likewise.
25389         * debug/wmemmove_chk.c: Likewise.
25390         * debug/wmempcpy_chk.c: Likewise.
25391         * debug/wmemset_chk.c: Likewise.
25392         * dirent/scandirat.c (SCANDIRAT): Likewise.
25393         * dlfcn/dladdr1.c (dladdr1): Likewise.
25394         * dlfcn/dladdr.c (dladdr): Likewise.
25395         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25396         * dlfcn/dlerror.c (__dlerror): Likewise.
25397         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25398         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25399         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25400         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25401         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25402         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25403         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25404         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25405         Likewise.
25406         * elf/dl-conflict.c: Likewise.
25407         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25408         * elf/dl-dst.h: Likewise.
25409         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25410         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25411         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25412         * elf/dl-init.c (call_init, _dl_init): Likewise.
25413         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25414         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25415         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25416         Likewise.
25417         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25418         Likewise.
25419         * elf/dl-minimal.c (__libc_memalign): Likewise.
25420         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25421         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25422         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25423         * elf/dl-sym.c (do_sym): Likewise.
25424         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25425         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25426         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25427         * elf/dl-writev.h (_dl_writev): Likewise.
25428         * elf/ldconfig.c (search_dir): Likewise.
25429         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25430         (dl_main): Likewise.
25431         * elf/setup-vdso.h (setup_vdso): Likewise.
25432         * grp/compat-initgroups.c (compat_call): Likewise.
25433         * grp/fgetgrent.c (fgetgrent): Likewise.
25434         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25435         * grp/putgrent.c (putgrent): Likewise.
25436         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25437         Likewise.
25438         * hurd/hurdinit.c: Likewise.
25439         * iconvdata/8bit-gap.c (struct): Likewise.
25440         * iconvdata/ansi_x3.110.c : Likewise.
25441         * iconvdata/big5.c : Likewise.
25442         * iconvdata/big5hkscs.c : Likewise.
25443         * iconvdata/cp1255.c: Likewise.
25444         * iconvdata/cp1258.c : Likewise.
25445         * iconvdata/cp932.c : Likewise.
25446         * iconvdata/euc-cn.c: Likewise.
25447         * iconvdata/euc-jisx0213.c : Likewise.
25448         * iconvdata/euc-jp.c: Likewise.
25449         * iconvdata/euc-jp-ms.c : Likewise.
25450         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25451         * iconvdata/gb18030.c : Likewise.
25452         * iconvdata/gbbig5.c (const): Likewise.
25453         * iconvdata/gbgbk.c: Likewise.
25454         * iconvdata/gbk.c : Likewise.
25455         * iconvdata/ibm1364.c : Likewise.
25456         * iconvdata/ibm930.c : Likewise.
25457         * iconvdata/ibm932.c: Likewise.
25458         * iconvdata/ibm933.c : Likewise.
25459         * iconvdata/ibm935.c : Likewise.
25460         * iconvdata/ibm937.c : Likewise.
25461         * iconvdata/ibm939.c : Likewise.
25462         * iconvdata/ibm943.c: Likewise.
25463         * iconvdata/iso_11548-1.c: Likewise.
25464         * iconvdata/iso-2022-cn.c : Likewise.
25465         * iconvdata/iso-2022-cn-ext.c : Likewise.
25466         * iconvdata/iso-2022-jp-3.c: Likewise.
25467         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25468         * iconvdata/iso-2022-kr.c : Likewise.
25469         * iconvdata/iso646.c (gconv_end): Likewise.
25470         * iconvdata/iso_6937-2.c : Likewise.
25471         * iconvdata/iso_6937.c : Likewise.
25472         * iconvdata/iso8859-1.c: Likewise.
25473         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25474         * iconvdata/shift_jisx0213.c : Likewise.
25475         * iconvdata/sjis.c : Likewise.
25476         * iconvdata/t.61.c : Likewise.
25477         * iconvdata/tcvn5712-1.c : Likewise.
25478         * iconvdata/tscii.c: Likewise.
25479         * iconvdata/uhc.c : Likewise.
25480         * iconvdata/unicode.c (gconv_end): Likewise.
25481         * iconvdata/utf-16.c (gconv_end): Likewise.
25482         * iconvdata/utf-32.c (gconv_end): Likewise.
25483         * iconvdata/utf-7.c (base64): Likewise.
25484         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25485         * iconv/gconv_close.c (__gconv_close): Likewise.
25486         * iconv/gconv_open.c (__gconv_open): Likewise.
25487         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25488         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25489         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25490         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25491         (ucs4le_internal_loop_single): Likewise.
25492         * iconv/iconv.c (iconv): Likewise.
25493         * iconv/iconv_close.c: Likewise.
25494         * iconv/loop.c (SINGLE): Likewise.
25495         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25496         * include/atomic.h: Likewise.
25497         * inet/inet6_option.c (option_alloc): Likewise.
25498         * intl/bindtextdom.c (set_binding_values): Likewise.
25499         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25500         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25501         * intl/localealias.c (read_alias_file): Likewise.
25502         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25503         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25504         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25505         * libio/fmemopen.c (fmemopen): Likewise.
25506         * libio/iofgets.c (_IO_fgets): Likewise.
25507         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25508         * libio/iofgetws.c (fgetws): Likewise.
25509         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25510         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25511         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25512         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25513         * locale/findlocale.c (_nl_find_locale): Likewise.
25514         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25515         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25516         Likewise.
25517         * locale/setlocale.c (setlocale): Likewise.
25518         * login/programs/pt_chown.c (main): Likewise.
25519         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25520         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25521         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25522         (mmap, mmap64, mremap, munmap): Likewise.
25523         * math/e_exp2l.c: Likewise.
25524         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25525         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25526         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25527         * math/s_catan.c (__catan): Likewise.
25528         * math/s_catanf.c (__catanf): Likewise.
25529         * math/s_catanh.c (__catanh): Likewise.
25530         * math/s_catanhf.c (__catanhf): Likewise.
25531         * math/s_catanhl.c (__catanhl): Likewise.
25532         * math/s_catanl.c (__catanl): Likewise.
25533         * math/s_ccosh.c (__ccosh): Likewise.
25534         * math/s_ccoshf.c (__ccoshf): Likewise.
25535         * math/s_ccoshl.c (__ccoshl): Likewise.
25536         * math/s_cexp.c (__cexp): Likewise.
25537         * math/s_cexpf.c (__cexpf): Likewise.
25538         * math/s_cexpl.c (__cexpl): Likewise.
25539         * math/s_clog10.c (__clog10): Likewise.
25540         * math/s_clog10f.c (__clog10f): Likewise.
25541         * math/s_clog10l.c (__clog10l): Likewise.
25542         * math/s_clog.c (__clog): Likewise.
25543         * math/s_clogf.c (__clogf): Likewise.
25544         * math/s_clogl.c (__clogl): Likewise.
25545         * math/s_csin.c (__csin): Likewise.
25546         * math/s_csinf.c (__csinf): Likewise.
25547         * math/s_csinh.c (__csinh): Likewise.
25548         * math/s_csinhf.c (__csinhf): Likewise.
25549         * math/s_csinhl.c (__csinhl): Likewise.
25550         * math/s_csinl.c (__csinl): Likewise.
25551         * math/s_csqrt.c (__csqrt): Likewise.
25552         * math/s_csqrtf.c (__csqrtf): Likewise.
25553         * math/s_csqrtl.c (__csqrtl): Likewise.
25554         * math/s_ctan.c (__ctan): Likewise.
25555         * math/s_ctanf.c (__ctanf): Likewise.
25556         * math/s_ctanh.c (__ctanh): Likewise.
25557         * math/s_ctanhf.c (__ctanhf): Likewise.
25558         * math/s_ctanhl.c (__ctanhl): Likewise.
25559         * math/s_ctanl.c (__ctanl): Likewise.
25560         * math/w_pow.c: Likewise.
25561         * math/w_powf.c: Likewise.
25562         * math/w_powl.c: Likewise.
25563         * math/w_scalb.c (sysv_scalb): Likewise.
25564         * math/w_scalbf.c (sysv_scalbf): Likewise.
25565         * math/w_scalbl.c (sysv_scalbl): Likewise.
25566         * misc/error.c (error_tail): Likewise.
25567         * misc/pselect.c (__pselect): Likewise.
25568         * nis/nis_callback.c (__nis_create_callback): Likewise.
25569         * nis/nis_call.c (__nisfind_server): Likewise.
25570         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25571         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25572         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25573         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25574         * nis/nis_lookup.c (nis_lookup): Likewise.
25575         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25576         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25577         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25578         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25579         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25580         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25581         * nis/nss_compat/compat-initgroups.c (add_group)
25582         (internal_getgrent_r): Likewise.
25583         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25584         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25585         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25586         (internal_getspnam_r): Likewise.
25587         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25588         (_nss_nis_getaliasbyname_r): Likewise.
25589         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25590         (_nss_nis_getntohost_r): Likewise.
25591         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25592         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25593         (_nss_nis_getgrgid_r): Likewise.
25594         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25595         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25596         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25597         (_nss_nis_gethostbyname4_r): Likewise.
25598         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25599         (initgroups_netid): Likewise.
25600         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25601         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25602         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25603         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25604         (_nss_nis_getprotobynumber_r): Likewise.
25605         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25606         (_nss_nis_getsecretkey): Likewise.
25607         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25608         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25609         (_nss_nis_getpwuid_r): Likewise.
25610         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25611         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25612         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25613         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25614         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25615         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25616         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25617         Likewise.
25618         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25619         (_nss_nisplus_getntohost_r): Likewise.
25620         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25621         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25622         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25623         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25624         Likewise.
25625         * nis/nss_nisplus/nisplus-initgroups.c
25626         (_nss_nisplus_initgroups_dyn): Likewise.
25627         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25628         (_nss_nisplus_getnetbyaddr_r): Likewise.
25629         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25630         (_nss_nisplus_getprotobynumber_r): Likewise.
25631         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25632         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25633         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25634         Likewise.
25635         * nis/nss_nisplus/nisplus-service.c
25636         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25637         (_nss_nisplus_getservbyport_r): Likewise.
25638         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25639         (_nss_nisplus_getspnam_r): Likewise.
25640         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25641         Likewise.
25642         * nscd/aicache.c (addhstaiX): Likewise.
25643         * nscd/cache.c (cache_search, prune_cache): Likewise.
25644         * nscd/connections.c (register_traced_file, send_ro_fd)
25645         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25646         (main_loop_epoll): Likewise.
25647         * nscd/grpcache.c (addgrbyX): Likewise.
25648         * nscd/hstcache.c (addhstbyX): Likewise.
25649         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25650         * nscd/mem.c (gc, mempool_alloc): Likewise.
25651         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25652         (addinnetgrX): Likewise.
25653         * nscd/nscd-client.h (__nscd_acquire_maplock)
25654         (__nscd_drop_map_ref): Likewise.
25655         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25656         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25657         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25658         Likewise.
25659         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25660         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25661         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25662         (__nscd_get_map_ref): Likewise.
25663         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25664         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25665         Likewise.
25666         * nscd/pwdcache.c (addpwbyX): Likewise.
25667         * nscd/selinux.c (preserve_capabilities): Likewise.
25668         * nscd/servicescache.c (addservbyX): Likewise.
25669         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25670         * posix/fnmatch.c (fnmatch): Likewise.
25671         * posix/getopt.c (_getopt_internal_r): Likewise.
25672         * posix/glob.c (glob, glob_in_dir): Likewise.
25673         * posix/wordexp.c (exec_comm_child): Likewise.
25674         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25675         (getanswer_r, gaih_getanswer_slice): Likewise.
25676         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25677         * resolv/res_init.c: Likewise.
25678         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25679         * resolv/res_query.c (__libc_res_nquery): Likewise.
25680         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25681         Likewise.
25682         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25683         * stdio-common/perror.c (perror): Likewise.
25684         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25685         * stdio-common/tmpnam.c (tmpnam): Likewise.
25686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25687         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25688         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25689         Likewise.
25690         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25691         * stdlib/putenv.c (putenv): Likewise.
25692         * stdlib/setenv.c (__add_to_environ): Likewise.
25693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25694         * stdlib/strtol_l.c (INTERNAL): Likewise.
25695         * string/memmem.c (memmem): Likewise.
25696         * string/strerror.c (strerror): Likewise.
25697         * string/strnlen.c (__strnlen): Likewise.
25698         * string/test-memmem.c (simple_memmem): Likewise.
25699         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25700         * sunrpc/pm_getport.c (__get_socket): Likewise.
25701         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25702         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25703         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25704         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25705         Likewise.
25706         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25707         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25708         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25709         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25710         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25711         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25712         Likewise.
25713         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25714         Likewise.
25715         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25716         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25717         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25718         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25719         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25721         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25722         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25723         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25724         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25725         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25726         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25727         Likewise.
25728         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25729         Likewise.
25730         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25731         Likewise.
25732         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25733         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25734         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25735         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25736         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25737         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25738         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25739         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25742         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25744         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25745         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25747         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25748         Likewise.
25749         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25750         Likewise.
25751         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25752         Likewise.
25753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25754         Likewise.
25755         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25757         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25758         Likewise.
25759         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25760         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25761         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25762         * sysdeps/posix/sleep.c: Likewise.
25763         * sysdeps/posix/tempname.c: Likewise.
25764         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25765         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25766         Likewise.
25767         * sysdeps/powerpc/powerpc32/dl-machine.h
25768         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25769         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25771         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25772         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25773         Likewise.
25774         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25775         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25776         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25777         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25778         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25779         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25780         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25781         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25782         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25783         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25785         (elf_machine_lazy_rel): Likewise.
25786         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25787         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25788         (elf_machine_lazy_rel): Likewise.
25789         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25790         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25791         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25792         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25793         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25794         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25795         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25797         Likewise.
25798         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25799         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25800         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25801         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25802         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25803         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25804         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25805         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25806         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25807         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25808         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25809         Likewise.
25810         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25811         (__posix_fallocate64_l64): Likewise.
25812         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25813         (posix_fallocate): Likewise.
25814         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25815         Likewise.
25816         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25817         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25818         (getifaddrs_internal): Likewise.
25819         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25820         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25821         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25822         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25823         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25824         (__posix_fallocate64_l64): Likewise.
25825         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25826         Likewise.
25827         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25828         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25829         (__get_clockfreq): Likewise.
25830         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25831         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25832         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25835         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25836         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25837         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25838         Likewise.
25839         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25840         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25841         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25842         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25843         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25844         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25845         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25846         Likewise.
25847         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25848         (posix_fallocate): Likewise.
25849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25850         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25851         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25852         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25853         (elf_machine_rela, elf_machine_rela_relative)
25854         (elf_machine_lazy_rel): Likewise.
25855         * time/asctime.c (asctime_internal): Likewise.
25856         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25857         * time/tzset.c (__tzset_parse_tz): Likewise.
25858         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25859         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25860         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25861         * wcsmbs/wcsmbsload.h: Likewise.
25863         [BZ #15894]
25864         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25866         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25867         (arena_get2): Remove THREAD_STATS conditionals.
25868         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25869         (__malloc_stats, int): Likewise.
25871 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25873         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25874         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25876         * manual/setjmp.texi: Fix typos/grammar errors.
25878         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25879         Only return early when n is <= 0.  Delete unused return statement.
25881         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25882         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25883         * debug/tst-longjmp_chk3.c: New file.
25885         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25886         (test_main): Replace code with set_fortify_handler call.
25887         * debug/test-strcpy_chk.c: Likewise.
25888         * debug/tst-chk1.c: Likewise.
25889         * debug/tst-longjmp_chk.c: Likewise.
25890         * test-skeleton.c: Include fcntl.h & paths.h
25891         (set_fortify_handler): Define.
25893         * debug/tst-longjmp_chk.c: Add header comment and include
25894         ../test-skeleton.c.
25895         (do_test): Mark static.
25896         (TEST_FUNCTION): Define.
25898         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25899         (IP_PMTUDISC_INTERFACE): Likewise.
25900         (IP_MULTICAST_IF): Likewise.
25901         (IP_MULTICAST_TTL): Likewise.
25902         (IP_MULTICAST_LOOP): Likewise.
25903         (IP_ADD_MEMBERSHIP): Likewise.
25904         (IP_DROP_MEMBERSHIP): Likewise.
25905         (IP_UNBLOCK_SOURCE): Likewise.
25906         (IP_BLOCK_SOURCE): Likewise.
25907         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25908         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25909         (IP_MSFILTER): Likewise.
25910         (MCAST_JOIN_GROUP): Likewise.
25911         (MCAST_BLOCK_SOURCE): Likewise.
25912         (MCAST_UNBLOCK_SOURCE): Likewise.
25913         (MCAST_LEAVE_GROUP): Likewise.
25914         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25915         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25916         (MCAST_MSFILTER): Likewise.
25917         (IP_MULTICAST_ALL): Likewise.
25918         (IP_UNICAST_IF): Likewise.
25920         * timezone/Makefile: Delete $(have-ksh) check.
25921         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25922         * timezone/tzselect.ksh: Add +x mode bits.
25924         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25925         (ANON_INODE_FS_MAGIC): Likewise.
25926         (BDEVFS_MAGIC): Likewise.
25927         (BINFMTFS_MAGIC): Likewise.
25928         (BTRFS_TEST_MAGIC): Likewise.
25929         (CRAMFS_MAGIC_WEND): Likewise.
25930         (DEBUGFS_MAGIC): Likewise.
25931         (ECRYPTFS_SUPER_MAGIC): Likewise.
25932         (EXT3_SUPER_MAGIC): Likewise.
25933         (EXT4_SUPER_MAGIC): Likewise.
25934         (FUTEXFS_SUPER_MAGIC): Likewise.
25935         (HOSTFS_SUPER_MAGIC): Likewise.
25936         (HUGETLBFS_MAGIC): Likewise.
25937         (MINIX3_SUPER_MAGIC): Likewise.
25938         (MTD_INODE_FS_MAGIC): Likewise.
25939         (NILFS_SUPER_MAGIC): Likewise.
25940         (OPENPROM_SUPER_MAGIC): Likewise.
25941         (PIPEFS_MAGIC): Likewise.
25942         (PSTOREFS_MAGIC): Likewise.
25943         (QNX6_SUPER_MAGIC): Likewise.
25944         (RAMFS_MAGIC): Likewise.
25945         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25946         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25947         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25948         (SECURITYFS_MAGIC): Likewise.
25949         (SELINUX_MAGIC): Likewise.
25950         (SMACK_MAGIC): Likewise.
25951         (SOCKFS_MAGIC): Likewise.
25952         (SQUASHFS_MAGIC): Likewise.
25953         (STACK_END_MAGIC): Likewise.
25954         (TMPFS_MAGIC): Likewise.
25955         (USBDEVICE_SUPER_MAGIC): Likewise.
25956         (V9FS_MAGIC): Likewise.
25957         (XENFS_SUPER_MAGIC): Likewise.
25958         (CRAMFS_MAGIC): Fix typo in comment.
25959         (EXT2_SUPER_MAGIC): Update comment.
25960         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25962 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25964         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25965         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25966         * sysdeps/unix/sysv/linux/arm: Move directory from
25967         ports/sysdeps/unix/sysv/linux/arm.
25968         * README: Update listing for arm-*-linux-gnueabi.
25970         * README: Remove mention of am33.
25972 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25974         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25975         than the comma operator, to avoid "rhs of comma has no effect"
25976         compiler warnings.
25977         (__sigfillset, __sigandset, __sigorset): Likewise.
25978         * include/signal.h (__sigemptyset): Likewise.
25979         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25981 2014-02-07  Allan McRae  <allan@archlinux.org>
25983         * version.h (RELEASE): Set to "development".
25984         (VERSION): Set to "2.19.90"
25985         * NEWS: Add 2.20 section.
25987 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25989         [BZ #16529]
25990         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25992 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25994         * manual/contrib.texi: Update entry for Carlos O'Donell,
25995         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25997 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25999         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26001         * sysdeps/unix/sysv/linux/kernel-features.h
26002         [__LINUX_KERNEL_VERSION >= 0x020621]
26003         (__ASSUME_PROC_PID_TASK_COMM): Define.
26005 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26007         [BZ #16398]
26008         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26009         conversion when destination buffer does not have enough space.
26010         * libio/tst-ftell-partial-wide.c: New test case.
26011         * libio/Makefile (tests): Add tst-ftell-partial-wide.
26013         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26014         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
26015         Leonard and Allan McRae.
26017 2014-02-04  David S. Miller  <davem@davemloft.net>
26019         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26020         32-bit.
26022 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26025         New file
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26027         New file
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26029         New file.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26031         New file.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26033         New file.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26035         New file.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26037         New file.
26038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26039         New file.
26040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26041         New file.
26042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26043         New file.
26044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26045         New file.
26046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26047         New file.
26048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26049         New file.
26051 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26053         * nptl/shlib-versions: Change powerpc*le start to 2.17.
26054         * shlib-versions: Likewise.
26056 2014-02-04  Roland McGrath  <roland@hack.frob.com>
26057             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26059         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26060         (abilist-pattern): New variable, set to %-le.abilist.
26062         * Makerules (abilist-pattern): New variable.
26063         (vpath): Use $(abilist-pattern) in place of %.abilist.
26064         (check-abi-% pattern rule): Likewise.
26065         (check-abi, update-abi): Likewise.
26067 2014-02-04  Eric Wong  <normalperson@yhbt.net>
26069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26071 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
26073         * manual/startup.texi: Add next, previous, and top entries for
26074         the `Program Arguments' and `Environment Variables' nodes.
26076 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
26078         * manual/macros.texi: Add comments before MTASC-safety macros.
26080         * manual/users.texi: Document MTASC-safety properties.
26082         * manual/threads.texi (pthread_key_create, pthread_key_delete)
26083         (pthread_getspecific, pthread_setspecific): Format with
26084         @deftypefun, and add @safety note.
26085         * manual/signal.texi: Move comments that analyze the above
26086         functions to their home place.
26088 2014-02-03  Allan McRae  <allan@archlinux.org>
26090         * po/sl.po: Update Slovenian translation from translation project.
26092 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
26094         * manual/time.texi (timegm): Add missing blank after @c.
26095         Reported by Joseph Myers <joseph@codesourcery.com>.
26097 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
26099         * manual/check-safety.sh: New.
26100         * manual/Makefile ($(objpfx)stamp-summary): Run it.
26102         * manual/terminal.texi: Document MTASC-safety properties.
26104         * manual/filesys.texi: Document MTASC-safety properties.
26106         * manual/errno.texi: Document MTASC-safety properties.
26108         * manual/intro.texi: Document safety identifiers and
26109         conditionals.
26111         * manual/string.texi (wcstok): Fix prototype.
26112         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26114         * manual/time.texi: Document MTASC-safety properties.
26116         * manual/string.texi: Document MTASC-safety properties.
26118         * manual/threads.texi: Document MTASC-safety properties.
26120         * manual/stdio.texi: Document MTASC-safety properties.
26122         * manual/syslog.texi: Document MTASC-safety properties.
26124         * manual/sysinfo.texi: Document MTASC-safety properties.
26126         * manual/startup.texi: Document MTASC-safety properties.
26128         * manual/socket.texi: Document MTASC-safety properties.
26130         * manual/signal.texi: Document MTASC-safety properties.
26132 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26134         * manual/setjmp.texi: Document MTASC-safety properties.
26136         * manual/search.texi: Document MTASC-safety properties.
26138         * manual/resource.texi: Document MTASC-safety properties.
26140         * manual/process.texi: Document MTASC-safety properties.
26142         * manual/platform.texi: Document MTASC-safety properties.
26144         * manual/pipe.texi: Document MTASC-safety properties.
26146         * manual/pattern.texi: Document MTASC-safety properties.
26148         * manual/message.texi: Document MTASC-safety properties.
26150         [BZ #12751]
26151         * manual/memory.texi: Document MTASC-safety properties.
26153         * manual/math.texi: Document MTASC-safety properties.
26155         * manual/locale.texi: Document MTASC-safety properties.
26157         * manual/llio.texi: Document MTASC-safety properties.
26159         * manual/libdl.texi: New.
26161         * manual/lang.texi: Document MTASC-safety properties.
26163         * manual/job.texi: Document MTASC-safety properties.
26165         * manual/getopt.texi: Document MTASC-safety properties.
26167         * manual/ctype.texi: Document MTASC-safety properties.
26169 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26171         [BZ #16046]
26172         * csu/libc-tls.c (static_map): Remove variable.
26173         (__libc_setup_tls): Use main executable's link map for TLS data.
26174         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26175         casing for LM_ID_BASE and GL(dl_nns).
26176         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26177         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26178         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26179         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26180         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26181         member.
26182         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26183         l_phnum members.
26185 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26187         * manual/debug.texi: Document MTASC-safety properties.
26189 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26191         [BZ #16510]
26192         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26193         of __x86_64__ when disabling x87 inline functions.
26195 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26197         * manual/charset.texi: Document MTASC-safety properties.
26199         * manual/crypt.texi: Document MTASC-safety properties.
26201         * manual/conf.texi: Document MTASC-safety properties.
26203         * manual/arith.texi: Document MTASC-safety properties.
26205         * manual/argp.texi: Document MTASC-safety properties.
26207         * manual/macros.texi: Introduce macros to document multi
26208         thread, asynchronous signal and asynchronous cancellation
26209         safety properties.
26210         * manual/intro.texi: Introduce the properties themselves.
26212 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26214         * sysdeps/sh/sh4/Makefile: New file.
26216 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26218         * math/gen-libm-test.pl ($srcdir): New variable.
26219         ($auto_input): Use it.
26221 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26223         [BZ #16506]
26224         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26225         access beyond array bounds when parsing netgroups file.
26227         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26228         the old buffer before realloc.
26230 2014-01-27  Allan McRae  <allan@archlinux.org>
26232         * po/fr.po: Update French translation from translation project.
26234 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26236         * sysdeps/sh/libm-test-ulps: Regenerate.
26238 2014-01-24  David S. Miller  <davem@davemloft.net>
26240         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26242 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26244         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26245         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26247 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26249         [BZ #16474]
26250         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26251         string pointers after reallocation.
26253 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26255         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26256         __SH4A__ instead of __SH_FPU_ANY__.
26258 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26260         * sysdeps/sh/fpu_control.h: New file.
26261         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26262         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26263         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26264         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26265         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26266         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26267         * sysdeps/sh/sys/ucontext.h: Remove.
26268         * sysdeps/sh/sys: Remove directory.
26270 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26272         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26273         s390/sys/ucontext.h.
26274         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26275         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26277 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26279         [BZ #15605]
26280         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26282 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26284         [BZ#16431]
26285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26286         Adjust the vDSO correctly for internal calls.
26287         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26289 2014-01-20  Allan McRae  <allan@archlinux.org>
26291         * po/ca.po: Update Catalan translation from translation project.
26293 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26295         * sysdeps/s390/sotruss-lib.c: New file.
26297 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26299         [BZ#16430]
26300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26301         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26302         local calls issues by not having a PLT stub required for IFUNC calls.
26303         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26305 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26307         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26308         * math/test-fpucw-static.c: Likewise.
26310 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26312         [BZ #16453]
26313         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26315 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26317         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26318         implementation for powerpc.
26320 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26322         [BZ #14782]
26323         * sysdeps/posix/system.c (__libc_system): Do not enable
26324         asynchronous cancellation.
26326 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26328         [BZ #16427]
26329         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26330         handling only for numbers special also in the IEEE case.
26332 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26334         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26336 2014-01-11  Allan McRae  <allan@archlinux.org>
26338         * po/bg.po: Update Bulgarian translation from translation project.
26340         * po/de.po: Update German translation from translation project.
26342 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26344         * sysdeps/generic/gcc-compat.h: New file.
26346 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26348         * benchtests/asin-inputs: Correct slow inputs.
26349         * benchtests/acos-inputs: Likewise.
26351 2014-01-10  Allan McRae  <allan@archlinux.org>
26353         * po:sv.po: Update Swedish translation from translation project.
26355         * po/vi.po: Update Vietnamese translation from translation project.
26357         * po/eo.po: Update Esperanto translation from translation project.
26359         * po/cs.po: Update Czech translation from translation project.
26361         * po/nl.po: Update Dutch translation from translation project.
26363         * po/pl.po: Update Polish translation from translation project.
26365         * po/ru.po: Update Russian translation from translation project.
26367         * po/uk.po: Update Ukrainian translation from translation project.
26369 2014-01-08  Brooks Moses  <bmoses@google.com>
26371         * elf/dl-load.c: Fix comment typo.
26373 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26375         * po/header.pot: Rename to...
26376         * po/pot.header: ... this.
26377         * po/Makefile: Use pot.header.
26379 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26380             Maxim Kuvyrkov  <maxim@kugelworks.com>
26382         [BZ #16394]
26383         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26384         SRC and DEST against LEN.
26386 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26388         [BZ #16414]
26389         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26390         implementation.
26391         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26393 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26397 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26399         [BZ #16408]
26400         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26401         for large positive arguments.
26403 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26405         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26407         * math/auto-libm-test-in: Mark various tests with
26408         xfail-rounding:ldbl-128ibm.
26409         * math/auto-libm-test-out: Regenerated.
26411         [BZ #16407]
26412         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26413         Increase overflow threshold.
26415 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26417         [BZ #14286]
26418         * stdio-common/vfprintf.c: Check for integer overflow.
26420 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26422         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26423         the first argument and return value of __tls_get_addr_internal.
26425 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26427         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26428         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26430 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26432         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26433         * sysdeps/s390/rtld-global-offsets.sym: New file.
26434         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26435         GLIBC_2.19 symbol.
26436         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26437         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26438         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26439         ... this.
26440         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26441         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26442         ... this.
26443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26444         Regenerate.
26445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26446         Regenerate.
26447         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26448         halfs of GPRs for high_gprs contexts.
26449         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26450         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26451         field.
26452         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26453         uc_flags field.
26454         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26455         64 bit versions:
26456         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26457         for high GPRs (uc_high_gprs) and for future extensions
26458         (__reserved).
26459         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26460         for future extensions (__reserved).
26461         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26462         64 bit versions:
26463         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26464         SC_HIGHGPRS offset definition.
26465         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26466         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26468         * Versions.def: Add GLIBC_2.19 for libpthread.
26469         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26470         siglongjmp for libpthread with GLIBC_2.19 symver.
26471         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26472         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26473         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26474         * sysdeps/s390/__longjmp.c: New file.
26475         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26476         * sysdeps/s390/longjmp.c: New file.
26477         * sysdeps/s390/setjmp.S: New file.
26478         * sysdeps/s390/sigjmp.S: New file.
26479         * sysdeps/s390/v1-longjmp.c: New file.
26480         * sysdeps/s390/v1-setjmp.h: New file.
26481         * sysdeps/s390/v1-sigjmp.c: New file.
26482         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26483         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26484         GLIBC_2.19 version.
26485         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26486         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26487         versioned symbols for ____longjmp_chk.
26488         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26489         Likewise.
26490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26491         Regenerate.
26492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26493         Regenerate.
26494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26495         Regenerate.
26496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26497         Regenerate.
26498         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26499         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26500         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26501         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26502         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26503         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26504         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26505         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26506         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26507         * sysdeps/s390/rtld-__longjmp.c: New file.
26508         * sysdeps/s390/rtld-setjmp.S: New file.
26510 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26512         [BZ #16400]
26513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26514         Return -__logl (x) for small positive arguments without evaluating
26515         a polynomial.
26517 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26519         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26520         Rename to ...
26521         (__ptrace_peeksiginfo_args): ... this.
26522         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26526 2014-01-06  Allan McRae  <allan@archlinux.org>
26528         * inet/netinet/in.h: Fix typo in comment.
26530 2014-01-05  Andreas Jaeger  <aj@suse.de>
26532         * sysdeps/i386/fpu/libm-test-ulps: Update.
26534 2014-01-05  Allan McRae  <allan@archlinux.org>
26536         * po/libc.pot: Regenerated.
26538         * malloc/memusagestat.c: Fix gettext call formatting.
26540 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26542         * nscd/nscd.c: Improve usage() output.
26544 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26546         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26547         * sysdeps/unix/sysv/linux/configure: Regenerated.
26548         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26549         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26551 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26553         [BZ #16390]
26554         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26555         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26557 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26560         extra tokens at end of #undef directive.
26561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26562         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26563         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26565 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26567         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26569         * math/auto-libm-test-in: Mark various tests with
26570         xfail-rounding:ldbl-128ibm.
26571         * math/auto-libm-test-out: Regenerated.
26573 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26575         [BZ #16386]
26576         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26577         numbers with subnormal high part when calculating exponent.
26579         [BZ #16385]
26580         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26581         fabs.
26583         [BZ #16384]
26584         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26585         M_LN2l.
26586         (__ieee754_acoshl): Use __log1pl not __log1p.
26588 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26590         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26591         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26592         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26593         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26594         (reused_arena, arena_get2): Convert to GNU style.
26595         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26596         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26597         (memalign_check, __malloc_set_state): Likewise.
26598         * malloc/mallocbug.c (main): Likewise.
26599         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26600         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26601         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26602         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26603         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26604         (__posix_memalign, malloc_info): Likewise.
26605         * malloc/malloc.h: Likewise.
26606         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26607         (mallochook, memalignhook, reallochook, mabort): Likewise.
26608         * malloc/mcheck.h: Likewise.
26609         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26610         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26611         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26612         * malloc/morecore.c (__default_morecore): Likewise.
26613         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26614         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26615         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26616         (print_and_abort): Likewise.
26617         * malloc/obstack.h: Likewise.
26618         * malloc/set-freeres.c (__libc_freeres): Likewise.
26619         * malloc/tst-mallocstate.c (main): Likewise.
26620         * malloc/tst-mtrace.c (main): Likewise.
26621         * malloc/tst-realloc.c (do_test): Likewise.
26623 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26625         [BZ #16366]
26626         * nscd/netgroupcache.c (do_notfound): New function.
26627         (addgetnetgrentX): Use it.
26629         [BZ # 16365]
26630         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26631         NSS_STATUS_NOTFOUND.
26633 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26635         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26638 2014-01-01  Allan McRae  <allan@archlinux.org>
26640         * scripts/update-copyrights: Update configure input file suffix.
26642         * NEWS: Update copyright year.
26643         * catgets/gencat.c: Likewise.
26644         * csu/version.c: Likewise.
26645         * debug/catchsegv.sh: Likewise.
26646         * debug/pcprofiledump.c: Likewise.
26647         * debug/xtrace.sh: Likewise.
26648         * elf/ldconfig.c: Likewise.
26649         * elf/ldd.bash.in: Likewise.
26650         * elf/pldd.c: Likewise.
26651         * elf/sotruss.ksh: Likewise.
26652         * elf/sprof.c: Likewise.
26653         * iconv/iconv_prog.c: Likewise.
26654         * iconv/iconvconfig.c: Likewise.
26655         * locale/programs/locale.c: Likewise.
26656         * locale/programs/localedef.c: Likewise.
26657         * login/programs/pt_chown.c: Likewise.
26658         * malloc/memusage.sh: Likewise.
26659         * malloc/memusagestat.c: Likewise.
26660         * malloc/mtrace.pl: Likewise.
26661         * manual/libc.texinfo: Likewise.
26662         * nscd/nscd.c: Likewise.
26663         * nss/getent.c: Likewise.
26664         * nss/makedb.c: Likewise.
26665         * posix/getconf.c: Likewise.
26666         * scripts/test-installation.pl: Likewise.
26668         * All files with FSF copyright notices: Update copyright dates
26669         using scripts/update-copyrights.
26670         * intl/plural.c: Regenerated.
26671         * locale/programs/charmap-kw.h: Likewise.
26672         * locale/programs/locfile-kw.h: Likewise.
26674 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26676         * sysdeps/unix/sysv/linux/configure: Regenerated.
26677         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26678         the linux/fanotify.h header.
26679         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26680         HAVE_LINUX_FANOTIFY_H is defined.
26682 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26684         * benchtests/cos-inputs: New inputs.
26685         * benchtests/sin-inputs: Likewise.
26687         * benchtests/atan-inputs: New inputs. Fix name of multiple
26688         precision fallback inputs.
26690         * benchtests/atanh-inputs: New inputs.
26691         * benchtests/tanh-inputs: Likewise.
26693         * benchtests/acosh-inputs: New inputs.
26694         * benchtests/asinh-inputs: Likewise.
26696         * benchtests/cosh-inputs: New inputs.
26697         * benchtests/sinh-inputs: Likewise.
26699         * benchtests/acos-inputs: Add more inputs.
26700         * benchtests/asin-inputs: Likewise.
26702 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26704         [BZ #16375]
26705         * manual/arith.texi: Fix spelling.
26706         * manual/charset.texi: Likewise.
26707         * manual/errno.texi: Likewise.
26708         * manual/filesys.texi: Likewise.
26709         * manual/lang.texi: Likewise.
26710         * manual/llio.texi: Likewise.
26711         * manual/locale.texi: Likewise.
26712         * manual/message.texi: Likewise.
26713         * manual/resource.texi: Likewise.
26714         * manual/search.texi: Likewise.
26715         * manual/setjmp.texi: Likewise.
26716         * manual/stdio.texi: Likewise.
26717         * manual/string.texi: Likewise.
26718         * manual/sysinfo.texi: Likewise.
26719         * manual/time.texi: Likewise.
26721 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26723         * po/sl.po: New file.
26725 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26727         * .gitignore: Add core/.gdbinit/.gdb_history.
26729 2013-12-27  Allan McRae  <allan@archlinux.org>
26731         [BZ #16369]
26732         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26733         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26735 2013-12-24  Brooks Moses  <bmoses@google.com>
26737         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26738         all compilers that claim C++98 compliance, not just GCC.
26739         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26740         Likewise.
26742 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26744         * NEWS: Restore accidentally deleted bug-fix entries.
26746 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26747             Ondřej Bílka  <neleai@seznam.cz>
26749         [BZ #15073]
26750         * malloc/malloc.c (_int_free): Perform sanity check only if we
26751         have_lock.
26753 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26755         [BZ #12986]
26756         * manual/stdio.texi (String Input Conversions): Clarify that character
26757         classes are not supported.
26759 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26763 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26765         [BZ #16337]
26766         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26767         Calculate results for small negative arguments directly rather
26768         than using reflection formula with special underflow handling.
26770         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26771         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26772         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26773         (fchflags): Likewise.
26774         (revoke): Likewise.
26775         (setlogin): Likewise.
26776         (sigaltstack): Likewise.
26777         (wait4): Likewise.
26778         (sigblock): Remove.
26779         (sigsetmask): Likewise.
26780         (wait3): Likewise.
26781         (waitpid): Likewise.
26782         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26783         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26784         file.
26785         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26786         * sysdeps/unix/bsd/Makefile: ... here.
26787         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26788         * sysdeps/unix/bsd/Versions: ... here.
26789         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26790         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26791         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26792         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26793         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26794         * sysdeps/unix/bsd/sigblock.c: ... here.
26795         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26796         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26797         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26798         * sysdeps/unix/bsd/sigvec.c: ... here.
26799         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26800         * sysdeps/unix/bsd/tcdrain.c: ... here.
26801         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26802         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26803         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26804         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26805         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26806         * sysdeps/unix/bsd/wait.c: ... here.
26807         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26808         * sysdeps/unix/bsd/wait3.c: ... here.
26809         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26810         * sysdeps/unix/bsd/waitpid.c: ... here.
26812 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26814         [BZ #16356]
26815         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26816         round-to-nearest for [!USE_AS_EXPM1L].
26817         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26818         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26819         more tests of exp and exp10.  Expect some exp10 tests to miss
26820         exceptions or fail in directed rounding modes.
26821         * math/auto-libm-test-out: Regenerated.
26822         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26823         (exp10_test_tonearest): New function.
26824         (exp10_towardzero_test_data): New array.
26825         (exp10_test_towardzero): New function.
26826         (exp10_downward_test_data): New array.
26827         (exp10_test_downward): New function.
26828         (exp10_upward_test_data): New array.
26829         (exp10_test_upward): New function.
26830         (main): Call the new functions.
26831         * sysdeps/i386/fpu/libm-test-ulps: Update.
26832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26834 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26836         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26837         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26838         * math/auto-libm-test-out: Regenerated.
26839         * math/libm-test.inc (acosh_test_data): Add more tests.
26840         (atanh_test_data): Likewise.
26841         (ceil_test_data): Likewise.
26842         (copysign_test_data): Likewise.
26843         * sysdeps/i386/fpu/libm-test-ulps: Update.
26844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26846         * timezone/checktab.awk: Update from tzcode 2013i.
26847         * timezone/private.h: Likewise.
26848         * timezone/scheck.c: Likewise.
26849         * timezone/tzfile.h: Likewise.
26850         * timezone/tzselect.ksh: Likewise.
26851         * timezone/zdump.c: Likewise.
26852         * timezone/zic.c: Likewise.
26854         * math/auto-libm-test-in: Add tests of cpow.
26855         * math/auto-libm-test-out: Regenerated.
26856         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26857         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26858         mpc_cc_c.
26859         (func_calc_desc): Add mpc_cc_c union field.
26860         (test_functions): Add cpow.
26861         (special_fill_2pi): New function.
26862         (special_real_inputs): Add 2pi.
26863         (calc_generic_results): Handle mpc_cc_c.
26864         * sysdeps/i386/fpu/libm-test-ulps: Update.
26865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26867         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26868         csqrt, ctan and ctanh.
26869         * math/auto-libm-test-out: Regenerated.
26870         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26871         (TEST_COND_x86): Likewise.
26872         (ccos_test_data): Use AUTO_TESTS_c_c.
26873         (ccosh_test_data): Likewise.
26874         (cexp_test_data): Likewise.
26875         (clog_test_data): Likewise.
26876         (csqrt_test_data): Likewise.
26877         (ctan_test_data): Likewise.
26878         (ctan_tonearest_test_data): Likewise.
26879         (ctan_towardzero_test_data): Likewise.
26880         (ctan_downward_test_data): Likewise.
26881         (ctan_upward_test_data): Likewise.
26882         (ctanh_test_data): Likewise.
26883         (ctanh_tonearest_test_data): Likewise.
26884         (ctanh_towardzero_test_data): Likewise.
26885         (ctanh_downward_test_data): Likewise.
26886         (ctanh_upward_test_data): Likewise.
26887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26888         mpc_c_c.
26889         (func_calc_desc): Add mpc_c_c union field.
26890         (FUNC_mpc_c_c): New macro.
26891         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26892         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26893         ctanh.
26894         (special_fill_min_subnorm_p120): New function.
26895         (special_real_inputs): Add min_subnorm_p120.
26896         (calc_generic_results): Handle mpc_c_c.
26897         * sysdeps/i386/fpu/libm-test-ulps: Update.
26898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26900 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26902         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26903         (do_sin_slow): New functions.
26904         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26905         (cslow2, csloww1, csloww2): Use the new functions.
26907         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26908         Use M to change sign of result instead of X.  Assume X is
26909         positive.
26910         (csloww1): Likewise.
26911         (__sin): Adjust.
26912         (__cos): Adjust.
26914         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26915         arguments A and DA.
26916         (__sin): Adjust.
26917         (__cos): Likewise.
26919         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26920         (__cos): Likewise.
26921         (sloww1): Don't adjust sign of DX.
26922         (csloww1): Likewise.
26923         (sloww2): Use X directly and don't adjust sign of DX.
26924         (csloww2): Likewise.
26926 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26928         * math/auto-libm-test-in: Add tests of cabs and carg.
26929         * math/auto-libm-test-out: Regenerated.
26930         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26931         (carg_test_data): Likewise.
26932         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26933         mpc_c_f.
26934         (func_calc_desc): Add mpc_c_f union field.
26935         (test_functions): Add cabs and carg.
26936         (calc_generic_results): Handle mpc_c_f.
26938         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26939         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26940         as a macro and a compat symbol.
26941         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26942         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26943         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26944         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26945         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26946         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26947         not use .hidden.
26948         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26949         Likewise.
26950         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26951         Likewise.
26952         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26953         Likewise.
26954         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26955         Likewise.
26956         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26957         Likewise.
26958         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26959         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26960         from GLIBC_2.3.2.
26962 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26966 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26968         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26969         trailing whitespace removed.
26970         * scripts/config.guess: Update to version 2013-11-29.
26971         * scripts/config.sub: Update to version 2013-10-01.
26973         * math/auto-libm-test-in: Add tests of sincos.
26974         * math/auto-libm-test-out: Regenerated.
26975         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26976         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26977         mpfr_f_11.
26978         (func_calc_desc): Add mpfr_f_11 union field.
26979         (test_functions): Add sincos.
26980         (calc_generic_results): Handle mpfr_f_11.
26981         * sysdeps/i386/fpu/libm-test-ulps: Update.
26982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26984 2013-12-19  Andreas Schwab  <schwab@suse.de>
26986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26987         CALL_MCOUNT.
26988         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26989         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26990         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26992 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26994         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26995         * sysdeps/i386/fpu/libm-test-ulps: Update.
26996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26998         [BZ #16293]
26999         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27000         round-to-nearest mode when using frndint.
27001         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27002         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27003         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27004         Likewise.
27005         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
27006         sinh test to fail.
27007         * math/auto-libm-test-out: Regenerated.
27008         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27009         (TEST_COND_x86): Likewise.
27010         (expm1_tonearest_test_data): New array.
27011         (expm1_test_tonearest): New function.
27012         (expm1_towardzero_test_data): New array.
27013         (expm1_test_towardzero): New function.
27014         (expm1_downward_test_data): New array.
27015         (expm1_test_downward): New function.
27016         (expm1_upward_test_data): New array.
27017         (expm1_test_upward): New function.
27018         (main): Run the new test functions.
27019         * sysdeps/i386/fpu/libm-test-ulps: Update.
27020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27022         * include/features.h: Update comment documenting feature test
27023         macros.  Mention _DEFAULT_SOURCE in comment.
27024         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27025         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27026         _BSD_SOURCE and _SVID_SOURCE.
27027         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27028         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27029         !_SVID_SOURCE]: Likewise.
27030         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27031         (__USE_POSIX_IMPLICITLY): Define.
27032         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27033         (_POSIX_SOURCE): Undefine and redefine.
27034         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27035         (_POSIX_C_SOURCE): Likewise.
27036         * manual/creature.texi (_DEFAULT_SOURCE): Document.
27037         (Feature Test Macros): Update documentation of default features.
27039 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27041         * benchtests/Makefile: Add bench-strtok.
27042         * benchtests/bench-strtok.c: New file: strtok benchtest.
27044 2013-12-19  Allan McRae  <allan@archlinux.org>
27046         * manual/install.texi: Suppress menu for plain text output.
27047         * INSTALL: Regenerated.
27049 2013-12-18  Brooks Moses  <bmoses@google.com>
27051         [BZ #15846]
27052         * misc/getauxval.c: Include errno.h.
27053         (__getauxval): Set errno to ENOENT if the requested type is not
27054         found.
27055         * misc/sys/auxv.h (getauxval): Document that it may set errno;
27056         don't declare with __attribute_const__.
27057         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27058         * manual/startup.texi: Document that getauxval sets errno.
27060 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27062         * math/auto-libm-test-in: Add tests of jn and yn.
27063         * math/auto-libm-test-out: Regenerated.
27064         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27065         (yn_test_data): Likewise.
27066         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27067         mpfr_if_f.
27068         (func_calc_desc): Add mpfr_if_f union field.
27069         (FUNC_mpfr_if_f): New macro.
27070         (test_functions): Add jn and yn.
27071         (calc_generic_results): Assert type of second input for
27072         mpfr_ff_f.  Handle mpfr_if_f.
27073         (output_for_one_input_case): Disable all checking for arguments
27074         fitting floating-point types in case of an integer argument.
27075         * sysdeps/i386/fpu/libm-test-ulps: Update.
27076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27079         Don't expect fegetround reference in libm.so.
27081 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27083         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27084         $(config-cflags-nofma).
27086 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27088         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27089         * math/auto-libm-test-out: Regenerated.
27091         [BZ #16338]
27092         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27093         to determine exponent and adjust argument to have exponent of -1.
27094         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27095         log2.
27096         * math/auto-libm-test-out: Regenerated.
27097         * sysdeps/i386/fpu/libm-test-ulps: Update.
27098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27100 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
27102         * manual/probes.texi: Remove cases when per-thread arenas are
27103         disabled.
27105 2013-12-18  Andreas Schwab  <schwab@suse.de>
27107         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27108         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27109         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27110         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27111         * sysdeps/i386/i686/multiarch/Makefile: Update.
27112         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27114 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27116         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27117         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27119 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27121         [BZ #15968]
27122         Support TZ transition times < 00:00:00.
27123         This is needed for version-3 tz-format files; it supports time
27124         stamps past 2037 for America/Godthab (the only entry in the tz
27125         database for which this change is relevant).
27126         * manual/time.texi (TZ Variable): Document transition times
27127         from -167:59:59 through -00:00:01.
27128         * time/tzset.c (tz_rule): Time of day is now signed.
27129         (__tzset_parse_tz): Parse negative time of day.
27131         Document TZ transition times >= 25:00:00.
27132         * manual/time.texi (TZ Variable): Document transition times from
27133         25:00:00 through 167:59:59.  These are already supported, and this
27134         support will help with version-3 tz-format files.
27136         * manual/time.texi (TZ Variable): Modernize North America example
27137         to reflect current (i.e., 2007-and-later) daylight saving rules.
27139         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27141 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27143         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27144         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27145         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27146         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27147         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27148         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27149         * sysdeps/unix/bsd/clock.c: Likewise.
27150         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27151         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27152         * sysdeps/unix/bsd/init-posix.c: Likewise.
27153         * sysdeps/unix/bsd/poll.c: Likewise.
27154         * sysdeps/unix/bsd/ptsname.c: Likewise.
27155         * sysdeps/unix/bsd/seekdir.c: Likewise.
27156         * sysdeps/unix/bsd/setegid.c: Likewise.
27157         * sysdeps/unix/bsd/seteuid.c: Likewise.
27158         * sysdeps/unix/bsd/setgid.c: Likewise.
27159         * sysdeps/unix/bsd/setrgid.c: Likewise.
27160         * sysdeps/unix/bsd/setruid.c: Likewise.
27161         * sysdeps/unix/bsd/setsid.c: Likewise.
27162         * sysdeps/unix/bsd/setuid.c: Likewise.
27163         * sysdeps/unix/bsd/sigaction.c: Likewise.
27164         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27165         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27166         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27167         * sysdeps/unix/bsd/telldir.c: Likewise.
27168         * sysdeps/unix/bsd/times.c: Likewise.
27169         * sysdeps/unix/bsd/usleep.c: Likewise.
27171         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27172         ($(objpfx)libbsd-compat.a): Remove rule.
27174         * include/features.h (__FAVOR_BSD): Do not define.
27175         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27176         features conflicting with POSIX.
27177         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27178         (_BSD_SOURCE): Remove description of not being a subset of other
27179         feature test macros.
27180         * manual/job.texi (getpgrp): Do not document BSD version.
27181         (getpgid): Do not document by reference to BSD getpgrp.
27182         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27183         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27184         * signal/signal.h [__FAVOR_BSD]: Likewise.
27185         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27186         instead of making contents conditional on [__FAVOR_BSD].
27187         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27189 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27193 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27195         [BZ #16314]
27196         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27197         values below 2**-450, not 2**-500.
27198         * math/auto-libm-test-in: Don't allow spurious underflow from
27199         hypot.
27200         * math/auto-libm-test-out: Regenerated.
27202         [BZ #16316]
27203         [BZ #16330]
27204         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27205         values of ha and hb and sort them after adjusting subnormal
27206         arguments.
27207         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27208         Likewise.
27209         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27210         values of ea and eb and sort them after adjusting subnormal
27211         arguments.
27212         * math/auto-libm-test-in: Do not expect some hypot tests of
27213         subnormals to fail.  Add more hypot tests.
27214         * math/auto-libm-test-out: Regenerated.
27216 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27218         [BZ #13304]
27219         * sysdeps/sh/s_fma.c: New file.
27220         * sysdeps/sh/s_fmaf.c: New file.
27221         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27222         version.
27223         * sysdeps/sh/Implies: Add sh/soft-fp.
27225 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27227         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27228         level of indirection to members `objname', `errstring', `malloced'.
27229         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27230         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27231         it as the __longjmp argument (just pass 1 instead).
27232         (_dl_catch_error): Initialize C with argument pointers and address of
27233         volatile local ERRCODE rather than copying values out of C at return.
27235 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27237         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27238         * math/auto-libm-test-out: Regenerated.
27239         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27240         (hypot_test_data): Likewise.
27241         (pow_test_data): Likewise.
27242         (pow_tonearest_test_data): Likewise.
27243         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27244         mpfr_ff_f.
27245         (func_calc_desc): Add mpfr_ff_f union field.
27246         (FUNC_mpfr_ff_f): New macro.
27247         (test_functions): Add atan2, hypot and pow.
27248         (special_fill_min): New function.
27249         (special_fill_minus_min): Likewise.
27250         (special_fill_min_subnorm): Likewise.
27251         (special_fill_minus_min_subnorm): Likewise.
27252         (special_real_inputs): Add min, -min, min_subnorm and
27253         -min_subnorm.
27254         (calc_generic_results): Handle mpfr_ff_f.
27255         * sysdeps/i386/fpu/libm-test-ulps: Update.
27256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27258 2013-12-16  Will Newton  <will.newton@linaro.org>
27260         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27261         (Aligned Memory Blocks): Add documentation for aligned_alloc
27262         and suggest it as an alternative to posix_memalign.
27263         (Hooks for Malloc): Document __memalign_hook is also called
27264         for aligned_alloc.  (Summary of Malloc): Add summary for
27265         aligned alloc.  Document __memalign_hook is also called
27266         for aligned_alloc.
27268 2013-12-16  Will Newton  <will.newton@linaro.org>
27270         * manual/memory.texi (Malloc Examples): Clarify default
27271         alignment documentation.  Suggest posix_memalign rather
27272         than memalign or valloc.
27273         (Aligned Memory Blocks): Remove suggestion to use memalign
27274         or valloc.  Remove obsolete comment about BSD.
27275         Document memalign errno values and mark the function obsolete.
27276         Document posix_memalign returned error codes.  Mark valloc
27277         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27278         called for posix_memalign and valloc.
27279         (Summary of Malloc): Add posix_memalign to function summary.
27280         __memalign_hook is also called for posix_memalign and valloc.
27282 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27284         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27285         TAYLOR_SIN.
27286         (__sin): Adjust.
27287         (__cos): Likewise.
27288         (sloww): Use mynumber union.  Expand ternary operator into
27289         if-else statements.
27290         (cslow): use mynumber union.
27292 2013-12-16  Allan McRae  <allan@archlinux.org>
27294         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27295         * configure: Regenerated.
27297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27299         [BZ #14120]
27300         * configure.ac: Added --enable-maintainer-mode. Check for
27301         autoconf when enabled.
27302         * configure: Regenerated.
27304         * nscd/nscd.service: New file.
27305         * nscd/nscd.tmpfiles: New file.
27307 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27309         [BZ #12100]
27310         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27311         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27312         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27313         (strstr): Add __strstr_sse2_unaligned ifunc.
27314         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27315         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27316         (strcasestr): Remove __strcasestr_sse42 ifunc.
27317         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27321 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27323         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27324         * sysdeps/sh/bits/fenv.h: ... here.
27325         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27327 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27329         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27332         hypotf multiarch implementations.
27333         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27334         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27335         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27336         multiarch hypot for PPC64.
27337         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27338         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27339         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27340         multiarch hypotf for PPC64.
27342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27343         modff multiarch implementations.
27344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27347         multiarch modf for PPC64.
27348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27351         multiarch modff for PPC64.
27353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27354         and logl multiarch implementations.
27355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27358         multiarch logb for PPC64.
27359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27362         multiarch logb for PPC64.
27363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27366         multiarch logb for PPC64.
27368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27369         isinff multiarch implementation.
27370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27371         file.
27372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27374         multiarch isinf for PPC64.
27375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27376         file.
27377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27378         multiarch isinff for PPC64.
27380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27381         finitef multiarch implementation.
27382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27383         file.
27384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27386         multiarch finite for PPC64.
27387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27388         file.
27389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27390         multiarch finitef for PPC64.
27392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27393         lrint multiarch implementation.
27394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27395         file.
27396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27398         multiarch llrint for PPC64.
27399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27400         multiarch lrint for PPC64.
27402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27403         copysignf multiarch implementation.
27404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27405         file.
27406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27407         file.
27408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27409         multiarch copysign for PPC64.
27410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27411         multiarch copysignf for PPC64.
27413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27414         multiarch implementation.
27415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27416         file.
27417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27418         file.
27419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27420         file.
27421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27422         file.
27423         multiarch llround for PPC64.
27424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27425         multiarch trunc for PPC64.
27426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27427         multiarch truncf for PPC64.
27429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27430         multiarch implementation.
27431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27432         file.
27433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27434         file.
27435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27436         file.
27437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27438         file.
27439         multiarch llround for PPC64.
27440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27441         multiarch round for PPC64.
27442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27443         multiarch roundf for PPC64.
27445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27446         multiarch implementation.
27447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27448         file.
27449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27450         file.
27451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27452         file.
27453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27454         file.
27455         multiarch llround for PPC64.
27456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27457         multiarch floor for PPC64.
27458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27459         multiarch floorf for PPC64.
27461         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27462         multiarch implementation.
27463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27464         file.
27465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27466         file.
27467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27468         file.
27469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27470         file.
27471         multiarch llround for PPC64.
27472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27473         multiarch ceil for PPC64.
27474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27475         multiarch ceilf for PPC64.
27477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27478         multiarch implementation.
27479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27480         file.
27481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27482         file.
27483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27484         file.
27485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27486         multiarch llround for PPC64.
27487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27488         multiarch lround for PPC64.
27490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27491         multiarch implementation.
27492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27495         file.
27496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27499         multiarch isnan for PPC64.
27500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27501         multiarch isnanf for PPC64.
27503         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27504         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27505         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27506         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27507         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27510         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27511         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27512         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27513         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27516         multiarch implementations.
27517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27518         (__libc_ifunc_impl_list): Likewise.
27519         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27522         multiarch stpcpy for PPC64.
27524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27525         multiarch implementations.
27526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27527         (__libc_ifunc_impl_list): Likewise.
27528         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27529         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27530         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27531         multiarch strcpy for PPC64.
27533         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27534         redefine function name.
27535         (_wordcopy_fwd_dest_aligned): Likewise.
27536         (_wordcopy_bwd_aligned): Likewise.
27537         (_wordcopy_bwd_dest_aligned): Likewise.
27538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27539         multiarch implementations.
27540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27541         (__libc_ifunc_impl_list): Likewise.
27542         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27543         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27544         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27545         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27546         multiarch wcscpy for PPC64.
27548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27549         multiarch implementations.
27550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27551         (__libc_ifunc_impl_list): Likewise.
27552         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27553         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27554         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27555         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27556         multiarch wcscpy for PPC64.
27558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27559         multiarch implementations.
27560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27561         (__libc_ifunc_impl_list): Likewise.
27562         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27563         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27564         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27565         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27566         multiarch wcsrchr for PPC64.
27568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27569         multiarch implementations.
27570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27571         (__libc_ifunc_impl_list): Likewise.
27572         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27573         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27574         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27575         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27576         multiarch wcschr for PPC64.
27578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27579         multiarch implementations.
27580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27581         (__libc_ifunc_impl_list): Likewise.
27582         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27583         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27584         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27585         multiarch strchrnul for PPC64.
27587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27588         implementations.
27589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27590         (__libc_ifunc_impl_list): Likewise.
27591         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27592         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27593         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27594         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27595         strchr for PPC64.
27597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27598         implementations.
27599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27600         (__libc_ifunc_impl_list): Likewise.
27601         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27602         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27603         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27604         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27605         strncmp for PPC64.
27607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27608         multiarch implementations.
27609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27610         (__libc_ifunc_impl_list): Likewise.
27611         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27612         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27613         strncasecmp for PPC64.
27614         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27615         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27616         multiarch strncasecmp_l for PPC64.
27618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27619         multiarch implementations.
27620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27621         (__libc_ifunc_impl_list): Likewise.
27622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27623         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27624         multiarch strcasecmp for PPC64.
27625         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27626         file.
27627         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27628         multiarch strcasecmp_l for PPC64.
27630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27631         implementations.
27632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27633         (__libc_ifunc_impl_list): Likewise.
27634         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27635         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27636         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27637         strnlen for PPC64.
27639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27640         implementations.
27641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27642         (__libc_ifunc_impl_list): Likewise.
27643         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27644         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27645         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27646         strlen for PPC64.
27648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27649         implementations.
27650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27651         (__libc_ifunc_impl_list): Likewise.
27652         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27653         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27654         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27655         rawmemrchr for PPC64.
27657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27658         implementation.
27659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27660         (__libc_ifunc_impl_list): Likewise.
27661         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27662         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27663         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27664         memrchr for PPC64.
27666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27667         implementation.
27668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27669         (__libc_ifunc_impl_list): Likewise.
27670         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27671         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27672         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27673         memchr for PPC64.
27675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27676         implementation.
27677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27678         (__libc_ifunc_impl_list): Likewise.
27679         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27680         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27681         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27682         mempcpy for PPC64.
27684         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27685         avoid cretion of __bzero symbol.
27686         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27687         Likewise.
27688         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27689         Likewise.
27690         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27691         Likewise.
27692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27693         multiarch implementations.
27694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27695         (__libc_ifunc_impl_list): Likewise.
27696         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27697         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27698         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27699         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27700         bzero for PPC32.
27701         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27702         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27703         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27704         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27705         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27706         memset for PPC64.
27707         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27709         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27711         implementations.
27712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27713         (__libc_ifunc_impl_list): Likewise.
27714         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27715         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27716         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27717         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27718         memcmp for PPC64.
27720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27721         multiarch for POWER/PPC64.
27722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27723         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27724         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27725         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27726         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27727         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27728         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27729         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27730         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27731         memcpy for PPC64.
27733         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27734         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27735         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27736         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27737         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27738         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27739         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27740         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27741         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27742         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27743         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27744         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27745         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27746         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27747         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27756 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27758         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27760 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27762         * benchtests/Makefile (bench): Add exp2 and log2.
27763         (LDLIBS-bench-exp2): Add -lm.
27764         (LDLIBS-bench-log2): Likewise.
27765         * benchtests/exp2-inputs: New inputs file.
27766         * benchtests/log2-inputs: New inputs file.
27767         * benchtests/log-inputs: Add new inputs.
27768         * benchtests/tan-inputs: Likewise.
27770 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27772         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27773         definition...
27774         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27775         (csloww2): ... from here.
27777         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27778         instead of structures.
27779         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27780         (POLYNOMIAL): Likewise.
27781         (TAYLOR_SLOW): Likewise.
27782         (__sin): Likewise.
27783         (__cos): Likewise.
27784         (slow1): Likewise.
27785         (slow2): Likewise.
27786         (sloww): Likewise.
27787         (sloww1); Likewise.
27788         (sloww2): Likewise.
27789         (bsloww1): Likewise.
27790         (bsloww2): Likewise.
27791         (cslow2): Likewise.
27792         (csloww): Likewise.
27793         (csloww1): Likewise.
27794         (csloww2): Likewise.
27796 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27798         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27799         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27800         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27801         * malloc/hooks.c (realloc_check): Likewise.
27803         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27804         * malloc/arena.c: Remove PER_THREAD conditional.
27805         [!PER_THREAD]: Remove code.
27806         (ptmalloc_unlock_all2): Likewise.
27807         (ptmalloc_init): Likewise.
27808         (_int_new_arena): Likewise.
27809         (arena_get2): Likewise.
27810         * malloc/hooks.c (__malloc_get_state): Likewise.
27811         (__malloc_set_state): Likewise.
27812         * malloc/malloc.c: Likewise.
27813         (struct malloc_state): Likewise.
27814         (struct malloc_par): Likewise.
27815         (__libc_realloc): Likewise.
27816         (__libc_mallopt): Likewise.
27818 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27820         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27822 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27824         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27825         macro to a function.  Check for zero perturb_byte.
27826         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27828         * malloc/malloc.c: (force_reg): Remove.
27829         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27830         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27831         force_reg by atomic_forced_read.
27832         * malloc/arena.c (ptmalloc_init): Likewise.
27833         * malloc/hooks.c (top_check): Likewise.
27835 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27839 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27843 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27845         * math/auto-libm-test-in: Add tests of lgamma.
27846         * math/auto-libm-test-out: Regenerated.
27847         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27848         (M_LOG_2_SQRT_PIl): Likewise.
27849         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27850         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27851         mpfr_f_f1.
27852         (func_calc_desc): Add mpfr_f_f1 union field.
27853         (ARGS1): New macro.
27854         (ARGS2): Likewise.
27855         (ARGS3): Likewise.
27856         (ARGS4): Likewise.
27857         (RET1): Likewise.
27858         (RET2): Likewise.
27859         (CALC): Likewise.
27860         (FUNC): Likewise.
27861         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27862         (test_functions): Add lgamma.
27863         (calc_generic_results): Handle mpfr_f_f1.
27864         * sysdeps/i386/fpu/libm-test-ulps: Update.
27865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27867 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27869         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27870         __mpn_add_n for PowerPC64/POWER7.
27871         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27872         __mpn_sub_n for PowerPC64/POWER7.
27874         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27875         __mpn_addmul_1 for PowerPC64.
27876         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27877         __mpn_submul_1 for PowerPC64.
27878         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27879         for PowerPC64.
27880         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27881         for PowerPC64.
27883 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27885         [BZ #15089]
27886         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27888 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27890         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27892         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27893         add multiarch folders.
27894         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27895         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27896         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27897         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27898         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27899         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27900         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27901         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27902         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27903         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27904         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27913         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27915         New file.
27916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27917         New file.
27918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27919         multiarch __ieee754_hypot for PowerPC32.
27920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27921         New file.
27922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27923         New file.
27924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27925         multiarch __ieee754_hypotf for PowerPC32.
27927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27928         long_double_symbol only if __logbl is defined.
27929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27930         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27932         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27934         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27935         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27936         path for implementation.
27937         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27938         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27940         logb, and logbl multiarch implementations for PowerPC32.
27941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27942         file.
27943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27944         file.
27945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27946         multiarch logb for PowerPC32.
27947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27948         file.
27949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27950         file.
27951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27952         multiarch logbf for PowerPC32.
27953         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27955         file.
27956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27957         multiarch logbl implementation for PowerPC32.
27959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27960         and modff multiarch implementations.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27962         New file.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27964         New file.
27965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27966         multiarch modf for PowerPC32.
27967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27968         New file.
27969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27970         New file.
27971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27972         multiarch modff for PowerPC32.
27974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27975         and lrintf multiarch implementations.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27977         New file.
27978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27979         New file.
27980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27981         multiarch lrint for PowerPC32.
27982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27983         file: multiarch lrintf for PowerPC32.
27985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27986         and lroundf multiarch implementations.
27987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27988         New file.
27989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27990         New file.
27991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27992         New file.
27993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27994         multiarch lround for PowerPC32.
27995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27996         file: multiarch lroundf for PowerPC32.
27998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27999         copysign and copysignf multiarch implementations.
28000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28001         New file.
28002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28003         New file.
28004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28005         file: multiarch copysign for PowerPC32.
28006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28007         file: multiarch copysignf for PowerPC32.
28009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28010         and truncf multiarch implementations.
28011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28012         New file.
28013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28014         file.
28015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28016         multiarch trunc for PowerPC32.
28017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28018         New file.
28019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28020         New file.
28021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28022         multiarch truncf for PowerPC32.
28024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28025         and roundf multiarch implementations.
28026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28027         New file.
28028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28029         file.
28030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28031         multiarch round for PowerPC32.
28032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28033         New file.
28034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28035         New file.
28036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28037         multiarch roundf for PowerPC32.
28039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28040         and floorf multiarch implementations.
28041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28042         New file.
28043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28044         file.
28045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28046         multiarch floor for PowerPC32.
28047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28048         New file.
28049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28050         New file.
28051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28052         multiarch floorf for PowerPC32.
28054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28055         and ceilf multiarch implementations.
28056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28057         New file.
28058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28059         file.
28060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28061         multiarch ceil for PowerPC32.
28062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28063         New file.
28064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28065         file.
28066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28067         multiarch ceilf for PowerPC32.
28069         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28070         is defined.
28071         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28072         FINITEF is defined.
28073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28074         and finitef multiarch implementations.
28075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28076         New file.
28077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28078         file.
28079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28080         multiarch finite for PowerPC32.
28081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28082         New file.
28083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28084         file: multiarch finitef for PowerPC32.
28086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28087         and isinff multiarch implementations.
28088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28089         file.
28090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28091         file.
28092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28093         multiarch isinf for PowerPC32.
28094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28095         New file.
28096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28097         multiarch isinff for PowerPC32.
28099         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28100         alias when __isnan is defined.
28101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28102         and isnanf multiarch implementations.
28103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28104         file.
28105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28106         file.
28107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28108         file.
28109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28110         file.
28111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28112         multiarch isnan for PowerPC32.
28113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28114         New file.
28115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28116         New file.
28117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28118         multiarch isnanf for PowerPC32.
28120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28121         and sqrtf multiarch implementations.
28122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28123         file.
28124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28125         file.
28126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28127         multiarch sqrt for PowerPC32.
28128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28129         file.
28130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28131         file.
28132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28133         multiarch sqrtf for PowerPC32.
28135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28136         and llroundf multiarch implementations.
28137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28138         New file.
28139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28140         New file.
28141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28142         New file.
28143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28144         file: multiarch llround for PowerPC32.
28145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28146         file: multiarch llroundf for PowerPC32.
28148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28149         multiarch PowerPC32 fpu implementations.
28150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28151         New file.
28152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28153         New file.
28154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28155         multiarch llrint for PowerPC32.
28156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28157         New file.
28158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28159         New file.
28160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28161         file.
28163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28166         file.
28167         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28168         file.
28169         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28170         file.
28171         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28172         multiarch wordcopy for PPC32.
28173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28174         wordcopy objects.
28175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28176         (__libc_ifunc_impl_list): Likewise.
28177         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28178         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28179         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28180         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28181         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28182         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28184         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28186         file.
28187         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28188         file.
28189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28190         file.
28191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28192         multiarch wcscpy for PPC32.
28193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28194         multiarch objects.
28195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28196         (__libc_ifunc_impl_list): Likewise.
28197         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28198         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28199         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28200         sysdeps/powerpc/power6/wcscpy.c.
28202         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28204         file.
28205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28206         file.
28207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28208         file.
28209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28210         multiarch wcsrchr for PPC32.
28211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28212         multiarch objects.
28213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28214         (__libc_ifunc_impl_list): Likewise.
28215         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28216         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28217         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28218         sysdeps/powerpc/power6/wcsrchr.c.
28220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28221         file.
28222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28223         file.
28224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28226         multiarch wcschr for PPc32.
28227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28228         multiarch objects.
28229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28230         (__libc_ifunc_impl_list): Likewise.
28231         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28232         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28233         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28234         sysdeps/powerpc/power6/wcschr.c.
28236         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28237         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28238         file.
28239         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28240         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28241         file: multiarch strchr for PPC32.
28242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28243         multiarch objects.
28244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28245         (__libc_ifunc_impl_list): Likewise.
28247         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28248         name.
28249         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28250         file.
28251         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28252         file.
28253         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28254         multiarch strchrnul for PPC32.
28255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28256         multiarch objects.
28257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28258         (__libc_ifunc_impl_list): Likewise.
28260         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28261         file.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28263         multiarch strncasecmp for PPC32.
28264         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28265         file.
28266         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28267         multiarch strncasecmp_l for PPC32.
28268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28269         strncasecmp multiarch objects.
28270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28271         (__libc_ifunc_impl_list): Likewise.
28273         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28274         file.
28275         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28276         multiarch strncasecmp for PPC32.
28277         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28278         New file.
28279         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28280         multiarch strcasecmp_l for PPC32.
28281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28282         multiarch objects.
28283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28284         (__libc_ifunc_impl_list): Likewise.
28286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28287         file.
28288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28289         file.
28290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28291         multiarch strncmp for PPC32.
28292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28293         multiarch objects.
28294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28295         (__libc_ifunc_impl_list): Likewise.
28297         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28298         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28299         file.
28300         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28301         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28303         multiarch objects.
28304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28305         (__libc_ifunc_impl_list): Likewise.
28307         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28308         file.
28309         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28310         file.
28311         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28313         multiarch objects.
28314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28315         (__libc_ifunc_impl_list): Likewise.
28317         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28318         file.
28319         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28320         file.
28321         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28322         multiarch rawmemchr for PPC32.
28323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28324         multiarch objects.
28325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28326         (__libc_ifunc_impl_list): Likewise.
28328         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28329         file.
28330         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28331         file.
28332         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28333         file: memrchr multiarch for PPC32.
28334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28335         multiarch objects.
28336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28337         (__libc_ifunc_impl_list): Likewise.
28339         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28340         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28341         file.
28342         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28343         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28344         multiarch memchr for PPC32.
28345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28346         multiarch objects.
28347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28348         (__libc_ifunc_impl_list): Likewise.
28350         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28351         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28352         file.
28353         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28354         file.
28355         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28356         file: multiarch mempcpy for PPC32.
28357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28358         multiarch objects.
28359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28360         (__libc_ifunc_impl_list): Likewise.
28362         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28363         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28364         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28365         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28366         multiarch bzero for PPC32.
28367         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28368         file.
28369         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28370         file.
28371         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28372         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28373         file: multiarch memset for PPC32.
28374         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28376         memset multiarch objects.
28377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28378         (__libc_ifunc_impl_list): Likewise.
28380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28381         file.
28382         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28383         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28384         memcmp for PPC32.
28385         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28387         multiarch objects.
28388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28389         (__libc_ifunc_impl_list): Likewise.
28391         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28392         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28393         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28394         file.
28395         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28396         file.
28397         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28398         file.
28399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28400         multiarch memcpy for PPC32.
28401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28402         multiarch objects.
28403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28404         (__libc_ifunc_impl_list): Likewise.
28406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28407         support multiarch for POWER/PPC32.
28408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28409         Likewise.
28410         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28412         Implies file to make multiarch folder appers before the fpu and
28413         default folder for power4 configuration.
28415 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28417         * scripts/bench.pl: Append volatile keyword to type.
28419 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28421         * sysdeps/sh/sotruss-lib.c: New file.
28422         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28424 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28428 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28430         [BZ #6810]
28431         * math/w_tgamma.c: Include <errno.h>.
28432         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28433         * math/w_tgammaf.c: Include <errno.h>.
28434         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28435         * math/w_tgammal.c: Include <errno.h>.
28436         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28437         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28438         underflow.  Add more tgamma tests.
28439         * math/auto-libm-test-out: Regenerated.
28440         * sysdeps/i386/fpu/libm-test-ulps: Update.
28441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28443         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28444         sin, sinh, tan, tanh, tgamma, y0 and y1.
28445         * math/auto-libm-test-out: Regenerated.
28446         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28447         (TEST_COND_x86): Likewise.
28448         (M_E2l): Remove macro.
28449         (M_E3l): Likewise.
28450         (M_2_SQRT_PIl): Likewise.
28451         (M_SQRT_PIl): Likewise.
28452         (M_1_DIV_El): Likewise.
28453         (log_test_data): Use AUTO_TESTS_f_f.
28454         (log10_test_data): Likewise.
28455         (log1p_test_data): Likewise.
28456         (log2_test_data): Likewise.
28457         (sin_test_data): Likewise.
28458         (sin_tonearest_test_data): Likewise.
28459         (sin_towardzero_test_data): Likewise.
28460         (sin_downward_test_data): Likewise.
28461         (sin_upward_test_data): Likewise.
28462         (sinh_test_data): Likewise.
28463         (sinh_tonearest_test_data): Likewise.
28464         (sinh_towardzero_test_data): Likewise.
28465         (sinh_downward_test_data): Likewise.
28466         (sinh_upward_test_data): Likewise.
28467         (tan_test_data): Likewise.
28468         (tan_tonearest_test_data): Likewise.
28469         (tan_towardzero_test_data): Likewise.
28470         (tan_downward_test_data): Likewise.
28471         (tan_upward_test_data): Likewise.
28472         (tanh_test_data): Likewise.
28473         (tgamma_test_data): Likewise.
28474         (y0_test_data): Likewise.
28475         (y1_test_data): Likewise.
28476         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28477         (special_real_inputs): Add pi/4.
28478         * sysdeps/i386/fpu/libm-test-ulps: Update.
28479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28481 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28483         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28484         "longjmp_target" static probes.
28485         (__longjmp): Rename to __longjmp_symbol.
28486         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28487         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28488         on which longjmp to generate.
28489         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28490         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28491         probe.
28492         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28493         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28494         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28495         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28496         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28497         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28499         __longjmp_symbol based on which __longjmp to generate.
28500         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28501         probe.
28502         (setjmp): Rename to setjmp_symbol.
28503         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28504         (_setjmp): Rename to _setjmp_symbol.
28505         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28506         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28507         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28508         which setjmp to generate.
28509         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28510         "longjmp_target" static probes.
28512 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28514         * benchtests/README: Add note about output arguments.
28515         * benchtests/bench-sincos.c: Remove file.
28516         * benchtests/sincos-inputs: New file.
28517         * scripts/bench.pl: Identify output arguments and define
28518         static variables for them.
28520         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28522         [BZ #15941]
28523         * Makefile (INSTALL): Add install-plain.texi as the primary
28524         dependency.
28525         * manual/install-plain.texi: New file.
28526         * manual/install.texi: Include node directive only for
28527         non-plaintext output.
28529 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28531         * stdlib/longlong.h: Update from GCC.
28533         [BZ #6807]
28534         [BZ #15901]
28535         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28536         * math/w_j0f.c (y0f): Likewise.
28537         * math/w_j0l.c (__y0l): Likewise.
28538         * math/w_j1.c (y1): Likewise.
28539         * math/w_j1f.c (y1f): Likewise.
28540         * math/w_j1l.c (__y1l): Likewise
28541         * math/w_jn.c (yn): Likewise.
28542         * math/w_jnf.c (ynf): Likewise.
28543         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28544         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28545         value for Bessel function domain errors outside _SVID_ mode.
28546         Adjust sign of return value for yn (negative integer, 0).
28547         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28548         by zero in return for negative x and set sign appropriately for
28549         negative n.
28550         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28551         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28552         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28553         expectations in error cases.
28554         (y1_test_data): Likewise.
28555         (yn_test_data): Likewise.
28556         * sysdeps/i386/fpu/libm-test-ulps: Update.
28557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28559 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28561         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28562         "64" to "64-v1".  Add "64-v2".
28563         (abi-64-options): Rename to ...
28564         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28565         (abi-64-condition): Rename to ...
28566         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28567         (abi-64-ld-soname): Rename to ...
28568         (abi-64-v1-ld-soname): ... this.
28569         (abi-64-v2-options): Define.
28570         (abi-64-v2-condition): Likewise.
28571         (abi-64-v2-ld-soname): Likewise.
28572         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28573         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28578 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28579             Alan Modra  <amodra@gmail.com>
28581         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28582         New versions for use with the ELFv2 ABI.
28583         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28584         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28585         declaration.
28586         (struct La_ppc64v2_retval): Likewise.
28587         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28588         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28589         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28590         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28591         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28593         Do not save or restore CR.
28594         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28595         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28596         return values for ELFv2 ABI.  Fix location of FPR return registers.
28597         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28598         updated values for _CALL_ELF == 2.
28599         (La_regs, La_retval, int_retval): Likewise.
28601 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28603         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28604         (FRAME_MIN_SIZE_PARM): Likewise.
28605         (FRAME_BACKCHAIN): Likewise.
28606         (FRAME_CR_SAVE): Likewise.
28607         (FRAME_LR_SAVE): Likewise.
28608         (FRAME_TOC_SAVE): Likewise.
28609         (FRAME_PARM_SAVE): Likewise.
28610         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28611         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28612         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28613         (call_mcount_parm_offset): New macro.
28614         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28615         (PROF): Use symbolic stack frame offsets.
28616         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28617         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28618         Redefine in terms of FRAME_MIN_SIZE.
28619         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28620         (_dl_profile_resolve): Likewise.  Update comment.
28621         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28622         symbols stack frame offsets.
28623         (__sigsetjmp): Likewise.
28624         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28625         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28626         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28627         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28630         (FRAME_BACKCHAIN): Remove.
28631         (FRAME_CR_SAVE): Likewise.
28632         (FRAME_LR_SAVE): Likewise.
28633         (FRAME_COMPILER_DW): Likewise.
28634         (FRAME_LINKER_DW): Likewise.
28635         (FRAME_TOC_SAVE): Likewise.
28636         (FRAME_PARM_SAVE): Likewise.
28637         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28638         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28639         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28641         (CHECK_SP): Use symbolic stack frame offsets.
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28643         zone" instead of caller's parameter save area for temp storage.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28645         Likewise.  Also, use symbolic stack frame offsets.
28646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28647         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28648         our own stack frame instead of the caller's.
28649         (__socket): Use symbolic stack frame offsets.
28651 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28652             Alan Modra  <amodra@gmail.com>
28654         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28655         Define.
28656         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28657         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28658         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28659         New function.
28660         (elf_machine_fixup_plt): Call it.
28661         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28662         reloc arguments.
28663         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28664         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28665         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28666         r2 before calling target.
28668 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28669             Alan Modra  <amodra@gmail.com>
28671         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28672         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28673         versions of macros to support ELFv2 ABI.
28674         (LOCALENTRY): New macro.
28675         (ENTRY, EALIGN): Use it.
28676         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28677         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28678         fall through into ENTRY entry point.
28679         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28680         Only define if _CALL_ELF != 2.
28682         (elf_machine_matches_host): Verify ABI version matches.
28683         (RTLD_START): Use LOCALENTRY.
28684         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28685         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28686         (PLT_ENTRY_WORDS): New macro.
28687         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28688         (elf_machine_runtime_setup): Support ELFv2 ABI.
28689         (elf_machine_fixup_plt): Likewise.
28690         (elf_machine_plt_conflict): Likewise.
28691         (resolve_ifunc): Likewise.
28692         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28693         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28694         Likewise.
28695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28696         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28698         (makecontext): Support ELFv2 ABI.
28699         * elf/elf.h (EF_PPC64_ABI): Define.
28701 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28703         * sysdeps/powerpc/powerpc64/sysdep.h
28704         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28705         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28706         (ENTRY) [ASSEMBLER]: ... but instead here ...
28707         (EALIGN) [ASSEMBLER]: ... and here.
28708         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28709         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28710         (ENTRY_2) [!ASSEMBLER]: Use it.
28711         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28712         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28714         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28715         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28717         Use PPC64_LOAD_FUNCPTR.
28719         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28721 2013-12-04  Alan Modra  <amodra@gmail.com>
28723         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28724         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28725         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28726         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28729         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28730         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28731         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28732         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28733         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28735 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28738         (__makecontext): Fix incorrect CFI when backtracing out of
28739         context created via makecontext.
28740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28741         (__setcontext): Fix incorrect CFI during switch to new context.
28742         (__novec_setcontext): Likewise.
28744 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28746         [BZ #4772]
28747         * time/strptime_l.c (__strptime_internal): Allow modifiers
28748         in strptime.
28749         * time/tst-strptime.c (day_tests): Add testcase.
28751 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28753         * scripts/bench.pl: Skip over blank lines.
28755 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28757         [BZ #926]
28758         * manual/time.texi (Calendar Time): Clarify what timezone functions
28759         use.
28761 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28765 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28767         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28768         implementation.
28769         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28770         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28771         * debug/memset_chk.c (__memset_chk): Likewise.
28772         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28773         * debug/strncpy_chk.c: Likewise.
28775 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28777         [BZ #15268]
28778         [BZ #15425]
28779         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28780         (__ieee754_exp): For possibly underflowing results, check size of
28781         result and force underflow exception if required.
28782         * math/auto-libm-test-in: Add more tests of exp.
28783         * math/auto-libm-test-out: Regenerated.
28784         * sysdeps/i386/fpu/libm-test-ulps: Update.
28785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28787         [BZ #16283]
28788         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28789         * math/w_exp2f.c (__exp2f): Likewise.
28790         * math/w_exp2l.c (__exp2l): Likewise.
28791         * math/auto-libm-test-in: Do not allow missing errno on exp2
28792         underflow.
28793         * math/auto-libm-test-out: Regenerated.
28795 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28797         [BZ #16274]
28798         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28799         handle filename validation.
28800         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28801         (do_open): Delete.
28803 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28805         [BZ #6786]
28806         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28807         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28808         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28809         <float.h>.
28810         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28812         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28813         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28814         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28815         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28816         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28817         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28818         Add more erfc tests.
28819         * math/auto-libm-test-out: Regenerated.
28820         * sysdeps/i386/fpu/libm-test-ulps: Update.
28821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28823         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28824         exp2, expm1, j0 and j1.
28825         * math/auto-libm-test-out: Regenerated.
28826         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28827         (erfc_test_data): Likewise.
28828         (exp_test_data): Likewise.
28829         (exp_tonearest_test_data): Likewise.
28830         (exp_towardzero_test_data): Likewise.
28831         (exp_downward_test_data): Likewise.
28832         (exp_upward_test_data): Likewise.
28833         (exp10_test_data): Likewise.
28834         (exp2_test_data): Likewise.
28835         (expm1_test_data): Likewise.
28836         (j0_test_data): Likewise.
28837         (j1_test_data): Likewise.
28838         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28839         (input_flag_type): Add flag_xfail_rounding.
28840         (input_flags): Add xfail-rounding.
28841         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28842         (output_for_one_input_case): Handle flag_xfail_rounding.
28843         * sysdeps/i386/fpu/libm-test-ulps: Update.
28844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28846 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28848         [BZ #16289]
28849         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28850         division by 0.
28852 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28854         [BZ #16195]
28855         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28856         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28857         (STAP_PROBE0): New macro.
28858         (STAP_PROBE1): Likewise.
28859         (STAP_PROBE2): Likewise.
28860         (STAP_PROBE3): Likewise.
28861         (STAP_PROBE4): Likewise.
28863 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28865         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28867 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28869         * benchtests/Makefile (bench): Add sqrt.
28870         (LDLIBS-bench-sqrt): New.
28871         * benchtests/sqrt-input: New.
28873 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28875         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28876         (GAIH_EAI): Likewise.
28877         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28878         (gaih_inet): Likewise.
28879         (getaddrinfo): Don't use GAIH_EAI.
28881         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28882         (struct gaih): Remove definition.
28884 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28886         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28887         Use HERRNOP directly.
28889 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28893 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28895         * math/gen-auto-libm-tests.c (test_functions): Add more
28896         single-argument functions.
28897         (special_fill_pi_2): New function.
28898         (special_fill_minus_pi_2): Likewise.
28899         (special_fill_pi_6): Likewise.
28900         (special_fill_minus_pi_6): Likewise.
28901         (special_fill_pi_3): Likewise.
28902         (special_fill_2pi_3): Likewise.
28903         (special_fill_e): Likewise.
28904         (special_fill_1_e): Likewise.
28905         (special_fill_e_minus_1): Likewise.
28906         (special_real_inputs): Add more special inputs.
28907         (output_for_one_input_case): Do not require ERANGE on underflow to
28908         zero if round-to-nearest result does not underflow to zero, unless
28909         exact results required.
28910         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28911         atan, atanh, cbrt, cos and cosh.
28912         * math/auto-libm-test-out: Regenerated.
28913         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28914         (acos_tonearest_test_data): Likewise.
28915         (acos_towardzero_test_data): Likewise.
28916         (acos_downward_test_data): Likewise.
28917         (acos_upward_test_data): Likewise.
28918         (acosh_test_data): Likewise.
28919         (asin_test_data): Likewise.
28920         (asin_tonearest_test_data): Likewise.
28921         (asin_towardzero_test_data): Likewise.
28922         (asin_upward_test_data): Likewise.
28923         (asinh_test_data): Likewise.
28924         (atan_test_data): Likewise.
28925         (atanh_test_data): Likewise.
28926         (cbrt_test_data): Likewise.
28927         (cos_test_data): Likewise.
28928         (cos_tonearest_test_data): Likewise.
28929         (cos_towardzero_test_data): Likewise.
28930         (cos_downward_test_data): Likewise.
28931         (cos_upward_test_data): Likewise.
28932         (cosh_test_data): Likewise.
28933         (cosh_tonearest_test_data): Likewise.
28934         (cosh_towardzero_test_data): Likewise.
28935         (cosh_downward_test_data): Likewise.
28936         (cosh_upward_test_data): Likewise.
28937         * sysdeps/i386/fpu/libm-test-ulps: Update.
28938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28940 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28942         [BZ #6787]
28943         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28944         * math/w_exp10f.c (__exp10f): Likewise.
28945         * math/w_exp10l.c (__exp10l): Likewise.
28946         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28947         errno settings in existing tests.
28949         [BZ #14032]
28950         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28951         precision control set to double precision.
28952         * sysdeps/i386/fpu/w_sqrt.c: New file.
28953         * math/auto-libm-test-in: Add more tests.
28954         * math/auto-libm-test-out: Update.
28956         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28957         (sqrt_test_tonearest): New function.
28958         (sqrt_towardzero_test_data): New variable.
28959         (sqrt_test_towardzero): New function.
28960         (sqrt_downward_test_data): New variable.
28961         (sqrt_test_downward): New function.
28962         (sqrt_upward_test_data): New variable.
28963         (sqrt_test_upward): New function.
28964         (main): Call the new functions.
28966         * math/gen-auto-libm-tests.c: New file.
28967         * math/auto-libm-test-in: Likewise.
28968         * math/auto-libm-test-out: New generated file.
28969         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28970         variables.
28971         (%beautify): Add generated representations of zero.
28972         (top level): Set $auto_input and call parse_auto_input.
28973         (beautify): Remove trailing "f" from hex float constants.
28974         (parse_args): Handle XFAIL_TEST.
28975         (convert_condition): New function.
28976         (or_value): Likewise.
28977         (or_cond_value): Likewise.
28978         (generate_testfile): Handle AUTO_TESTS_* lines.
28979         (parse_auto_input): New function.
28980         * math/libm-test.inc (XFAIL_TEST): New macro.
28981         (ERRNO_UNCHANGED): Update value.
28982         (ERRNO_EDOM): Likewise.
28983         (ERRNO_ERANGE): Likewise.
28984         (IGNORE_RESULT): Likewise.
28985         (TEST_COND_flt_32): New macro.
28986         (TEST_COND_dbl_64): Likewise.
28987         (TEST_COND_ldbl_96_intel): Likewise.
28988         (TEST_COND_ldbl_96_m68k): Likewise.
28989         (TEST_COND_ldbl_128): Likewise.
28990         (TEST_COND_ldbl_128ibm): Likewise.
28991         (TEST_COND_long32): Likewise.
28992         (TEST_COND_long64): Likewise.
28993         (TEST_COND_before_rounding): Likewise.
28994         (TEST_COND_after_rounding): Likewise.
28995         (enable_test): Handle XFAIL_TEST flag.
28996         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28997         with finite results.
28998         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28999         auto-libm-test-out.
29001 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29002             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29004         [BZ #16214]
29005         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29006         __tls_get_addr_internal instead of __tls_get_offset in order to
29007         avoid GOT pointer dependency.  Make rtld export
29008         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29009         __tls_get_addr since we are a __tls_get_offset platform.
29010         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29011         GOT pointer being set up before.
29012         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29014 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
29016         * manual/math.texi (Errors in Math Functions): Document accuracy
29017         goals.
29019         [BZ #15004]
29020         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29021         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29022         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29023         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29024         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29025         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29026         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29027         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29028         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29029         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29030         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29031         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29032         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29033         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29034         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29035         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29037         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29038         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29039         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29040         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29041         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29042         Likewise.
29043         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29044         Likewise.
29045         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29046         Likewise.
29047         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29048         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29049         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29050         atomic-feupdateenv and flt-rounds.
29051         * sysdeps/powerpc/nofpu/Versions (libc): Add
29052         __atomic_feholdexcept, __atomic_feclearexcept,
29053         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29054         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29055         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29056         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29057         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29058         here.
29059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29060         Update.
29062         * manual/arith.texi (FP Exceptions): Document that exceptions may
29063         not be raised when matherr is used.
29064         (Math Error Reporting): Document overflow in directed rounding
29065         modes.  Document that errno may not be set when finite values are
29066         returned on overflow.  Document intent to set errno on underflow
29067         only for underflow to zero.
29069         [BZ #16271]
29070         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29071         round-to-nearest then adjust result for other rounding modes.
29072         * include/fenv.h (fegetround): Use libm_hidden_proto.
29073         * math/fegetround.c (fegetround): Use libm_hidden_def.
29074         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29075         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29076         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29077         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29078         Likewise.
29079         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29080         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29081         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29082         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29084 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29086         [BZ #16077]
29087         * nss/Versions (libnss_files): Add
29088         _nss_files_gethostbyname3_r.
29089         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29090         New function.
29091         (HOST_DB_LOOKUP): Remove macro.
29092         (_nss_files_gethostbyname_r): Implement function without the
29093         HOST_DB_LOOKUP macro.
29094         (_nss_files_gethostbyname2_r): Likewise.
29096 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
29098         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29100 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
29102         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29103         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29104         warning.
29106 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29108         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29109         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29110         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29111         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29112         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29113         __fe_nomask_env_priv and attribute_hidden.
29114         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29115         (libc_feupdateenv_test_ppc): Likewise.
29116         (libc_feresetround_ppc): Likewise.
29117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29118         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29119         compat_symbol macro.
29120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29121         (__fe_nomask_env): Likewise.
29122         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29124 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29126         * string/Makefile: Remove ifunc tests.
29127         * string/test-string.h: Define TEST_IFUNC.
29128         * string/test-bcopy-ifunc.c: Remove.
29129         * string/test-bzero-ifunc.c: Likewise.
29130         * string/test-memccpy-ifunc.c: Likewise.
29131         * string/test-memchr-ifunc.c: Likewise.
29132         * string/test-memcmp-ifunc.c: Likewise.
29133         * string/test-memcpy-ifunc.c: Likewise.
29134         * string/test-memmem-ifunc.c: Likewise.
29135         * string/test-memmove-ifunc.c: Likewise.
29136         * string/test-mempcpy-ifunc.c: Likewise.
29137         * string/test-memrchr-ifunc.c: Likewise.
29138         * string/test-memset-ifunc.c: Likewise.
29139         * string/test-rawmemchr-ifunc.c: Likewise.
29140         * string/test-stpcpy-ifunc.c: Likewise.
29141         * string/test-stpncpy-ifunc.c: Likewise.
29142         * string/test-strcasecmp-ifunc.c: Likewise.
29143         * string/test-strcasestr-ifunc.c: Likewise.
29144         * string/test-strcat-ifunc.c: Likewise.
29145         * string/test-strchr-ifunc.c: Likewise.
29146         * string/test-strchrnul-ifunc.c: Likewise.
29147         * string/test-strcmp-ifunc.c: Likewise.
29148         * string/test-strcpy-ifunc.c: Likewise.
29149         * string/test-strcspn-ifunc.c: Likewise.
29150         * string/test-strlen-ifunc.c: Likewise.
29151         * string/test-strncasecmp-ifunc.c: Likewise.
29152         * string/test-strncat-ifunc.c: Likewise.
29153         * string/test-strncmp-ifunc.c: Likewise.
29154         * string/test-strncpy-ifunc.c: Likewise.
29155         * string/test-strnlen-ifunc.c: Likewise.
29156         * string/test-strpbrk-ifunc.c: Likewise.
29157         * string/test-strrchr-ifunc.c: Likewise.
29158         * string/test-strspn-ifunc.c: Likewise.
29159         * string/test-strstr-ifunc.c: Likewise.
29161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29163         * benchtests/Makefile: Remove ifunc tests.
29164         * benchtests/bench-string.h: Define TEST_IFUNC.
29165         * benchtests/bench-bcopy-ifunc.c: Remove.
29166         * benchtests/bench-bzero-ifunc.c: Likewise.
29167         * benchtests/bench-memccpy-ifunc.c: Likewise.
29168         * benchtests/bench-memchr-ifunc.c: Likewise.
29169         * benchtests/bench-memcmp-ifunc.c: Likewise.
29170         * benchtests/bench-memcpy-ifunc.c: Likewise.
29171         * benchtests/bench-memmem-ifunc.c: Likewise.
29172         * benchtests/bench-memmove-ifunc.c: Likewise.
29173         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29174         * benchtests/bench-memrchr-ifunc.c: Likewise.
29175         * benchtests/bench-memset-ifunc.c: Likewise.
29176         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29177         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29178         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29179         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29180         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29181         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29182         * benchtests/bench-strcat-ifunc.c: Likewise.
29183         * benchtests/bench-strchr-ifunc.c: Likewise.
29184         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29185         * benchtests/bench-strcmp-ifunc.c: Likewise.
29186         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29187         * benchtests/bench-strcpy-ifunc.c: Likewise.
29188         * benchtests/bench-strcspn-ifunc.c: Likewise.
29189         * benchtests/bench-strlen-ifunc.c: Likewise.
29190         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29191         * benchtests/bench-strncat-ifunc.c: Likewise.
29192         * benchtests/bench-strncmp-ifunc.c: Likewise.
29193         * benchtests/bench-strncpy-ifunc.c: Likewise.
29194         * benchtests/bench-strnlen-ifunc.c: Likewise.
29195         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29196         * benchtests/bench-strrchr-ifunc.c: Likewise.
29197         * benchtests/bench-strsep-ifunc.c: Likewise.
29198         * benchtests/bench-strspn-ifunc.c: Likewise.
29199         * benchtests/bench-strstr-ifunc.c: Likewise.
29201 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29203         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29205 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29207         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29208         * rt/aio.h: Likewise.
29209         * sysdeps/gnu/bits/utmp.h: Likewise.
29210         * sysdeps/gnu/bits/utmpx.h: Likewise.
29211         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29212         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29213         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29214         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29215         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29216         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29217         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29218         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29219         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29220         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29221         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29222         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29223         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29225         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29226         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29227         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29228         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29229         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29230         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29231         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29232         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29233         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29234         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29235         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29236         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29237         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29238         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29239         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29240         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29241         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29242         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29243         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29244         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29245         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29246         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29247         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29248         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29249         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29250         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29251         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29252         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29254 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29256         [BZ #16245]
29257         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29258         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29260 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29262         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29263         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29264         Likewise.
29266 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29268         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29269         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29270         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29271         (__fesetround): Remove define.
29272         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29273         rounding and exceptions handling.
29274         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29275         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29276         (__fe_nomask_env): Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29278         __fegetround instead of fegetround.
29279         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29282 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29284         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29285         it's there.
29287         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29289 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29291         [BZ #11157]
29292         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29293         (encrypt_r): Likewise.
29294         * malloc/obstack.h (obstack_free): Likewise.
29295         * posix/unistd.h (encrypt): Likewise.
29297 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29299         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29300         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29301         DL_CALL_DT_FINI() that call the functions directly.
29302         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29303         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29304         * elf/dl-fini.c: Likewise.
29306 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29308         * malloc/hooks.c (memalign_check): Add alignment rounding.
29309         * malloc/malloc.c (_mid_memalign): New function.
29310         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29311         Implement by calling _mid_memalign.
29312         * manual/probes.texi (Memory Allocation Probes): Remove
29313         memory_valloc_retry and memory_pvalloc_retry.
29315 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29317         * locale/programs/locarchive.c (open_archive): Add const
29318         qualifier to ARCHIVEFNAME and copy default fname to
29319         DEFAULT_FNAME.
29321         [BZ #15601]
29322         * libio/tst-widetext.input: Rename Oriya to Odia.
29323         * locale/iso-639.def: Likewise.
29325         * manual/probes.texi (Mathematical Function Probes): Add
29326         documentation for sin, cos, asin and acos probes.
29327         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29328         (__sin32): Add slowasin probe.
29329         (__cos32): Add slowacos probe.
29330         (__mpsin): Add slowsin probe.
29331         (__mpcos): Add slowcos probe.
29333 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29335         [BZ #15483]
29336         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29337         thread-local __sim_exceptions_thread and global
29338         __sim_exceptions_global.
29339         (__sim_disabled_exceptions): Change to thread-local
29340         __sim_disabled_exceptions_thread and global
29341         __sim_disabled_exceptions_global.
29342         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29343         and global __sim_round_mode_global.
29344         (__simulate_exceptions): Use thread-local floating-point state and
29345         set global state from it as needed.
29346         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29347         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29348         __sim_round_mode_thread.
29349         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29350         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29351         and global __sim_exceptions_global.
29352         (__sim_disabled_exceptions): Change to thread-local
29353         __sim_disabled_exceptions_thread and global
29354         __sim_disabled_exceptions_global.
29355         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29356         and global __sim_round_mode_global.
29357         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29358         (SIM_SET_GLOBAL): Likewise.
29359         * sysdeps/powerpc/soft-fp/sfp-machine.h
29360         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29361         __sim_round_mode_thread.
29362         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29363         __sim_disabled_exceptions_thread.
29364         (__sim_exceptions): Change to __sim_exceptions_thread.
29365         (__sim_disabled_exceptions): Change to
29366         __sim_disabled_exceptions_thread.
29367         (__sim_round_mode): Change to __sim_round_mode_thread.
29368         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29369         thread-local floating-point state and set global state from it as
29370         needed.
29371         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29372         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29373         (__sim_disabled_exceptions): Remove extern declaration.
29374         (feenableexcept): Use thread-local floating-point state and set
29375         global state from it as needed.
29376         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29377         extern declaration.
29378         (__sim_disabled_exceptions): Likewise.
29379         (__sim_round_mode): Likewise.
29380         (__fegetenv): Use thread-local floating-point state.
29381         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29382         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29383         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29384         floating-point state and set global state from it as needed.
29385         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29386         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29387         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29388         Likewise.
29389         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29390         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29391         Likewise.
29392         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29393         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29394         Use __sim_round_mode_thread.
29395         * math/test-fenv-tls.c: New file.
29396         * math/Makefile (tests): Add test-fenv-tls.
29397         ($(objpfx)test-fenv-tls): Depend on
29398         $(common-objpfx)nptl/libpthread.so.
29400 2013-11-19  Andreas Schwab  <schwab@suse.de>
29402         * locale/programs/locale.c (show_info): Decode wordarray elements.
29403         * locale/categories.def (LC_MONETARY): Add element for
29404         _NL_MONETARY_CRNCYSTR.
29405         * locale/C-monetary.c (conversion_rate): New variable.
29406         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29407         element.
29409 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29411         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29412         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29414 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29416         * elf/Makefile (tst-auxv): New test.
29417         * elf/tst-auxv.c: New
29418         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29420 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29422         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29423         (hidden_proto): Caller changed.
29424         (hidden_tls_proto): New macro.
29425         (libc_hidden_tls_proto): Likewise.
29426         (rtld_hidden_tls_proto): Likewise.
29427         (libm_hidden_tls_proto): Likewise.
29428         (libresolv_hidden_tls_proto): Likewise.
29429         (librt_hidden_tls_proto): Likewise.
29430         (libdl_hidden_tls_proto): Likewise.
29431         (libnss_files_hidden_tls_proto): Likewise.
29432         (libnsl_hidden_tls_proto): Likewise.
29433         (libnss_nisplus_hidden_tls_proto): Likewise.
29434         (libutil_hidden_tls_proto): Likewise.
29436 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29438         [BZ #10253]
29439         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29440         (decompose_rpath): Defer expansion to fillin_rpath.
29441         (_dl_init_paths): Pass linkmap to fillin_rpath.
29443 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29445         * benchtests/Makefile: Add strsep.
29446         * benchtests/bench-strsep.c: New file: strsep benchtest.
29447         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29449 2013-11-18  Andreas Schwab  <schwab@suse.de>
29451         * locale/programs/locale.c (show_info) [case byte]: Check for
29452         '\377' instead of '\177'.
29453         * locale/C-monetary.c (not_available): Always use "\377".
29454         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29455         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29456         detect unavailable sign_posn locale elements.
29457         * locale/localeconv.c (__localeconv): For grouping and
29458         mon_grouping handle "\177" and "\377" like no grouping.
29459         (INT_ELEM): New macro.  Use it to set all numeric members.
29460         * locale/programs/ld-monetary.c (monetary_read)
29461         <tok_mon_grouping>: Normalize single -1 to the empty string.
29462         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29463         Likewise.
29465 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29467         [BZ #16055]
29468         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29469         when we match (nil).
29470         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29472 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29474         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29475         (NO_TEST_INLINE): Update value.
29476         (ERRNO_UNCHANGED): Likewise.
29477         (ERRNO_EDOM): Likewise.
29478         (ERRNO_ERANGE): Likewise.
29479         (IGNORE_RESULT): Likewise.
29480         (check_float_internal): Check signs of NaN results if
29481         TEST_NAN_SIGN used.
29482         (check_complex): Pass TEST_NAN_SIGN flag through to second
29483         check_float_internal call.
29484         (copysign_test_data): Add tests with quiet NaNs as second
29485         argument.  Use TEST_NAN_SIGN.
29486         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29487         TEST_NAN_SIGN.
29488         (signbit_test_data): Add tests of quiet NaN argument.
29489         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29491         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29492         $ignore_result.
29493         (parse_args): Handle function results specified as IGNORE.
29494         * math/libm-test.inc (IGNORE_RESULT): New macro.
29495         (check_float_internal): Do not check numerical result if flag
29496         IGNORE_RESULT set.
29497         (check_complex): Pass through IGNORE_RESULT to second
29498         check_float_internal call.
29499         (check_int): Do not check numerical result if flag IGNORE_RESULT
29500         set.
29501         (check_long): Likewise.
29502         (check_bool): Likewise.
29503         (check_longlong): Likewise.
29504         (lrint_test_data): Add tests of infinite and NaN arguments.
29505         (lrint_tonearest_test_data): Likewise.
29506         (lrint_towardzero_test_data): Likewise.
29507         (lrint_downward_test_data): Likewise.
29508         (lrint_upward_test_data): Likewise.
29509         (llrint_test_data): Likewise.
29510         (llrint_tonearest_test_data): Likewise.
29511         (llrint_towardzero_test_data): Likewise.
29512         (llrint_downward_test_data): Likewise.
29513         (llrint_upward_test_data): Likewise.
29514         (lround_test_data): Likewise.
29515         (llround_test_data): Likewise.
29517         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29518         (ERRNO_UNCHANGED): Update value.
29519         (ERRNO_EDOM): Likewise.
29520         (ERRNO_ERANGE): Likewise.
29521         (NO_TEST_INLINE_FLOAT): New macro.
29522         (NO_TEST_INLINE_DOUBLE): Likewise.
29523         (enable_test): New function.
29524         (RUN_TEST_f_f): Check enable_test before running test.
29525         (RUN_TEST_2_f): Likewise.
29526         (RUN_TEST_fff_f): Likewise.
29527         (RUN_TEST_c_f): Likewise.
29528         (RUN_TEST_f_f1): Likewise.
29529         (RUN_TEST_fF_f1): Likewise.
29530         (RUN_TEST_fI_f1): Likewise.
29531         (RUN_TEST_ffI_f1): Likewise.
29532         (RUN_TEST_c_c): Likewise.
29533         (RUN_TEST_cc_c): Likewise.
29534         (RUN_TEST_f_i): Likewise.
29535         (RUN_TEST_f_i_tg): Likewise.
29536         (RUN_TEST_ff_i_tg): Likewise.
29537         (RUN_TEST_f_b): Likewise.
29538         (RUN_TEST_f_b_tg): Likewise.
29539         (RUN_TEST_f_l): Likewise.
29540         (RUN_TEST_f_L): Likewise.
29541         (RUN_TEST_fFF_11): Likewise.
29542         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29543         conditionals.
29544         (cosh_test_data): Likewise.
29545         (exp_test_data): Likewise.
29546         (expm1_test_data): Likewise.
29547         (hypot_test_data): Likewise.
29548         (pow_test_data): Likewise.
29549         (sinh_test_data): Likewise.
29550         (tanh_test_data): Likewise.
29551         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29552         flags argument.
29554         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29555         tests with quiet NaN input and output.
29556         (acosh_test_data): Likewise.
29557         (asin_test_data): Likewise.
29558         (asinh_test_data): Likewise.
29559         (atan_test_data): Likewise.
29560         (atanh_test_data): Likewise.
29561         (atan2_test_data): Likewise.
29562         (cbrt_test_data): Likewise.
29563         (cos_test_data): Likewise.
29564         (cosh_test_data): Likewise.
29565         (erf_test_data): Likewise.
29566         (erfc_test_data): Likewise.
29567         (exp_test_data): Likewise.
29568         (exp10_test_data): Likewise.
29569         (exp2_test_data): Likewise.
29570         (expm1_test_data): Likewise.
29571         (hypot_test_data): Likewise.
29572         (j0_test_data): Likewise.
29573         (j1_test_data): Likewise.
29574         (jn_test_data): Likewise.
29575         (lgamma_test_data): Likewise.
29576         (log_test_data): Likewise.
29577         (log10_test_data): Likewise.
29578         (log1p_test_data): Likewise.
29579         (log2_test_data): Likewise.
29580         (pow_test_data): Likewise.
29581         (scalb_test_data): Likewise.
29582         (sin_test_data): Likewise.
29583         (sincos_test_data): Likewise.
29584         (sinh_test_data): Likewise.
29585         (tan_test_data): Likewise.
29586         (tanh_test_data): Likewise.
29587         (tgamma_test_data): Likewise.
29588         (y0_test_data): Likewise.
29589         (y1_test_data): Likewise.
29590         (yn_test_data): Likewise.
29592         [BZ #16167]
29593         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29594         argument being NaN and avoid computations with second argument in
29595         that case.
29596         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29597         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29598         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29600 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29602         * locale/iso-639.def: Add Chitwani Tharu (the).
29604 2013-11-14  Andreas Schwab  <schwab@suse.de>
29606         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29607         word instead of empty string.
29609 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29612         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29614         (__fe_nomask_env): Likewise.
29616 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29618         * benchtests/bench-timing.h: Include time.h.
29620 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29622         [BZ #15997]
29623         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29624         to 3.4.0 for x32.
29625         * sysdeps/unix/sysv/linux/configure: Regenerated.
29627 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29629         [BZ #16151]
29630         * stdlib/strtod_l.c (round_and_return): Do not consider
29631         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29632         exponent one less than half the least subnormal exponent.
29633         * stdlib/test-strtod-round-data: Add more tests.
29634         * stdlib/tst-strtod-round.c (tests): Regenerated.
29636 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29638         [BZ #14143]
29639         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29640         (__fe_mask_env): Likewise.
29641         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29642         libm_hidden_proto and add function prototype.
29643         (__fe_mask_env): Add function prototype.
29644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29645         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29647         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29649         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29651 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29653         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29654         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29656 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29658         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29659         of htab_find_slot().
29661 2013-11-11  David S. Miller  <davem@davemloft.net>
29663         [BZ #16150]
29664         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29665         symbol in the non-vis3 case in static builds.
29666         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29667         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29668         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29669         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29671 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29673         [BZ #387]
29674         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29675         it is empty.
29677 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29679         * benchtests/Makefile: Add bench-strtod.
29680         * benchtests/bench-strtod.c: New file: strtod benchtest
29682 2013-11-11  Andreas Schwab  <schwab@suse.de>
29684         [BZ #16153]
29685         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29686         terminating NUL in key length.
29688 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29690         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29691         Add artificial ODP entry for vDSO symbol for PPC64.
29692         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29693         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29695 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29697         [BZ #15374]
29698         * nss/getent.c (services_keys): Recognize services starting with digit.
29700 2013-11-06  David S. Miller  <davem@davemloft.net>
29702         [BZ #15985]
29703         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29704         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29706 2013-11-06  Will Newton  <will.newton@linaro.org>
29708         * manual/memory.texi (Malloc Examples): Remove register
29709         keyword from examples.
29711 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29713         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29715 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29717         [BZ #6981]
29718         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29719         depending on [__GCC_IEC_559 > 0].
29720         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29721         depending on [__GCC_IEC_559_COMPLEX > 0].
29723 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29725         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29726         to iso-639.def.
29728 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29730         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29732 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29734         [BZ #16112]
29735         * malloc/malloc (malloc_info): Do not handle first bin as
29736         special case.
29738 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29740         * locale/iso-639.def: Add Central Nahuatl (nhn).
29742 2013-11-01  Bruno Haible  <bruno@clisp.org>
29744         [BZ #7003]
29745         * manual/math.texi (BSD Random): Specify range upper bound as
29746         in POSIX.
29748 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29750         * locale/iso-639.def: Add Meadow Mari (mhr).
29752 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29754         [BZ #14752], [BZ #15763]
29755         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29756         Validate name.
29757         * rt/tst_shm.c: Add test for escaping directory.
29759 2013-10-31  Andreas Schwab  <schwab@suse.de>
29761         [BZ #15917]
29762         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29763         followed by 'x' as part of digit sequence.
29764         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29766 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29768         [BZ #16037]
29769         * configure.ac: allow GNU Make 4.0 and greater.
29770         * configure: Regenerated.
29772 2013-10-30  Will Newton  <will.newton@linaro.org>
29774         [BZ #16038]
29775         * malloc/hooks.c (memalign_check): Limit alignment to the
29776         maximum representable power of two.
29777         * malloc/malloc.c (__libc_memalign): Likewise.
29778         * malloc/tst-memalign.c (do_test): Add test for very
29779         large alignment values.
29780         * malloc/tst-posix_memalign.c (do_test): Likewise.
29782 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29784         [BZ #11087]
29785         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29786         (munmap_chunk): Likewise.
29787         (mremap_chunk): Likewise.
29789 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29791         [BZ #15799]
29792         * stdlib/div.c (div): Remove obsolete code.
29793         * stdlib/ldiv.c (ldiv): Likewise.
29794         * stdlib/lldiv.c (lldiv): Likewise.
29796 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29798         [BZ #16071]
29799         * nss/nss_files/files-XXX.c (get_contents_ret): New
29800         enumerator.
29801         (get_contents): New function.
29802         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29804 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29806         * configure.in: Moved to ...
29807         * configure.ac: ... here. Change reference to configure.in
29808         to configure.ac.
29809         * sysdeps/arm/preconfigure.ac: ... here.
29810         configure.in to configure.ac.
29811         * sysdeps/gnu/configure.in: Moved to ...
29812         * sysdeps/gnu/configure.ac: ... here.
29813         * sysdeps/i386/configure.in: Moved to ...
29814         * sysdeps/i386/configure.ac: ... here.
29815         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29816         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29817         * sysdeps/mach/configure.in: Moved to ...
29818         * sysdeps/mach/configure.ac: ... here.
29819         * sysdeps/mach/hurd/configure.in: Moved to ...
29820         * sysdeps/mach/hurd/configure.ac: ... here.
29821         * sysdeps/powerpc/configure.in: Moved to ...
29822         * sysdeps/powerpc/configure.ac: ... here.
29823         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29824         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29825         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29826         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29827         * sysdeps/s390/s390-32/configure.in: Moved to ...
29828         * sysdeps/s390/s390-32/configure.ac: ... here.
29829         * sysdeps/s390/s390-64/configure.in: Moved to ...
29830         * sysdeps/s390/s390-64/configure.ac: ... here.
29831         * sysdeps/sh/configure.in: Moved to ...
29832         * sysdeps/sh/configure.ac: ... here.
29833         * sysdeps/sparc/configure.in: Moved to ...
29834         * sysdeps/sparc/configure.ac: ... here.
29835         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29836         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29837         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29838         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29839         * sysdeps/x86_64/configure.in: Moved to ...
29840         * sysdeps/x86_64/configure.ac: ... here.
29841         * sysdeps/x86_64/preconfigure.in: Moved to ...
29842         * sysdeps/x86_64/preconfigure.ac: ... here.
29843         * aclocal.m4: Change reference to configure.in to configure.ac.
29844         * config.h.in: Likewise.
29845         * manual/install.texi: Likewise.
29846         * manual/maint.texi: Likewise.
29847         * Makefile: Likewise.
29848         * malloc/Makefile: Likewise.
29849         * nscd/Makefile: Likewise.
29850         * Makeconfig: Change reference to configure.in and
29851         preconfigure.in to configure.ac and preconfigure.ac
29852         respectively.
29853         * INSTALL: Regenerated.
29854         * configure: Likewise.
29855         * sysdeps/gnu/configure: Likewise.
29856         * sysdeps/i386/configure: Likewise.
29857         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29858         * sysdeps/mach/configure: Likewise.
29859         * sysdeps/mach/hurd/configure: Likewise.
29860         * sysdeps/powerpc/configure: Likewise.
29861         * sysdeps/powerpc/powerpc32/configure: Likewise.
29862         * sysdeps/powerpc/powerpc64/configure: Likewise.
29863         * sysdeps/s390/s390-32/configure: Likewise.
29864         * sysdeps/s390/s390-64/configure: Likewise.
29865         * sysdeps/sh/configure: Likewise.
29866         * sysdeps/sparc/configure: Likewise.
29867         * sysdeps/unix/sysv/linux/configure: Likewise.
29868         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29869         * sysdeps/x86_64/configure: Likewise.
29870         * sysdeps/x86_64/preconfigure: Likewise.
29872 2013-10-29  Andreas Schwab  <schwab@suse.de>
29874         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29876 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29878         * benchtests/pow-inputs: Add new inputs.
29880         * benchtests/exp-inputs: Add new inputs.
29882         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29883         conditional check for return value.
29884         (__cos32): Likewise.
29886 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29888         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29889         to provide a boost for large inputs with word alignment.
29890         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29891         implementation based on optimized PPC64 strcpy.
29892         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29893         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29894         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29895         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29897 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29899         [BZ #2801]
29900         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29902 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29904         [BZ #14876]
29905         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29906         * time/tst-strptime.c (day_tests): Add testcase.
29908 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29910         [BZ #14029]
29911         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29913 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29915         [BZ #16074]
29916         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29917         MAP_FAILED on error.
29919 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29921         [BZ #16072]
29922         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29923         heap for large requests.
29925 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29927         [BZ #9954]
29928         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29929         result if the result has no associated interface.
29930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29931         interface for all 127.X.Y.Z addresses.
29933 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29935         * locale/iso-639.def: Add Ligurian (lij)
29937 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29939         [BZ #15825]
29940         * sunrpc/rpc_main.c: Document rpcgen -5.
29942 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29944         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29946 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29948         [BZ #10278]
29949         * posix/glob.c: Match only directories when trailing slash is present.
29950         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29951         (main): Add testcase.
29953 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29955         [BZ #15670]
29956         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29958 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29960         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29961         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29962         AUTH_DES and cindex for FIPS 140-2.
29963         (DES Encryption): Add cindex FIPS 46-3.
29965         * locale/locarchive.h (struct locarhandle): Add fname.
29966         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29967         if an optional argument was specified to --list-archive,
29968         otherwise NULL.
29969         * locale/programs/locarchive.c (show_archive_content): Take new
29970         argument fname and pass it via ah.fname to open_archive.
29971         * locale/programs/localedef.h: Update decl.
29972         (open_archive): If AH->fname is non-null, open that file
29973         rather than the default file name, and don't ignore ENOENT.
29974         (create_archive): Set AH.fname to NULL.
29975         (delete_locales_from_archive): Likewise.
29976         (add_locales_to_archive): Likewise.
29977         * locale/programs/locfile.c (write_all_categories): Likewise.
29979 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29980             Aldy Hernandez  <aldyh@redhat.com>
29982         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29983         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29984         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29985         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29986         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29987         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29988         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29989         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29990         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29991         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29992         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29993         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29994         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29995         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29996         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29997         Likewise.
29998         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29999         Likewise.
30000         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30001         Likewise.
30002         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30003         Likewise.
30004         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30005         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30006         Likewise.
30007         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30008         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30009         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30010         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30011         Likewise.
30012         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30013         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30014         * sysdeps/powerpc/preconfigure: Likewise.
30015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30016         Likewise.
30017         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30018         Replace contents of file by #include of <fenv_libc.h>.
30019         * sysdeps/powerpc/soft-fp/sfp-machine.h
30020         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30021         and <sys/prctl.h>.
30022         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30023         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30024         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30025         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30026         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30027         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30029         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30030         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30031         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30032         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30033         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30035         Allow copysignl PLT reference to be missing.
30037 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
30038             Joseph Myers  <joseph@codesourcery.com
30040         [BZ #15948]
30041         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30042         single character.
30043         (add_to_tablewc): Assert sequence of wide characters is nonempty.
30045 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30047         * elf/tst-tls-dlinfo.c: Don't include tls.h.
30048         * elf/tst-tls1.c: Likewise.
30049         * elf/tst-tls10.h: Likewise.
30050         * elf/tst-tls14.c: Likewise.
30051         * elf/tst-tls2.c: Likewise.
30052         * elf/tst-tls3.c: Likewise.
30053         * elf/tst-tls4.c: Likewise.
30054         * elf/tst-tls5.c: Likewise.
30055         * elf/tst-tls6.c: Likewise.
30056         * elf/tst-tls7.c: Likewise.
30057         * elf/tst-tls8.c: Likewise.
30058         * elf/tst-tls9.c: Likewise.
30059         * elf/tst-tlsmod1.c: Likewise.
30060         * elf/tst-tlsmod13.c: Likewise.
30061         * elf/tst-tlsmod13a.c: Likewise.
30062         * elf/tst-tlsmod14a.c: Likewise.
30063         * elf/tst-tlsmod16a.c: Likewise.
30064         * elf/tst-tlsmod16b.c: Likewise.
30065         * elf/tst-tlsmod2.c: Likewise.
30066         * elf/tst-tlsmod3.c: Likewise.
30067         * elf/tst-tlsmod4.c: Likewise.
30068         * elf/tst-tlsmod5.c: Likewise.
30069         * elf/tst-tlsmod6.c: Likewise.
30071 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
30073         [BZ #12486]
30074         * malloc/malloc.c: remove checks for statistics.
30076 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30078         [BZ #15277]
30079         * inet/inet_net.c (inet_network): Detect additional invalid strings.
30080         * inet/tst-network.c: Add testcase.
30082 2013-10-17  Andreas Schwab  <schwab@suse.de>
30084         [BZ #15218]
30085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30086         to determine canonical name.
30088 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30090         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30091         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30092         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30093         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30095         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30096         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30097         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30098         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30099         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30100         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30101         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30102         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30103         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30104         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30105         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30107         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30108         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30109         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30110         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30111         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30112         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30113         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30114         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30115         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30116         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30117         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30118         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30119         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30120         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30121         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30122         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30123         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30124         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30125         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30126         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30127         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30128         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30129         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30130         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30131         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30132         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30133         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30134         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30135         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30136         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30137         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30138         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30139         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30140         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30141         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30142         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30143         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30144         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30145         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30146         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30147         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30149 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30151         [BZ #16041]
30152         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30153         make result into a quiet NaN.
30155 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30157         * soft-fp/adddf3.c: Fix horizontal whitespace.
30158         * soft-fp/addsf3.c: Likewise.
30159         * soft-fp/addtf3.c: Likewise.
30160         * soft-fp/divdf3.c: Likewise.
30161         * soft-fp/divsf3.c: Likewise.
30162         * soft-fp/divtf3.c: Likewise.
30163         * soft-fp/double.h: Likewise.
30164         * soft-fp/eqdf2.c: Likewise.
30165         * soft-fp/eqsf2.c: Likewise.
30166         * soft-fp/eqtf2.c: Likewise.
30167         * soft-fp/extenddftf2.c: Likewise.
30168         * soft-fp/extended.h: Likewise.
30169         * soft-fp/extendsfdf2.c: Likewise.
30170         * soft-fp/extendsftf2.c: Likewise.
30171         * soft-fp/extendxftf2.c: Likewise.
30172         * soft-fp/fixdfdi.c: Likewise.
30173         * soft-fp/fixdfsi.c: Likewise.
30174         * soft-fp/fixdfti.c: Likewise.
30175         * soft-fp/fixsfdi.c: Likewise.
30176         * soft-fp/fixsfsi.c: Likewise.
30177         * soft-fp/fixsfti.c: Likewise.
30178         * soft-fp/fixtfdi.c: Likewise.
30179         * soft-fp/fixtfsi.c: Likewise.
30180         * soft-fp/fixtfti.c: Likewise.
30181         * soft-fp/fixunsdfdi.c: Likewise.
30182         * soft-fp/fixunsdfsi.c: Likewise.
30183         * soft-fp/fixunsdfti.c: Likewise.
30184         * soft-fp/fixunssfdi.c: Likewise.
30185         * soft-fp/fixunssfsi.c: Likewise.
30186         * soft-fp/fixunssfti.c: Likewise.
30187         * soft-fp/fixunstfdi.c: Likewise.
30188         * soft-fp/fixunstfsi.c: Likewise.
30189         * soft-fp/fixunstfti.c: Likewise.
30190         * soft-fp/floatdidf.c: Likewise.
30191         * soft-fp/floatdisf.c: Likewise.
30192         * soft-fp/floatditf.c: Likewise.
30193         * soft-fp/floatsidf.c: Likewise.
30194         * soft-fp/floatsisf.c: Likewise.
30195         * soft-fp/floatsitf.c: Likewise.
30196         * soft-fp/floattidf.c: Likewise.
30197         * soft-fp/floattisf.c: Likewise.
30198         * soft-fp/floattitf.c: Likewise.
30199         * soft-fp/floatundidf.c: Likewise.
30200         * soft-fp/floatundisf.c: Likewise.
30201         * soft-fp/floatunditf.c: Likewise.
30202         * soft-fp/floatunsidf.c: Likewise.
30203         * soft-fp/floatunsisf.c: Likewise.
30204         * soft-fp/floatunsitf.c: Likewise.
30205         * soft-fp/floatuntidf.c: Likewise.
30206         * soft-fp/floatuntisf.c: Likewise.
30207         * soft-fp/floatuntitf.c: Likewise.
30208         * soft-fp/fmadf4.c: Likewise.
30209         * soft-fp/fmasf4.c: Likewise.
30210         * soft-fp/fmatf4.c: Likewise.
30211         * soft-fp/gedf2.c: Likewise.
30212         * soft-fp/gesf2.c: Likewise.
30213         * soft-fp/getf2.c: Likewise.
30214         * soft-fp/ledf2.c: Likewise.
30215         * soft-fp/lesf2.c: Likewise.
30216         * soft-fp/letf2.c: Likewise.
30217         * soft-fp/muldf3.c: Likewise.
30218         * soft-fp/mulsf3.c: Likewise.
30219         * soft-fp/multf3.c: Likewise.
30220         * soft-fp/negdf2.c: Likewise.
30221         * soft-fp/negsf2.c: Likewise.
30222         * soft-fp/negtf2.c: Likewise.
30223         * soft-fp/op-1.h: Likewise.
30224         * soft-fp/op-2.h: Likewise.
30225         * soft-fp/op-4.h: Likewise.
30226         * soft-fp/op-8.h: Likewise.
30227         * soft-fp/op-common.h: Likewise.
30228         * soft-fp/quad.h: Likewise.
30229         * soft-fp/single.h: Likewise.
30230         * soft-fp/soft-fp.h: Likewise.
30231         * soft-fp/sqrtdf2.c: Likewise.
30232         * soft-fp/sqrtsf2.c: Likewise.
30233         * soft-fp/sqrttf2.c: Likewise.
30234         * soft-fp/subdf3.c: Likewise.
30235         * soft-fp/subsf3.c: Likewise.
30236         * soft-fp/subtf3.c: Likewise.
30237         * soft-fp/truncdfsf2.c: Likewise.
30238         * soft-fp/trunctfdf2.c: Likewise.
30239         * soft-fp/trunctfsf2.c: Likewise.
30240         * soft-fp/trunctfxf2.c: Likewise.
30241         * soft-fp/unorddf2.c: Likewise.
30242         * soft-fp/unordsf2.c: Likewise.
30243         * soft-fp/unordtf2.c: Likewise.
30245 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30247         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30248         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30250 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30252         * elf/dl-libc.c: Clear initfini list after freeing.
30254 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30256         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30257         * soft-fp/addsf3.c: Likewise.
30258         * soft-fp/addtf3.c: Likewise.
30259         * soft-fp/divdf3.c: Likewise.
30260         * soft-fp/divsf3.c: Likewise.
30261         * soft-fp/divtf3.c: Likewise.
30262         * soft-fp/double.h: Likewise.
30263         * soft-fp/eqdf2.c: Likewise.
30264         * soft-fp/eqsf2.c: Likewise.
30265         * soft-fp/eqtf2.c: Likewise.
30266         * soft-fp/extenddftf2.c: Likewise.
30267         * soft-fp/extended.h: Likewise.
30268         * soft-fp/extendsfdf2.c: Likewise.
30269         * soft-fp/extendsftf2.c: Likewise.
30270         * soft-fp/extendxftf2.c: Likewise.
30271         * soft-fp/fixdfdi.c: Likewise.
30272         * soft-fp/fixdfsi.c: Likewise.
30273         * soft-fp/fixdfti.c: Likewise.
30274         * soft-fp/fixsfdi.c: Likewise.
30275         * soft-fp/fixsfsi.c: Likewise.
30276         * soft-fp/fixsfti.c: Likewise.
30277         * soft-fp/fixtfdi.c: Likewise.
30278         * soft-fp/fixtfsi.c: Likewise.
30279         * soft-fp/fixtfti.c: Likewise.
30280         * soft-fp/fixunsdfdi.c: Likewise.
30281         * soft-fp/fixunsdfsi.c: Likewise.
30282         * soft-fp/fixunsdfti.c: Likewise.
30283         * soft-fp/fixunssfdi.c: Likewise.
30284         * soft-fp/fixunssfsi.c: Likewise.
30285         * soft-fp/fixunssfti.c: Likewise.
30286         * soft-fp/fixunstfdi.c: Likewise.
30287         * soft-fp/fixunstfsi.c: Likewise.
30288         * soft-fp/fixunstfti.c: Likewise.
30289         * soft-fp/floatdidf.c: Likewise.
30290         * soft-fp/floatdisf.c: Likewise.
30291         * soft-fp/floatditf.c: Likewise.
30292         * soft-fp/floatsidf.c: Likewise.
30293         * soft-fp/floatsisf.c: Likewise.
30294         * soft-fp/floatsitf.c: Likewise.
30295         * soft-fp/floattidf.c: Likewise.
30296         * soft-fp/floattisf.c: Likewise.
30297         * soft-fp/floattitf.c: Likewise.
30298         * soft-fp/floatundidf.c: Likewise.
30299         * soft-fp/floatundisf.c: Likewise.
30300         * soft-fp/floatunsidf.c: Likewise.
30301         * soft-fp/floatunsisf.c: Likewise.
30302         * soft-fp/floatuntidf.c: Likewise.
30303         * soft-fp/floatuntisf.c: Likewise.
30304         * soft-fp/floatuntitf.c: Likewise.
30305         * soft-fp/fmadf4.c: Likewise.
30306         * soft-fp/fmasf4.c: Likewise.
30307         * soft-fp/fmatf4.c: Likewise.
30308         * soft-fp/gedf2.c: Likewise.
30309         * soft-fp/gesf2.c: Likewise.
30310         * soft-fp/getf2.c: Likewise.
30311         * soft-fp/ledf2.c: Likewise.
30312         * soft-fp/lesf2.c: Likewise.
30313         * soft-fp/letf2.c: Likewise.
30314         * soft-fp/muldf3.c: Likewise.
30315         * soft-fp/mulsf3.c: Likewise.
30316         * soft-fp/multf3.c: Likewise.
30317         * soft-fp/negdf2.c: Likewise.
30318         * soft-fp/negsf2.c: Likewise.
30319         * soft-fp/negtf2.c: Likewise.
30320         * soft-fp/op-1.h: Likewise.
30321         * soft-fp/op-2.h: Likewise.
30322         * soft-fp/op-4.h: Likewise.
30323         * soft-fp/op-8.h: Likewise.
30324         * soft-fp/op-common.h: Likewise.
30325         * soft-fp/quad.h: Likewise.
30326         * soft-fp/single.h: Likewise.
30327         * soft-fp/soft-fp.h: Likewise.
30328         * soft-fp/sqrtdf2.c: Likewise.
30329         * soft-fp/sqrtsf2.c: Likewise.
30330         * soft-fp/sqrttf2.c: Likewise.
30331         * soft-fp/subdf3.c: Likewise.
30332         * soft-fp/subsf3.c: Likewise.
30333         * soft-fp/subtf3.c: Likewise.
30334         * soft-fp/truncdfsf2.c: Likewise.
30335         * soft-fp/trunctfdf2.c: Likewise.
30336         * soft-fp/trunctfsf2.c: Likewise.
30337         * soft-fp/trunctfxf2.c: Likewise.
30338         * soft-fp/unorddf2.c: Likewise.
30339         * soft-fp/unordsf2.c: Likewise.
30340         * soft-fp/unordtf2.c: Likewise.
30342 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30344         [BZ #15672]
30345         * misc/error.c (error_tail): Fix possible buffer overflow.
30347 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30349         [BZ #13028]
30350         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30351         address.
30353 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30355         [BZ #832]
30356         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30357         testing pipefail option.
30359 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30361         * soft-fp/double.h: Indent preprocessor directives inside #if.
30362         * soft-fp/extended.h: Likewise.
30363         * soft-fp/op-2.h: Likewise.
30364         * soft-fp/op-4.h: Likewise.
30365         * soft-fp/op-common.h: Likewise.
30366         * soft-fp/quad.h: Likewise.
30367         * soft-fp/single.h: Likewise.
30368         * soft-fp/soft-fp.h: Likewise.
30370 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30372         * iconv/iconv_prog.c: Fix typos.
30373         * stdio-common/psiginfo-data.h: Likewise.
30375 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30377         [BZ #15764]
30378         * locale/setlocale.c: Fix typo.
30380 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30382         [BZ #16036]
30383         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30384         signaling NaN arguments.
30385         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30386         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30388         [BZ #14910]
30389         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30390         unordered operands.
30391         * soft-fp/gesf2.c (__gesf2): Likewise.
30392         * soft-fp/getf2.c (__getf2): Likewise.
30393         * soft-fp/ledf2.c (__ledf2): Likewise.
30394         * soft-fp/lesf2.c (__lesf2): Likewise.
30395         * soft-fp/letf2.c (__letf2): Likewise.
30397         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30398         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30399         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30400         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30401         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30402         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30403         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30404         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30405         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30406         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30407         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30408         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30409         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30410         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30411         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30412         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30413         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30414         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30415         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30416         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30417         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30418         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30419         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30420         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30421         * soft-fp/floattidf.c (__floattidf): Likewise.
30422         * soft-fp/floattisf.c (__floattisf): Likewise.
30423         * soft-fp/floattitf.c (__floattitf): Likewise.
30424         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30425         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30426         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30427         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30428         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30429         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30430         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30431         * soft-fp/gesf2.c (__gesf2): Likewise.
30432         * soft-fp/getf2.c (__getf2): Likewise.
30433         * soft-fp/ledf2.c (__ledf2): Likewise.
30434         * soft-fp/lesf2.c (__lesf2): Likewise.
30435         * soft-fp/letf2.c (__letf2): Likewise.
30437         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30438         Undefine and redefine.
30439         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30440         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30441         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30442         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30443         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30444         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30445         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30446         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30447         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30448         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30449         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30450         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30451         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30452         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30453         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30455         [BZ #16032]
30456         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30457         without decrementing exponent if mantissa >= that for the
30458         denominator, not >.
30459         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30460         denominator, not >.  Decrement exponent in < case instead of
30461         incrementing in >= case.
30462         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30463         without decrementing exponent if mantissa >= that for the
30464         denominator, not >.
30466         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30467         computing saturated result for unsigned overflow.
30469 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30470             Jeff Law  <law@redhat.com>
30472         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30473         (atan2Mp): Add systemtap probe marker.
30474         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30475         (__ieee754_log): Add systemtap probe marker.
30476         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30477         (atanMp): Add systemtap probe marker.
30478         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30479         (tanMp): Add systemtap probe marker.
30480         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30481         (__slowexp): Add systemtap probe marker.
30482         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30483         (__slowpow): Add systemtap probe marker.
30484         * manual/probes.texi: Document probes.
30486 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30488         [BZ #15362]
30489         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30490         written.
30491         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30492         written.
30493         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30494         written to buffer but not flushed.
30495         * libio/iofwrite_u.c:  Likewise.
30496         * libio/iopadn.c:  Return bytes returned even if EOF was
30497         encountered.
30498         * libio/iowpadn.c:  Likewise.
30499         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30500         if _IO_padn does not write the whole buffer.
30501         [!COMPILE_WPRINTF] (PAD): Likewise.
30503 2013-10-10  David S. Miller  <davem@davemloft.net>
30505         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30506         directory block.
30508 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30510         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30511         instead of FSF address.
30512         * soft-fp/fixdfti.c: Likewise.
30513         * soft-fp/fixsfti.c: Likewise.
30514         * soft-fp/fixtfti.c: Likewise.
30515         * soft-fp/fixunsdfti.c: Likewise.
30516         * soft-fp/fixunssfti.c: Likewise.
30517         * soft-fp/fixunstfti.c: Likewise.
30518         * soft-fp/floattidf.c: Likewise.
30519         * soft-fp/floattisf.c: Likewise.
30520         * soft-fp/floattitf.c: Likewise.
30521         * soft-fp/floatuntidf.c: Likewise.
30522         * soft-fp/floatuntisf.c: Likewise.
30523         * soft-fp/floatuntitf.c: Likewise.
30524         * soft-fp/trunctfxf2.c: Likewise.
30526         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30527         * soft-fp/fixdfti.c: Likewise.
30528         * soft-fp/fixsfti.c: Likewise.
30529         * soft-fp/fixtfti.c: Likewise.
30530         * soft-fp/fixunsdfti.c: Likewise.
30531         * soft-fp/fixunssfti.c: Likewise.
30532         * soft-fp/fixunstfti.c: Likewise.
30533         * soft-fp/floattidf.c: Likewise.
30534         * soft-fp/floattisf.c: Likewise.
30535         * soft-fp/floattitf.c: Likewise.
30536         * soft-fp/floatuntidf.c: Likewise.
30537         * soft-fp/floatuntisf.c: Likewise.
30538         * soft-fp/floatuntitf.c: Likewise.
30539         * soft-fp/trunctfxf2.c: Likewise.
30541 2013-10-10  David S. Miller  <davem@davemloft.net>
30543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30545 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30547         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30548         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30549         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30550         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30551         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30552         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30553         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30555         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30556         for NaNs before doing comparisons on argument.
30557         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30558         Likewise.
30560 2013-10-10  Will Newton  <will.newton@linaro.org>
30562         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30563         passed to _int_memalign does not overflow.
30565 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30567         * scripts/bench.pl: Add include-sources directive.
30568         * benchtests/README: Update documentation.
30570 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30572         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30573         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30574         instead of FP_INIT_ROUNDMODE.
30575         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30576         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30578         [BZ #16034]
30579         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30580         copy class of input value.
30581         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30582         not handle exceptions.
30583         * soft-fp/negsf2.c (__negsf2): Likewise.
30584         * soft-fp/negtf2.c (__negtf2): Likewise.
30585         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30587 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30589         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30590         semicolon.  From Linux kernel.
30592 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30594         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30596 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30598         [BZ #156]
30599         * manual/socket.texi: Added statement about buffer
30600         for gethostbyname2_r.
30602 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30604         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30605         Use .p2align directive instead, throughout.
30606         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30607         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30608         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30609         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30611         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30612         * sysdeps/x86_64/strchr.S: Likewise.
30613         * sysdeps/x86_64/strrchr.S: Likewise.
30615 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30617         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30619         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30621         * sysdeps/generic/math_private.h (__mpsin1): Remove
30622         declaration.
30623         (__mpcos1): Likewise.
30624         (__mpsin): New argument __range_reduce.
30625         (__mpcos): Likewise.
30626         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30627         (slow): Use __mpsin and __mpcos.
30628         (slow1): Likewise.
30629         (slow2): Likewise.
30630         (sloww): Likewise.
30631         (sloww1): Likewise.
30632         (sloww2): Likewise.
30633         (bsloww): Likewise.
30634         (bsloww1): Likewise.
30635         (bsloww2): Likewise.
30636         (cslow2): Likewise.
30637         (csloww): Likewise.
30638         (csloww1): Likewise.
30639         (csloww2): Likewise.
30640         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30641         range_reduce.  Merge in __mpsin1.
30642         (__mpcos): Likewise.
30643         (__mpsin1): Remove.
30644         (__mpcos1): Likewise.
30646 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30648         * locale/loadlocale.c (_nl_intern_locale_data): Use
30649         LOCFILE_ALIGNED_P.
30650         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30651         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30652         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30653         obstack data is appropriately aligned.
30654         (obstack_int32_grow_fast): Likewise.
30655         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30656         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30657         (add_locale_uint32_array): Likewise.
30659 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30661         * benchtests/Makefile: Remove ARGLIST and RET variables.
30662         ($(objpfx)bench-%.c): Pass only function name to the script.
30663         * benchtests/README: Update documentation.
30664         * benchtests/acos-inputs: Add new directives.
30665         * benchtests/acosh-inputs: Likewise.
30666         * benchtests/asin-inputs: Likewise.
30667         * benchtests/asinh-inputs: Likewise.
30668         * benchtests/atan-inputs: Likewise.
30669         * benchtests/atanh-inputs: Likewise.
30670         * benchtests/cos-inputs: Likewise.
30671         * benchtests/cosh-inputs: Likewise.
30672         * benchtests/exp-inputs: Likewise.
30673         * benchtests/log-inputs: Likewise.
30674         * benchtests/pow-inputs: Likewise.
30675         * benchtests/rint-inputs: Likewise.
30676         * benchtests/sin-inputs: Likewise.
30677         * benchtests/sinh-inputs: Likewise.
30678         * benchtests/tan-inputs: Likewise.
30679         * benchtests/tanh-inputs: Likewise.
30680         * scripts/bench.pl: Add support for new directives.
30682 2013-10-07  Alan Modra  <amodra@gmail.com>
30684         * README: Fix careless merge.
30686 2013-10-05  Alan Modra  <amodra@gmail.com>
30688         * NEWS: Mention powerpc64le support and bugs fixed.
30689         * README: Both big-endian and little-endian powerpc64 supported.
30691 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30693         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30694         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30695         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30696         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30698 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30700         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30701         match prototype.
30703 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30705         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30706         Move -mhard-float appending from
30707         ports/sysdeps/powerpc/powerpc32/Makefile.
30708         [$(with-fp) = yes] (ASFLAGS): Likewise.
30709         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30710         * sysdeps/powerpc/nofpu: Move directory from
30711         ports/sysdeps/powerpc/nofpu.
30712         * sysdeps/powerpc/soft-fp: Move directory from
30713         ports/sysdeps/powerpc/soft-fp.
30714         * sysdeps/powerpc/powerpc32/405: Move directory from
30715         ports/sysdeps/powerpc/powerpc32/405.
30716         * sysdeps/powerpc/powerpc32/440: Move directory from
30717         ports/sysdeps/powerpc/powerpc32/440.
30718         * sysdeps/powerpc/powerpc32/464: Move directory from
30719         ports/sysdeps/powerpc/powerpc32/464.
30720         * sysdeps/powerpc/powerpc32/476: Move directory from
30721         ports/sysdeps/powerpc/powerpc32/476.
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30723         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30725         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30727         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30729         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30731         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30732         * README: Update for powerpc-*-linux-gnu software floating point
30733         support in libc.
30735         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30736         case to powerpc/powerpc32*.
30737         * sysdeps/unix/sysv/linux/configure: Regenerated.
30739         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30740         (_FPU_MASK_OM): Define as 0x04.
30741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30743         0x00c10080.
30744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30745         0x0000003c.
30746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30749         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30750         getcontext_e500.
30751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30752         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30753         setcontext_e500.
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30755         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30756         and setcontext_e500.
30758 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30760         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30762 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30764         * manual/threads.texi (Default Thread Attributes): Fix typo.
30766 2013-10-04  Will Newton  <will.newton@linaro.org>
30768         * malloc/Makefile: Add tst-memalign.
30769         * malloc/tst-memalign.c: New file.
30771         * malloc/tst-posix_memalign.c: Add comments.
30772         (do_test): Add comments and call free on all potentially
30773         allocated pointers. Add space after cast.
30775         * malloc/tst-pvalloc.c: Add comments.
30776         (do_test): Add comments and call free on all potentially
30777         allocated pointers. Remove duplicate check for NULL pointer.
30778         Add space after cast.
30780         * malloc/tst-valloc.c: Add comments.
30781         (do_test): Add comments and call free on all potentially
30782         allocated pointers. Remove duplicate check for NULL pointer.
30783         Add space after cast.
30785 2013-10-04  Alan Modra  <amodra@gmail.com>
30787         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30788         Use stdint types in rather than __attribute__((mode())).
30789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30791 2013-10-04  Alan Modra  <amodra@gmail.com>
30793         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30794         Correct handling of unaligned relocs for little-endian.
30795         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30797 2013-10-04  Alan Modra  <amodra@gmail.com>
30799         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30800         * configure: Regenerate.
30801         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30802         * shlib-versions: Likewise.
30804 2013-10-04  Alan Modra  <amodra@gmail.com>
30806         * string/tester.c (test_memrchr): Increment reported test cycle.
30808 2013-10-04  Alan Modra  <amodra@gmail.com>
30810         * string/test-memcpy.c (do_one_test): When reporting errors, print
30811         string address and don't overrun end of string.
30813 2013-10-04  Alan Modra  <amodra@gmail.com>
30815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30816         insrdi.  Make better use of reg selection to speed exit slightly.
30817         Schedule entry path a little better.  Remove useless "are we done"
30818         checks on entry to main loop.  Handle wrapping around zero address.
30819         Correct main loop count.  Handle single left-over word from main
30820         loop inline rather than by using loop_small.  Remove extra word
30821         case in loop_small caused by wrong loop count.  Add little-endian
30822         support.
30823         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30825         cache hint.
30826         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30827         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30828         support.  Avoid rlwimi.
30829         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30831 2013-10-04  Alan Modra  <amodra@gmail.com>
30833         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30834         insrdi.  Formatting.
30835         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30836         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30837         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30838         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30839         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30840         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30842 2013-10-04  Alan Modra  <amodra@gmail.com>
30844         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30845         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30846         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30847         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30848         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30849         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30850         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30851         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30852         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30853         use of regs.  Use power7 mtocrf.  Tidy function tails.
30855 2013-10-04  Alan Modra  <amodra@gmail.com>
30857         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30858         Formatting.  Consistently use rXXX register defines or rN defines.
30859         Use early exit labels that avoid restoring unused non-volatile regs.
30860         Make cr field use more consistent with rWORDn compares.  Rename
30861         regs used as shift registers for unaligned loop, using rN defines
30862         for short lifetime/multiple use regs.
30863         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30864         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30865         addi 1,1,64 to pop stack frame.  Simplify return value code.
30866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30868 2013-10-04  Alan Modra  <amodra@gmail.com>
30870         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30871         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30872         rather than rlwimi.
30873         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30874         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30875         little-endian support.  Correct typos.
30876         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30877         rather than rlwimi.
30878         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30879         in loop and entry code to keep "and." results.
30880         (strchr): Add little-endian support.  Comment.  Move cntlzd
30881         earlier in tail.
30882         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30884 2013-10-04  Alan Modra  <amodra@gmail.com>
30886         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30887         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30888         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30889         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30891 2013-10-04  Alan Modra  <amodra@gmail.com>
30893         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30894         (rTMP): Define as r11.
30895         (strcmp): Add little-endian support.  Optimise tail.
30896         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30897         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30898         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30899         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30900         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30901         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30902         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30904 2013-10-04  Alan Modra  <amodra@gmail.com>
30906         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30907         little-endian support.  Remove unnecessary "are we done" tests.
30908         Handle "s" wrapping around zero and extremely large "size".
30909         Correct main loop count.  Handle single left-over word from main
30910         loop inline rather than by using small_loop.  Correct comments.
30911         Delete "zero" tail, use "end_max" instead.
30912         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30914 2013-10-04  Alan Modra  <amodra@gmail.com>
30916         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30917         support.  Don't branch over align.
30918         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30919         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30920         support.  Rearrange tmp reg use to suit.  Comment.
30921         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30923 2013-10-04  Alan Modra  <amodra@gmail.com>
30925         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30927 2013-10-04  Alan Modra  <amodra@gmail.com>
30929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30930         conditional form of branch and link when obtaining pc.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30933 2013-10-04  Alan Modra  <amodra@gmail.com>
30935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30936         HIWORD/LOWORD.
30937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30940 2013-10-04  Alan Modra  <amodra@gmail.com>
30942         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30943         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30944         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30945         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30946         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30947         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30948         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30949         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30950         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30951         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30953 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30954             Alistair Popple <alistair@ozlabs.au.ibm.com>
30955             Alan Modra <amodra@gmail.com>
30957         [BZ #15723]
30958         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30959         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30960         _dl_hwcap access for little-endian.
30961         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30962         destroy vmx regs when saving unaligned.
30963         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30964         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30965         destroy vmx regs when saving unaligned.
30967 2013-10-04  Alan Modra  <amodra@gmail.com>
30969         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30970         Don't use a union to pack hi/low value.
30972 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30974         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30975         for little-endian.
30976         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30977         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30978         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30979         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30980         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30982 2013-10-04  Alan Modra  <amodra@gmail.com>
30984         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30985         constants to usual value for .cst8 section, and remove redundant
30986         high address load.
30987         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30988         constant for 0x1p52.  Load little-endian words of double from
30989         correct stack offsets.
30991 2013-10-04  Alan Modra  <amodra@gmail.com>
30993         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30994         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30995         words of double from correct stack offsets.
30996         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30997         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30998         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30999         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31000         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31001         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31002         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31003         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31004         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31005         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31006         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31007         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31008         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31009         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31010         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31011         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31012         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31014 2013-10-04  Alan Modra  <amodra@gmail.com>
31016         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31017         64-bit int/double union.
31018         (_FPU_SETCW): Likewise.
31019         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31020         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31022 2013-10-04  Alan Modra  <amodra@gmail.com>
31024         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31025         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31027 2013-10-04  Alan Modra  <amodra@gmail.com>
31029         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31030         use vector int constants.
31031         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31033 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31035         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31036         array with long long.
31037         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31038         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31039         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31040         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31041         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31042         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31043         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31044         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31045         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31046         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31047         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31048         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31049         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31051 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31053         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31054         (__signbit): Likewise.  Correct for little-endian.
31055         (__signbitl): Call __signbit.
31056         (lrint): Correct for little-endian.
31057         (lrintf): Call lrint.
31059 2013-10-04  Alan Modra  <amodra@gmail.com>
31061         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31062         union 32-bit int array member with 64-bit int array.
31063         (t515, tm256): Double rather than long double.
31064         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31066 2013-10-04  Alan Modra  <amodra@gmail.com>
31068         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31069         Delete.
31070         (IEEE854_LONG_DOUBLE_BIAS): Delete.
31071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31072         version of math_ldbl.h.
31074 2013-10-04  Alan Modra  <amodra@gmail.com>
31076         [BZ #15734], [BZ #15735]
31077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31078         all uses of ieee875 long double macros and unions.  Simplify test
31079         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
31080         ldbl_extract_mantissa value for ix,iy exponents.  Properly
31081         normalize after ldbl_extract_mantissa, and don't add hidden bit
31082         already handled.  Don't treat low word of ieee854 mantissa like
31083         low word of IBM long double and mask off bit when testing for
31084         zero.
31085         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31086         all uses of ieee875 long double macros and unions.  Simplify tests
31087         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
31088         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
31089         two1022, instead use their values.  Recognise that tests for large
31090         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
31091         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31092         Rewrite all uses of ieee875 long double macros and unions.  Simplify
31093         test for 0.0L and nan.  Correct negation.
31094         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31095         ieee875 long double macros and unions.  Correct output for large
31096         magnitude x.  Correct absolute value calculation.
31097         (__erfcl): Likewise.
31098         * math/libm-test.inc: Add tests for errors discovered in IBM long
31099         double versions of fmodl, remainderl, erfl and erfcl.
31101 2013-10-04  Alan Modra  <amodra@gmail.com>
31103         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31104         all uses of ieee854 long double macros and unions.  Simplify tests
31105         for long doubles that are fully specified by the high double.
31106         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31107         Likewise.
31108         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31109         Remove dead code too.
31110         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31111         (__ieee754_ynl): Likewise.
31112         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31113         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31115         Remove dead code too.
31116         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31117         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31119         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31120         Simplify.
31121         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31122         Simplify.
31123         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31125         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31126         Comment on variable precision.
31127         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31128         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31129         Likewise.
31130         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31131         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31132         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31133         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31134         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31136 2013-10-04  Alan Modra  <amodra@gmail.com>
31138         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31139         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31140         all uses of ieee854 long double macros and unions.
31141         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31143         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31144         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31145         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31146         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31147         Likewise.
31148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31149         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31150         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31151         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31152         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31153         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31154         Simplify sign and nan test too.
31155         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31156         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31157         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31158         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31159         Likewise.
31160         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31161         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31162         Likewise.
31163         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31164         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31165         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31166         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31167         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31168         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31170 2013-10-04  Alan Modra  <amodra@gmail.com>
31172         * stdio-common/printf_size.c (__printf_size): Don't use
31173         union ieee854_long_double in fpnum union.
31174         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31175         signbit macro to retrieve sign from long double.
31176         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31177         retrieve sign from long double.
31178         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31179         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31180         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31181         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31182         * math/test-misc.c (main): Don't use union ieee854_long_double.
31184 2013-10-04  Alan Modra  <amodra@gmail.com>
31186         [BZ #15680]
31187         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31188         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31189         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31190         calculation.  Remove unnecessary test for denormal exponent.
31191         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31192         Correct handling of denormals.  Avoid undefined shift behaviour.
31193         Correct normalisation of low mantissa when low double is denormal.
31194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31195         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31196         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31197         Correct normalisation of low mantissa.  Test for overflow of high
31198         mantissa and normalise.
31199         (ldbl_nearbyint): Use more readable constant for two52.
31200         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31201         (__mpn_construct_long_double): Fix test for overflow of high
31202         mantissa and correct normalisation.  Avoid undefined shift.
31204 2013-10-04  Alan Modra  <amodra@gmail.com>
31206         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31207         (union ibm_extended_long_double): Define as an array of ieee754_double.
31208         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31209         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31210         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31211         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31212         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31215         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31216         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31217         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31218         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31220 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31222         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31223         page size instead of calling getpagesize.
31225         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31226         (LOCFILE_ALIGN_MASK): Likewise.
31227         (LOCFILE_ALIGN_UP): Likewise.
31228         (LOCFILE_ALIGNED_P): Likewise.
31229         * locale/programs/ld-collate.c (collate_output): Use the new
31230         macros instead of __alignof__ (int32_t).
31231         * locale/weight.h (findidx): Likewise.
31233 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31235         [BZ #431]
31236         * manual/string.texi: Fix strncat and wcsncat.
31238 2013-10-03  Brooks Moses  <bmoses@google.com>
31240         [BZ #15915]
31241         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31242         * Makerules: ...here, and adjust associated comments.
31244 2013-10-02  Will Newton  <will.newton@linaro.org>
31246         * malloc/Makefile: Add tst-pvalloc.
31247         * malloc/tst-pvalloc.c: New file.
31249 2013-10-02  Will Newton  <will.newton@linaro.org>
31251         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31252         improve test coverage.
31254 2013-10-02  Will Newton  <will.newton@linaro.org>
31256         * malloc/Makefile: Add tst-posix_memalign.
31257         * malloc/tst-posix_memalign.c: New file.
31259 2013-10-01  Eric Blake  <eblake@redhat.com>
31261         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31262         Use __THROWNL rather than __THROW on static functions.
31264 2013-09-30  Petr Machata  <pmachata@redhat.com>
31266         * elf/elf.h (R_AARCH64_ABS16): New macro.
31267         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31268         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31269         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31270         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31271         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31272         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31273         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31274         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31275         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31276         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31277         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31278         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31279         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31280         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31281         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31282         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31283         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31284         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31285         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31286         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31287         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31288         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31289         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31290         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31291         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31292         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31293         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31294         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31295         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31296         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31297         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31298         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31299         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31300         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31301         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31302         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31303         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31304         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31305         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31306         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31307         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31308         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31309         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31310         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31311         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31312         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31313         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31314         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31315         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31316         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31317         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31318         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31319         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31320         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31321         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31322         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31323         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31324         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31325         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31326         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31327         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31328         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31329         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31330         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31331         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31332         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31333         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31334         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31335         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31336         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31337         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31338         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31339         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31340         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31341         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31342         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31343         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31344         (R_AARCH64_TLSDESC_LDR): Likewise.
31345         (R_AARCH64_TLSDESC_ADD): Likewise.
31346         (R_AARCH64_TLSDESC_CALL): Likewise.
31348 2013-09-30  Andreas Schwab  <schwab@suse.de>
31350         [BZ #15048]
31351         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31352         the nss database lookup.
31353         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31356 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31358         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31360 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31362         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31363         ${Bash-specific parameter/pattern/string} parameter expansion.
31364         * sysdeps/unix/make-syscalls.sh: Likewise.
31366 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31368         * sysdeps/sh/stackguard-macros.h: New file.
31370 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31374         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31375         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31376         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31377         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31379 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31381         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31382         Fix thread ID register.
31384 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31386         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31387         [POSIX || UNIX98]: Require rather than permitting all symbols from
31388         <time.h>.
31389         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31390         element of struct sched_param.
31391         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31392         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31393         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31394         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31395         constant.
31397 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31399         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31400         argument calculation.
31402 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31404         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31405         Expect macro.
31406         [POSIX] (pthread_attr_t): Do not require type.
31407         [POSIX] (pthread_cond_t): Likewise.
31408         [POSIX] (pthread_condattr_t): Likewise.
31409         [POSIX] (pthread_key_t): Likewise.
31410         [POSIX] (pthread_mutex_t): Likewise.
31411         [POSIX] (pthread_mutexattr_t): Likewise.
31412         [POSIX] (pthread_once_t): Likewise.
31413         [POSIX] (pthread_t): Likewise.
31414         [POSIX-based standards] (pthread_atfork): Expect function.
31416 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31417             Richard Sandiford  <richard@codesourcery.com>
31419         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31420         (swap_endianness_p): New extern variable.
31421         (set_big_endian): New inline function.
31422         (maybe_swap_uint32): Likewise.
31423         (maybe_swap_uint32_array): Likewise.
31424         (maybe_swap_uint32_obstack): Likewise.
31425         * locale/programs/locfile.c: Include <stdbool.h>.
31426         (swap_endianness_p): New variable.
31427         (add_locale_uint32): Call maybe_swap_uint32.
31428         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31429         (write_locale_data): Call maybe_swap_uint32_array.
31430         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31431         maybe_swap_uint32.
31432         (obstack_int32_grow_fast): Likewise.
31433         (output_weightwc): Call maybe_swap_uint32_obstack.
31434         (collate_output): Likewise.
31435         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31436         (OPT_LITTLE_ENDIAN): Likewise.
31437         (options): Add --little-endian and --big-endian options.
31438         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31439         * locale/programs/locarchive.c: Include "locfile.h".
31440         (GET): New macro.
31441         (SET): Likewise.
31442         (INC): Likewise.
31443         (create_archive): Use the new macros to access fields of
31444         structures directly mapped from or written to locale archives.
31445         (oldlocrecentcmp): Likewise.
31446         (enlarge_archive): Likewise.
31447         (insert_name): Likewise.
31448         (add_alias): Likewise.
31449         (add_locale): Likewise.
31450         (delete_locales_from_archive): Likewise.
31451         (show_archive_content): Likewise.
31452         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31453         locale data.
31455 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31457         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31458         http://www.gnu.org/doc/freemanuals.texi.
31459         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31461 2013-09-24  Will Newton  <will.newton@linaro.org>
31463         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31464         macro.
31466 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31468         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31469         unsigned char.
31471 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31473         * manual/threads.texi (POSIX Threads): Fix a typo.
31475 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31477         [BZ #14547]
31478         * string/tst-strcoll-overflow.c: New test case.
31479         * string/Makefile (xtests): Add tst-strcoll-overflow.
31480         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31481         cache if string sizes may cause integer overflow.
31483         [BZ #14547]
31484         * string/strcoll_l.c (coll_seq): New members rule, idx,
31485         save_idx and back_us.
31486         (get_next_seq_nocache): New function.
31487         (do_compare_nocache): New function.
31488         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31489         when malloc fails.
31491 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31493         [BZ #15754]
31494         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31495         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31496         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31498         [BZ #15754]
31499         * elf/Makefile (tests): Add tst-ptrguard1.
31500         (tests-static): Add tst-ptrguard1-static.
31501         (tst-ptrguard1-ARGS): Define.
31502         (tst-ptrguard1-static-ARGS): Define.
31503         * elf/tst-ptrguard1.c: New file.
31504         * elf/tst-ptrguard1-static.c: New file.
31505         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31506         * sysdeps/i386/stackguard-macros.h: Likewise.
31507         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31508         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31509         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31510         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31511         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31512         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31514 2013-09-23  Hector Marco  <hecmargi@upv.es>
31515             Ismael Ripoll  <iripoll@disca.upv.es>
31516             Carlos O'Donell  <carlos@redhat.com>
31518         [BZ #15754]
31519         * sysdeps/generic/stackguard-macros.h: Define
31520         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31521         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31522         Define __pointer_chk_guard_local.
31523         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31524         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31526 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31528         [BZ #15859]
31529         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31531 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31533         * include/string.h (__ffs): Declare as hidden.
31534         * string/ffs.c (__ffs): Define as hidden.
31535         * sysdeps/i386/ffs.c (__ffs): Likewise.
31536         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31537         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31538         * sysdeps/s390/ffs.c (__ffs): Likewise.
31539         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31541 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31543         * NEWS: Mention malloc probes.
31545         * malloc/arena.c (new_heap): New memory_heap_new probe.
31546         (grow_heap): New memory_heap_more probe.
31547         (shrink_heap): New memory_heap_less probe.
31548         (heap_trim): New memory_heap_free probe.
31549         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31550         (systrim): New memory_sbrk_less probe.
31551         * manual/probes.texi: Document them.
31553         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31554         * manual/probes.texi: Document it.
31556         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31557         (__libc_realloc): Add memory_realloc_retry probe.
31558         (__libc_memalign): Add memory_memalign_retry probe.
31559         (__libc_valloc): Add memory_valloc_retry probe.
31560         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31561         (__libc_calloc): Add memory_calloc_retry probe.
31562         * manual/probes.texi: Document them.
31564         * malloc/arena.c (get_free_list): Add probe
31565         memory_arena_reuse_free_list.
31566         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31567         and memory_arena_reuse.
31568         (arena_get2) [!PER_THREAD]: Likewise.
31569         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31570         memory_arena_reuse_realloc.
31571         * manual/probes.texi: Document them.
31573         * malloc/malloc.c (__libc_free): Add
31574         memory_mallopt_free_dyn_thresholds probe.
31575         (__libc_mallopt): Add multiple memory_mallopt probes.
31576         * manual/probes.texi: Document them.
31578         * malloc/malloc.c: Include stap-probe.h.
31579         (__libc_mallopt): Add memory_mallopt probe.
31580         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31581         * manual/probes.texi: New.
31582         * manual/Makefile (chapters): Add probes.
31583         * manual/threads.texi: Set next node.
31585 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31587         [BZ #15963, #13985]
31588         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31589         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31590         Add `Chinese' to `nan' entry name.
31592 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31594         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31595         (POLYNOMIAL): Likewise.
31596         (TAYLOR_SINCOS): Likewise.
31597         (TAYLOR_SLOW): Likewise.
31598         (__sin): Use TAYLOR_SINCOS.
31599         (__cos): Likewise.
31600         (slow): Use TAYLOR_SLOW.
31601         (sloww): Likewise.
31602         (bsloww): Likewise.
31603         (csloww): Likewise.
31605 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31607         * stdlib/strtod_l.c: Fix buffer overrun.
31609 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31611         * benchtests/Makefile (bench): Add sincos.
31612         * benchtests/bench-sincos.c: New file.
31614         * math/libm-test.inc (cos_test_data): New test inputs.
31615         (sin_test_data): Likewise.
31617         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31618         macro.
31619         (__sin): Use it.
31620         (__cos): Likewise.
31621         (slow1): Likewise.
31622         (slow2): Likewise.
31623         (sloww1): Likewise.
31624         (sloww2): Likewise.
31625         (bsloww1): Likewise.
31626         (bsloww2): Likewise.
31627         (cslow2): Likewise.
31628         (csloww1): Likewise.
31629         (csloww2): Likewise.
31631         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31632         function.
31633         (__sin): Use it.
31634         (__cos): Likewise.
31636         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31637         gotos.
31638         (__cos): Likewise.
31640 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31642         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31643         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31644         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31645         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31646         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31647         * elf/cache.c (print_entry): Handle the new cache flags.
31649 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31650             Aldy Hernandez  <aldyh@redhat.com>
31652         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31653         Change condition to [_SOFT_FLOAT].
31654         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31656         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31657         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31660         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31662         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31666         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31669         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31670         declaration.
31672 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31674         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31675         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31676         (__longjmp): Use LOAD_GP to load saved GPRs.
31677         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31678         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31679         (__sigsetjmp): Use SAVE_GP to save GPRs.
31681         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31682         Do not append -msoft-float.
31683         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31685 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31687         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31689 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31691         [BZ #15966]
31692         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31693         (_FPU_GETCW): Use initial "__" on variable and field names but not
31694         on macro parameter name.
31695         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31696         parentheses around reference to macro parameter.
31698 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31700         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31701         prototype.
31702         (ctype_startup): Use uint32_t in cast and sizeof for
31703         ctype->charnames.
31705 2013-09-11  Jia Liu  <proljc@gmail.com>
31707         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31708         __daddr_t_defined.
31709         [__FreeBSD__]: Likewise.
31711 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31714         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31715         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31716         (strchr): Remove __strchr_sse42 ifunc selection.
31717         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31718         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31720 2013-09-11  Will Newton  <will.newton@linaro.org>
31722         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31723         parameter to RES. Remove hardcoded 1000 value.
31724         * benchtests/bench-skeleton.c (main): Pass RES parameter
31725         to TIMING_INIT and multiply result by 1000.
31727 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31731 2013-09-11  Andreas Schwab  <schwab@suse.de>
31733         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31734         if not defined.
31735         (O_TMPFILE) [__USE_GNU]: Define.
31736         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31737         Define.
31739 2013-09-11  Will Newton  <will.newton@linaro.org>
31741         [BZ #15857]
31742         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31743         does not overflow.
31745 2013-09-11  Will Newton  <will.newton@linaro.org>
31747         [BZ #15856]
31748         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31749         does not overflow.
31751 2013-09-11  Will Newton  <will.newton@linaro.org>
31753         [BZ #15855]
31754         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31755         does not overflow.
31757 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31759         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31760         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31761         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31762         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31763         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31765 2013-09-10  Allan McRae  <allan@archlinux.org>
31767         [BZ #15748]
31768         * manual/arith.texi (Parsing of Floats): Clarify
31769         cross-reference.
31771         [BZ #15849]
31772         * manual/install.texi (Running make install): Mention
31773         --enable-pt-chown.
31774         * INSTALL: Regenerated.
31776 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31778         * csu/init-first.c (_init): Remove the !SHARED condition around
31779         FPU control word initialization.
31780         * elf/dl-support.c (_dl_fpu_control): New variable.
31781         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31782         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31783         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31784         * math/test-fpucw-static.c: New file.
31785         * math/test-fpucw-ieee.c: New file.
31786         * math/test-fpucw-ieee-static.c: New file.
31787         * math/Makefile (tests): Add `test-fpucw-ieee' and
31788         `$(tests-static)'.
31789         (tests-static): New variable.
31790         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31791         dependency to...
31792         [($(build-shared),yes)]
31793         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31794         ... this.
31795         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31796         New dependency.
31798 2013-09-09  Allan McRae  <allan@archlinux.org>
31800         [BZ #15939]
31801         * manual/string.texi (Collation Functions): Fix typo in
31802         strcoll example.
31803         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31805         [BZ #15893]
31806         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31808         [BZ #15892]
31809         * libio/memstream.c (open_memstream): Fix memory leak.
31810         * libio/wmemstream.c (open_wmemstream): Likewise.
31812         [BZ #15895]
31813         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31815 2013-09-09  Will Newton  <will.newton@linaro.org>
31817         * malloc/Makefile: Add tst-realloc to tests.
31818         * malloc/tst-realloc.c: New file.
31820 2013-09-09  Allan McRae  <allan@archlinux.org>
31822         [BZ #15844]
31823         * COPYING: Update from GNU website to fix FSF address.
31824         * COPYING.LIB: Likewise.
31826 2013-09-06  David S. Miller  <davem@davemloft.net>
31828         * po/zh_TW.po: Update Chinese (traditional) translation from
31829         translation project.
31831 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31832             Joseph Myers  <joseph@codesourcery.com>
31834         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31835         "localeinfo.h".
31836         (obstack_chunk_alloc): New macro.
31837         (obstack_chunk_free): Likewise.
31838         (record_offset): New function.
31839         (init_locale_data): Likewise.
31840         (align_locale_data): Likewise.
31841         (add_locale_empty): Likewise.
31842         (add_locale_raw_data): Likewise.
31843         (add_locale_raw_obstack): Likewise.
31844         (add_locale_string): Likewise.
31845         (add_locale_wstring): Likewise.
31846         (add_locale_uint32): Likewise.
31847         (add_locale_uint32_array): Likewise.
31848         (add_locale_char): Likewise.
31849         (start_locale_structure): Likewise.
31850         (end_locale_structure): Likewise.
31851         (start_locale_prelude): Likewise.
31852         (end_locale_prelude): Likewise.
31853         (write_locale_data): Take locale_file structure rather than an
31854         iovec.
31855         * locale/programs/locfile.h: Include "obstack.h".
31856         (struct locale_file): Change to store locale file contents instead
31857         of header.
31858         (init_locale_data): New prototype.
31859         (align_locale_data): Likewise.
31860         (add_locale_empty): Likewise.
31861         (add_locale_raw_data): Likewise.
31862         (add_locale_raw_obstack): Likewise.
31863         (add_locale_string): Likewise.
31864         (add_locale_wstring): Likewise.
31865         (add_locale_uint32): Likewise.
31866         (add_locale_uint32_array): Likewise.
31867         (add_locale_char): Likewise.
31868         (start_locale_structure): Likewise.
31869         (end_locale_structure): Likewise.
31870         (start_locale_prelude): Likewise.
31871         (end_locale_prelude): Likewise.
31872         (write_locale_data): Update prototype.
31873         * locale/programs/3level.h (struct TABLE): Remove result field.
31874         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31875         Use new locale_file interface.
31876         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31877         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31878         * locale/programs/ld-address.c (address_output): Use new
31879         locale_file interface.
31880         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31881         NO_ADD_LOCALE.
31882         (collate_finish): Don't call collseq_table_finalize.
31883         (collate_output): Use new locale_file interface.
31884         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31885         in file.
31886         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31887         (TABLE): Move defines earlier in file.
31888         (ELEMENT): Likewise.
31889         (DEFAULT): Likewise.
31890         (wctrans_table_add): Move macro and inline function earlier in
31891         file.
31892         (struct wctype_table): Move type earlier in file.
31893         (add_locale_wctype_table): New static prototype.
31894         (struct locale_ctype_t): Use logical types instead of struct iovec
31895         pointers for members.
31896         (ctype_output): Use new locale_file interface.
31897         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31898         new locale_file interface.
31899         (allocate_arrays): Update for use of new locale_file interface.
31900         * locale/programs/ld-identification.c (identification_output): Use
31901         new locale_file interface.
31902         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31903         * locale/programs/ld-messages.c (messages_output): Likewise.
31904         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31905         * locale/programs/ld-name.c (name_output): Likewise.
31906         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31907         * locale/programs/ld-paper.c (paper_output): Likewise.
31908         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31909         * locale/programs/ld-time.c (time_output): Likewise.
31911 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31913         * benchtests/Makefile: Add memrchr benchmark.
31914         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31915         benchmark as memrchr.
31916         * benchtests/bench-memrchr-ifunc.c: New file.
31917         * benchtests/bench-memrchr.c: New file.
31919 2013-09-06   Will Newton  <will.newton@linaro.org>
31921         * benchtests/Makefile (string-bench): Add memcpy.
31923 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31924             Cong Wang  <amwang@redhat.com>
31926         [BZ #15850]
31927         * sysdeps/unix/sysv/linux/bits/in.h
31928         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31929         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31930         before __USE_KERNEL_IPV6_DEFS uses.
31931         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31932         IPPROTO_BEETPH.
31933         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31934         sockaddr_in6, or ipv6_mreq.
31936 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31938         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31939         memory access for final bytes in some large inputs.
31940         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31942 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31944         * string/test-memrchr.c: New file.
31945         * string/test-memrchr-ifunc.c: New file.
31946         * string/Makefile: Add new memrchr testcase.
31948 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31950         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31951         fanotify_init returns EPERM.
31953 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31955         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31956         errors.
31957         (top level): Treat second token from macro or constant entries for
31958         allowed headers as allowed.
31959         * include/complex.h: Condition internal declarations on
31960         [!_ISOMAC].
31961         * include/fenv.h: Condition include of <stdbool.h> and internal
31962         declarations on [!_ISOMAC].
31964 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31966         [BZ #15923]
31967         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31969 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31971         * configure.in (--enable-versioning): Remove configure option.
31972         (libc_cv_asm_symver_directive): Remove configure test.
31973         (libc_cv_ld_version_script_option): Likewise.
31974         (VERSIONING): Remove variable and AC_SUBST.
31975         (DO_VERSIONING): Remove AC_DEFINE.
31976         * configure: Regenerated.
31977         * config.h.in (DO_VERSIONING): Remove macro.
31978         * Makerules [$(versioning) = yes]: Change conditionals to
31979         [$(build-shared) = yes].
31980         * config.make.in (versioning): Remove variable.
31981         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31982         [$(build-shared) = yes].
31983         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31984         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31985         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31986         [$(build-shared) = yes].
31987         * extra-lib.mk [$(versioning) = yes]: Likewise.
31988         * hurd/Makefile [$(versioning) = yes]: Likewise.
31989         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31990         [SHARED].
31991         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31992         [SHARED].
31993         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31994         [SHARED && !NO_HIDDEN].
31995         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31996         [SHARED].
31997         [SHARED && DO_VERSIONING]: Likewise..
31998         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31999         [$(build-shared) = yes].
32000         * manual/install.texi (--disable-versioning): Remove
32001         documentation.
32002         * INSTALL: Regenerated.
32003         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32004         to [SHARED].
32005         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32006         [$(build-shared) = yes].
32007         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32008         * sysdeps/i386/i686/multiarch/strstr-c.c
32009         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32010         [SHARED && !NO_HIDDEN].
32011         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32012         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32013         * sysdeps/powerpc/powerpc32/dl-machine.c
32014         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32015         * sysdeps/powerpc/powerpc32/sysdep.h
32016         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32017         to [SHARED && PIC && !NO_HIDDEN].
32018         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32019         conditional to [SHARED].
32021 2013-09-04   Will Newton  <will.newton@linaro.org>
32023         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32024         * benchtests/bench-string.h: Include bench-timing.h instead
32025         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32026         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32027         call to HP_TIMING_DIFF_INIT.
32028         * benchtests/bench-memccpy.c: Use bench-timing.h macros
32029         instead of hp-timing.h macros.
32030         * benchtests/bench-memchr.c: Likewise.
32031         * benchtests/bench-memcmp.c: Likewise.
32032         * benchtests/bench-memcpy.c: Likewise.
32033         * benchtests/bench-memmem.c: Likewise.
32034         * benchtests/bench-memmove.c: Likewise.
32035         * benchtests/bench-memset.c: Likewise.
32036         * benchtests/bench-rawmemchr.c: Likewise.
32037         * benchtests/bench-strcasecmp.c: Likewise.
32038         * benchtests/bench-strcasestr.c: Likewise.
32039         * benchtests/bench-strcat.c: Likewise.
32040         * benchtests/bench-strchr.c: Likewise.
32041         * benchtests/bench-strcmp.c: Likewise.
32042         * benchtests/bench-strcpy.c: Likewise.
32043         * benchtests/bench-strcpy_chk.c: Likewise.
32044         * benchtests/bench-strlen.c: Likewise.
32045         * benchtests/bench-strncasecmp.c: Likewise.
32046         * benchtests/bench-strncat.c: Likewise.
32047         * benchtests/bench-strncmp.c: Likewise.
32048         * benchtests/bench-strncpy.c: Likewise.
32049         * benchtests/bench-strnlen.c: Likewise.
32050         * benchtests/bench-strpbrk.c: Likewise.
32051         * benchtests/bench-strrchr.c: Likewise.
32052         * benchtests/bench-strspn.c: Likewise.
32053         * benchtests/bench-strstr.c: Likewise.
32055 2013-09-04  Will Newton  <will.newton@linaro.org>
32057         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32059 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
32061         [BZ #15427]
32062         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32063         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32064         * math/libm-test.inc (lgamma_test_data): Add more tests.
32065         * sysdeps/i386/fpu/libm-test-ulps: Update.
32066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32068 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
32070         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32072         Add ifunc.
32073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32074         Add strcmp-sse2-unaligned
32075         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32077 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32079         * Versions.def (libc): Add GLIBC_2.19.
32081 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32083         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32084         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32086 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
32088         [BZ #14155]
32089         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32090         intermediate calculations in recurrence.
32091         (__ieee754_ynf): Likewise.
32092         * math/libm-test.inc (jn_test_data): Do not allow spurious
32093         underflow exception.  Add more tests.
32094         (yn_test_data): Add more tests.
32095         * sysdeps/i386/fpu/libm-test-ulps: Update.
32096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32098 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
32100         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32102 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32104         * csu/init-first.c: Fix then/than typos.
32105         * locale/programs/ld-collate.c: Likewise.
32106         * locale/programs/linereader.h: Likewise.
32107         * manual/charset.texi: Likewise.
32108         * manual/filesys.texi: Likewise.
32109         * manual/stdio.texi: Likewise.
32110         * manual/string.texi: Likewise.
32111         * stdlib/fmtmsg.c: Likewise.
32112         * sysdeps/i386/stpncpy.S: Likewise.
32113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32114         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32115         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32116         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32118 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32120         * elf/dl-open.c: Fix typos.
32121         * iconvdata/gbbig5.c: Likewise.
32122         * iconvdata/iso-2022-jp.c: Likewise.
32123         * iconv/gconv_int.h: Likewise.
32124         * iconv/loop.c: Likewise.
32125         * nis/rpcsvc/nis.h: Likewise.
32126         * resolv/ns_name.c: Likewise.
32127         * stdio-common/vfscanf.c: Likewise.
32128         * streams/stropts.h: Likewise.
32129         * sunrpc/rpc_thread.c: Likewise.
32130         * sysdeps/i386/strpbrk.S: Likewise.
32131         * sysdeps/ieee754/k_standard.c: Likewise.
32132         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32134         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32135         * sysdeps/mach/hurd/profil.c: Likewise.
32136         * sysdeps/s390/dl-procinfo.h: Likewise.
32137         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32138         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32139         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32140         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32141         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32143 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32145         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32148 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32150         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32151         aix specific files.
32152         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32153         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32154         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32155         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32156         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32157         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32158         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32159         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32161 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32162             Roland McGrath  <roland@hack.frob.com>
32164         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32165         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32167 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32169         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32170         __executable_start symbol instead of _start.
32172 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32174         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32175         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32176         Move macros to...
32177         * sysdeps/gnu/ldsodefs.h: ... this new file.
32179         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32180         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32181         instead of ELFOSABI_LINUX.
32183         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32184         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32185         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32186         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32187         Likewise.
32188         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32189         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32190         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32191         Likewise.
32192         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32193         (ibm_extended_long_double): Add ieee_nan member.
32194         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32195         (do_test): New function.
32197         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32198         TEST_TRUNC.
32199         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32200         functions, renamed from truncdfsf_test, trunctfsf_test,
32201         trunctfdf_test.
32202         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32203         functions.
32204         (do_test): Run all these.
32206 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32208         * argp/argp-help.c: Fix typos.
32209         * argp/argp-parse.c: Likewise.
32210         * debug/backtracesyms.c: Likewise.
32211         * elf/elf.h: Likewise.
32212         * malloc/malloc.c: Likewise.
32213         * nis/nis_print.c: Likewise.
32214         * resolv/res_comp.c: Likewise.
32215         * stdlib/stdlib.h: Likewise.
32216         * sunrpc/clnt_tcp.c: Likewise.
32217         * sunrpc/clnt_udp.c: Likewise.
32218         * sunrpc/clnt_unix.c: Likewise.
32219         * sysdeps/unix/bsd/ptsname.c: Likewise.
32220         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32221         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32223         Likewise.
32224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32225         Likewise.
32226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32227         Likewise.
32228         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32230 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32232         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32235 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32237         [BZ #15897]
32238         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32239         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32240         ($(objpfx)bug-dl-leaf): New rule.
32241         ($(objpfx)bug-dl-leaf.so): Likewise.
32242         ($(objpfx)bug-dl-leaf.out): Likewise.
32243         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32244         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32245         * dlfcn/bug-dl-leaf.c: New test.
32246         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32247         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32248         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32249         (dlclose): Likewise.
32250         (dlmopen): Likewise.
32252 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32254         * include/netdb.h [!_ISOMAC]:
32255         Don't include <tls.h>.
32256         (h_errno, __libc_h_errno): Move declaration and macros out of
32257         [_LIBC_REENTRANT].
32259         * include/resolv.h [_RESOLV_H_]:
32260         Don't include <tls.h>.
32261         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32262         * resolv/res_libc.c: Don't include <tls.h>.
32263         (_res): Use __attribute__ ((nocommon)) in place of
32264         __attribute__ ((section (".bss"))).
32266         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32267         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32269         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32271         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32272         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32274         * resolv/res_mkquery.c: Include <sys/time.h>.
32276         * inet/ifreq.c: Moved to ...
32277         * sysdeps/unix/ifreq.c: ... here.
32278         * inet/ifreq.c: New file, true stub version.
32280         * socket/sa_len.c: New file.
32281         * socket/Makefile (aux): Add it.
32282         * sysdeps/unix/sysv/linux/Makefile
32283         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32284         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32285         and #include <socket/sa_len.c>.
32286         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32287         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32289         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32290         * bits/socket.h: ... here.
32292         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32293         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32294         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32296 2013-08-27  Andreas Schwab  <schwab@suse.de>
32298         [BZ #15736]
32299         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32300         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32301         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32302         * string/test-strcasecmp.c (test_main): Run tests in several
32303         locales.
32304         * string/test-strncasecmp.c (test_main): Likewise.
32306         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32307         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32308         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32309         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32310         (__strncasecmp_ssse3) [PIC]: Likewise.
32312 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32314         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32316         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32317         instead of explicitly declaring xdecrypt.
32318         * nis/nss_nis/nis-publickey.c: Likewise.
32320 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322         [BZ #15890]
32323         * nscd/aicache.c: Include res_hconf.h.
32324         (addhstaiX): Initialize res_hconf.
32326 2013-08-26  Andreas Schwab  <schwab@suse.de>
32328         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32329         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32331 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32333         * nscd/aicache.c (addhstaiX): Fix indentation.
32335 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32337         * configure.ac: Quote $build_pt_chown test.
32338         * configure: Regenerated.
32340 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32342         [BZ #15532]
32343         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32344         * math/s_cexpf.c (__cexpf): Likewise.
32345         * math/s_cexpl.c (__cexpl): Likewise.
32346         * math/libm-test.inc (cexp_test_data): Correct expected return
32347         value for NaN + i0.  Add another test.
32349 2013-08-22  David S. Miller  <davem@davemloft.net>
32351         * po/ca.po: Update Catalan translation from translation project.
32352         * po/uk.po: Add Ukrainian translations from translation project.
32354 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32356         [BZ #15797]
32357         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32358         is infinite, not alongside NaN test.
32359         * math/s_fdimf.c (__fdimf): Likewise.
32360         * math/s_fdiml.c (__fdiml): Likewise.
32361         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32362         errno is unchanged.
32364 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32366         * argp/argp-help.c: Fix typos.
32367         * crypt/speeds.c: Likewise.
32368         * csu/check_fds.c: Likewise.
32369         * elf/dl-load.c: Likewise.
32370         * elf/dl-open.c: Likewise.
32371         * elf/reldep3.c: Likewise.
32372         * elf/reldep.c: Likewise.
32373         * elf/sprof.c: Likewise.
32374         * iconv/iconv_charmap.c: Likewise.
32375         * iconv/skeleton.c: Likewise.
32376         * iconv/strtab.c: Likewise.
32377         * io/lockf64.c: Likewise.
32378         * libio/libioP.h: Likewise.
32379         * resolv/gai_notify.c: Likewise.
32380         * resolv/ns_name.c: Likewise.
32381         * resolv/ns_samedomain.c: Likewise.
32382         * resolv/res_send.c: Likewise.
32383         * stdlib/random.c: Likewise.
32384         * sunrpc/rpc/xdr.h: Likewise.
32385         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32386         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32387         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32388         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32389         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32392         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32393         * sysdeps/mach/hurd/check_fds.c: Likewise.
32394         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32396         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32397         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32398         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32399         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32400         * sysdeps/pthread/aio_notify.c: Likewise.
32401         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32402         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32403         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32404         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32405         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32407 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32409         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32410         version if bit_Slow_SSE4_2 is set.
32411         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32412         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32414 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32416         [BZ #15867]
32417         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32418         trampoline stack frame information.
32419         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32420         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32421         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32422         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32423         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32424         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32425         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32426         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32427         sa_flags value.
32428         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32429         interrupting a syscall and set with option SA_SIGINFO.
32431 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32433         [BZ #15531]
32434         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32435         argument is infinite.
32436         * math/s_cprojf.c (__cprojf): Likewise.
32437         * math/s_cprojl.c (__cprojl): Likewise.
32438         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32439         * math/libm-test.inc (cproj_test_data): Add more tests.
32441         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32443         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32444         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32445         size.  Use __ffs to determine corresponding shift.
32447 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32448             Roland McGrath  <roland@hack.frob.com>
32450         * Makefile (INSTALL): Remove trailing blank lines from output of
32451         makeinfo.
32453 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32455         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32456         Align 32 bit compat elf_greg to 8 bytes.
32458 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32460         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32462 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32464         * string/strcoll_l.c (coll_seq): New structure.
32465         (get_next_seq_cached): New function.
32466         (get_next_seq): New function.
32467         (do_compare): New function.
32468         (STRCOLL): Use GNU style definition.  Simplify implementation
32469         by using get_next_seq, get_next_seq_cached and do_compare.
32471 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32473         [BZ #14699]
32474         CVE-2013-4237
32475         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32476         member.
32477         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32478         member.
32479         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32480         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32481         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32482         conditional.
32483         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32484         GETDENTS_64BIT_ALIGNED.
32485         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32486         * manual/filesys.texi (Reading/Closing Directory): Document
32487         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32488         strongly.
32489         * manual/conf.texi (Limits for Files): Add portability note to
32490         NAME_MAX, PATH_MAX.
32491         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32493 2013-08-13  Andreas Schwab  <schwab@suse.de>
32495         [BZ #15749]
32496         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32497         of fabs.
32498         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32499         LDBL_MAX_EXP >= 16384]: Add tests for it.
32501 2013-08-12  David S. Miller  <davem@davemloft.net>
32503         * version.h (RELEASE): Set to "development".
32504         (VERSION): Set to "2.18.90".
32505         * NEWS: Add 2.19 section.
32507 2013-08-03  David S. Miller  <davem@davemloft.net>
32509         * po/ko.po: Update Korean translation from translation project.
32511 2013-08-01  David S. Miller  <davem@davemloft.net>
32513         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32514         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32515         Bilka.
32517 2013-07-30  David S. Miller  <davem@davemloft.net>
32519         * po/fr.po: Update French translation from translation project.
32521 2013-07-28  David S. Miller  <davem@davemloft.net>
32523         * po/cs.po: Update Czech translation from translation project.
32525         * po/sv.po: Update Swedish translation from translation project.
32527 2013-07-27  David S. Miller  <davem@davemloft.net>
32529         * po/eo.po: Update Esperanto translation from translation project.
32531         * po/vi.po: Update Vietnamese translation from translation project.
32533         * po/de.po: Update German translation from translation project.
32535 2013-07-26  David S. Miller  <davem@davemloft.net>
32537         * po/bg.po: Update Bulgarian translation from translation project.
32539         * po/nl.po: Update Dutch translation from translation project.
32540         * po/pl.po: Update Polish translation from translation project.
32541         * po/ru.po: Update Russian translation from translation project.
32543 2013-07-24  David S. Miller  <davem@davemloft.net>
32545         * po/libc.pot: Update.
32547 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32549         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32550         variable page size.
32551         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32552         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32553         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32555 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32557         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32559 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32560             Andreas Schwab  <schwab@suse.de>
32561             Roland McGrath  <roland@hack.frob.com>
32562             Joseph Myers  <joseph@codesourcery.com>
32563             Carlos O'Donell  <carlos@redhat.com>
32565         [BZ #15755]
32566         * config.h.in: Define HAVE_PT_CHOWN.
32567         * config.make.in (build-pt-chown): New variable.
32568         * configure.in (--enable-pt_chown): New configure option.
32569         * configure: Regenerate.
32570         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32571         build-pt-chown is enabled.
32572         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32573         pt_chown to fix pty ownership.
32574         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32575         CLOSE_ALL_FDS.
32576         * manual/install.texi (Configuring and compiling): Mention
32577         --enable-pt_chown. Add @findex for grantpt.
32578         * INSTALL: Regenerate.
32580 2013-07-20  David S. Miller  <davem@davemloft.net>
32582         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32583         difference between 32-bit and 64-bit.
32585 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32587         [BZ #15711]
32588         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32589         Avoid system header dependency with -ffreestanding.
32590         ($(objpfx)bits/syscall%d): Likewise.
32592 2013-07-13  David S. Miller  <davem@davemloft.net>
32594         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32595         underflows from atanl/atan2l due to bug 15319.
32596         (casinh_test_data): Likewise.
32598 2013-07-07  David S. Miller  <davem@davemloft.net>
32600         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32602 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32604         * sysdeps/i386/fpu/libm-test-ulps: Update.
32605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32607 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32609         * configure.in (--enable-lock-elision): Fix message text.
32610         * INSTALL: Regenerate.
32611         * configure: Regenerate.
32613 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32617 2013-07-03  Andreas Jaeger  <aj@suse.de>
32619         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32620         define.
32621         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32622         (ptrace_peeksiginfo_args): Add.
32623         (__ptrace_peeksiginfo_flags): Add.
32624         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32625         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32626         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32628 2013-07-03  Allan McRae  <allan@archlinux.org>
32630         * sysdeps/i386/fpu/libm-test-ulps: Update.
32632 2013-07-02  David S. Miller  <davem@davemloft.net>
32634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32636 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32640 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32642         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32645 2013-07-02  Andi Kleen <ak@linux.intel.com>
32647         * config.h.in (ENABLE_LOCK_ELISION): Add.
32648         * configure.in (--enable-lock-elision): Add option.
32649         * manual/install.texi: Document --enable lock elision.
32650         * configure: Regenerate
32651         * INSTALL: Regenerate.
32653 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32655         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32656         SSE4.2 strcasecmp for libc.a.
32657         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32659 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32661         [BZ #13304]
32662         * soft-fp/op-common.h (_FP_FMA): New macro.
32663         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32664         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32665         (_FP_MUL_MEAT_1_imm): ... here.
32666         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32667         (_FP_MUL_MEAT_1_wide): ... here.
32668         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32669         (_FP_MUL_MEAT_1_hard): ... here.
32670         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32671         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32672         (_FP_MUL_MEAT_2_wide): ... here.
32673         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32674         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32675         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32676         (_FP_MUL_MEAT_2_gmp): ... here.
32677         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32678         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32679         (_FP_MUL_MEAT_4_wide): ... here.
32680         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32681         (_FP_MUL_MEAT_4_gmp): ... here.
32682         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32683         (_FP_WFRACBITS_DW_S): Likewise.
32684         (_FP_WFRACXBITS_DW_S): Likewise.
32685         (_FP_HIGHBIT_DW_S): Likewise.
32686         (FP_FMA_S): Likewise.
32687         (_FP_FRAC_HIGH_DW_S): Likewise.
32688         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32689         (_FP_WFRACBITS_DW_D): Likewise.
32690         (_FP_WFRACXBITS_DW_D): Likewise.
32691         (_FP_HIGHBIT_DW_D): Likewise.
32692         (FP_FMA_D): Likewise.
32693         (_FP_FRAC_HIGH_DW_D): Likewise.
32694         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32695         (_FP_WFRACBITS_DW_E): Likewise.
32696         (_FP_WFRACXBITS_DW_E): Likewise.
32697         (_FP_HIGHBIT_DW_E): Likewise.
32698         (FP_FMA_E): Likewise.
32699         (_FP_FRAC_HIGH_DW_E): Likewise.
32700         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32701         (_FP_WFRACBITS_DW_Q): Likewise.
32702         (_FP_WFRACXBITS_DW_Q): Likewise.
32703         (_FP_HIGHBIT_DW_Q): Likewise.
32704         (FP_FMA_Q): Likewise.
32705         (_FP_FRAC_HIGH_DW_Q): Likewise.
32706         * soft-fp/fmasf4.c: New file.
32707         * soft-fp/fmadf4.c: Likewise.
32708         * soft-fp/fmatf4.c: Likewise.
32710 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32713         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32714         Silvermont.
32715         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32716         macro.
32717         (index_Slow_SSE4_2): Likewise.
32718         (index_Prefer_PMINUB_for_stringop): Likewise.
32719         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32720         bit_Slow_SSE4_2 is set.
32721         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32722         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32724 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32726         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32727         rtld_global._dl_hwcap2.
32728         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32729         POWER8.
32730         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32731         POWER8 feature descriptions defined in _dl_hwcap2.
32732         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32733         string handling for POWER8 feature bits.
32734         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32735         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32736         _dl_powerpc_cap_flags.
32737         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32738         * sysdeps/powerpc/rtld-global-offsets.sym
32739         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32740         _dl_hwcap2 in the rtld_global_ro structure.
32742 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32744         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32745         hardware capabilities in support of AT_HWCAP2.
32746         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32747         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32748         GLRO(dl_hwcap2).
32749         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32750         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32751         explicitly the unknown a_type display mechanism is used.
32752         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32753         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32754         struct member.
32755         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32756         to macro prototype for AT_HWCAP2 support.
32757         * sysdeps/i386/dl-procinfo.h: Likewise.
32758         * sysdeps/s390/dl-procinfo.h: Likewise.
32759         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32760         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32761         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32762         return -1 for unknown a_type display fallback.
32763         * sysdeps/sparc/dl-procinfo.h: Likewise.
32764         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32765         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32767 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32769         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32770         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32772 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32774         [BZ #12492]
32775         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32776         mprotect making __stack_prot writable.
32778 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32779             Joseph Myers  <joseph@codesourcery.com>
32781         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32782         as being properly aligned.
32784 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32786         * dlfcn/modstatic5.c: New file.
32787         * dlfcn/tststatic5.c: New file.
32788         * dlfcn/Makefile (tests): Add tststatic5.
32789         (tests-static): Likewise.
32790         (modules-names): Add modstatic5.
32791         (tststatic5-ENV): New variable.
32792         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32794         [BZ #15022]
32795         * elf/dl-support.c (_dl_main_map): New variable.
32796         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32797         (_dl_nns, _dl_load_adds): Set to 1.
32798         (_dl_initial_searchlist): Refer to _dl_main_map.
32799         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32800         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32801         call to _dl_get_origin.
32802         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32803         around call_map.
32804         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32805         * dlfcn/modstatic3.c: New file.
32806         * dlfcn/tststatic3.c: New file.
32807         * dlfcn/tststatic4.c: New file.
32808         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32809         (tests-static): Likewise.
32810         (modules-names): Add modstatic3.
32811         (tststatic3-ENV, tststatic4-ENV): New variables.
32812         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32813         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32815 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32817         * configure.in (CC): Require GCC version 4.4 or later.
32818         * configure: Regenerated.
32819         * manual/install.texi (Tools for Compilation): Update GCC version
32820         requirement.
32821         * INSTALL: Regenerated.
32823 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32825         [BZ #15674]
32826         * string/test-memcmp.c (check2): New.
32827         (main): Call check2.
32829         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32831 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32833         [BZ #15022]
32834         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32835         over to...
32836         (dl_open_worker) [!SHARED]: ... here.
32838 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32840         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32842 2013-06-25  Richard Henderson  <rth@redhat.com>
32844         * locale/programs/locarchive.c: Include <libc-internal.h>
32846 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32848         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32849         trailing whitespace removed.
32851 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32853         [BZ #10283]
32854         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32855         * locale/programs/locarchive.c: Include libc-mmap.h.
32856         (prepare_address_space): Take two new outputs (the mmap base and len).
32857         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32858         values.
32859         (create_archive): Declare new mmap base and len values for
32860         prepare_address_space, and store the result in ah.
32861         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32862         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32863         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32864         Declare new mmap base and len values for
32865         prepare_address_space, and store the result in new_ah.
32866         (open_archive): Declare new mmap base and len values for
32867         prepare_address_space, and store the result in ah.
32868         (close_archive): If ah->mmap_base is not NULL, use that and
32869         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32870         * sysdeps/generic/libc-mmap.h: New file.
32872 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32874         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32875         (ALIGN_UP): Likewise.
32876         (PTR_ALIGN_DOWN): Likewise.
32877         (PTR_ALIGN_UP): Likewise.
32879 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32881         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32882         entry mapped to PPC_PLATFORM_POWER8.
32883         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32884         POWER8.
32885         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32886         (_dl_string_platform): Add case for exporting platform position for
32887         POWER8.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32889         search path to sysdeps/powerpc/powerpc32/power8 directory.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32891         search path to sysdeps/powerpc/powerpc64/power8 directory.
32892         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32893         power7 directories.
32894         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32895         power7 directories.
32897 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32899         * INSTALL: Regenerate.
32901         * nscd/connections.c (nscd_init): Fix comment.
32903 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32905         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32907         [BZ #15667]
32908         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32909         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32911 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32913         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32914         DL_DST_REQ_STATIC.
32915         (DL_DST_REQ_STATIC): Remove macro.
32917 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32919         [BZ #7006]
32920         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32921         with a shift of 0 bits.
32923 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32925         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32926         $(tststatic-ENV).
32928 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32930         [BZ #15655]
32931         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32933 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32935         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32936         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32937         accepts -fno-tree-loop-distribute-patterns.
32938         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32939         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32940         recursive call.
32941         * string/memset.c (memset): Likewise.
32942         * string/test-memmove.c (simple_memmove): Disable loop transformation
32943         to library calls.
32944         * string/test-memset.c (simple_memset): Likewise.
32945         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32946         * benchtests/bench-memset.c (simple_memset): Likewise.
32947         * configure: Regenerated.
32949 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32951         * math/test-misc.c (main): Ignore fesetround failure when failures
32952         of subsequent rounding tests would be ignored.
32954         [BZ #15654]
32955         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32956         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32957         * math/fegetenv.c (__fegetenv): Return 0.
32958         * math/fegetexcept.c (fegetexcept): Return 0.
32959         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32960         FE_TONEAREST.
32961         * math/feholdexcpt.c (feholdexcept): Return 0.
32962         * math/fesetenv.c (__fesetenv): Return 0.
32963         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32964         argument FE_TONEAREST.
32965         * math/feupdateenv.c (__feupdateenv): Return 0.
32966         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32968 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32970         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32971         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32972         ($(objpfx)rtld-%.os rules): Use them.
32974 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32976         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32977         fields.
32979 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32981         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32982         length of target pattern, then descending length of dependency pattern.
32983         * configure.in (AWK): Require gawk 3.1.2 or newer.
32984         * manual/install.texi (Tools for Compilation): Say that we do.
32985         * configure: Regenerated.
32987         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32988         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32989         * scripts/sysd-rules.awk: ... this new script.
32990         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32991         than a glob-style pattern.
32993 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32995         * math/test-misc.c (main): Do not treat incorrectly rounded
32996         conversions as failure unless ROUNDING_TESTS passes.
32998 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
33000         [BZ #15631]
33001         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33002         restore exception state around main square root computation, then
33003         check for inexactness explicitly.
33005         * math/libm-test.inc (fma_test_data): Add another test.
33007 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33009         * manual/threads.texi (Non-POSIX Extensions): New document
33010         node.  Document pthread_getattr_default_np and
33011         pthread_setattr_default_np.
33013         * Versions.def (libpthread): Add GLIBC_2.18.
33014         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33016         Likewise.
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33018         Likewise.
33019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33020         Likewise.
33021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33022         Likewise.
33023         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33024         Likewise.
33025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33026         Likewise.
33027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33028         Likewise.
33029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33030         Likewise.
33031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33032         Likewise.
33034 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33037         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33039 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33040             H.J. Lu  <hjl.tools@gmail.com>
33042         [BZ #15627]
33043         * sysdeps/x86_64/rtld-memset.c: Remove file.
33044         * sysdeps/x86_64/rtld-memset.S: New file.
33046 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
33048         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33049         (test_in_one_mode): Take arguments for whether the rounding mode
33050         is supported for each floating-point type.
33051         (do_test): Pass new arguments to test_in_one_mode using
33052         ROUNDING_TESTS.
33054 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33056         * posix/tst-waitid.c (do_test): Distinguish different instances of
33057         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
33058         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33059         before entering the kernel for waitpid.
33061 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33063         * NEWS: Fix note on clock function precision.  Text by Roland
33064         McGrath.
33066 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33068         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33069         it into place only when and if the sanity check passes.
33071 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
33073         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33074         output for whether conversion result is exact.  Take argument
33075         indicating whether type is IBM long double.
33076         (round_for_all): Change need_exact field to ibm_ld.
33077         * stdlib/tst-strtod-round.c (struct exactness): New type.
33078         (struct test): Change bool ld_ok field to struct exactness exact.
33079         (TEST): Update all definitions for change to field.
33080         (tests): Regenerate array contents.
33081         (test_in_one_mode): Take pointer to new field instead of old ld_ok
33082         field value.  Check for IBM long double here.
33083         (do_test): Update calls to test_in_one_mode.
33085 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33087         [BZ #12515]
33088         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33089         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33091 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33093         [BZ #15605]
33094         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33095         generated by the compiler on loop optimizations.
33096         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33097         general definitions.
33099 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
33101         * math/bug-nextafter.c: Include <math-tests.h>.
33102         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33103         the relevant type.
33104         * math/bug-nexttoward.c: Include <math-tests.h>.
33105         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33106         the relevant type.
33107         * math/test-misc.c: Include <math-tests.h>.
33108         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33109         the relevant type.
33111 2013-06-12  Andreas Jaeger  <aj@suse.de>
33113         * po/ia.po: Update Interlingua translation from translation
33114         project.
33116 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33118         * include/fenv.h: Include stdbool.h.
33119         (struct rm_ctx): New structure.
33120         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33121         Define macro.
33122         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33123         (SET_RESTORE_ROUNDF): Likewise.
33124         (SET_RESTORE_ROUNDL): Likewise.
33125         (SET_RESTORE_ROUND_NOEX): Likewise.
33126         (SET_RESTORE_ROUND_NOEXF): Likewise.
33127         (SET_RESTORE_ROUND_NOEXL): Likewise.
33128         (SET_RESTORE_ROUND_53BIT): Likewise.
33129         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33130         (libc_feresetround_noexf_ctx): Likewise.
33131         (libc_feresetround_noexl_ctx): Likewise.
33132         (libc_feholdsetround_53bit_ctx): Likewise.
33133         (libc_feresetround_53bit_ctx): Likewise.
33134         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33135         (libc_feholdexcept_setround_sse_ctx): New function.
33136         (libc_fesetenv_sse_ctx): Likewise.
33137         (libc_feupdateenv_sse_ctx): Likewise.
33138         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33139         (libc_feholdexcept_setround_387_ctx): Likewise.
33140         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33141         (libc_feholdsetround_387_prec_ctx): Likewise.
33142         (libc_feholdsetround_387_ctx): Likewise.
33143         (libc_feholdsetround_387_53bit_ctx): Likewise.
33144         (libc_feholdsetround_sse_ctx): Likewise.
33145         (libc_feresetround_sse_ctx): Likewise.
33146         (libc_feresetround_387_ctx): Likewise.
33147         (libc_feupdateenv_387_ctx): Likewise.
33148         (libc_feholdexcept_setroundf_ctx): Define macro.
33149         (libc_fesetenvf_ctx): Likewise.
33150         (libc_feupdateenvf_ctx): Likewise.
33151         (libc_feholdsetroundf_ctx): Likewise.
33152         (libc_feresetroundf_ctx): Likewise.
33153         (libc_feholdexcept_setround_ctx): Likewise.
33154         (libc_fesetenv_ctx): Likewise.
33155         (libc_feupdateenv_ctx): Likewise.
33156         (libc_feholdsetround_ctx): Likewise.
33157         (libc_feresetround_ctx): Likewise.
33158         (libc_feholdexcept_setroundl_ctx): Likewise.
33159         (libc_feupdateenvl_ctx): Likewise.
33160         (libc_feholdsetroundl_ctx): Likewise.
33161         (libc_feresetroundl_ctx): Likewise.
33162         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33163         (libc_feresetround_53bit_ctx): Likewise.
33165 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33167         * locale/iso-639.def: Convert to UTF-8.
33169 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33171         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33172         (EXCEPTION_TESTS_double): Likewise.
33173         (EXCEPTION_TESTS_long_double): Likewise.
33174         (EXCEPTION_TESTS): Likewise.
33175         * math/libm-test.inc (test_exceptions): Only test exceptions if
33176         EXCEPTION_TESTS (FLOAT).
33178 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33180         * benchtests/Makefile (string-bench): Add strcpy_chk and
33181         stpcpy_chk.
33182         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33183         * benchtests/bench-stpcpy_chk.c: New file.
33184         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33185         * benchtests/bench-strcpy_chk.c: New file.
33186         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33187         code.
33188         (do_test): Likewise.
33190 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33192         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33193         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33194         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33195         with tabs where appropriate.
33196         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33197         dl-procinfo.h.
33198         [PPC_PLATFORM_PPC440]: Likewise.
33199         [PPC_PLATFORM_PPC464]: Likewise.
33200         [PPC_PLATFORM_PPC476]: Likewise.
33201         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33202         ppc464, and ppc476 platform strings merging from ports/
33203         dl-procinfo.h.
33205 2013-06-11  Andreas Schwab  <schwab@suse.de>
33207         [BZ #14991]
33208         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33209         (from_ucs4_idx): Regenerate.
33210         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33211         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33212         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33213         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33214         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33215         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33216         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33217         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33218         from FROM_LOOP and TO_LOOP specific macros.
33219         (BODY): Handle combining characters.
33220         * iconvdata/BIG5HKSCS.irreversible: Update.
33221         * iconvdata/BIG5HKSCS.precomposed: New file.
33222         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33223         characters.
33224         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33226 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33228         * include/sys/time.h: Fix indentation and add copyright header.
33230         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33231         (do_test): Likewise.
33232         * string/test-memchr.c (do_one_test): Likewise.
33233         (do_test): Likewise.
33234         * string/test-memcmp.c (do_one_test): Likewise.
33235         (do_test): Likewise.
33236         * string/test-memcpy.c (do_one_test): Likewise.
33237         (do_test): Likewise.
33238         * string/test-memmem.c (do_one_test): Likewise.
33239         (do_test): Likewise.
33240         (do_random_tests): Likewise.
33241         * string/test-memmove.c (do_one_test): Likewise.
33242         (do_test): Likewise.
33243         * string/test-memset.c (do_one_test): Likewise.
33244         (do_test): Likewise.
33245         * string/test-rawmemchr.c (do_one_test): Likewise.
33246         (do_test): Likewise.
33247         * string/test-strcasecmp.c (do_one_test): Likewise.
33248         (do_test): Likewise.
33249         * string/test-strcasestr.c (do_one_test): Likewise.
33250         (do_test): Likewise.
33251         * string/test-strcat.c (do_one_test): Likewise.
33252         (do_test): Likewise.
33253         * string/test-strchr.c (do_one_test): Likewise.
33254         (do_test): Likewise.
33255         * string/test-strcmp.c (do_one_test): Likewise.
33256         (do_test): Likewise.
33257         * string/test-strcpy.c (do_one_test): Likewise.
33258         (do_test): Likewise.
33259         * string/test-string.h: Likewise.
33260         (test_init): Likewise.
33261         * string/test-strlen.c (do_one_test): Likewise.
33262         (do_test): Likewise.
33263         * string/test-strncasecmp.c (do_one_test): Likewise.
33264         (do_test): Likewise.
33265         * string/test-strncat.c (do_one_test): Likewise.
33266         (do_test): Likewise.
33267         * string/test-strncmp.c (do_one_test): Likewise.
33268         (do_test_limit): Likewise.
33269         (do_test): Likewise.
33270         * string/test-strncpy.c (do_one_test): Likewise.
33271         (do_test): Likewise.
33272         * string/test-strnlen.c (do_one_test): Likewise.
33273         (do_test): Likewise.
33274         * string/test-strpbrk.c (do_one_test): Likewise.
33275         (do_test): Likewise.
33276         * string/test-strrchr.c (do_one_test): Likewise.
33277         (do_test): Likewise.
33278         * string/test-strspn.c (do_one_test): Likewise.
33279         (do_test): Likewise.
33280         * string/test-strstr.c (do_one_test): Likewise.
33281         (do_test): Likewise.
33283         * benchtests/Makefile (string-bench): Add string benchmarks.
33284         * benchtests/bench-bcopy-ifunc.c: New file.
33285         * benchtests/bench-bcopy.c: New file.
33286         * benchtests/bench-bzero-ifunc.c: New file.
33287         * benchtests/bench-bzero.c: New file.
33288         * benchtests/bench-memccpy-ifunc.c: New file.
33289         * benchtests/bench-memccpy.c: New file.
33290         * benchtests/bench-memchr-ifunc.c: New file.
33291         * benchtests/bench-memchr.c: New file.
33292         * benchtests/bench-memcmp-ifunc.c: New file.
33293         * benchtests/bench-memcmp.c: New file.
33294         * benchtests/bench-memmem-ifunc.c: New file.
33295         * benchtests/bench-memmem.c: New file.
33296         * benchtests/bench-memmove-ifunc.c: New file.
33297         * benchtests/bench-memmove.c: New file.
33298         * benchtests/bench-mempcpy-ifunc.c: New file.
33299         * benchtests/bench-mempcpy.c: New file.
33300         * benchtests/bench-memset-ifunc.c: New file.
33301         * benchtests/bench-memset.c: New file.
33302         * benchtests/bench-rawmemchr-ifunc.c: New file.
33303         * benchtests/bench-rawmemchr.c: New file.
33304         * benchtests/bench-stpcpy-ifunc.c: New file.
33305         * benchtests/bench-stpcpy.c: New file.
33306         * benchtests/bench-stpncpy-ifunc.c: New file.
33307         * benchtests/bench-stpncpy.c: New file.
33308         * benchtests/bench-strcasecmp-ifunc.c: New file.
33309         * benchtests/bench-strcasecmp.c: New file.
33310         * benchtests/bench-strcasestr-ifunc.c: New file.
33311         * benchtests/bench-strcasestr.c: New file.
33312         * benchtests/bench-strcat-ifunc.c: New file.
33313         * benchtests/bench-strcat.c: New file.
33314         * benchtests/bench-strchr-ifunc.c: New file.
33315         * benchtests/bench-strchr.c: New file.
33316         * benchtests/bench-strchrnul-ifunc.c: New file.
33317         * benchtests/bench-strchrnul.c: New file.
33318         * benchtests/bench-strcmp-ifunc.c: New file.
33319         * benchtests/bench-strcmp.c: New file.
33320         * benchtests/bench-strcpy-ifunc.c: New file.
33321         * benchtests/bench-strcpy.c: New file.
33322         * benchtests/bench-strcspn-ifunc.c: New file.
33323         * benchtests/bench-strcspn.c: New file.
33324         * benchtests/bench-strlen-ifunc.c: New file.
33325         * benchtests/bench-strlen.c: New file.
33326         * benchtests/bench-strncasecmp-ifunc.c: New file.
33327         * benchtests/bench-strncasecmp.c: New file.
33328         * benchtests/bench-strncat-ifunc.c: New file.
33329         * benchtests/bench-strncat.c: New file.
33330         * benchtests/bench-strncmp-ifunc.c: New file.
33331         * benchtests/bench-strncmp.c: New file.
33332         * benchtests/bench-strncpy-ifunc.c: New file.
33333         * benchtests/bench-strncpy.c: New file.
33334         * benchtests/bench-strnlen-ifunc.c: New file.
33335         * benchtests/bench-strnlen.c: New file.
33336         * benchtests/bench-strpbrk-ifunc.c: New file.
33337         * benchtests/bench-strpbrk.c: New file.
33338         * benchtests/bench-strrchr-ifunc.c: New file.
33339         * benchtests/bench-strrchr.c: New file.
33340         * benchtests/bench-strspn-ifunc.c: New file.
33341         * benchtests/bench-strspn.c: New file.
33342         * benchtests/bench-strstr-ifunc.c: New file.
33343         * benchtests/bench-strstr.c: New file.
33345         * benchtests/Makefile: Disable parallel execution of targets.
33346         (string-bench): Add memcpy.
33347         (benchset): New variable to store a list of benchmark sets.
33348         (bench-func): Renamed from bench.
33349         (bench-set): New target.
33350         (bench): Depend on bench-func and bench-set.
33351         * benchtests/README: Add section on benchmark sets.
33352         * benchtests/bench-memcpy-ifunc.c: New file.
33353         * benchtests/bench-memcpy.c: New file.
33354         * benchtests/bench-string.h: New file.
33356 2013-06-11  Andreas Schwab  <schwab@suse.de>
33358         [BZ #15577]
33359         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33360         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33361         values in the triple.
33362         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33363         terminator in the group key.
33365 2013-06-11  Andreas Jaeger  <aj@suse.de>
33367         * po/zh_TW.po: Update Chinese (traditional) translation from
33368         translation project.
33370 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33372         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33373         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33374         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33375         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33376         (clock_getcpuclockid): Likewise.
33377         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33378         Add weak_alias and libc_hidden_def.
33379         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33380         * rt/clock_gettime.c (clock_gettime): Rename to
33381         __clock_gettime.  Add weak_alias and libc_hidden_def.
33382         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33383         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33384         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33385         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33386         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33387         Likewise.
33388         * rt/clock_settime.c (clock_settime): Rename to
33389         __clock_settime.  Add weak_alias and libc_hidden_def.
33390         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33392 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33394         * mach/err_boot.sub: Remove trailing whitespace.
33395         * mach/err_ipc.sub: Likewise.
33396         * mach/err_mach.sub: Likewise.
33398         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33399         (ROUNDING_TESTS_double): Likewise.
33400         (ROUNDING_TESTS_long_double): Likewise.
33401         (ROUNDING_TESTS): Likewise.
33402         * math/libm-test.inc: Include <math-tests.h>.
33403         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33404         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33405         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33406         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33408 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33410         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33411         of assigning.
33413 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33415         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33416         otherwise empty TRANS lines.
33417         * sysdeps/gnu/errlist.c: Regenerated.
33419         * catgets/gencat.c (error_print): Use (void) in function
33420         definition.
33421         * crypt/crypt_util.c (__init_des): Likewise.
33422         * crypt/speeds.c (Stop): Likewise.
33423         (main): Likewise.
33424         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33425         * inet/ruserpass.c (token): Likewise.
33426         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33427         * intl/localealias.c (extend_alias_table): Likewise.
33428         * intl/plural-exp.c (init_germanic_plural): Likewise.
33429         * libio/fcloseall.c (__fcloseall): Likewise.
33430         * libio/genops.c (_IO_flush_all): Likewise.
33431         (_IO_flush_all_linebuffered): Likewise.
33432         (_IO_cleanup): Likewise.
33433         (_IO_iter_begin): Likewise.
33434         (_IO_iter_end): Likewise.
33435         (_IO_list_lock): Likewise.
33436         (_IO_list_unlock): Likewise.
33437         (_IO_list_resetlock): Likewise.
33438         * libio/getchar.c (getchar): Likewise.
33439         * libio/getchar_u.c (getchar_unlocked): Likewise.
33440         * libio/getwchar.c (getwchar): Likewise.
33441         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33442         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33443         * login/getpt.c (__getpt): Likewise.
33444         * login/tst-utmp.c (main): Likewise.
33445         * malloc/hooks.c (__malloc_check_init): Likewise.
33446         * malloc/malloc.c (__malloc_stats): Likewise.
33447         * malloc/mtrace.c (tr_break): Likewise.
33448         (mtrace): Likewise.
33449         (muntrace): Likewise.
33450         * misc/fstab.c (endfsent): Likewise.
33451         * misc/getclktck.c (__getclktck): Likewise.
33452         * misc/getdtsz.c (__getdtablesize): Likewise.
33453         * misc/gethostid.c (gethostid): Likewise.
33454         * misc/getpagesize.c (__getpagesize): Likewise.
33455         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33456         (__get_nprocs): Likewise.
33457         (__get_phys_pages): Likewise.
33458         (__get_avphys_pages): Likewise.
33459         * misc/getttyent.c (getttyent): Likewise.
33460         (setttyent): Likewise.
33461         (endttyent): Likewise.
33462         * misc/getusershell.c (getusershell): Likewise.
33463         (endusershell): Likewise.
33464         (setusershell): Likewise.
33465         (initshells): Likewise.
33466         * misc/hsearch.c (__hdestroy): Likewise.
33467         * misc/sync.c (sync): Likewise.
33468         * misc/syslog.c (closelog_internal): Likewise.
33469         (closelog): Likewise.
33470         * misc/ttyslot.c (ttyslot): Likewise.
33471         * misc/vhangup.c (vhangup): Likewise.
33472         * posix/fork.c (__fork): Likewise.
33473         * posix/getegid.c (__getegid): Likewise.
33474         * posix/geteuid.c (__geteuid): Likewise.
33475         * posix/getgid.c (__getgid): Likewise.
33476         * posix/getpid.c (__getpid): Likewise.
33477         * posix/getppid.c (__getppid): Likewise.
33478         * posix/getuid.c (__getuid): Likewise.
33479         * posix/pause.c (pause): Likewise.
33480         * posix/setpgrp.c (setpgrp): Likewise.
33481         * posix/setsid.c (__setsid): Likewise.
33482         * posix/test-vfork.c (noop): Likewise.
33483         * resolv/gethnamaddr.c (_endhtent): Likewise.
33484         (_gethtent): Likewise.
33485         (ht_endhostent): Likewise.
33486         (gethostent): Likewise.
33487         (dns_service): Likewise.
33488         * stdlib/drand48.c (drand48): Likewise.
33489         * stdlib/lrand48.c (lrand48): Likewise.
33490         * stdlib/mrand48.c (mrand48): Likewise.
33491         * stdlib/rand.c (rand): Likewise.
33492         * stdlib/random.c (__random): Likewise.
33493         * stdlib/setenv.c (clearenv): Likewise.
33494         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33495         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33496         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33497         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33498         (__get_nprocs): Likewise.
33499         (__get_phys_pages): Likewise.
33500         (__get_avphys_pages): Likewise.
33501         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33502         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33503         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33504         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33505         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33506         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33507         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33508         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33509         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33510         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33511         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33512         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33513         * sysdeps/posix/clock.c (clock): Likewise.
33514         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33515         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33516         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33517         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33518         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33520         (__get_nprocs_conf): Likewise.
33521         (__get_phys_pages): Likewise.
33522         (__get_avphys_pages): Likewise.
33523         * time/clock.c (clock): Likewise.
33524         * time/tzset.c (__tzname_max): Likewise.
33526 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33528         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33529         (__bswap_32): Do not use "register".
33530         * crypt/crypt.c (_ufc_doit_r): Likewise.
33531         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33532         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33533         * gmon/gmon.c (__monstartup): Likewise.
33534         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33535         * hurd/hurdmalloc.c (more_memory): Likewise.
33536         (malloc): Likewise.
33537         (free): Likewise.
33538         (realloc): Likewise.
33539         (malloc_fork_prepare): Likewise.
33540         (malloc_fork_parent): Likewise.
33541         (malloc_fork_child): Likewise.
33542         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33543         (_svcauth_des): Likewise.
33544         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33545         * inet/inet_net.c (inet_network): Likewise.
33546         * inet/inet_netof.c (inet_netof): Likewise.
33547         * inet/rcmd.c (__validuser2_sa): Likewise.
33548         * io/fts.c (fts_open): Likewise.
33549         (fts_load): Likewise.
33550         (fts_close): Likewise.
33551         (fts_read): Likewise.
33552         (fts_children): Likewise.
33553         (fts_build): Likewise.
33554         (fts_stat): Likewise.
33555         (fts_sort): Likewise.
33556         (fts_alloc): Likewise.
33557         (fts_lfree): Likewise.
33558         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33559         (_IO_file_xsgetn): Likewise.
33560         (_IO_file_xsgetn_mmap): Likewise.
33561         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33562         (_IO_cookie_write): Likewise.
33563         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33564         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33565         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33566         * malloc/obstack.c (_obstack_begin): Likewise.
33567         (_obstack_begin_1): Likewise.
33568         (_obstack_newchunk): Likewise.
33569         (_obstack_allocated_p): Likewise.
33570         (obstack_free): Likewise.
33571         (_obstack_memory_used): Likewise.
33572         * misc/getttyent.c (getttynam): Likewise.
33573         (getttyent): Likewise.
33574         (skip): Likewise.
33575         (value): Likewise.
33576         * misc/getusershell.c (initshells): Likewise.
33577         * misc/syslog.c (__vsyslog_chk): Likewise.
33578         * misc/ttyslot.c (ttyslot): Likewise.
33579         * nis/nis_hash.c (__nis_hash): Likewise.
33580         * posix/fnmatch_loop.c (FCT): Likewise.
33581         * posix/getconf.c (print_all): Likewise.
33582         (main): Likewise.
33583         * posix/getopt.c (exchange): Likewise.
33584         * posix/glob.c (globfree): Likewise.
33585         (prefix_array): Likewise.
33586         (__glob_pattern_type): Likewise.
33587         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33588         (NS_GET32): Likewise.
33589         (NS_PUT16): Likewise.
33590         (NS_PUT32): Likewise.
33591         * resolv/gethnamaddr.c (getanswer): Likewise.
33592         (gethostbyname2): Likewise.
33593         (gethostbyaddr): Likewise.
33594         (_gethtent): Likewise.
33595         (_gethtbyname2): Likewise.
33596         (_gethtbyaddr): Likewise.
33597         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33598         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33599         * resolv/res_init.c (__res_vinit): Likewise.
33600         (net_mask): Likewise.
33601         * resolv/res_mkquery.c (outchar): Likewise.
33602         (PRINT): Likewise.
33603         * stdio-common/printf_fp.c (outchar): Likewise.
33604         (PRINT): Likewise.
33605         * stdio-common/printf_fphex.c (outchar): Likewise.
33606         (PRINT): Likewise.
33607         * stdio-common/printf_size.c (outchar): Likewise.
33608         (PRINT): Likewise.
33609         * stdio-common/test_rdwr.c (main): Likewise.
33610         * stdio-common/tfformat.c (matches): Likewise.
33611         * stdio-common/vfprintf.c (outchar): Likewise.
33612         (printf_unknown): Likewise.
33613         (buffered_vfprintf): Likewise.
33614         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33615         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33616         (ReadFile): Likewise.
33617         * stdlib/qsort.c (SWAP): Likewise.
33618         (_quicksort): Likewise.
33619         * stdlib/setenv.c (__add_to_environ): Likewise.
33620         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33621         * stdlib/strtol_l.c (__strtol_l): Likewise.
33622         * stdlib/tst-strtod.c (main): Likewise.
33623         * stdlib/tst-strtol.c (main): Likewise.
33624         * stdlib/tst-strtoll.c (main): Likewise.
33625         * string/bits/string2.h (__strcmp_cc): Likewise.
33626         (__strcmp_cg): Likewise.
33627         (__strcspn_c1): Likewise.
33628         (__strcspn_c2): Likewise.
33629         (__strcspn_c3): Likewise.
33630         (__strspn_c1): Likewise.
33631         (__strspn_c2): Likewise.
33632         (__strspn_c3): Likewise.
33633         (__strsep_1c): Likewise.
33634         (__strsep_2c): Likewise.
33635         (__strsep_3c): Likewise.
33636         * string/memccpy.c (__memccpy): Likewise.
33637         * string/stpcpy.c (__stpcpy): Likewise.
33638         * string/strcmp.c (strcmp): Likewise.
33639         * string/strrchr.c (strrchr): Likewise.
33640         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33641         Likewise.
33642         * sysdeps/mach/hurd/getcwd.c
33643         (_hurd_canonicalize_directory_name_internal): Likewise.
33644         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33645         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33646         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33647         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33648         Likewise, in both definitions.
33649         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33650         definitions.
33651         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33652         64] (__bswap_64): Likewise.
33653         * time/test_time.c (main): Likewise.
33654         * time/tzfile.c (__tzfile_read): Likewise.
33655         (__tzfile_compute): Likewise.
33656         * time/tzset.c (__tzset_parse_tz): Likewise.
33657         (tzset_internal): Likewise.
33658         (compute_change): Likewise.
33659         * wcsmbs/wcscat.c (__wcscat): Likewise.
33660         * wcsmbs/wcschr.c (wcschr): Likewise.
33661         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33662         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33663         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33664         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33665         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33666         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33667         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33668         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33669         * wcsmbs/wmemset.c (wmemset): Likewise.
33671 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33673         * scripts/config.guess: Update to version 2013-05-16.
33674         * scripts/config.sub: Update to version 2013-04-24.
33675         * scripts/install-sh: Update to version 2011-11-20.07.
33676         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33677         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33679 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33681         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33682         * elf/sln.c: Likewise.
33683         * hurd/hurd/ioctl.h: Likewise.
33684         * hurd/hurdmalloc.c: Likewise.
33685         * hurd/xattr.c: Likewise.
33686         * include/shlib-compat.h: Likewise.
33687         * inet/ruserpass.c: Likewise.
33688         * libio/iofgets_u.c: Likewise.
33689         * libio/iofgetws_u.c: Likewise.
33690         * locale/programs/ld-identification.c: Likewise.
33691         * locale/programs/ld-time.c: Likewise.
33692         * mach/msg-destroy.c: Likewise.
33693         * nss/nss_files/files-netgrp.c: Likewise.
33694         * resolv/res_data.c: Likewise.
33695         * soft-fp/op-1.h: Likewise.
33696         * soft-fp/op-2.h: Likewise.
33697         * soft-fp/op-4.h: Likewise.
33698         * soft-fp/op-common.h: Likewise.
33699         * stdio-common/printf_fphex.c: Likewise.
33700         * stdlib/strtod_l.c: Likewise.
33701         * sunrpc/rpc/clnt.h: Likewise.
33702         * sysdeps/generic/framestate.c: Likewise.
33703         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33704         * sysdeps/i386/bsd-setjmp.S: Likewise.
33705         * sysdeps/i386/__longjmp.S: Likewise.
33706         * sysdeps/i386/setjmp.S: Likewise.
33707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33708         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33709         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33716         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33717         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33718         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33719         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33720         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33721         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33722         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33723         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33724         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33725         * sysdeps/ieee754/support.c: Likewise.
33726         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33727         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33728         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33729         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33730         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33731         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33732         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33733         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33734         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33735         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33736         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33737         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33738         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33739         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33740         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33741         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33742         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33745 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33747         * posix/transbug.c: Remove executable mode.
33749 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33751         * crypt/speeds.c: Remove trailing whitespace.
33752         * dlfcn/default.c: Likewise.
33753         * elf/ifuncdep2.c: Likewise.
33754         * elf/ifuncmain1.c: Likewise.
33755         * elf/ifuncmain1vis.c: Likewise.
33756         * elf/testobj.h: Likewise.
33757         * elf/tst-stackguard1.c: Likewise.
33758         * gmon/sys/gmon.h: Likewise.
33759         * hurd/hurdmsg.c: Likewise.
33760         * hurd/new-fd.c: Likewise.
33761         * hurd/ports-get.c: Likewise.
33762         * iconvdata/ibm1008_420.c: Likewise.
33763         * inet/tst-getni1.c: Likewise.
33764         * inet/tst-getni2.c: Likewise.
33765         * libio/ioungetc.c: Likewise.
33766         * libio/wfiledoalloc.c: Likewise.
33767         * manual/libm-err-tab.pl: Likewise.
33768         * math/w_dremf.c: Likewise.
33769         * misc/ftruncate.c: Likewise.
33770         * posix/bug-glob2.c: Likewise.
33771         * posix/tst-pcre.c: Likewise.
33772         * posix/wait4.c: Likewise.
33773         * resolv/README: Likewise.
33774         * resolv/res_debug.h: Likewise.
33775         * resolv/tst-inet_ntop.c: Likewise.
33776         * setjmp/bug269-setjmp.c: Likewise.
33777         * soft-fp/extended.h: Likewise.
33778         * soft-fp/op-1.h: Likewise.
33779         * soft-fp/op-2.h: Likewise.
33780         * soft-fp/op-4.h: Likewise.
33781         * soft-fp/op-8.h: Likewise.
33782         * soft-fp/testit.c: Likewise.
33783         * stdio-common/bug16.c: Likewise.
33784         * stdlib/random.c: Likewise.
33785         * sunrpc/rpcsvc/rquota.x: Likewise.
33786         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33787         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33788         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33789         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33790         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33791         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33792         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33793         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33794         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33795         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33796         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33797         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33798         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33799         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33800         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33801         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33802         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33803         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33804         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33805         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33806         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33807         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33808         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33809         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33810         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33811         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33815         * sysdeps/ieee754/s_lib_version.c: Likewise.
33816         * sysdeps/mach/hurd/check_fds.c: Likewise.
33817         * sysdeps/mach/hurd/getsockname.c: Likewise.
33818         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33819         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33820         * sysdeps/powerpc/bits/link.h: Likewise.
33821         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33822         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33823         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33824         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33825         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33826         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33827         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33828         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33829         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33830         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33831         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33832         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33833         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33834         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33835         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33836         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33837         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33838         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33839         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33840         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33841         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33842         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33843         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33844         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33845         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33846         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33847         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33848         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33849         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33850         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33851         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33852         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33853         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33854         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33855         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33856         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33857         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33858         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33859         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33860         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33861         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33862         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33863         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33864         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33865         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33866         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33867         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33868         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33869         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33870         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33871         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33872         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33873         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33874         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33875         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33876         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33877         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33879         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33880         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33881         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33882         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33883         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33884         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33885         * sysdeps/powerpc/sysdep.h: Likewise.
33886         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33887         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33888         * sysdeps/sh/dl-trampoline.S: Likewise.
33889         * sysdeps/sh/memset.S: Likewise.
33890         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33891         * sysdeps/sh/strlen.S: Likewise.
33892         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33893         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33894         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33895         * sysdeps/sparc/sparc32/rem.S: Likewise.
33896         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33897         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33898         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33899         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33900         * sysdeps/sparc/sparc32/urem.S: Likewise.
33901         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33902         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33903         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33904         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33905         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33906         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33907         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33908         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33909         * sysdeps/unix/bsd/times.c: Likewise.
33910         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33911         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33915         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33916         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33917         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33918         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33919         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33920         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33921         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33922         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33923         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33924         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33925         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33926         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33927         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33928         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33929         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33930         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33931         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33932         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33933         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33934         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33935         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33936         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33937         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33938         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33939         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33940         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33941         * sysdeps/x86_64/strcspn.S: Likewise.
33943 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33945         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33946         generated file.  Regenerate properly from gen-translit.pl.
33947         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33948         locale/C-translit.h.
33950 2013-06-05  Andreas Schwab  <schwab@suse.de>
33952         [BZ #15100]
33953         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33954         week as 6 instead of -1.
33955         * time/tst-strptime.c (day_tests): Add test case.
33957 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33959         * sysdeps/generic/math_private.h
33960         (libc_feholdexcept_setround_53bit): Replace with
33961         libc_feholdsetround_53bit.
33962         (libc_feupdateenv_53bit): Replace with
33963         libc_feresetround_53bit.
33964         (SET_RESTORE_ROUND_53BIT): Adjust.
33966 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33968         * string/test-strchrnul.c: Add copyright header.
33970         * posix/tst-getaddrinfo4.c: Increase test timeout.
33972 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33974         [BZ #15536]
33975         * math/libm-test.inc (MAX_EXP): Remove
33976         (MIN_EXP): Define.
33977         (ulp): Use MIN_EXP - MANT_DIG.
33978         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33980 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33982         * po/be.po: Revert last change.
33983         * po/zh_CN.po: Likewise.
33984         * po/header.pot: Likewise.
33986 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33988         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33989         link-libc-deps to empty as target-specific variable.
33990         * Makerules (link-libc-args): New variable.
33991         (libc-for-link): Likewise.
33992         (link-libc-deps): Likewise.
33993         (lib%.so): Depend on $(link-libc-deps).  Link with
33994         $(link-libc-args).
33995         (build-module): Link with $(link-libc-args).
33996         (build-module-asneeded): Likewise.
33997         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33998         list of objects.
33999         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34000         target-specific variable.
34001         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34002         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34003         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34004         libc.
34005         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34006         libc and ld.so.
34007         ($(objpfx)libpcprofile.so): Likewise.
34008         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34009         libc_nonshared.a.
34010         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34011         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34012         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34013         $(link-libc-deps).
34014         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34015         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34016         * login/Makefile ($(objpfx)libutil.so): Likewise.
34017         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34018         * math/Makefile ($(objpfx)libm.so): Likewise.
34019         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34020         $(objpfx)libnsl.so): Define libc-for-link as target-specific
34021         variable instead of depending directly on libc.
34022         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34023         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34024         $(link-libc-deps).
34025         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34026         libc.
34027         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34028         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34029         ($(objpfx)libanl.so): Likewise.
34030         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34031         ld.so.
34032         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34033         $(link-libc-deps).
34034         * sysdeps/i386/fpu/Makefile: Remove file.
34035         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34036         ($(objpfx)libm.so): Remove dependency on ld.so.
34038 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
34040         [BZ # 15553]
34041         * nis/yp_xdr.c (XDRMAXNAME): Define.
34042         (XDRMAXRECORD): Define.
34043         (xdr_domainname): Use XDRMAXNAME.
34044         (xdr_mapname): Likewise.
34045         (xdr_peername): Likewise.
34046         (xdr_keydat): Use XDRMAXRECORD.
34047         (xdr_valdat): Likewise.
34049 2013-05-30  Jeff Law  <law@redhat.com>
34051         [BZ #14256]
34052         * manual/errno.texi (ESTALE): Update to account for more than
34053         just NFS file systems.
34054         * sysdeps/gnu/errlist.c: Regenerated.
34056 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34058         [BZ #15465]
34059         * elf/Makefile (tests): Add tst-null-argv.
34060         (modules-names):  Add tst-null-argv-lib.
34061         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34062         (tst-null-argv-ENV): Set environment for tst-null-argv.
34063         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34064         (RTLD_PROGNAME): New macro.
34065         * elf/tst-null-argv.c: New test case.
34066         * elf/tst-null-argv-lib.c: Library for test case.
34067         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34068         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34069         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34070         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34071         * elf/dl-init.c (call_init): Likewise.
34072         (_dl_init): Likewise.
34073         * elf/dl-load.c (print_search_path): Likewise.
34074         (_dl_map_object): Likewise.
34075         * elf/dl-lookup.c (do_lookup_x): Likewise.
34076         (add_dependency): Likewise.
34077         (_dl_lookup_symbol_x): Likewise.
34078         (_dl_debug_bindings): Likewise.
34079         * elf/dl-open.c (_dl_show_scope): Likewise.
34080         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34081         * elf/dl-version.c (match_symbol): Likewise.
34082         (_dl_check_map_versions): Likewise.
34083         * elf/rtld.c (dl_main): Likewise.
34084         (print_unresolved): Use RTLD_PROGNAME.
34085         (print_missing_version): Likewise.
34086         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34087         (elf_machine_rela): Likewise.
34088         * sysdeps/powerpc/powerpc32/dl-machine.c
34089         (__process_machine_rela): Likewise.
34090         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34091         Likewise.
34092         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34093         Likewise.
34094         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34095         Likewise.
34096         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34098         Likewise.
34099         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34100         Likewise.
34101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34103 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
34105         * po/be.po: Add descriptive title.
34106         * po/zh_CN.po: Likewise.
34107         * po/header.pot: Likewise.
34109 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
34111         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34112         error message.
34113         (enlarge_archive): Likewise.
34115 2013-05-28  Ben North  <ben@redfrontdoor.org>
34117         * manual/arith.texi (frexp): It is the magnitude of the return
34118         value which lies in [0.5, 1), not the return value itself.
34120 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34124 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34126         * stdio-common/bug26.c (main): Correct fscanf template.
34128         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34129         declare _dl_skip_args.
34131         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34132         Don't declare.
34134         * manual/platform.texi: Add missing @end deftypefun.
34136 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34138         [BZ #15529]
34139         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34140         bit of mantissa of 2^16382.
34141         * math/libm-test.inc (hypot_test_data): Add more tests.
34143         * math/libm-test.inc: Add drem and pow10 to list of tested
34144         functions.
34145         (pow10_test): New function.
34146         (drem_test): Likewise.
34147         (drem_test_tonearest): Likewise.
34148         (drem_test_towardzero): Likewise.
34149         (drem_test_downward): Likewise.
34150         (drem_test_upward): Likewise.
34151         (main): Call the new functions.
34153         * math/libm-test.inc (finite_test_data): Remove.
34154         (finite_test): Run tests from isfinite_test_data.
34155         (gamma_test_data): Remove.
34156         (gamma_test): Run tests from lgamma_test_data.
34157         * sysdeps/i386/fpu/libm-test-ulps: Update.
34158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34160 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34162         * manual/platform.texi: Add PowerPC PPR function set documentation.
34163         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34164         implementation.
34166 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34168         * math/libm-test.inc (MAX_EXP): Define.
34169         (ULPDIFF): Define.
34170         (ulp): New function.
34171         (check_float_internal): Use ULPDIFF.
34172         (cpow_test): Disable failing test.
34173         (check_ulp): Test ulp() implemetnation.
34174         (main): Call check_ulp before starting tests.
34176 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34178         * math/gen-libm-test.pl (generate_testfile): Do not handle
34179         START_DATA and END_DATA.
34180         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34181         END_DATA.
34182         (acos_tonearest_test_data): Likewise.
34183         (acos_towardzero_test_data): Likewise.
34184         (acos_downward_test_data): Likewise.
34185         (acos_upward_test_data): Likewise.
34186         (acosh_test_data): Likewise.
34187         (asin_test_data): Likewise.
34188         (asin_tonearest_test_data): Likewise.
34189         (asin_towardzero_test_data): Likewise.
34190         (asin_downward_test_data): Likewise.
34191         (asin_upward_test_data): Likewise.
34192         (asinh_test_data): Likewise.
34193         (atan_test_data): Likewise.
34194         (atanh_test_data): Likewise.
34195         (atan2_test_data): Likewise.
34196         (cabs_test_data): Likewise.
34197         (cacos_test_data): Likewise.
34198         (cacosh_test_data): Likewise.
34199         (carg_test_data): Likewise.
34200         (casin_test_data): Likewise.
34201         (casinh_test_data): Likewise.
34202         (catan_test_data): Likewise.
34203         (catanh_test_data): Likewise.
34204         (cbrt_test_data): Likewise.
34205         (ccos_test_data): Likewise.
34206         (ccosh_test_data): Likewise.
34207         (ceil_test_data): Likewise.
34208         (cexp_test_data): Likewise.
34209         (cimag_test_data): Likewise.
34210         (clog_test_data): Likewise.
34211         (clog10_test_data): Likewise.
34212         (conj_test_data): Likewise.
34213         (copysign_test_data): Likewise.
34214         (cos_test_data): Likewise.
34215         (cos_tonearest_test_data): Likewise.
34216         (cos_towardzero_test_data): Likewise.
34217         (cos_downward_test_data): Likewise.
34218         (cos_upward_test_data): Likewise.
34219         (cosh_test_data): Likewise.
34220         (cosh_tonearest_test_data): Likewise.
34221         (cosh_towardzero_test_data): Likewise.
34222         (cosh_downward_test_data): Likewise.
34223         (cosh_upward_test_data): Likewise.
34224         (cpow_test_data): Likewise.
34225         (cproj_test_data): Likewise.
34226         (creal_test_data): Likewise.
34227         (csin_test_data): Likewise.
34228         (csinh_test_data): Likewise.
34229         (csqrt_test_data): Likewise.
34230         (ctan_test_data): Likewise.
34231         (ctan_tonearest_test_data): Likewise.
34232         (ctan_towardzero_test_data): Likewise.
34233         (ctan_downward_test_data): Likewise.
34234         (ctan_upward_test_data): Likewise.
34235         (ctanh_test_data): Likewise.
34236         (ctanh_tonearest_test_data): Likewise.
34237         (ctanh_towardzero_test_data): Likewise.
34238         (ctanh_downward_test_data): Likewise.
34239         (ctanh_upward_test_data): Likewise.
34240         (erf_test_data): Likewise.
34241         (erfc_test_data): Likewise.
34242         (exp_test_data): Likewise.
34243         (exp_tonearest_test_data): Likewise.
34244         (exp_towardzero_test_data): Likewise.
34245         (exp_downward_test_data): Likewise.
34246         (exp_upward_test_data): Likewise.
34247         (exp10_test_data): Likewise.
34248         (exp2_test_data): Likewise.
34249         (expm1_test_data): Likewise.
34250         (fabs_test_data): Likewise.
34251         (fdim_test_data): Likewise.
34252         (finite_test_data): Likewise.
34253         (floor_test_data): Likewise.
34254         (fma_test_data): Likewise.
34255         (fma_towardzero_test_data): Likewise.
34256         (fma_downward_test_data): Likewise.
34257         (fma_upward_test_data): Likewise.
34258         (fmax_test_data): Likewise.
34259         (fmin_test_data): Likewise.
34260         (fmod_test_data): Likewise.
34261         (fpclassify_test_data): Likewise.
34262         (frexp_test_data): Likewise.
34263         (gamma_test_data): Likewise.
34264         (hypot_test_data): Likewise.
34265         (ilogb_test_data): Likewise.
34266         (isfinite_test_data): Likewise.
34267         (isgreater_test_data): Likewise.
34268         (isgreaterequal_test_data): Likewise.
34269         (isinf_test_data): Likewise.
34270         (isless_test_data): Likewise.
34271         (islessequal_test_data): Likewise.
34272         (islessgreater_test_data): Likewise.
34273         (isnan_test_data): Likewise.
34274         (isnormal_test_data): Likewise.
34275         (issignaling_test_data): Likewise.
34276         (isunordered_test_data): Likewise.
34277         (j0_test_data): Likewise.
34278         (j1_test_data): Likewise.
34279         (jn_test_data): Likewise.
34280         (ldexp_test_data): Likewise.
34281         (lgamma_test_data): Likewise.
34282         (lrint_test_data): Likewise.
34283         (lrint_tonearest_test_data): Likewise.
34284         (lrint_towardzero_test_data): Likewise.
34285         (lrint_downward_test_data): Likewise.
34286         (lrint_upward_test_data): Likewise.
34287         (llrint_test_data): Likewise.
34288         (llrint_tonearest_test_data): Likewise.
34289         (llrint_towardzero_test_data): Likewise.
34290         (llrint_downward_test_data): Likewise.
34291         (llrint_upward_test_data): Likewise.
34292         (log_test_data): Likewise.
34293         (log10_test_data): Likewise.
34294         (log1p_test_data): Likewise.
34295         (log2_test_data): Likewise.
34296         (logb_test_data): Likewise.
34297         (logb_downward_test_data): Likewise.
34298         (lround_test_data): Likewise.
34299         (llround_test_data): Likewise.
34300         (modf_test_data): Likewise.
34301         (nearbyint_test_data): Likewise.
34302         (nextafter_test_data): Likewise.
34303         (nexttoward_test_data): Likewise.
34304         (pow_test_data): Likewise.
34305         (pow_tonearest_test_data): Likewise.
34306         (pow_towardzero_test_data): Likewise.
34307         (pow_downward_test_data): Likewise.
34308         (pow_upward_test_data): Likewise.
34309         (remainder_test_data): Likewise.
34310         (remainder_tonearest_test_data): Likewise.
34311         (remainder_towardzero_test_data): Likewise.
34312         (remainder_downward_test_data): Likewise.
34313         (remainder_upward_test_data): Likewise.
34314         (remquo_test_data): Likewise.
34315         (rint_test_data): Likewise.
34316         (rint_tonearest_test_data): Likewise.
34317         (rint_towardzero_test_data): Likewise.
34318         (rint_downward_test_data): Likewise.
34319         (rint_upward_test_data): Likewise.
34320         (round_test_data): Likewise.
34321         (scalb_test_data): Likewise.
34322         (scalbn_test_data): Likewise.
34323         (scalbln_test_data): Likewise.
34324         (signbit_test_data): Likewise.
34325         (sin_test_data): Likewise.
34326         (sin_tonearest_test_data): Likewise.
34327         (sin_towardzero_test_data): Likewise.
34328         (sin_downward_test_data): Likewise.
34329         (sin_upward_test_data): Likewise.
34330         (sincos_test_data): Likewise.
34331         (sinh_test_data): Likewise.
34332         (sinh_tonearest_test_data): Likewise.
34333         (sinh_towardzero_test_data): Likewise.
34334         (sinh_downward_test_data): Likewise.
34335         (sinh_upward_test_data): Likewise.
34336         (sqrt_test_data): Likewise.
34337         (tan_test_data): Likewise.
34338         (tan_tonearest_test_data): Likewise.
34339         (tan_towardzero_test_data): Likewise.
34340         (tan_downward_test_data): Likewise.
34341         (tan_upward_test_data): Likewise.
34342         (tanh_test_data): Likewise.
34343         (tgamma_test_data): Likewise.
34344         (trunc_test_data): Likewise.
34345         (y0_test_data): Likewise.
34346         (y1_test_data): Likewise.
34347         (yn_test_data): Likewise.
34348         (significand_test_data): Likewise.
34350         * math/gen-libm-test.pl (@functions): Remove variable.
34351         (generate_testfile): Don't handle START and END lines.
34352         * math/libm-test.inc (START): New macro.
34353         (END): Likewise.
34354         (END_COMPLEX): Likewise.
34355         (acos_test): Use END macro without arguments.
34356         (acos_test_tonearest): Likewise.
34357         (acos_test_towardzero): Likewise.
34358         (acos_test_downward): Likewise.
34359         (acos_test_upward): Likewise.
34360         (acosh_test): Likewise.
34361         (asin_test): Likewise.
34362         (asin_test_tonearest): Likewise.
34363         (asin_test_towardzero): Likewise.
34364         (asin_test_downward): Likewise.
34365         (asin_test_upward): Likewise.
34366         (asinh_test): Likewise.
34367         (atan_test): Likewise.
34368         (atanh_test): Likewise.
34369         (atan2_test): Likewise.
34370         (cabs_test): Likewise.
34371         (cacos_test): Use END_COMPLEX macro without arguments.
34372         (cacosh_test): Likewise.
34373         (carg_test): Use END macro without arguments.
34374         (casin_test): Use END_COMPLEX macro without arguments.
34375         (casinh_test): Likewise.
34376         (catan_test): Likewise.
34377         (catanh_test): Likewise.
34378         (cbrt_test): Use END macro without arguments.
34379         (ccos_test): Use END_COMPLEX macro without arguments.
34380         (ccosh_test): Likewise.
34381         (ceil_test): Use END macro without arguments.
34382         (cexp_test): Use END_COMPLEX macro without arguments.
34383         (cimag_test): Use END macro without arguments.
34384         (clog_test): Use END_COMPLEX macro without arguments.
34385         (clog10_test): Likewise.
34386         (conj_test): Likewise.
34387         (copysign_test): Use END macro without arguments.
34388         (cos_test): Likewise.
34389         (cos_test_tonearest): Likewise.
34390         (cos_test_towardzero): Likewise.
34391         (cos_test_downward): Likewise.
34392         (cos_test_upward): Likewise.
34393         (cosh_test): Likewise.
34394         (cosh_test_tonearest): Likewise.
34395         (cosh_test_towardzero): Likewise.
34396         (cosh_test_downward): Likewise.
34397         (cosh_test_upward): Likewise.
34398         (cpow_test): Use END_COMPLEX macro without arguments.
34399         (cproj_test): Likewise.
34400         (creal_test): Use END macro without arguments.
34401         (csin_test): Use END_COMPLEX macro without arguments.
34402         (csinh_test): Likewise.
34403         (csqrt_test): Likewise.
34404         (ctan_test): Likewise.
34405         (ctan_test_tonearest): Likewise.
34406         (ctan_test_towardzero): Likewise.
34407         (ctan_test_downward): Likewise.
34408         (ctan_test_upward): Likewise.
34409         (ctanh_test): Likewise.
34410         (ctanh_test_tonearest): Likewise.
34411         (ctanh_test_towardzero): Likewise.
34412         (ctanh_test_downward): Likewise.
34413         (ctanh_test_upward): Likewise.
34414         (erf_test): Use END macro without arguments.
34415         (erfc_test): Likewise.
34416         (exp_test): Likewise.
34417         (exp_test_tonearest): Likewise.
34418         (exp_test_towardzero): Likewise.
34419         (exp_test_downward): Likewise.
34420         (exp_test_upward): Likewise.
34421         (exp10_test): Likewise.
34422         (exp2_test): Likewise.
34423         (expm1_test): Likewise.
34424         (fabs_test): Likewise.
34425         (fdim_test): Likewise.
34426         (finite_test): Likewise.
34427         (floor_test): Likewise.
34428         (fma_test): Likewise.
34429         (fma_test_towardzero): Likewise.
34430         (fma_test_downward): Likewise.
34431         (fma_test_upward): Likewise.
34432         (fmax_test): Likewise.
34433         (fmin_test): Likewise.
34434         (fmod_test): Likewise.
34435         (fpclassify_test): Likewise.
34436         (frexp_test): Likewise.
34437         (gamma_test): Likewise.
34438         (hypot_test): Likewise.
34439         (ilogb_test): Likewise.
34440         (isfinite_test): Likewise.
34441         (isgreater_test): Likewise.
34442         (isgreaterequal_test): Likewise.
34443         (isinf_test): Likewise.
34444         (isless_test): Likewise.
34445         (islessequal_test): Likewise.
34446         (islessgreater_test): Likewise.
34447         (isnan_test): Likewise.
34448         (isnormal_test): Likewise.
34449         (issignaling_test): Likewise.
34450         (isunordered_test): Likewise.
34451         (j0_test): Likewise.
34452         (j1_test): Likewise.
34453         (jn_test): Likewise.
34454         (ldexp_test): Likewise.
34455         (lgamma_test): Likewise.
34456         (lrint_test): Likewise.
34457         (lrint_test_tonearest): Likewise.
34458         (lrint_test_towardzero): Likewise.
34459         (lrint_test_downward): Likewise.
34460         (lrint_test_upward): Likewise.
34461         (llrint_test): Likewise.
34462         (llrint_test_tonearest): Likewise.
34463         (llrint_test_towardzero): Likewise.
34464         (llrint_test_downward): Likewise.
34465         (llrint_test_upward): Likewise.
34466         (log_test): Likewise.
34467         (log10_test): Likewise.
34468         (log1p_test): Likewise.
34469         (log2_test): Likewise.
34470         (logb_test): Likewise.
34471         (logb_test_downward): Likewise.
34472         (lround_test): Likewise.
34473         (llround_test): Likewise.
34474         (modf_test): Likewise.
34475         (nearbyint_test): Likewise.
34476         (nextafter_test): Likewise.
34477         (nexttoward_test): Likewise.
34478         (pow_test): Likewise.
34479         (pow_test_tonearest): Likewise.
34480         (pow_test_towardzero): Likewise.
34481         (pow_test_downward): Likewise.
34482         (pow_test_upward): Likewise.
34483         (remainder_test): Likewise.
34484         (remainder_test_tonearest): Likewise.
34485         (remainder_test_towardzero): Likewise.
34486         (remainder_test_downward): Likewise.
34487         (remainder_test_upward): Likewise.
34488         (remquo_test): Likewise.
34489         (rint_test): Likewise.
34490         (rint_test_tonearest): Likewise.
34491         (rint_test_towardzero): Likewise.
34492         (rint_test_downward): Likewise.
34493         (rint_test_upward): Likewise.
34494         (round_test): Likewise.
34495         (scalb_test): Likewise.
34496         (scalbn_test): Likewise.
34497         (scalbln_test): Likewise.
34498         (signbit_test): Likewise.
34499         (sin_test): Likewise.
34500         (sin_test_tonearest): Likewise.
34501         (sin_test_towardzero): Likewise.
34502         (sin_test_downward): Likewise.
34503         (sin_test_upward): Likewise.
34504         (sincos_test): Likewise.
34505         (sinh_test): Likewise.
34506         (sinh_test_tonearest): Likewise.
34507         (sinh_test_towardzero): Likewise.
34508         (sinh_test_downward): Likewise.
34509         (sinh_test_upward): Likewise.
34510         (sqrt_test): Likewise.
34511         (tan_test): Likewise.
34512         (tan_test_tonearest): Likewise.
34513         (tan_test_towardzero): Likewise.
34514         (tan_test_downward): Likewise.
34515         (tan_test_upward): Likewise.
34516         (tanh_test): Likewise.
34517         (tgamma_test): Likewise.
34518         (trunc_test): Likewise.
34519         (y0_test): Likewise.
34520         (y1_test): Likewise.
34521         (yn_test): Likewise.
34522         (significand_test): Likewise.
34524 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34526         [BZ #15381]
34527         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34529 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34531         [BZ #14894]
34532         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34533         __ppc_mdoio and __ppc_mdoom.
34534         * manual/platform.texi: Document new functions __ppc_yield,
34535         __ppc_mdoio and __ppc_mdoom.
34537 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34539         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34540         (main): Mention "tls" pseudo-hwcap is legacy.
34541         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34543 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34545         * math/gen-libm-test.pl (parse_args): Output only string of
34546         arguments as text for test name, not full call or descriptions of
34547         tests for extra outputs.
34548         (generate_testfile): Do not pass function name to parse_args.
34549         Generate this_func variable from START.
34550         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34551         field to arg_str.
34552         (struct test_ff_f_data): Likewise.
34553         (test_ff_f_data_nexttoward): Likewise.
34554         (struct test_fi_f_data): Likewise.
34555         (struct test_fl_f_data): Likewise.
34556         (struct test_if_f_data): Likewise.
34557         (struct test_fff_f_data): Likewise.
34558         (struct test_c_f_data): Likewise.
34559         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34560         (struct test_fF_f1_data): Likewise.
34561         (struct test_ffI_f1_data): Likewise.
34562         (struct test_c_c_data): Rename test_name field to arg_str.
34563         (struct test_cc_c_data): Likewise.
34564         (struct test_f_i_data): Likewise.
34565         (struct test_ff_i_data): Likewise.
34566         (struct test_f_l_data): Likewise.
34567         (struct test_f_L_data): Likewise.
34568         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34569         and extra2_name.
34570         (COMMON_TEST_SETUP): New macro.
34571         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34572         (COMMON_TEST_CLEANUP): Likewise.
34573         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34574         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34575         macros.
34576         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34577         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34578         macros.
34579         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34580         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34581         cleanup macros.
34582         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34583         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34584         macros.
34585         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34586         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34587         macros.
34588         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34589         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34590         cleanup macros.
34591         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34592         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34593         cleanup macros.
34594         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34595         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34596         cleanup macros.
34597         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34598         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34599         macros.
34600         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34601         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34602         macros.
34603         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34604         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34605         macros.
34606         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34607         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34608         cleanup macros.
34609         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34610         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34611         cleanup macros.
34612         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34613         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34614         macros.
34615         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34616         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34617         cleanup macros.
34618         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34619         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34620         macros.
34621         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34622         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34623         macros.
34624         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34625         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34626         cleanup macros.
34627         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34629 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34631         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34632         to _sifields.sigfault.
34633         (si_addr_lsb): Define new macro.
34634         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34635         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34636         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34638 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34640         [BZ #15441]
34641         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34642         returns -1.
34643         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34644         null return -1.
34645         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34646         loading the domain.
34648 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34650         * math/gen-libm-test.pl (parse_args): Do not include expected
34651         result in test name.
34652         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34653         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34654         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34656         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34659 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34661         * benchtests/Makefile: Sort function entries.
34663         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34664         tanh, asinh, acosh, atanh.
34665         * benchtests/acos-inputs: New file.
34666         * benchtests/acosh-inputs: New file.
34667         * benchtests/asin-inputs: New file.
34668         * benchtests/asinh-inputs: New file.
34669         * benchtests/atanh-inputs: New file.
34670         * benchtests/cosh-inputs: New file.
34671         * benchtests/log-inputs: New file.
34672         * benchtests/sinh-inputs: New file.
34673         * benchtests/tanh-inputs: New file.
34675 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34677         [BZ #15339]
34678         * posix/tst-getaddrinfo4.c: New test.
34679         * posix/Makefile (tests): Add it.
34681 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34683         [BZ #15339]
34684         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34685         when no services were used.
34686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34687         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34689 2013-05-21  Andreas Schwab  <schwab@suse.de>
34691         [BZ #15014]
34692         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34693         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34694         successful.
34695         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34696         redundant variable declarations and reallocation of buffer when
34697         parsing as IPv6 address.  Always set NSS status when called from
34698         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34699         buffer too small.  Correct computation of needed size.
34700         * nss/Makefile (tests): Add test-digits-dots.
34701         * nss/test-digits-dots.c: New test.
34703 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34705         * benchtests/Makefile: Remove instructions for adding
34706         benchmark tests.
34707         * benchtests/README: New file to explain how to execute and
34708         enhance the benchmark tests.
34710 2013-05-21  Andreas Schwab  <schwab@suse.de>
34712         [BZ #15493]
34713         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34714         * setjmp/tst-sigsetjmp.c: New test.
34716 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34718         * sysdeps/x86_64/memset.S (memset): New implementation.
34719         (__bzero): Likewise.
34720         (__memset_tail): New function.
34722 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34724         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34725         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34726         __memcpy_sse2_unaligned ifunc selection.
34727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34728         Add memcpy-sse2-unaligned.S.
34729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34730         Add: __memcpy_sse2_unaligned.
34732 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34734         [BZ #15490]
34735         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34736         math_force_eval before restoring floating-point envrionment.
34737         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34738         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34739         Likewise.
34740         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34741         <math_private.h>.
34742         (__nearbyintl): Use math_force_eval before restoring
34743         floating-point environment.
34744         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34746         * math/gen-libm-test.pl (special_functions): Remove.
34747         (parse_args): Don't handle TEST_extra.  Handle functions with no
34748         return value.
34749         * math/libm-test.inc (struct test_sincos_data): Replace with
34750         struct test_fFF_11_data.
34751         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34752         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34753         (sincos_test_data): Change element type to struct
34754         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34755         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34756         RUN_TEST_LOOP_sincos.
34757         * math/README.libm-test: Don't mention special handling of
34758         individual functions.
34759         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34760         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34761         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34762         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34763         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34766         * math/gen-libm-test.pl (get_variable): Remove function.
34767         (parse_args): Don't show pointer parameters to call in test
34768         names.  Use "extra output N" in test names for extra outputs
34769         rather than naming variables.
34771 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34773         [BZ #15488]
34774         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34775         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34776         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34777         double tests.
34778         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34779         disable.
34780         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34781         check_long_double.
34783         * math/gen-libm-test.pl (@tests): Remove variable.
34784         ($count): Likewise.
34785         (new_test): Remove function.
34786         (show_exceptions): New function.
34787         (special_functions): Use show_exceptions instead of new_test.
34788         (parse_args): Likewise.
34789         (generate_testfile): Pass only function name in generated call to
34790         print_max_error or print_complex_max_error.
34791         (get_ulps): Do not handle complex tests specially.
34792         (output_test): Rename to ...
34793         (get_all_ulps_for_test): ... this.  Return a string rather than
34794         printing to a file.  Require ulps to be present.
34795         (output_ulps): Generate arrays rather than #defines.
34796         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34797         (struct ulp_data): New type.
34798         (BUILD_COMPLEX_ULP): Remove macro.
34799         (compare_ulp_data): New function.
34800         (find_ulps): Likewise.
34801         (find_test_ulps): Likewise.
34802         (find_function_ulps): Likewise.
34803         (find_complex_function_ulps): Likewise.
34804         (print_max_error): Determine allowed ulps using
34805         find_function_ulps.
34806         (print_complex_max_error): Determine allowed ulps using
34807         find_complex_function_ulps.
34808         (check_float_internal): Determine max ulps using find_test_ulps.
34809         (check_float): Do not take max_ulp parameter.  Update call to
34810         check_float_internal.
34811         (check_complex): Likewise.
34812         (check_int): Do not take max_ulp parameter.
34813         (check_long): Likewise.
34814         (check_bool): Likewise.
34815         (check_longlong): Likewise.
34816         (struct test_f_f_data): Remove max_ulp field.
34817         (struct test_ff_f_data): Likewise.
34818         (struct test_ff_f_data_nexttoward): Likewise.
34819         (struct test_fi_f_data): Likewise.
34820         (struct test_fl_f_data): Likewise.
34821         (struct test_if_f_data): Likewise.
34822         (struct test_fff_f_data): Likewise.
34823         (struct test_c_f_data): Likewise.
34824         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34825         (struct test_fF_f1_data): Likewise.
34826         (struct test_ffI_f1_data): Likewise.
34827         (struct test_c_c_data): Remove max_ulp field.
34828         (struct test_cc_c_data): Likewise.
34829         (struct test_f_i_data): Likewise.
34830         (struct test_ff_i_data): Likewise.
34831         (struct test_f_l_data): Likewise.
34832         (struct test_f_L_data): Likewise.
34833         (struct test_sincos_data): Likewise.
34834         (RUN_TEST_f_f): Do not handle ulps.
34835         (RUN_TEST_LOOP_f_f): Likewise.
34836         (RUN_TEST_2_f): Likewise.
34837         (RUN_TEST_LOOP_2_f): Likewise.
34838         (RUN_TEST_fff_f): Likewise.
34839         (RUN_TEST_LOOP_fff_f): Likewise.
34840         (RUN_TEST_c_f): Likewise.
34841         (RUN_TEST_LOOP_c_f): Likewise.
34842         (RUN_TEST_f_f1): Likewise.
34843         (RUN_TEST_LOOP_f_f1): Likewise.
34844         (RUN_TEST_fF_f1): Likewise.
34845         (RUN_TEST_LOOP_fF_f1): Likewise.
34846         (RUN_TEST_fI_f1): Likewise.
34847         (RUN_TEST_LOOP_fI_f1): Likewise.
34848         (RUN_TEST_ffI_f1): Likewise.
34849         (RUN_TEST_LOOP_ffI_f1): Likewise.
34850         (RUN_TEST_c_c): Likewise.
34851         (RUN_TEST_LOOP_c_c): Likewise.
34852         (RUN_TEST_cc_c): Likewise.
34853         (RUN_TEST_LOOP_cc_c): Likewise.
34854         (RUN_TEST_f_i): Likewise.
34855         (RUN_TEST_LOOP_f_i): Likewise.
34856         (RUN_TEST_f_i_tg): Likewise.
34857         (RUN_TEST_LOOP_f_i_tg): Likewise.
34858         (RUN_TEST_ff_i_tg): Likewise.
34859         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34860         (RUN_TEST_f_b): Likewise.
34861         (RUN_TEST_LOOP_f_b): Likewise.
34862         (RUN_TEST_f_b_tg): Likewise.
34863         (RUN_TEST_LOOP_f_b_tg): Likewise.
34864         (RUN_TEST_f_l): Likewise.
34865         (RUN_TEST_LOOP_f_l): Likewise.
34866         (RUN_TEST_f_L): Likewise.
34867         (RUN_TEST_LOOP_f_L): Likewise.
34868         (RUN_TEST_sincos): Likewise.
34869         (RUN_TEST_LOOP_sincos): Likewise.
34871 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34873         [BZ #15480]
34874         [BZ #15485]
34875         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34876         main case of finite arguments, set rounding mode to FE_TONEAREST
34877         and discard exceptions.
34878         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34879         exceptions.
34880         (remainder_tonearest_test_data): New variable.
34881         (remainder_test_tonearest): New function.
34882         (remainder_towardzero_test_data): New variable.
34883         (remainder_test_towardzero): New function.
34884         (remainder_downward_test_data): New variable.
34885         (remainder_test_downward): New function.
34886         (remainder_upward_test_data): New variable.
34887         (remainder_test_upward): New function.
34888         (main): Call the new test functions.
34890         * math/libm-test.inc (struct test_f_f1_data): Remove field
34891         extra_init.
34892         (struct test_fF_f1_data): Likewise.
34893         (struct test_ffI_f1_data): Likewise.
34894         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34895         based on value of EXTRA_EXPECTED.
34896         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34897         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34898         EXTRA_VAR based on value of EXTRA_EXPECTED.
34899         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34900         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34901         EXTRA_VAR based on value of EXTRA_EXPECTED.
34902         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34903         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34904         EXTRA_VAR based on value of EXTRA_EXPECTED.
34905         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34906         * math/gen-libm-test.pl (parse_args): Don't output initializers
34907         for extra output values.
34909         * math/libm-test.inc (check_int): Expect result to be exactly
34910         equal to expected value and do not handle ulps.
34911         (check_long): Likewise.
34912         (check_longlong): Likewise.
34914         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34915         exceptions.
34916         (cimag_test_data): Likewise.
34917         (conj_test_data): Likewise.
34918         (copysign_test_data): Likewise.
34919         (cproj_test_data): Likewise.
34920         (creal_test_data): Likewise.
34921         (fabs_test_data): Likewise.
34922         (fdim_test_data): Likewise.
34923         (finite_test_data): Likewise.
34924         (floor_test_data): Likewise.
34925         (fmax_test_data): Likewise.
34926         (fmin_test_data): Likewise.
34927         (fmod_test_data): Likewise.
34928         (fpclassify_test_data): Likewise.
34929         (frexp_test_data): Likewise.
34930         (ilogb_test_data): Likewise.
34931         (isfinite_test_data): Likewise.
34932         (isgreater_test_data): Likewise.
34933         (isgreaterequal_test_data): Likewise.
34934         (isinf_test_data): Likewise.
34935         (isless_test_data): Likewise.
34936         (islessequal_test_data): Likewise.
34937         (islessgreater_test_data): Likewise.
34938         (isnan_test_data): Likewise.
34939         (isnormal_test_data): Likewise.
34940         (issignaling_test_data): Likewise.
34941         (isunordered_test_data): Likewise.
34942         (ldexp_test_data): Likewise.
34943         (lrint_test_data): Likewise.
34944         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34945         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34946         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34947         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34948         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34949         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34950         test input.
34951         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34952         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34953         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34954         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34955         that test input.
34956         (lrint_downward_test_data): Test for "inexact" exceptions.
34957         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34958         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34959         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34960         test input.
34961         (lrint_upward_test_data): Test for "inexact" exceptions.
34962         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34963         test input.
34964         (llrint_test_data): Test for "inexact" exceptions.
34965         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34966         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34967         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34968         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34969         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34970         (llrint_downward_test_data): Test for "inexact" exceptions.
34971         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34972         (llrint_upward_test_data): Test for "inexact" exceptions.
34973         (logb_test_data): Likewise.
34974         (logb_downward_test_data): Likewise.
34975         (nextafter_test_data): Likewise.
34976         (nexttoward_test_data): Likewise.
34977         (remainder_test_data): Likewise.
34978         (remquo_test_data): Likewise.
34979         (scalbn_test_data): Likewise.
34980         (scalbln_test_data): Likewise.
34981         (signbit_test_data): Likewise.
34982         (sqrt_test_data): Likewise.
34983         (significand_test_data): Likewise.
34985 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34987         [BZ #15424]
34988         * benchtests/bench-modf.c (struct args): Mark arg0 as
34989         volatile.
34990         * scripts/bench.pl: Mark members of struct args as volatile.
34992 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34994         [BZ # 15497]
34995         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34996         negative infinity on POWER6 or lower.
34997         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34999 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35001         [BZ #15442]
35002         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35003         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35004         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35005         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35006         (_FP_SETQNAN): New macro.
35007         (_FP_SETQNAN_SEMIRAW): Likewise.
35008         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35009         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35010         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35011         (FP_EXTEND): Use _FP_FRAC_SNANP.
35012         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35013         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35014         into account.
35015         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35016         New macro.
35017         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35018         Likewise.
35020 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35022         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35023         with DIVIDE_BY_ZERO_EXCEPTION.
35024         (gamma_test_data): Likewise.
35025         (lgamma_test_data): Likewise.
35026         (log_test_data): Likewise.
35027         (log10_test_data): Likewise.
35028         (log2_test_data): Likewise.
35029         (tgamma_test_data): Likewise.
35031         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35032         (acos_test_tonearest): Likewise.
35033         (acos_test_towardzero): Likewise.
35034         (acos_test_downward): Likewise.
35035         (acos_test_upward): Likewise.
35036         (acosh_test): Likewise.
35037         (asin_test): Likewise.
35038         (asin_test_tonearest): Likewise.
35039         (asin_test_towardzero): Likewise.
35040         (asin_test_downward): Likewise.
35041         (asin_test_upward): Likewise.
35042         (asinh_test): Likewise.
35043         (atan_test): Likewise.
35044         (atanh_test): Likewise.
35045         (atan2_test): Likewise.
35046         (cabs_test): Likewise.
35047         (cacos_test): Likewise.
35048         (cacosh_test): Likewise.
35049         (casin_test): Likewise.
35050         (casinh_test): Likewise.
35051         (catan_test): Likewise.
35052         (catanh_test): Likewise.
35053         (cbrt_test): Likewise.
35054         (ccos_test): Likewise.
35055         (ccosh_test): Likewise.
35056         (cexp_test): Likewise.
35057         (clog_test): Likewise.
35058         (clog10_test): Likewise.
35059         (cos_test): Likewise.
35060         (cos_test_tonearest): Likewise.
35061         (cos_test_towardzero): Likewise.
35062         (cos_test_downward): Likewise.
35063         (cos_test_upward): Likewise.
35064         (cosh_test): Likewise.
35065         (cosh_test_tonearest): Likewise.
35066         (cosh_test_towardzero): Likewise.
35067         (cosh_test_downward): Likewise.
35068         (cosh_test_upward): Likewise.
35069         (cpow_test): Likewise.
35070         (csin_test): Likewise.
35071         (csinh_test): Likewise.
35072         (csqrt_test): Likewise.
35073         (ctan_test): Likewise.
35074         (ctan_test_tonearest): Likewise.
35075         (ctan_test_towardzero): Likewise.
35076         (ctan_test_downward): Likewise.
35077         (ctan_test_upward): Likewise.
35078         (ctanh_test): Likewise.
35079         (ctanh_test_tonearest): Likewise.
35080         (ctanh_test_towardzero): Likewise.
35081         (ctanh_test_downward): Likewise.
35082         (ctanh_test_upward): Likewise.
35083         (erf_test): Likewise.
35084         (erfc_test): Likewise.
35085         (exp_test): Likewise.
35086         (exp_test_tonearest): Likewise.
35087         (exp_test_towardzero): Likewise.
35088         (exp_test_downward): Likewise.
35089         (exp_test_upward): Likewise.
35090         (exp10_test): Likewise.
35091         (exp2_test): Likewise.
35092         (expm1_test): Likewise.
35093         (fmod_test): Likewise.
35094         (gamma_test): Likewise.
35095         (hypot_test): Likewise.
35096         (j0_test): Likewise.
35097         (j1_test): Likewise.
35098         (jn_test): Likewise.
35099         (lgamma_test): Likewise.
35100         (log_test): Likewise.
35101         (log10_test): Likewise.
35102         (log1p_test): Likewise.
35103         (log2_test): Likewise.
35104         (logb_test_downward): Likewise.
35105         (pow_test): Likewise.
35106         (pow_test_tonearest): Likewise.
35107         (pow_test_towardzero): Likewise.
35108         (pow_test_downward): Likewise.
35109         (pow_test_upward): Likewise.
35110         (remainder_test): Likewise.
35111         (remquo_test): Likewise.
35112         (sin_test): Likewise.
35113         (sin_test_tonearest): Likewise.
35114         (sin_test_towardzero): Likewise.
35115         (sin_test_downward): Likewise.
35116         (sin_test_upward): Likewise.
35117         (sincos_test): Likewise.
35118         (sinh_test): Likewise.
35119         (sinh_test_tonearest): Likewise.
35120         (sinh_test_towardzero): Likewise.
35121         (sinh_test_downward): Likewise.
35122         (sinh_test_upward): Likewise.
35123         (sqrt_test): Likewise.
35124         (tan_test): Likewise.
35125         (tan_test_tonearest): Likewise.
35126         (tan_test_towardzero): Likewise.
35127         (tan_test_downward): Likewise.
35128         (tan_test_upward): Likewise.
35129         (tanh_test): Likewise.
35130         (tgamma_test): Likewise.
35131         (y0_test): Likewise.
35132         (y1_test): Likewise.
35133         (yn_test): Likewise.
35135         * math/gen-libm-test.pl (adjust_arg): Remove function.
35136         (special_function): Remove argument $in_func.  Only handle
35137         generating output for tables of tests, not inside functions.
35138         (parse_args): Likewise.
35139         (generate_testfile): Remove variable $in_func.  Update call to
35140         parse_args.
35141         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35142         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35143         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35144         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35145         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35146         (MAX_VALUE_INIT): Rename macro to max_value.
35147         (MIN_VALUE_INIT): Rename macro to min_value.
35148         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35149         (plus_zero): Remove variable.
35150         (minus_zero): Likewise.
35151         (plus_infty): Likewise.
35152         (minus_infty): Likewise.
35153         (qnan_value): Likewise.
35154         (max_value): Likewise.
35155         (min_value): Likewise.
35156         (min_subnorm_value): Likewise.
35158 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35160         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35161         uint64_t or uint32_t usage.
35162         * crypt/sha256-block.c: Likewise.
35163         * crypt/sha256-crypt.c: Likewise.
35164         * crypt/sha256.c: Likewise.
35165         * crypt/sha512-block.c: Likewise.
35166         * crypt/sha512-crypt.c: Likewise.
35167         * crypt/sha512.c: Likewise.
35168         * debug/backtrace-tst.c: Likewise.
35169         * debug/pcprofiledump.c: Likewise.
35170         * elf/cache.c: Likewise.
35171         * elf/dl-cache.c: Likewise.
35172         * elf/dl-misc.c: Likewise.
35173         * elf/dl-profile.c: Likewise.
35174         * elf/dl-support.c: Likewise.
35175         * elf/ldconfig.c: Likewise.
35176         * elf/sprof.c: Likewise.
35177         * iconv/dummy-repertoire.c: Likewise.
35178         * iconv/iconv_charmap.c: Likewise.
35179         * iconv/skeleton.c: Likewise.
35180         * iconvdata/8bit-generic.c: Likewise.
35181         * iconvdata/cp737.h: Likewise.
35182         * iconvdata/cp775.h: Likewise.
35183         * iconvdata/ibm1008.h: Likewise.
35184         * iconvdata/ibm1025.h: Likewise.
35185         * iconvdata/ibm1046.h: Likewise.
35186         * iconvdata/ibm1097.h: Likewise.
35187         * iconvdata/ibm1112.h: Likewise.
35188         * iconvdata/ibm1122.h: Likewise.
35189         * iconvdata/ibm1123.h: Likewise.
35190         * iconvdata/ibm1124.h: Likewise.
35191         * iconvdata/ibm1129.h: Likewise.
35192         * iconvdata/ibm1130.h: Likewise.
35193         * iconvdata/ibm1132.h: Likewise.
35194         * iconvdata/ibm1133.h: Likewise.
35195         * iconvdata/ibm1137.h: Likewise.
35196         * iconvdata/ibm1140.h: Likewise.
35197         * iconvdata/ibm1141.h: Likewise.
35198         * iconvdata/ibm1142.h: Likewise.
35199         * iconvdata/ibm1143.h: Likewise.
35200         * iconvdata/ibm1144.h: Likewise.
35201         * iconvdata/ibm1145.h: Likewise.
35202         * iconvdata/ibm1146.h: Likewise.
35203         * iconvdata/ibm1147.h: Likewise.
35204         * iconvdata/ibm1148.h: Likewise.
35205         * iconvdata/ibm1149.h: Likewise.
35206         * iconvdata/ibm1153.h: Likewise.
35207         * iconvdata/ibm1154.h: Likewise.
35208         * iconvdata/ibm1155.h: Likewise.
35209         * iconvdata/ibm1156.h: Likewise.
35210         * iconvdata/ibm1157.h: Likewise.
35211         * iconvdata/ibm1158.h: Likewise.
35212         * iconvdata/ibm1160.h: Likewise.
35213         * iconvdata/ibm1161.h: Likewise.
35214         * iconvdata/ibm1162.h: Likewise.
35215         * iconvdata/ibm1163.h: Likewise.
35216         * iconvdata/ibm1164.h: Likewise.
35217         * iconvdata/ibm1166.h: Likewise.
35218         * iconvdata/ibm1167.h: Likewise.
35219         * iconvdata/ibm12712.h: Likewise.
35220         * iconvdata/ibm1390.h: Likewise.
35221         * iconvdata/ibm1399.h: Likewise.
35222         * iconvdata/ibm16804.h: Likewise.
35223         * iconvdata/ibm4517.h: Likewise.
35224         * iconvdata/ibm4899.h: Likewise.
35225         * iconvdata/ibm4909.h: Likewise.
35226         * iconvdata/ibm4971.h: Likewise.
35227         * iconvdata/ibm5347.h: Likewise.
35228         * iconvdata/ibm803.h: Likewise.
35229         * iconvdata/ibm856.h: Likewise.
35230         * iconvdata/ibm901.h: Likewise.
35231         * iconvdata/ibm902.h: Likewise.
35232         * iconvdata/ibm9030.h: Likewise.
35233         * iconvdata/ibm9066.h: Likewise.
35234         * iconvdata/ibm921.h: Likewise.
35235         * iconvdata/ibm922.h: Likewise.
35236         * iconvdata/ibm9448.h: Likewise.
35237         * iconvdata/isiri-3342.h: Likewise.
35238         * iconvdata/jis0201.h: Likewise.
35239         * include/link.h: Likewise.
35240         * include/netdb.h: Likewise.
35241         * inet/check_native.c: Likewise.
35242         * inet/check_pf.c: Likewise.
35243         * inet/getipv4sourcefilter.c: Likewise.
35244         * inet/getnameinfo.c: Likewise.
35245         * inet/getsourcefilter.c: Likewise.
35246         * inet/htonl.c: Likewise.
35247         * inet/setipv4sourcefilter.c: Likewise.
35248         * inet/setsourcefilter.c: Likewise.
35249         * inet/test-inet6_opt.c: Likewise.
35250         * inet/tst-network.c: Likewise.
35251         * locale/C-collate.c: Likewise.
35252         * locale/C-ctype.c: Likewise.
35253         * locale/C-time.c: Likewise.
35254         * locale/C-translit.h: Likewise.
35255         * locale/loadarchive.c: Likewise.
35256         * locale/programs/3level.h: Likewise.
35257         * locale/programs/charmap.c: Likewise.
35258         * locale/programs/charmap.h: Likewise.
35259         * locale/programs/ld-address.c: Likewise.
35260         * locale/programs/ld-collate.c: Likewise.
35261         * locale/programs/ld-ctype.c: Likewise.
35262         * locale/programs/ld-identification.c: Likewise.
35263         * locale/programs/ld-measurement.c: Likewise.
35264         * locale/programs/ld-messages.c: Likewise.
35265         * locale/programs/ld-monetary.c: Likewise.
35266         * locale/programs/ld-name.c: Likewise.
35267         * locale/programs/ld-numeric.c: Likewise.
35268         * locale/programs/ld-paper.c: Likewise.
35269         * locale/programs/ld-telephone.c: Likewise.
35270         * locale/programs/ld-time.c: Likewise.
35271         * locale/programs/linereader.c: Likewise.
35272         * locale/programs/locale.c: Likewise.
35273         * locale/programs/locarchive.c: Likewise.
35274         * locale/programs/locfile.h: Likewise.
35275         * locale/programs/repertoire.c: Likewise.
35276         * locale/programs/simple-hash.c: Likewise.
35277         * locale/programs/simple-hash.h: Likewise.
35278         * malloc/memusage.c: Likewise.
35279         * malloc/memusagestat.c: Likewise.
35280         * nis/nis_defaults.c: Likewise.
35281         * nis/nis_hash.c: Likewise.
35282         * nis/nis_print.c: Likewise.
35283         * nis/nis_xdr.c: Likewise.
35284         * nscd/connections.c: Likewise.
35285         * nscd/hstcache.c: Likewise.
35286         * nscd/nscd_gethst_r.c: Likewise.
35287         * nscd/nscd_getserv_r.c: Likewise.
35288         * nscd/nscd_helper.c: Likewise.
35289         * nscd/servicescache.c: Likewise.
35290         * nss/makedb.c: Likewise.
35291         * nss/nss_db/db-XXX.c: Likewise.
35292         * nss/nss_db/db-initgroups.c: Likewise.
35293         * nss/nss_db/db-netgrp.c: Likewise.
35294         * nss/nss_files/files-network.c: Likewise.
35295         * nss/nss_files/files-parse.c: Likewise.
35296         * posix/bug-regex5.c: Likewise.
35297         * posix/fnmatch_loop.c: Likewise.
35298         * posix/regcomp.c: Likewise.
35299         * posix/regexec.c: Likewise.
35300         * posix/tst-rfc3484-2.c: Likewise.
35301         * posix/tst-rfc3484-3.c: Likewise.
35302         * posix/tst-rfc3484.c: Likewise.
35303         * resolv/nss_dns/dns-canon.c: Likewise.
35304         * resolv/nss_dns/dns-network.c: Likewise.
35305         * resolv/res_init.c: Likewise.
35306         * resolv/res_mkquery.c: Likewise.
35307         * resolv/tst-aton.c: Likewise.
35308         * stdlib/cxa_atexit.c: Likewise.
35309         * stdlib/cxa_finalize.c: Likewise.
35310         * stdlib/gen-fpioconst.c: Likewise.
35311         * stdlib/strtol_l.c: Likewise.
35312         * string/tst-endian.c: Likewise.
35313         * sunrpc/auth_des.c: Likewise.
35314         * sunrpc/clnt_udp.c: Likewise.
35315         * sunrpc/rtime.c: Likewise.
35316         * sunrpc/svcauth_des.c: Likewise.
35317         * sunrpc/xdr.c: Likewise.
35318         * sunrpc/xdr_intXX_t.c: Likewise.
35319         * sunrpc/xdr_rec.c: Likewise.
35320         * sysdeps/generic/ldconfig.h: Likewise.
35321         * sysdeps/generic/ldsodefs.h: Likewise.
35322         * sysdeps/generic/memusage.h: Likewise.
35323         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35324         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35325         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35326         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35327         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35328         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35329         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35330         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35331         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35333         * sysdeps/posix/getaddrinfo.c: Likewise.
35334         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35335         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35336         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35337         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35338         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35339         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35340         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35341         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35342         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35343         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35344         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35345         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35346         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35347         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35348         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35349         * sysdeps/x86_64/dl-tls.h: Likewise.
35350         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35351         * time/alt_digit.c: Likewise.
35352         * time/era.c: Likewise.
35353         * wcsmbs/tst-c16c32-1.c: Likewise.
35355 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35357         * math/libm-test.inc (struct test_sincos_data): New type.
35358         (RUN_TEST_LOOP_sincos): New macro.
35359         (sincos_test_data): New variable.
35360         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35362 2013-05-16  Richard Henderson  <rth@redhat.com>
35364         * math/atest-exp2.c (LIMB64): New macro.
35365         (CONSTSZ): New macro.
35366         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35367         (hexdig): Move ...
35368         (print_mpn_fp): ... to function scope.
35369         (read_mpn_hex): Remove.
35370         (get_log2): Remove.
35371         (exp2_mpn): Use mp_log2.
35372         (main): Use mp_exp1.
35374 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35376         * math/libm-test.inc: Remove comment about not testing "inexact"
35377         exceptions.
35378         (INEXACT_EXCEPTION): New macro.
35379         (NO_INEXACT_EXCEPTION): Likewise.
35380         (INVALID_EXCEPTION_OK): Update value.
35381         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35382         (OVERFLOW_EXCEPTION_OK): Likewise.
35383         (UNDERFLOW_EXCEPTION_OK): Likewise.
35384         (IGNORE_ZERO_INF_SIGN): Likewise.
35385         (ERRNO_UNCHANGED): Likewise.
35386         (ERRNO_EDOM): Likewise.
35387         (ERRNO_ERANGE): Likewise.
35388         (test_exceptions): Handle testing "inexact" exceptions.
35389         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35390         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35391         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35392         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35393         INEXACT_EXCEPTION.
35394         (rint_towardzero_test_data): Likewise.
35395         (rint_downward_test_data): Likewise.
35396         (rint_upward_test_data): Likewise.
35398         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35399         with OVERFLOW_EXCEPTION.
35400         (exp10_test_data): Likewise.
35401         (exp2_test_data): Likewise.
35402         (expm1_test_data): Likewise.
35403         (lgamma_test_data): Likewise.
35404         (pow_test_data): Likewise.
35405         (tgamma_test_data): Likewise.
35406         (yn_test_data): Remove duplicate test of overflow.
35408         * math/libm-test.inc (struct test_cc_c_data): New type.
35409         (RUN_TEST_LOOP_cc_c): New macro.
35410         (cpow_test_data): New variable.
35411         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35413         * math/libm-test.inc (struct test_f_L_data): New type.
35414         (RUN_TEST_LOOP_f_L): New macro.
35415         (llrint_test_data): New variable.
35416         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35417         (llrint_tonearest_test_data): New variable.
35418         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35419         (llrint_towardzero_test_data): New variable.
35420         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35421         (llrint_downward_test_data): New variable.
35422         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35423         (llrint_upward_test_data): New variable.
35424         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35425         (llround_test_data): New variable.
35426         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35428 2013-05-13  Peter Collingbourne  <pcc@google.com>
35430         * math/atest-exp2.c (get_log2): Remove const attribute.
35432 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35434         * math/libm-test.inc (struct test_f_l_data): New type.
35435         (RUN_TEST_LOOP_f_l): New macro.
35436         (lrint_test_data): New variable.
35437         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35438         (lrint_tonearest_test_data): New variable.
35439         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35440         (lrint_towardzero_test_data): New variable.
35441         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35442         (lrint_downward_test_data): New variable.
35443         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35444         (lrint_upward_test_data): New variable.
35445         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35446         (lround_test_data): New variable.
35447         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35449 2013-05-15  Peter Collingbourne  <pcc@google.com>
35451         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35452         (EXTRACT_WORDS64) Use where appropriate.
35453         (INSERT_WORDS64) Likewise.
35455         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35456         constraints with x constraints.
35457         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35459         * malloc/obstack.c (_obstack_compat): Add initializer.
35461 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35463         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35464         si_trapno and add si_addr_lsb to _sifields.sigfault.
35465         (si_trapno): Remove macro.
35466         (si_addr_lsb): Define new macro.
35467         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35469 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35471         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35472         instead of TEST_f_l.
35473         (llrint_test_tonearest): Likewise.
35474         (llrint_test_towardzero): Likewise.
35475         (llrint_test_downward): Likewise.
35476         (llrint_test_upward): Likewise.
35477         (llround_test): Likewise.
35479         * math/libm-test.inc (struct test_f_i_data): Add comment.
35480         (RUN_TEST_LOOP_f_b): New macro.
35481         (RUN_TEST_LOOP_f_b_tg): Likewise.
35482         (finite_test_data): New variable.
35483         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35484         (isfinite_test_data): New variable.
35485         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35486         (isinf_test_data): New variable.
35487         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35488         (isnan_test_data): New variable.
35489         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35490         (isnormal_test_data): New variable.
35491         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35492         (issignaling_test_data): New variable.
35493         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35494         (signbit_test_data): New variable.
35495         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35497         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35498         with INVALID_EXCEPTION.
35499         (acosh_test_data): Likewise.
35500         (asin_test_data): Likewise.
35501         (atanh_test_data): Likewise.
35502         (fmod_test_data): Likewise.
35503         (log_test_data): Likewise.
35504         (log10_test_data): Likewise.
35505         (log2_test_data): Likewise.
35506         (pow_test_data): Likewise.
35507         (sqrt_test_data): Likewise.
35508         (y0_test_data): Likewise.
35509         (y1_test_data): Likewise.
35510         (yn_test_data): Likewise.
35512         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35513         function contents.
35515         * math/libm-test.inc (struct test_ff_i_data): New type.
35516         (RUN_TEST_LOOP_ff_i_tg): New macro.
35517         (isgreater_test_data): New variable.
35518         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35519         (isgreaterequal_test_data): New variable.
35520         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35521         (isless_test_data): New variable.
35522         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35523         (islessequal_test_data): New variable.
35524         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35525         (islessgreater_test_data): New variable.
35526         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35527         (isunordered_test_data): New variable.
35528         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35530 2013-05-14  David S. Miller  <davem@davemloft.net>
35532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35534 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35536         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35538         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35539         extra_test to int.
35540         (struct test_f_i_data): Change type of max_ulp to int.
35542         * math/libm-test.inc (test_ffI_f1_data): New type.
35543         (RUN_TEST_LOOP_ffI_f1): New macro.
35544         (remquo_test_data): New variable.
35545         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35547         * setjmp/tst-setjmp-fp.c: New file.
35548         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35549         (link-libm): New variable.
35550         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35552         * math/libm-test.inc (struct test_f_i_data): New type.
35553         (RUN_TEST_LOOP_f_i): New macro.
35554         (RUN_TEST_LOOP_f_i_tg): Likewise.
35555         (fpclassify_test_data): New variable.
35556         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35557         (ilogb_test_data): New variable.
35558         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35560         * math/libm-test.inc (scalbln_test): Correct function name in END
35561         call.
35563         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35564         (RUN_TEST_LOOP_fI_f1): New macro.
35565         (frexp_test_data): New variable.
35566         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35568         * math/libm-test.inc (struct test_fF_f1_data): New type.
35569         (RUN_TEST_LOOP_fF_f1): New macro.
35570         (modf_test_data): New variable.
35571         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35573         * math/libm-test.inc (struct test_f_f1_data): New type.
35574         (RUN_TEST_LOOP_f_f1): New macro.
35575         (gamma_test_data): New variable.
35576         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35577         (lgamma_test_data): New variable.
35578         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35580 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35582         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35583         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35584         (main): Comment "tls" pseudo-hwcap.
35586 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35588         * math/libm-test.inc (struct test_fl_f_data): New type.
35589         (RUN_TEST_LOOP_fl_f): New variable.
35590         (scalbln_test_data): New variable.
35591         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35593         * math/libm-test.inc (struct test_fi_f_data): New type.
35594         (RUN_TEST_LOOP_fi_f): New macro.
35595         (ldexp_test_data): New variable.
35596         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35597         (scalbn_test_data): New variable.
35598         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35600         * math/libm-test.inc (struct test_c_f_data): New type.
35601         (RUN_TEST_LOOP_c_f): New macro.
35602         (cabs_test_data): New variable.
35603         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35604         (carg_test_data): New variable.
35605         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35606         (cimag_test_data): New variable.
35607         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35608         (creal_test_data): New variable.
35609         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35611         * math/libm-test.inc (struct test_if_f_data): New type.
35612         (RUN_TEST_LOOP_if_f): New macro.
35613         (jn_test_data): New variable.
35614         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35615         (yn_test_data): New variable.
35616         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35618         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35620 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35622         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35623         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35625 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35627         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35628         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35629         (bench-deps): Add bench-timing.h.
35630         * benchtests-bench-skeleton.c: Include bench-timing.h.
35631         (main): Use TIMING_* macros instead of clock_gettime.
35632         * benchtests/bench-timing.h: New file.
35634         [BZ #14582]
35635         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35636         Renamed from _LIB_VERSION.
35637         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35639 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35641         * math/libm-test.inc (struct test_fff_f_data): New type.
35642         (RUN_TEST_LOOP_fff_f): New macro.
35643         (fma_test_data): New variable.
35644         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35645         (fma_towardzero_test_data): New variable.
35646         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35647         (fma_downward_test_data): New variable.
35648         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35649         (fma_upward_test_data): New variable.
35650         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35652         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35653         (struct test_c_c_data): New type.
35654         (RUN_TEST_LOOP_c_c): New macro.
35655         (cacos_test_data): New variable.
35656         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35657         (cacosh_test_data): New variable.
35658         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35659         (casin_test_data): New variable.
35660         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35661         (casinh_test_data): New variable.
35662         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35663         (catan_test_data): New variable.
35664         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35665         (catanh_test_data): New variable.
35666         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35667         (ccos_test_data): New variable.
35668         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35669         (ccosh_test_data): New variable.
35670         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35671         (cexp_test_data): New variable.
35672         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35673         (clog_test_data): New variable.
35674         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35675         (clog10_test_data): New variable.
35676         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35677         (conj_test_data): New variable.
35678         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35679         (cproj_test_data): New variable.
35680         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35681         (csin_test_data): New variable.
35682         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35683         (csinh_test_data): New variable.
35684         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35685         (csqrt_test_data): New variable.
35686         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35687         (ctan_test_data): New variable.
35688         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35689         (ctan_tonearest_test_data): New variable.
35690         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35691         (ctan_towardzero_test_data): New variable.
35692         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35693         (ctan_downward_test_data): New variable.
35694         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35695         (ctan_upward_test_data): New variable.
35696         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35697         (ctanh_test_data): New variable.
35698         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35699         (ctanh_tonearest_test_data): New variable.
35700         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35701         (ctanh_towardzero_test_data): New variable.
35702         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35703         (ctanh_downward_test_data): New variable.
35704         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35705         (ctanh_upward_test_data): New variable.
35706         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35707         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35708         of BUILD_COMPLEX.
35710         * math/libm-test.inc (struct test_ff_f_data): New type.
35711         (struct test_ff_f_data_nexttoward): Likewise.
35712         (RUN_TEST_LOOP_2_f): New macro.
35713         (RUN_TEST_LOOP_ff_f): Likewise.
35714         (atan2_test_data): New variable.
35715         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35716         (copysign_test_data): New variable.
35717         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35718         (fdim_test_data): New variable.
35719         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35720         (fmax_test_data): New variable.
35721         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35722         (fmin_test_data): New variable.
35723         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35724         (fmod_test_data): New variable.
35725         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35726         (hypot_test_data): New variable.
35727         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35728         (nextafter_test_data): New variable.
35729         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35730         (nexttoward_test_data): New variable.
35731         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35732         (pow_test_data): New variable.
35733         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35734         (pow_tonearest_test_data): New variable.
35735         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35736         (pow_towardzero_test_data): New variable.
35737         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35738         (pow_downward_test_data): New variable.
35739         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35740         (pow_upward_test_data): New variable.
35741         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35742         (remainder_test_data): New variable.
35743         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35744         (scalb_test_data): New variable.
35745         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35746         * sysdeps/i386/fpu/libm-test-ulps: Update.
35748 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35750         * math/libm-test.inc (fma_test): Use max_value instead of local
35751         variable fltmax.
35752         (nextafter_test): Likewise.
35754         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35755         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35756         (acos_downward_test_data): New variable.
35757         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35758         (acos_upward_test_data): New variable.
35759         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35760         (acosh_test_data): New variable.
35761         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35762         (asin_test_data): New variable.
35763         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35764         (asin_tonearest_test_data): New variable.
35765         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35766         (asin_towardzero_test_data): New variable.
35767         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35768         (asin_downward_test_data): New variable.
35769         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35770         (asin_upward_test_data): New variable.
35771         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35772         (asinh_test_data): New variable.
35773         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35774         (atan_test_data): New variable.
35775         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35776         (atanh_test_data): New variable.
35777         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35778         (cbrt_test_data): New variable.
35779         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35780         (ceil_test_data): New variable.
35781         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35782         (cos_test_data): New variable.
35783         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35784         (cos_tonearest_test_data): New variable.
35785         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35786         (cos_towardzero_test_data): New variable.
35787         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35788         (cos_downward_test_data): New variable.
35789         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35790         (cos_upward_test_data): New variable.
35791         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35792         (cosh_test_data): New variable.
35793         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35794         (cosh_tonearest_test_data): New variable.
35795         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35796         (cosh_towardzero_test_data): New variable.
35797         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35798         (cosh_downward_test_data): New variable.
35799         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35800         (cosh_upward_test_data): New variable.
35801         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35802         (erf_test_data): New variable.
35803         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35804         (erfc_test_data): New variable.
35805         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35806         (exp_test_data): New variable.
35807         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35808         (exp_tonearest_test_data): New variable.
35809         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35810         (exp_towardzero_test_data): New variable.
35811         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35812         (exp_downward_test_data): New variable.
35813         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35814         (exp_upward_test_data): New variable.
35815         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35816         (exp10_test_data): New variable.
35817         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35818         (exp2_test_data): New variable.
35819         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35820         (expm1_test_data): New variable.
35821         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35822         (fabs_test_data): New variable.
35823         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35824         (floor_test_data): New variable.
35825         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35826         (j0_test_data): New variable.
35827         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35828         (j1_test_data): New variable.
35829         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35830         (log_test_data): New variable.
35831         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35832         (log10_test_data): New variable.
35833         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35834         (log1p_test_data): New variable.
35835         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35836         (log2_test_data): New variable.
35837         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35838         (logb_test_data): New variable.
35839         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35840         (logb_downward_test_data): New variable.
35841         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35842         (nearbyint_test_data): New variable.
35843         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35844         (rint_test_data): New variable.
35845         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35846         (rint_tonearest_test_data): New variable.
35847         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35848         (rint_towardzero_test_data): New variable.
35849         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35850         (rint_downward_test_data): New variable.
35851         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35852         (rint_upward_test_data): New variable.
35853         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35854         (round_test_data): New variable.
35855         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35856         (sin_test_data): New variable.
35857         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35858         (sin_tonearest_test_data): New variable.
35859         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35860         (sin_towardzero_test_data): New variable.
35861         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35862         (sin_downward_test_data): New variable.
35863         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35864         (sin_upward_test_data): New variable.
35865         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35866         (sinh_test_data): New variable.
35867         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35868         (sinh_tonearest_test_data): New variable.
35869         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35870         (sinh_towardzero_test_data): New variable.
35871         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35872         (sinh_downward_test_data): New variable.
35873         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35874         (sinh_upward_test_data): New variable.
35875         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35876         (sqrt_test_data): New variable.
35877         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35878         (tan_test_data): New variable.
35879         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35880         (tan_tonearest_test_data): New variable.
35881         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35882         (tan_towardzero_test_data): New variable.
35883         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35884         (tan_downward_test_data): New variable.
35885         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35886         (tan_upward_test_data): New variable.
35887         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35888         (tanh_test_data): New variable.
35889         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35890         (tgamma_test_data): New variable.
35891         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35892         (trunc_test_data): New variable.
35893         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35894         (y0_test_data): New variable.
35895         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35896         (y1_test_data): New variable.
35897         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35898         (significand_test_data): New variable.
35899         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35901 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35903         [BZ #12387]
35904         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35906 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35908         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35910 2013-05-10  Andreas Jaeger  <aj@suse.de>
35912         [BZ #15448]
35913         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35914         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35916 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35918         * math/gen-libm-test.pl (adjust_arg): New function.
35919         (special_functions): Handle generating output in both functions
35920         and arrays.
35921         (parse_args): Likewise.
35922         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35923         $in_func argument to parse_args.
35924         * math/libm-test.inc (struct test_f_f_data): New type.
35925         (IF_ROUND_INIT_): New macro.
35926         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35927         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35928         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35929         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35930         (ROUND_RESTORE_): Likewise.
35931         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35932         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35933         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35934         (ROUND_RESTORE_FE_UPWARD): Likewise.
35935         (RUN_TEST_LOOP_f_f): New macro.
35936         (acos_test_data): New variable.
35937         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35938         (acos_tonearest_test_data): New variable.
35939         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35941 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35943         * benchtests/bench-skeleton.c (startup): Fix coding style.
35945 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35947         [BZ #6809]
35948         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35949         negative infinity argument.
35950         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35951         negative infinity argument.
35952         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35953         negative infinity argument.
35954         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35955         domain errors.
35957 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35959         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35960         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35961         * iconv/iconv_prog.c (main): Likewise.
35962         * locale/programs/charmap-dir.c (charmap_readdir)
35963         (fopen_uncompressed): Likewise.
35964         * locale/programs/locfile.c (siblings_uncached)
35965         (write_locale_data): Use lstat64 instead of lstat.
35966         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35967         stat.
35969 2013-05-10  Andreas Jaeger  <aj@suse.de>
35971         [BZ #15395]
35972         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35973         localization.
35974         Include <locale.h>.
35976 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35978         * elf/dl-close.c (_dl_close_worker): Add comments.
35980 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35982         [BZ #15359]
35983         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35984         high part of pi/2.
35985         (__ieee754_rem_pio2l): Update comments.
35987         [BZ #15429]
35988         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35989         high part of pi/2.
35990         (__ieee754_rem_pio2l): Update comments.
35992         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35993         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35995         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35996         M_PI_4l.
35998         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35999         (M_PI_34_LOG10El): Likewise.
36000         (M_PI2_LOG10El): Likewise.
36001         (M_PI4_LOG10El): Likewise.
36002         (M_PI_LOG10El): Likewise.
36004 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36008 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
36010         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36011         (MINUS_ZERO_INIT): Likewise.
36012         (PLUS_INFTY_INIT): Likewise.
36013         (MINUS_INFTY_INIT): Likewise.
36014         (QNAN_VALUE_INIT): Likewise.
36015         (MAX_VALUE_INIT): Likewise.
36016         (MIN_VALUE_INIT): Likewise.
36017         (MIN_SUBNORM_VALUE_INIT): Likewise.
36018         (plus_zero): Initialize with PLUS_ZERO_INIT.
36019         (minus_zero): Initialize with MINUS_ZERO_INIT.
36020         (plus_infty): Initialize with PLUS_INFTY_INIT.
36021         (minus_infty): Initialize with MINUS_INFTY_INIT.
36022         (qnan_value): Initialize with QNAN_VALUE_INIT.
36023         (max_value): Initialize with MAX_VALUE_INIT.
36024         (min_value): Initialize with MIN_VALUE_INIT.
36025         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36027         * math/libm-test.inc (RUN_TEST_if_f): New macro.
36028         (jn_test): Use TEST_if_f instead of TEST_ff_f.
36029         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36030         (yn_test): Use TEST_if_f instead of TEST_ff_f.
36032         * math/libm-test.inc (RUN_TEST_f_f): New macro.
36033         (RUN_TEST_2_f): Likewise.
36034         (RUN_TEST_ff_f): Likewise.
36035         (RUN_TEST_fi_f): Likewise.
36036         (RUN_TEST_fl_f): Likewise.
36037         (RUN_TEST_fff_f): Likewise.
36038         (RUN_TEST_c_f): Likewise.
36039         (RUN_TEST_f_f1): Likewise.
36040         (RUN_TEST_fF_f1): Likewise.
36041         (RUN_TEST_fI_f1): Likewise.
36042         (RUN_TEST_ffI_f1): Likewise.
36043         (RUN_TEST_c_c): Likewise.
36044         (RUN_TEST_cc_c): Likewise.
36045         (RUN_TEST_f_i): Likewise.
36046         (RUN_TEST_f_i_tg): Likewise.
36047         (RUN_TEST_ff_i_tg): Likewise.
36048         (RUN_TEST_f_b): Likewise.
36049         (RUN_TEST_f_b_tg): Likewise.
36050         (RUN_TEST_f_l): Likewise.
36051         (RUN_TEST_f_L): Likewise.
36052         (RUN_TEST_sincos): Likewise.
36053         * math/gen-libm-test.pl (new_test): Take new argument to indicate
36054         whether to show exceptions.  Do not include ");\n" in return
36055         value.
36056         (special_functions): Output call to RUN_TEST_sincos instead of
36057         check_float calls.  Update calls to new_test.
36058         (parse_args): Output call to single RUN_TEST_* macro instead of
36059         check_* calls and other assignments.  Update calls to new_test.
36061         [BZ #2546]
36062         [BZ #2560]
36063         [BZ #5159]
36064         [BZ #15426]
36065         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36066         input to result for tgamma overflow.
36067         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36068         (gamma_coeff): New variable.
36069         (NCOEFF): New macro.
36070         (gamma_positive): New function.
36071         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36072         underflow here.  Use gamma_positive instead of exp (lgamma) for
36073         other arguments.
36074         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36075         (gamma_coeff): New variable.
36076         (NCOEFF): New macro.
36077         (gammaf_positive): New function.
36078         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36079         underflow here.  Use gamma_positive instead of exp (lgamma) for
36080         other arguments.
36081         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36082         (gamma_coeff): New variable.
36083         (NCOEFF): New macro.
36084         (gammal_positive): New function.
36085         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36086         underflow here.  Use gamma_positive instead of exp (lgamma) for
36087         other arguments.
36088         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36089         (gamma_coeff): New variable.
36090         (NCOEFF): New macro.
36091         (gammal_positive): New function.
36092         (__ieee754_gammal_r): Handle positive infinity, overflow and
36093         underflow here.  Handle NaN the same as positive infinity.  Remove
36094         check x < 0xffffffff for negative integers.  Use gamma_positive
36095         instead of exp (lgamma) for other arguments.
36096         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36097         (gamma_coeff): New variable.
36098         (NCOEFF): New macro.
36099         (gammal_positive): New function.
36100         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36101         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36102         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36103         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36104         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36105         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36106         * sysdeps/generic/math_private.h (__gamma_productf): New
36107         prototype.
36108         (__gamma_product): Likewise.
36109         (__gamma_productl): Likewise.
36110         * math/Makefile (libm-calls): Add gamma_product.
36111         * math/libm-test.inc (tgamma_test): Add more tests.
36112         * sysdeps/i386/fpu/libm-test-ulps: Update.
36113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36115 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36117         * benchtests/bench-skeleton.c (main): Preheat CPU.
36119 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36121         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36123 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36125         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36126         and _dl_skip_args_internal.
36128 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36130         * manual/message.texi (Message Translation): Talk about users.
36131         Message to key mapping impacts design.
36133 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36135         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36137         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36139         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36140         * sysdeps/wordsize-64/glob64.c: ... here.
36142         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36143         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36144         New macros.
36146         * debug/getlogin_r_chk.c: Moved to ...
36147         * login/getlogin_r_chk.c: ... here.
36148         * debug/Makefile (routines): Move getlogin_r_chk to ...
36149         * login/Makefile (routines): ... here.
36150         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36151         * login/Versions (libc: GLIBC_2.4): ... here.
36153         * io/poll.c (__poll): Renamed from poll.
36154         Add libc_hidden_def.
36155         (poll): Define as weak alias.
36157         * debug/ptsname_r_chk.c: Moved to ...
36158         * login/ptsname_r_chk.c: ... here.
36159         * debug/Makefile (routines): Move ptsname_r_chk to ...
36160         * login/Makefile (routines): ... here.
36161         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36162         * login/Versions (libc: GLIBC_2.4): ... here.
36164         * posix/getlogin.c: Moved to ...
36165         * login/getlogin.c: ... here.
36166         * posix/getlogin_r.c: Moved to ...
36167         * login/getlogin_r.c: ... here.
36168         * posix/getlogin_r.c: Moved to ...
36169         * login/getlogin_r.c: ... here.
36170         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36171         * login/Makefile (routines): ... here.
36172         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36173         * login/Versions (libc: GLIBC_2.0): ... here.
36175         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36176         (setrlimit): Define as weak alias.
36178         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36179         Call __ names for open, ftruncate, and close.
36180         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36181         (truncate): Define as weak alias.
36183 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36185         * math/gen-libm-test.pl (parse_args): Initialize x before each
36186         test of frexp, modf and remquo.
36188         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36189         test signgam value.
36191 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36193         [BZ #15418]
36194         [BZ #15419]
36195         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36196         internal tests.
36197         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36199 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36201         * elf/dl-writev.h: New file.
36202         * elf/dl-misc.c: Include it.
36203         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36204         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36206 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36208         * math/libm-test.inc (noXFails): Remove variable.
36209         (noXPasses): Likewise.
36210         (BUILD_COMPLEX_INT): Remove macro.
36211         (print_screen): Remove xfail argument.
36212         (print_screen_max_error): Likewise.
36213         (update_stats): Likewise.
36214         (print_max_error): Likewise.  Update calls to other affected
36215         functions.
36216         (print_complex_max_error): Likewise.
36217         (test_single_exception): Update calls to print_screen.
36218         (test_single_errno): Likewise.
36219         (check_float_internal): Remove xfail argument.  Update calls to
36220         other affected functions.
36221         (check_float): Likewise.
36222         (check_complex): Likewise.
36223         (check_int): Likewise.
36224         (check_long): Likewise.
36225         (check_bool): Likewise.
36226         (check_longlong): Likewise.
36227         (main): Don't print noXFails and noXPasses.
36228         * math/gen-libm-test.pl (top level): Don't mention expected
36229         failure handling in comment.
36230         (new_test): Don't handle expected failures.
36231         (parse_args): Don't mention expected failure handling in comment.
36232         (generate_testfile): Don't handle expected failures.
36233         (parse_ulps): Likewise.
36234         (print_ulps_file): Likewise.
36235         (get_failure): Remove function.
36236         (output_test): Don't handle expected failures.
36237         * make/README.libm-test: Don't mention expected failure handling.
36239         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36240         (minus_zero): Likewise.
36241         (plus_infty): Likewise.
36242         (minus_infty): Likewise.
36243         (qnan_value): Likewise.
36244         (max_value): Likewise.
36245         (min_value): Likewise.
36246         (min_subnorm_value): Likewise.
36247         (initialize): Do not initialize those variables dynamically.
36249 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36251         * io/open.c (__open_2): Moved to ...
36252         * io/open_2.c: ... this new file.
36253         * io/open64.c (__open64_2): Moved to ...
36254         * io/open64_2.c: ... this new file.
36255         * io/openat.c (__openat_2): Moved to ...
36256         * io/openat_2.c: ... this new file.
36257         * io/openat64.c (__openat64_2): Moved to ...
36258         * io/openat64_2.c: ... this new file.
36259         * io/Makefile (routines): Add them.
36260         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36261         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36262         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36263         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36264         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36265         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36266         (__openat64): Add hidden_ver.
36267         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36268         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36270         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36271         Separately conditionalize setting of GLRO(dl_sysinfo) so
36272         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36273         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36275 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36278         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36279         definition.
36280         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36281         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36282         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36283         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36284         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36286 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36288         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36289         test signgam value.
36291         * math/libm-test.inc (hypot_test): Do not use
36292         IGNORE_ZERO_INF_SIGN.
36294 2013-05-03  Andreas Jaeger  <aj@suse.de>
36296         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36297         Linux 3.9.
36298         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36299         (PF_MAX): Adjust for VSOCK change.
36301 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36305 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36307         [BZ #15264]
36308         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36309         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36310         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36312 2013-05-02  David S. Miller  <davem@davemloft.net>
36314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36316 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36318         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36320 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36322         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36324 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36326         [BZ #14952]
36327         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36328         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36329         Use __attribute__ ((__gnu_inline__)).
36330         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36331         Don't use __attribute__ ((__gnu_inline__)).
36333 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36335         [BZ #15423]
36336         * math/s_catan.c (__catan): Handle small real or imaginary part of
36337         input specially to avoid spurious underflow.
36338         * math/s_catanf.c (__catanf): Likewise.
36339         * math/s_catanh.c (__catanh): Likewise.
36340         * math/s_catanhf.c (__catanhf): Likewise.
36341         * math/s_catanhl.c (__catanhl): Likewise.
36342         * math/s_catanl.c (__catanl): Likewise.
36343         * math/libm-test.inc (catan_test): Add more tests.
36344         (catanh_test): Likewise.
36345         * sysdeps/i386/fpu/libm-test-ulps: Update.
36346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36348 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36352 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36354         [BZ #15416]
36355         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36356         accurately for denominator in atan2.
36357         * math/s_catanf.c (__catanf): Likewise.
36358         * math/s_catanh.c (__catanh): Likewise.
36359         * math/s_catanhf.c (__catanhf): Likewise.
36360         * math/s_catanhl.c (__catanhl): Likewise.
36361         * math/s_catanl.c (__catanl): Likewise.
36362         * math/libm-test.inc (catan_test): Add more tests.
36363         (catanh_test): Likewise.
36364         * sysdeps/i386/fpu/libm-test-ulps: Update.
36365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36367 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36369         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36371         * benchtests/Makefile (bench): Remove slow benchmarks.
36372         * benchtests/atan-inputs: Add slow benchmark inputs.
36373         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36374         (BENCH_FUNC): Accept variant offset.
36375         (VARIANT): Define.
36376         * benchtests/bench-skeleton.c (main): Run benchmark for each
36377         variant.
36378         * benchtests/cos-inputs: Add slow benchmark inputs.
36379         * benchtests/exp-inputs: Likewise.
36380         * benchtests/pow-inputs: Likewise.
36381         * benchtests/sin-inputs: Likewise.
36382         * benchtests/slowatan-inputs: Remove.
36383         * benchtests/slowatan.c: Remove.
36384         * benchtests/slowcos-inputs: Remove.
36385         * benchtests/slowcos.c: Remove.
36386         * benchtests/slowexp-inputs: Remove.
36387         * benchtests/slowexp.c: Remove.
36388         * benchtests/slowpow-inputs: Remove.
36389         * benchtests/slowpow.c: Remove.
36390         * benchtests/slowsin-inputs: Remove.
36391         * benchtests/slowsin.c: Remove.
36392         * benchtests/slowtan-inputs: Remove.
36393         * benchtests/slowtan.c: Remove.
36394         * benchtests/tan-inputs: Add slow benchmark inputs.
36395         * scripts/bench.pl: Parse comments and directives.
36397         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36398         in CPPFLAGS.
36399         ($(objpfx)bench-%.c): Remove *-ITER.
36400         * benchtests/bench-modf.c: Remove definition of ITER.
36401         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36402         (main): Loop for DURATION seconds instead of fixed number of
36403         iterations.
36404         * scripts/bench.pl: Don't expect iterations in parameters.
36406 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36408         * io/fchdir.c (__fchdir): Renamed from fchdir.
36409         (fchdir): Define as weak alias.
36411 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36413         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36414         (ERRNO_EDOM): Likewise.
36415         (ERRNO_ERANGE): Likewise.
36416         (noErrnoTests): New variable.
36417         (init_max_error): Set errno to 0.
36418         (test_single_errno): New function.
36419         (test_errno): Likewise.
36420         (check_float_internal): Call test_errno.  Set errno to 0.
36421         (check_complex): Refer to errno tests in comment.
36422         (check_int): Call test_errno.  Set errno to 0.
36423         (check_long): Likewise.
36424         (check_bool): Likewise.
36425         (check_longlong): Likewise.
36426         (cos_test): Use ERRNO_* flags for errno tests instead of
36427         check_int.
36428         (expm1_test): Likewise.
36429         (fmod_test): Likewise.
36430         (ilogb_test): Likewise.
36431         (lgamma_test): Likewise.
36432         (pow_test): Likewise.
36433         (remainder_test): Likewise.
36434         (sin_test): Likewise.
36435         (tan_test): Likewise.
36436         (yn_test): Likewise.
36437         (initialize): Set errno to 0.
36438         (main): Print number of errno tests.
36439         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36441 2013-04-29  Andreas Jaeger  <aj@suse.de>
36443         [BZ #15084]
36444         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36445         and RES_USEVC.
36447         [BZ #15085]
36448         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36449         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36450         unimplemented.
36452         [BZ #15380]
36453         * stdlib/random.c (__initstate): Return NULL if
36454         __initstate fails.
36456         [BZ #15086]
36457         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36458         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36459         RES_SNGLKUPREOP.
36461 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36465 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36467         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36468         of individual tests.
36469         (casin_test): Likewise.
36470         (casinh_test): Likewise.
36472 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36474         [BZ #15409]
36475         * math/s_catan.c (__catan): Handle arguments with large real or
36476         imaginary part separately without squaring.
36477         * math/s_catanf.c (__catanf): Likewise.
36478         * math/s_catanh.c (__catanh): Likewise.
36479         * math/s_catanhf.c (__catanhf): Likewise.
36480         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36481         and redefine.
36482         (__catanhl): Handle arguments with large real or imaginary part
36483         separately without squaring.
36484         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36485         and redefine.
36486         (__catanl): Handle arguments with large real or imaginary part
36487         separately without squaring.
36488         * math/libm-test.inc (catan_test): Add more tests.
36489         (catanh_test): Likewise.
36490         * sysdeps/i386/fpu/libm-test-ulps: Update.
36491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36493 2013-04-27  Andreas Jaeger  <aj@suse.de>
36495         [BZ #15007]
36496         * stdlib/stdlib.h: Update guards for qecvt.
36497         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36498         <stdlib.h>.
36500 2013-04-27  Allan McRae  <allan@archlinux.org>
36502         * sysdeps/i386/fpu/libm-test-ulps: Update.
36504 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36506         [BZ #15406]
36507         * math/s_catan.c: Include <float.h>.
36508         (__catan): Ensure underflow exception occurs for underflowed
36509         result.
36510         * math/s_catanf.c: Include <float.h>.
36511         (__catanf): Ensure underflow exception occurs for underflowed
36512         result.
36513         * math/s_catanh.c: Include <float.h>.
36514         (__catanh): Ensure underflow exception occurs for underflowed
36515         result.
36516         * math/s_catanhf.c: Include <float.h>.
36517         (__catanhf): Ensure underflow exception occurs for underflowed
36518         result.
36519         * math/s_catanhl.c: Include <float.h>.
36520         (__catanhl): Ensure underflow exception occurs for underflowed
36521         result.
36522         * math/s_catanl.c: Include <float.h>.
36523         (__catanl): Ensure underflow exception occurs for underflowed
36524         result.
36525         * math/libm-test.inc (catan_test): Add more tests.
36526         (catanh_test): Likewise.
36528         [BZ #15405]
36529         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36530         underflowed result.
36531         * math/s_ccoshf.c (__ccoshf): Likewise.
36532         * math/s_ccoshl.c (__ccoshl): Likewise.
36533         * math/s_csin.c (__csin): Likewise.
36534         * math/s_csinf.c (__csinf): Likewise.
36535         * math/s_csinh.c (__csinh): Likewise.
36536         * math/s_csinhf.c (__csinhf): Likewise.
36537         * math/s_csinhl.c (__csinhl): Likewise.
36538         * math/s_csinl.c (__csinl): Likewise.
36539         * math/libm-test.inc (ccos_test): Add more tests.
36540         (ccosh_test): Likewise.
36541         (csin_test): Likewise.
36542         (csinh_test): Likewise.
36544 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36546         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36547         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36548         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36549         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36550         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36551         powerpc/power5+/fpu folders.
36552         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36555 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36559 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36561         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36562         additions to variable.
36563         [$(config-machine) = x86_64] (modules-names): Likewise.
36564         ($(objpfx)tst-audit3): Remove dependency.
36565         ($(objpfx)tst-audit3.out): Likewise.
36566         ($(objpfx)tst-audit4): Likewise.
36567         ($(objpfx)tst-audit4.out): Likewise.
36568         ($(objpfx)tst-audit5): Likewise.
36569         ($(objpfx)tst-audit5.out): Likewise.
36570         ($(objpfx)tst-audit6): Likewise.
36571         ($(objpfx)tst-audit6.out): Likewise.
36572         ($(objpfx)tst-audit7): Likewise.
36573         ($(objpfx)tst-audit7.out): Likewise.
36574         (tst-audit3-ENV): Remove variable.
36575         (tst-audit4-ENV): Likewise.
36576         (tst-audit5-ENV): Likewise.
36577         (tst-audit6-ENV): Likewise.
36578         (tst-audit7-ENV): Likewise.
36579         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36580         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36581         addition to variable.
36582         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36583         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36584         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36585         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36586         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36587         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36588         tst-audit3, tst-audit4 and tst-audit5.
36589         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36590         tst-audit6 and tst-audit7.
36591         [$(subdir) = elf] (modules-names): Add audit modules for those
36592         tests.
36593         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36594         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36595         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36596         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36597         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36598         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36599         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36600         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36601         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36602         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36603         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36604         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36605         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36606         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36607         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36608         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36609         Likewise.
36610         [$(subdir) = elf && $(config-cflags-avx) = yes]
36611         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36612         [$(subdir) = elf && $(config-cflags-avx) = yes]
36613         (CFLAGS-tst-auditmod4a.c): Likewise.
36614         [$(subdir) = elf && $(config-cflags-avx) = yes]
36615         (CFLAGS-tst-auditmod4b.c): Likewise.
36616         [$(subdir) = elf && $(config-cflags-avx) = yes]
36617         (CFLAGS-tst-auditmod6b.c): Likewise.
36618         [$(subdir) = elf && $(config-cflags-avx) = yes]
36619         (CFLAGS-tst-auditmod6c.c): Likewise.
36620         [$(subdir) = elf && $(config-cflags-avx) = yes]
36621         (CFLAGS-tst-auditmod7b.c): Likewise.
36622         * elf/tst-audit3.c: Move to ...
36623         * sysdeps/x86_64/tst-audit3.c: ... here.
36624         * elf/tst-audit4.c: Move to ...
36625         * sysdeps/x86_64/tst-audit4.c: ... here.
36626         * elf/tst-audit5.c: Move to ...
36627         * sysdeps/x86_64/tst-audit5.c: ... here.
36628         * elf/tst-audit6.c: Move to ...
36629         * sysdeps/x86_64/tst-audit6.c: ... here.
36630         * elf/tst-audit7.c: Move to ...
36631         * sysdeps/x86_64/tst-audit7.c: ... here.
36632         * elf/tst-auditmod3a.c: Move to ...
36633         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36634         * elf/tst-auditmod3b.c: Move to ...
36635         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36636         * elf/tst-auditmod4a.c: Move to ...
36637         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36638         * elf/tst-auditmod4b.c: Move to ...
36639         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36640         * elf/tst-auditmod5a.c: Move to ...
36641         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36642         * elf/tst-auditmod5b.c: Move to ...
36643         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36644         * elf/tst-auditmod6a.c: Move to ...
36645         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36646         * elf/tst-auditmod6b.c: Move to ...
36647         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36648         * elf/tst-auditmod6c.c: Move to ...
36649         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36650         * elf/tst-auditmod7a.c: Move to ...
36651         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36652         * elf/tst-auditmod7b.c: Move to ...
36653         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36655 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36657         [BZ #15366]
36658         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36659         define unconditionally.
36660         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36661         define unconditionally.
36662         (INT8_C, INT16_C, etc.): Likewise.
36664 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36666         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36667         __ehdr_start with hidden visibility.
36669         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36671 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36673         * math/libm-test.inc (cos_test): Use accurate hex constants.
36674         (sincost_test): Likewise.
36676 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36678         * math/libm-test.inc (catan_test): Add more tests.
36679         (catanh_test): Likewise.
36681         * math/s_catanf.c (__catanf): Use suffixed floating-point
36682         constants.
36683         * math/s_catanhf.c (__catanhf): Likewise.
36684         * math/s_catanhl.c (__catanhl): Likewise.
36685         * math/s_catanl.c (__catanl): Likewise.
36687         [BZ #15394]
36688         * math/s_catan.c (__catan): Calculate imaginary part of result
36689         with log1p not log unless computing log of number close to 0.
36690         * math/s_catanf.c (__catanf): Likewise.
36691         * math/s_catanl.c (__catanl): Likewise.
36692         * math/s_catanh.c (__catanh): Calculate real part of result with
36693         log1p not log unless computing log of number close to 0.
36694         * math/s_catanhf.c (__catanhf): Likewise.
36695         * math/s_catanhl.c (__catanhl): Likewise.
36696         * math/libm-test.inc (catan_test): Add more tests.
36697         (catanh_test): Likewise.
36698         * sysdeps/i386/fpu/libm-test-ulps: Update.
36699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36701 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36703         * benchtests/Makefile: Mention files in which fast and slow
36704         paths of math functions are implemented.
36706 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36708         * sysdeps/posix/timespec_get.c: New file.
36710 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36712         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36713         POWER.
36714         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36715         for POWER.
36716         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36717         powerpc/power5/fpu folders.
36718         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36719         * benchtests/Makefile: Add modf testcase.
36720         * benchtests/bench-modf.c: New file: Benchmark test for mo
36722 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36724         [BZ #14888]
36725         * time/Makefile (tests): Add tst-strptime-whitespace.
36726         * time/strptime_l.c (get_number): Use ISSPACE.
36727         (__strptime_internal): Likewise.
36728         * time/tst-strptime-whitespace.c: New test case.
36730 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36732         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36733         member.
36734         (_nss_files_init): Set it here.
36736 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36738         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36739         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36740         unsigned.
36742 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36744         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36746 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36748         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36749         size just once.
36751 2013-04-21  David S. Miller  <davem@davemloft.net>
36753         * po/ru.po: Update Russion translation from translation project.
36755 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36757         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36758         and setfsgid.
36760 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36762         * configure.in: Remove i386 configure warning. Remove i386 case.
36763         * configure: Regenerate.
36764         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36765         Add example to error message.
36766         * sysdeps/i386/configure: Regenerate.
36768 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36770         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36771         slowtan.
36772         * benchtests/cos-inputs: New file.
36773         * benchtests/slowcos-inputs: New file.
36774         * benchtests/slowcos.c: New file.
36775         * benchtests/slowtan-inputs: New file.
36776         * benchtests/slowtan.c: New file.
36777         * benchtests/tan-inputs: New file.
36779 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36781         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36782         considered kosher.
36784 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36786         * benchtests/Makefile: Include cppflags-iterator.mk to add
36787         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36789         * Makefile.in (bench-clean): New target.
36790         * benchtests/Makefile (bench-clean): Likewise.
36792 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36794         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36796 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36798         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36800 2013-04-15  Andreas Schwab  <schwab@suse.de>
36802         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36804         * nscd/pwdcache.c (cache_addpw): Likewise.
36805         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36806         more than recsize.
36808 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36810         * benchtests/Makefile (bench): Write all output to
36811         bench-out.tmp together.
36813 2013-04-15  Andreas Schwab  <schwab@suse.de>
36815         * nscd/nscd.c (main): Don't fork again after closing files.
36817 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36819         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36821         * benchtests/Rules (bench-deps): Collect dependencies into a
36822         single variable.  Add Makefile to dependencies.
36823         ($(objpfx)bench-%.c): Depend on bench-deps.
36825 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36826             Xavier Roche  <roche+kml2@exalead.com>
36828         [BZ #15361]
36829         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36830         just that it's a file descriptor.
36831         * manual/llio.texi (Synchronizing AIO Operations): Update description
36832         for EBADF error from aio_fsync.
36834 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36836         * Rules (bench): Move target definition...
36837         * benchtests/Makefile: ... here.
36839 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36841         * math/libm-test.inc (cos_test): Fix PI/2 test.
36842         (sincos_test): Likewise.
36843         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36844         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36846 2013-04-11  Andreas Schwab  <schwab@suse.de>
36848         [BZ #13988]
36849         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36850         accept exponent character only when digits were seen.
36851         * stdio-common/Makefile (tests): Add bug26.
36852         * stdio-common/bug26.c: New file.
36854         [BZ #14293]
36855         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36856         non-freeable.
36858 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36860         * Makeconfig (rtld-prefix): Define built linker prefix.
36861         * Rules (run-bench): Use it.
36862         * math/Makefile (run-regen-ulps): Likewise.
36864         * Rules (bench): Remove eval.
36866 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36867             Roland McGrath  <roland@hack.frob.com>
36868             Ondrej Bilka  <neleai@seznam.cz>
36870         [BZ #15346]
36871         * time/getdate.c: Include ctype.h and alloca.h.
36872         (__getdate_r): Trim leading and trailing spaces of input.
36873         * time/tst-getdate.c (tests): Add tests with leading and
36874         trailing spaces.
36876 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36878         [BZ #14280]
36879         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36880         when computing value.
36882 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36884         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36885         Use testrun.sh to run libm tests.
36887         [BZ #15309]
36888         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36890 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36892         [BZ #15264]
36893         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36895 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36897         * Makefile.in (regen-ulps): New target.
36898         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36899         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36900         [ifneq (no,$(PERL)] (regen-ulps): New target.
36901         [ifeq (no,$(PERL)] (regen-ulps): New target.
36902         * math/libm-test.inc (ulps_file_name): Define.
36903         (output_dir): New variable.
36904         (options): Add "output-dir" option.
36905         (parse_opt): Handle 'o' case.
36906         (main): If output_dir is non-NULL use it as a prefix
36907         otherwise use "".
36908         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36910 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36912         [BZ #10060, #10062]
36913         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36914         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36915         fail configure if __sync_val_compare_and_swap is not inlined.
36916         * sysdeps/i386/configure: Regenerate.
36917         * configure.in: Build for i686 when configured for i386.
36918         * configure: Regenerate.
36919         * README: Remove i386 reference.
36921 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36923         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36924         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36926 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36928         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36929         (lmsnanval): New variables.
36930         (F): Add conversion tests.
36931         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36932         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36934         * stdio-common/tstdiomisc.c (F): Properly collect individual
36935         tests' results.
36937         [BZ #14686, #15336]
36938         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36939         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36940         Instead, use input NaN values or generate a qNaN by arithmetic
36941         operation.  Also fix bugs to comply with the standard.
36942         * math/libm-test.inc (remainder_test): Add more tests.
36944         [BZ #15335, #15342]
36945         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36946         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36947         input NaN values or generate a qNaN by arithmetic operation.
36949         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36950         unreachable code.
36952         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36953         definitions.
36955 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36957         [BZ #14478]
36958         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36959         underflowed result.
36960         * math/s_cexpf.c (__cexpf): Likewise.
36961         * math/s_cexpl.c (__cexpl): Likewise.
36962         * math/libm-test.inc (cexp_test): Add more tests.
36964 2013-04-03  Andreas Schwab  <schwab@suse.de>
36966         [BZ #15330]
36967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36968         order arrays from heap if bigger than alloca cutoff.
36970 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36972         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36973         (SNAN_TESTS_double): Refer to GCC PR56831.
36974         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36975         GCC PR56828.
36977 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36979         * Rules (bench): Move bench.out after the run is complete.
36981         * Rules (bench): Echo currently running benchmark.
36983         * benchtests/Makefile (bench): Add atan and slowatan.
36984         * benchtests/atan-inputs: New file.
36985         * benchtests/slowatan-inputs: New file.
36986         * benchtests/slowatan.c: New file.
36988         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36990         its value.
36992         [BZ #15305]
36993         * sysdeps/unix/sysv/linux/kernel-features.h
36994         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36995         __ASSUME_XFS_RESTRICTED_CHOWN.
36996         * sysdeps/unix/sysv/linux/pathconf.c
36997         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36998         Save and restore errno.
37000 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
37002         [BZ #15327]
37003         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37004         arguments using __kernel_casinh.
37005         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37006         arguments using __kernel_casinhf.
37007         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37008         arguments using __kernel_casinhl.
37009         * math/libm-test.inc (cacosh_test): Add more tests.
37010         * sysdeps/i386/fpu/libm-test-ulps: Update.
37011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37013 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37015         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37018         * bench/Makefile (bench): Add sin and slowsin.
37019         * benchtests/sin-inputs: New file.
37020         * benchtests/slowsin-inputs: New file.
37021         * benchtests/slowsin.c: New file.
37023         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37024         (bench): Add slowexp and slowpow.
37025         (exp-ITER): Increase iterations.
37026         (pow-ITER): Likewise.
37027         * benchtests/exp-inputs: Change input.
37028         * benchtests/pow-inputs: Likewise.
37029         * benchtests/slowexp-inputs: New file.
37030         * benchtests/slowexp.c: New file.
37031         * benchtests/slowpow-inputs: New file.
37032         * benchtests/slowpow.c: New file.
37034 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37036         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37037         instructions.
37038         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37039         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37040         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37041         * benchtests/Makefile: Add rint benchtest.
37042         * benchtests/rint-inputs: Input for rint benchtest.
37044 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37046         * Versions.def (libm): Add GLIBC_2.18.
37047         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37048         hidden libm prototypes.
37049         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37050         * math/Makefile (libm-calls): Add s_issignaling.
37051         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37052         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
37053         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37054         declaration.
37055         * math/math.h [__USE_GNU] (issignaling): New macro.
37056         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37057         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37058         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37059         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37060         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37061         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37062         * manual/arith.texi (issignaling): New section.
37063         * manual/libm-err-tab.pl (@all_functions): Update comment.
37064         * math/gen-libm-test.pl (parse_args): Apply special handling for
37065         issignaling.
37066         * math/libm-test.inc (print_float, issignaling_test): New
37067         functions.
37068         (check_float_internal): Add issignaling checks.
37069         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37070         default definition.
37071         * sysdeps/powerpc/math-tests.h: New file.
37072         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37073         tests.
37074         * math/test-snan.c (TEST_FUNC): Likewise.
37076 2013-03-30  David S. Miller  <davem@davemloft.net>
37078         * po/de.po: Update from translation team.
37080 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
37082         [BZ #10357]
37083         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37084         imaginary part less than 1.0 and real part less than 0.5
37085         specially.
37086         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37087         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37088         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37089         (cacos_test): Add more tests.
37090         (casin_test): Likewise.
37091         (casinh_test): Likewise.
37092         * sysdeps/i386/fpu/libm-test-ulps: Update.
37093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37095 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37097         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37098         ONE with its value.
37100         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37101         (__pow_mp): Replace ONE and MONE with their values.
37102         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37104         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37105         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37106         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37107         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37109         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37111         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37112         (__pow_mp): Replace ZERO and MZERO with their values.
37113         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37115         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37116         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37117         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37118         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37119         (__sqr): Likewise.
37121         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37123         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37125 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37127         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37128         Declare with __attribute__ ((weak)).
37129         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37130         Call __call_tls_dtors only if it's not NULL.
37132 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37134         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37135         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37136         magic __ehdr_start linker symbol if it's defined.
37137         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37138         them up here if it was already done.
37140         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37141         (_dl_aux_init): Use const in cast when setting it.
37142         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37143         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37144         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37146         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37147         Declare them here.
37148         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37149         * csu/libc-tls.c: Nor here.
37150         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37152         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37153         (__libc_message): Never call vsyslog.
37155 2013-03-28  Alan Modra  <amodra@gmail.com>
37157         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37158         Define as empty.
37159         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37160         Likewise.
37162 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37164         [BZ #15214]
37165         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37166         underflow.
37167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37169 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37171         [BZ #15304]
37172         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37173         Don't add gid passed as argument.
37175         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37177 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37179         [BZ #15307]
37180         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37181         imaginary part between 1.0 and 1.5 and real part less than 0.5
37182         specially.
37183         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37184         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37185         * math/libm-test.inc (cacos_test): Add more tests.
37186         (casin_test): Likewise.
37187         (casinh_test): Likewise.
37188         * sysdeps/i386/fpu/libm-test-ulps: Update.
37189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37191 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37193         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37194         constants.
37195         (norm): Likewise.
37196         (denorm): Likewise.
37197         (__dbl_mp): Likewise.
37198         (add_magnitudes): Likewise.
37199         (sub_magnitudes): Likewise.
37200         (__add): Likewise.
37201         (__sub): Likewise.
37202         (__mul): Likewise.
37203         (__sqr): Likewise.
37204         (__inv): Likewise.
37205         (__dvd): Likewise.
37207         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37208         commented code.
37209         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37210         (__dubcos): Likewise.
37211         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37212         (__ieee754_acos): Likewise.
37213         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37214         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37215         (__exp1): Likewise.
37216         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37218         (log1): Likewise.
37219         (my_log2): Likewise.
37220         (checkint): Likewise.
37221         * sysdeps/ieee754/dbl-64/e_remainder.c
37222         (__ieee754_remainder): Likewise.
37223         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37225         (bsloww): Likewise.
37226         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37228         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37229         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37230         MANTISSA_STORE_T to store computations on mantissa.  Use
37231         macros for rounding and division.
37232         (denorm): Likewise.
37233         (__dbl_mp): Likewise.
37234         (add_magnitudes): Likewise.
37235         (sub_magnitudes): Likewise.
37236         (__mul): Likewise.
37237         (__sqr): Likewise.
37238         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37239         powers of two in terms of TWOPOW macro.
37240         (mp_no): Make type of mantissa as MANTISSA_T.
37241         [!RADIXI]: Define RADIXI.
37242         [!TWO52]: Define TWO52.
37243         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37245 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37247         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37248         llroundl symbol when building for PPC32.
37250 2013-03-24  Mark H Weaver  <mhw@netris.org>
37252         * manual/arith.texi (Normalization Functions): Fix prototypes for
37253         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37255 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37257         [BZ #13889]
37258         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37259         high value to check if expl overflow.
37260         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37261         to check for underflow and overflow.
37262         * math/libm-test.inc: Add exp test.
37264 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37266         [BZ #11120]
37267         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37268         with NOT_IN_libc.
37270 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37272         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37273         symbol.
37275 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37277         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37278         wrap blocks consisting of several statements.
37280         * sysdeps/generic/math-tests.h: New file.
37281         * sysdeps/i386/fpu/math-tests.h: Likewise.
37282         * math/test-snan.c: Include it.
37283         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37285 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37287         [BZ #15285]
37288         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37289         (__ieee754_j0l): Do not improve calculations using cos of twice
37290         input for inputs above LDBL_MAX / 2.0L.
37291         (__ieee754_y0l): Likewise.
37292         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37293         (__ieee754_j1l): Do not improve calculations using cos of twice
37294         input for inputs above LDBL_MAX / 2.0L.
37295         (__ieee754_y1l): Likewise.
37296         * math/libm-test.inc (j0_test): Add another test.
37297         (j1_test): Likewise.
37298         (y0_test): Likewise.
37299         (y1_test): Likewise.
37300         * sysdeps/i386/fpu/libm-test-ulps: Update.
37302 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37304         * Rules ($(objpfx)bench-%.c): Include code from a C source
37305         file.
37307 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37309         [BZ #15287]
37310         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37311         imaginary part 1.0 and real part less than 0.5 specially.
37312         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37313         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37314         * math/libm-test.inc (cacos_test): Add more tests.
37315         (casin_test): Likewise.
37316         (casinh_test): Likewise.
37317         * sysdeps/i386/fpu/libm-test-ulps: Update.
37318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37320 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37322         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37323         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37325 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37327         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37328         * config.make.in (config-cflags-sse4): Remove variable.
37329         (config-cflags-avx): Likewise.
37330         (config-cflags-sse2avx): Likewise.
37331         (config-cflags-novzeroupper): Likewise.
37332         (config-asflags-i686): Likewise.
37333         (have-mfma4): Likewise.
37334         (have-as-vis3): Likewise.
37335         (MIG): Likewise.
37336         * configure.in (MIG): Do not AC_SUBST.
37337         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37338         (libc_cv_cc_sse4): Do not AC_SUBST.
37339         (libc_cv_cc_avx): Likewise.
37340         (libc_cv_cc_sse2avx): Likewise.
37341         (libc_cv_cc_novzeroupper): Likewise.
37342         (libc_cv_cc_fma4): Likewise.
37343         (libc_cv_as_i686): Likewise.
37344         (libc_cv_sparc_as_vis3): Likewise.
37345         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37346         LIBC_CONFIG_VAR.
37347         (config-asflags-i686): Likewise.
37348         (config-cflags-avx): Likewise.
37349         (config-cflags-sse2avx): Likewise.
37350         (have-mfma4): Likewise.
37351         (config-cflags-novzeroupper): Likewise.
37352         * sysdeps/mach/configure.in (MIG): Likewise.
37353         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37354         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37355         LIBC_CONFIG_VAR.
37356         (config-cflags-avx): Likewise.
37357         (config-cflags-sse2avx): Likewise.
37358         (have-mfma4): Likewise.
37359         (config-cflags-novzeroupper): Likewise.
37360         * configure: Regenerated.
37361         * sysdeps/i386/configure: Likewise.
37362         * sysdeps/mach/configure: Likewise.
37363         * sysdeps/sparc/configure: Likewise.
37364         * sysdeps/x86_64/configure: Likewise.
37366 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37368         [BZ #14812]
37369         * locale/programs/localedef.c (options): Put N_ translation marker
37370         on argument names, not just descriptions.
37372 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37374         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37376 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37378         [BZ #14176]
37379         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37381 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37383         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37384         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37385         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37386         [!BEFORE_ABORT] (before_abort): New function.
37387         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37388         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37389         (writev_for_fatal): New function.
37390         (WRITEV_FOR_FATAL): New macro; call that.
37391         (backtrace_and_maps): New function.
37392         (BEFORE_ABORT): New macro; call that.
37393         (struct str_list): Type removed.
37394         (__libc_message, __libc_fatal): Functions removed.
37395         Include <sysdeps/posix/libc_fatal.c> instead.
37397 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37399         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37400         constants.
37401         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37402         double constants.
37404 2013-03-19  Andreas Schwab  <schwab@suse.de>
37406         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37407         * sysdeps/gnu/configure: Regenerate.
37409         * configure.in: Substitute libc_cv_rtlddir.
37410         * configure: Regenerate.
37411         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37412         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37413         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37414         * elf/Makefile (install-others, CFLAGS-interp.c)
37415         (ldso_install, common-ldd-rewrite): Likewise.
37416         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37417         $(inst_slibdir)/$(rtld-installed-name).
37418         * scripts/rellns-sh: Add -p option.
37419         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37420         for source.
37422 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37424         * manual/nptl.texi: Renamed to ...
37425         * manual/threads.texi: ... this.
37426         * manual/Makefile (chapters): Update.
37428 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37430         [BZ #14812]
37431         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37432         on argument names, not just descriptions.
37433         * malloc/memusagestat.c (options): Likewise.
37434         * nss/getent.c (options): Likewise.
37436 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37438         [BZ #14812]
37439         * iconv/iconv_prog.c (options): Put N_ translation marker
37440         on argument names, not just descriptions.
37441         * iconv/iconvconfig.c (options): Likewise.
37443 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37445         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37446         implementation which is faster on all x86_64 architectures.
37447         Tested on AMD, Intel Nehalem, SNB, IVB.
37448         * sysdeps/x86_64/strnlen.S: Likewise.
37450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37451         Remove all multiarch strlen and strnlen versions.
37452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37453         Remove strlen and strnlen related parts.
37455         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37456         Inline strlen part.
37457         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37459         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37460         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37461         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37462         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37463         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37464         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37466 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37468         * manual/memory.texi (Malloc Tunable Parameters):
37469         Sort parameters alphabetically. Add comments for missing entries.
37471 2013-03-17  David S. Miller  <davem@davemloft.net>
37473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37475 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37477         [BZ #15283]
37478         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37479         for arguments at most half maximum finite value.
37480         * math/libm-test.inc (j0_test): Add more tests.
37481         (j1_test): Likewise.
37482         (y0_test): Likewise.
37483         (y1_test): Likewise.
37484         * sysdeps/i386/fpu/libm-test-ulps: Update.
37485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37487         [BZ #14155]
37488         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37489         1 / x and functions P and Q for arguments above 0x1p256L.
37490         (__ieee754_y0l): Likewise.
37491         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37492         (__ieee754_y1l): Likewise.
37493         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37494         (j1_test): Likewise.
37495         (y0_test): Likewise.
37496         (y1_test): Likewise.
37498 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37500         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37501         variable.
37503 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37505         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37506         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37507         zero since it's initialized to EXEC_PAGESIZE.
37509         * sysdeps/unix/sysv/linux/ldsodefs.h
37510         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37511         * sysdeps/generic/ldsodefs.h: ... here.
37513 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37515         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37517         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37518         math/test-snan.c.
37519         * math/test-snan.c: Renamed from
37520         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37521         * math/Makefile (tests): Add test-snan.
37522         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37523         test-powerpc-snan.
37525         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37526         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37527         functions.
37528         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37529         __builtin_nan family of functions.
37530         * math/libm-test.inc (initialize): Initialize qnan_value with
37531         __builtin_nan family of functions.
37532         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37533         Remove variables.
37534         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37535         Remove functions.
37536         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37537         storage class.  Initialize qNaN_var and sNaN_var with
37538         __builtin_nan and __builtin_nans families of functions,
37539         respectively.
37541         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37542         (sqrt_test): Remove duplicate test with qNaN input.
37543         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37544         (round_test, signbit_test, significand_test): Note missing +/-Inf
37545         as well as qNaN tests.
37547         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37548         qNaN_var.  Fix a few strings, too.
37549         * math/libm-test.inc (nan_value): Rename to qnan_value.
37550         * math/gen-libm-test.pl (%beautify): Adjust to that.
37551         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37552         * math/test-misc.c (main): Likewise.
37553         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37554         to __qnan_bytes, and __qnan_union, respectively.
37555         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37556         Likewise.
37557         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37558         and lqnanval, respectively.
37559         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37560         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37561         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37562         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37564         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37565         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37566         doubles.
37568         * math/test-misc.c (main): Fix copy'n'pastos.
37569         * misc/tst-efgcvt.c (special): Likewise.
37571         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37572         Remove declarations.
37574 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37576         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37577         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37578         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37579         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37581 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37583         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37584         macro to return vdso values correctly in IFUNC implementations.
37585         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37586         Optimization by using IFUNC.
37588 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37589             Richard Henderson  <rth@redhat.com>
37590             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37592         * Makefile.in (bench): New target.
37593         * NEWS: Mention the benchmark framework.
37594         * Rules (bench): Likewise.
37595         (binaries-bench): Generate binaries for functions to
37596         benchmark.
37597         * benchtests/Makefile: New makefile for benchmark tests.
37598         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37599         programs.
37600         * benchtests/exp-inputs: New input file for EXP function.
37601         * benchtests/pow-inputs: New input file for POW function.
37602         * scripts/bench.pl: New script to generate source files for
37603         benchmark programs.
37605 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37607         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37608         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37609         computations on mantissa.  Use macros for rounding and
37610         division.
37611         (denorm): Likewise.
37612         (__dbl_mp): Likewise.
37613         (add_magnitudes): Likewise.
37614         (sub_magnitudes): Likewise.
37615         (__mul): Likewise.
37616         (__sqr): Likewise.
37617         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37618         powers of two in terms of TWOPOW macro.
37619         (mp_no): Make type of mantissa as MANTISSA_T.
37620         [!RADIXI]: Define RADIXI.
37621         [!TWO52]: Define TWO52.
37622         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37624         * manual/nptl.texi (cindex): Modify threads to pthreads.
37626 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37628         * sysdeps/x86_64/preconfigure: Regenerated.
37630 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37632         [BZ #14155]
37633         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37634         0x1p28 and above.
37635         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37636         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37637         0x1p28 and above.
37638         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37639         * math/libm-test.inc (j0_test): Do not allow one spurious
37640         underflow exception.
37641         (y1_test): Likewise.
37643 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37645         * manual/Makefile (chapters): Add nptl.
37646         * manual/debug.texi (Debugging Support): Add link to Threads
37647         chapter.
37648         * manual/nptl.texi: New file.
37650         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37652 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37654         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37655         for non-NULL pointer before the memory validity test. Pointed
37656         out by Holger Brunck <holger.brunck@keymile.com>.
37658 2013-03-13  Andreas Schwab  <schwab@suse.de>
37660         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37661         instead of .os.
37663 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37665         * timezone/zic.c: Update from tzcode 2013b.
37667 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37669         * manual/install.texi (Configuring and compiling):
37670         Mention i686 and i586.
37671         * INSTALL: Regenerate.
37673 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37675         * sysdeps/init_array/elf-init.c: New file.
37676         * csu/elf-init.c
37677         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37678         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37680         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37681         __gmon_start__ as global, but as static with a .preinit_array pointer.
37682         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37683         * sysdeps/init_array/crti.S: New file, empty except for comments.
37684         * sysdeps/init_array/crtn.S: Likewise.
37686 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37688         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37689         definining bcopy.
37690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37691         Remove Prefer_SSE_for_memop.
37692         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37693         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37694         HAS_PREFER_SSE_FOR_MEMOP.
37695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37696         memset-x86-64.
37697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37698         Remove bzero, memset ifunc support.
37699         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37700         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37701         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37702         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37704 2013-03-11  Andreas Schwab  <schwab@suse.de>
37706         [BZ #15234]
37707         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37708         by SHLIB_COMPAT.
37709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37710         (GLIBC_2.16): Remove pthread_atfork.
37712 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37714         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37715         (ptestcases.h): Likewise.
37717 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37719         * Makeconfig ($(common-objpfx)config.status): Depend on
37720         sysdeps/*/preconfigure{,.in} too.
37722 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37724         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37725         (__free_hook): Use void * instead of __malloc_ptr_t.
37726         (__malloc_hook): Likewise.
37727         (__realloc_hook): Likewise.
37728         (__memalign_hook): Likewise.
37729         (__after_morecore_hook): Likewise.
37730         * malloc/arena.c (save_malloc_hook): Likewise.
37731         (save_free_hook): Likewise.
37732         * malloc/hooks.c (malloc_hook_ini): Likewise.
37733         (realloc_hook_ini): Likewise.
37734         (memalign_hook_ini): Likewise.
37735         * malloc/malloc.c (malloc_hook_ini): Likewise.
37736         (realloc_hook_ini): Likewise.
37737         (memalign_hook_ini): Likewise.
37738         (__free_hook): Likewise.
37739         (__malloc_hook): Likewise.
37740         (__realloc_hook): Likewise.
37741         (__memalign_hook): Likewise.
37742         (__libc_malloc): Likewise.
37743         (__libc_free): Likewise.
37744         (__libc_realloc): Likewise.
37745         (__libc_memalign): Likewise.
37746         (__libc_valloc): Likewise.
37747         (__libc_pvalloc): Likewise.
37748         (__libc_calloc): Likewise.
37749         (__posix_memalign): Likewise.
37750         * malloc/morecore.c (__sbrk): Likewise.
37751         (__default_morecore): Likewise.
37753         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37755         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37756         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37757         __malloc_ptrdiff_t.
37759         * malloc/malloc.h (__malloc_size_t): Remove macro.
37760         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37761         __malloc_size_t.
37762         (old_memalign_hook): Likewise.
37763         (old_realloc_hook): Likewise.
37764         (struct hdr): Likewise.
37765         (flood): Likewise.
37766         (mallochook): Likewise.
37767         (memalignhook): Likewise.
37768         (reallochook): Likewise.
37769         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37770         (tr_old_realloc_hook): Likewise.
37771         (tr_old_memalign_hook): Likewise.
37772         (tr_mallochook): Likewise.
37773         (tr_reallochook): Likewise.
37774         (tr_memalignhook): Likewise.
37776 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37778         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37779         default_ldbl_pack and using as default implementation.
37780         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37781         implementation.
37782         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37783         redundant definition.
37784         (ldbl_insert_mantissa): Likewise.
37785         (ldbl_canonicalize): Likewise.
37786         (ldbl_nearbyint): Likewise.
37787         (ldbl_pack): Rename to ldbl_pack_ppc.
37788         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37789         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37790         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37792 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37795         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37796         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37797         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37799         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37800         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37801         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37803 2013-03-07  Andreas Jaeger  <aj@suse.de>
37805         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37806         bits/mman-linux.h.
37808 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37810         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37811         Include mpa.h and declare __MPEXP.
37812         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37813         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37814         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37815         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37816         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37817         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37818         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37820         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37821         (__slowpow): Use long double EXPL and LOGL functions to
37822         compute POW.
37823         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37824         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37825         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37826         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37827         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37828         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37831         intermediate variable to calculate exponent.
37832         (__sqr): Likewise.
37833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37834         Likewise.
37835         (__sqr): Likewise.
37837         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37838         [!NO__SQR]: Define __sqr.
37839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37840         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37841         sysdeps/ieee754/dbl-64/mpa.c.
37842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37844         [BZ #12723]
37845         * posix/Makefile (tests): Add tst-pathconf.
37846         * posix/tst-pathconf.c: New test case.
37847         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37848         _PC_PIPE_BUF.
37849         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37851 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37853         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37855 2013-03-06  Andreas Jaeger  <aj@suse.de>
37857         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37858         definition via __MAP_ANONYMOUS.
37860         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37861         it's not part of Linux headers.
37863         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37864         (MAP_HUGE_MASK): Define.
37866         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37867         Define.
37868         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37869         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37870         Define.
37871         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37872         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37873         Define.
37874         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37875         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37876         Define.
37877         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37879         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37880         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37881         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37882         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37883         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37884         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37886         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37887         Handle f2fs.
37889         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37890         Handle f2fs and efivarfs.
37892         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37893         f2fs.
37895         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37896         (EFIVARFS_MAGIC): Add.
37897         (F2FS_LINK_MAX): Add.
37899 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37901         * stdio-common/vfprintf.c: Replace __builtin_expect with
37902         __glibc_unlikely.
37904 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37906         [BZ #13550]
37907         * sysdeps/generic/bp-sym.h: Remove file.
37908         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37909         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37910         <bp-sym.h> and <bp-asm.h>.
37911         (__longjmp): Don't use BP_SYM.
37912         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37913         and <bp-asm.h>.
37914         (memcpy): Don't use BP_SYM.
37915         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37916         <bp-sym.h> and <bp-asm.h>.
37917         (memcpy): Don't use BP_SYM.
37918         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37919         <bp-asm.h>.
37920         (memcpy): Don't use BP_SYM.
37921         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37922         <bp-asm.h>.
37923         (memset): Don't use BP_SYM.
37924         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37925         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37926         (__bzero): Don't use BP_SYM.
37927         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37928         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37929         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37930         <bp-sym.h> and <bp-asm.h>.
37931         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37932         pointers.
37933         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37934         <bp-sym.h> and <bp-asm.h>.
37935         (memcpy): Don't use BP_SYM.
37936         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37937         <bp-sym.h> and <bp-asm.h>.
37938         (memset): Don't use BP_SYM.
37939         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37940         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37941         (__bzero): Don't use BP_SYM.
37942         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37943         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37944         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37945         <bp-sym.h> and <bp-asm.h>.
37946         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37947         pointers.
37948         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37949         <bp-sym.h> and <bp-asm.h>.
37950         (memcpy): Don't use BP_SYM.
37951         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37952         <bp-sym.h> and <bp-asm.h>.
37953         (memset): Don't use BP_SYM.
37954         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37955         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37956         (__bzero): Don't use BP_SYM.
37957         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37958         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37959         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37960         <bp-sym.h> and <bp-asm.h>.
37961         (__memchr): Don't use BP_SYM.
37962         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37963         <bp-sym.h> and <bp-asm.h>.
37964         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37965         pointers.
37966         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37967         <bp-sym.h> and <bp-asm.h>.
37968         (memcpy): Don't use BP_SYM.
37969         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37970         <bp-sym.h> and <bp-asm.h>.
37971         (__mempcpy): Don't use BP_SYM.
37972         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37973         <bp-sym.h> and <bp-asm.h>.
37974         (__memrchr): Don't use BP_SYM.
37975         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37976         <bp-sym.h> and <bp-asm.h>.
37977         (memset): Don't use BP_SYM.
37978         (__bzero): Likewise.
37979         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37980         <bp-sym.h> and <bp-asm.h>.
37981         (__rawmemchr): Don't use BP_SYM.
37982         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37983         <bp-sym.h> and <bp-asm.h>.
37984         (__STRCMP): Don't use BP_SYM.
37985         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37986         <bp-sym.h> and <bp-asm.h>.
37987         (strchr): Don't use BP_SYM.
37988         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37989         <bp-sym.h> and <bp-asm.h>.
37990         (__strchrnul): Don't use BP_SYM.
37991         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37992         <bp-sym.h> and <bp-asm.h>.
37993         (strlen): Don't use BP_SYM.
37994         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37995         <bp-sym.h> and <bp-asm.h>.
37996         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37997         pointers.
37998         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37999         <bp-sym.h> and <bp-asm.h>.
38000         (__strnlen): Don't use BP_SYM.
38001         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38002         <bp-sym.h> and <bp-asm.h>.
38003         (__GI__setjmp): Don't use BP_SYM.
38004         (_setjmp): Likewise.
38005         (__sigsetjmp): Likewise.
38006         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38007         (L(start_addresses)): Don't use BP_SYM.
38008         (_start): Likewise.
38009         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38010         <bp-asm.h>.
38011         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38012         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38013         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38014         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38015         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38016         <bp-asm.h>.
38017         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38018         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
38019         about bounded pointers.
38020         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38021         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38022         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38023         <bp-asm.h>.
38024         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
38025         about bounded pointers.  Remove GKM FIXME comments.
38026         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38027         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38028         <bp-asm.h>.
38029         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38030         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
38031         Remove GKM FIXME comments.
38032         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38033         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38034         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38035         <bp-asm.h>.
38036         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
38037         about bounded pointers.  Remove GKM FIXME comment.
38038         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38039         and <bp-asm.h>.
38040         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38041         pointers.
38042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38043         <bp-sym.h> and <bp-asm.h>.
38044         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38046         <bp-sym.h> and <bp-asm.h>.
38047         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38048         comment.
38050 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38052         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38053         call free(NULL).
38055 2013-03-05  David S. Miller  <davem@davemloft.net>
38057         * po/es.po: Update from translation team.
38059 2013-03-05  Andreas Jaeger  <aj@suse.de>
38061         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38062         <bits/mman-linux.h>.
38063         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38064         is fine.
38065         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38066         <bits/mman-linux.h> to end of file.
38067         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38068         is fine.
38069         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38070         <bits/mman-linux.h> to end of file.
38071         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38072         is fine.
38073         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38074         <bits/mman-linux.h> to end of file.
38076         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38077         (MCL_CURRENT, MCL_FUTURE): Define here.
38079 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38081         [BZ #15232]
38082         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38083         attribute_hidden.
38084         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38086 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38088         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38089         fourth parameter needed for rt_sigprocmask syscall.
38090         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38091         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38092         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38093         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38094         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38095         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38097 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
38099         [BZ #13550]
38100         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38101         comment about bounded pointers.
38102         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38103         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38105 2013-03-04  Andreas Jaeger  <aj@suse.de>
38107         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38108         common definitions.
38110         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38111         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38112         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38114         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38115         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38117 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38119         [BZ #15055]
38120         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38121         __ieee754_sqrl instead of __sqrl.
38123 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38125         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38126         * sysdeps/powerpc/fpu_control.h: ... here.
38127         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38128         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38129         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38130         * sysdeps/powerpc/bits/mathinline.h: ... here.
38132 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38134         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38135         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38136         to just [NEED_DL_SYSINFO_DSO].
38137         * elf/dl-support.c: Likewise.
38138         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38139         * elf/rtld.c (dl_main): Likewise.
38140         * elf/setup-vdso.h (setup_vdso): Likewise.
38141         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38142         * sysdeps/unix/sysv/linux/dl-sysdep.c
38143         (_dl_discover_osversion): Likewise.
38145 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38147         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38148         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38150 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38152         * NEWS: Mention libm performance improvements and non-x86 PI
38153         futex support.
38155         * csu/libc-start.c (__pthread_initialize_minimal): Change
38156         function arguments.
38157         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38159 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38161         [BZ #13550]
38162         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38163         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38164         <bp-sym.h> and <bp-asm.h>.
38165         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38166         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38167         and <bp-asm.h>.
38168         (memcpy): Don't use BP_SYM.
38169         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38170         <bp-asm.h>.
38171         (__mpn_add_n): Don't use BP_SYM.
38172         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38173         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38174         and <bp-asm.h>.
38175         (__mpn_addmul_1): Don't use BP_SYM.
38176         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38177         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38178         <bp-sym.h>.
38179         (_setjmp): Don't use BP_SYM.
38180         (__novmx_setjmp): Likewise.
38181         (__GI__setjmp): Likewise.
38182         (__vmx_setjmp): Likewise.
38183         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38184         <bp-sym.h>.
38185         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38186         (__bzero): Don't use BP_SYM.
38187         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38188         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38189         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38190         <bp-sym.h> and <bp-asm.h>.
38191         (memcpy): Don't use BP_SYM.
38192         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38193         <bp-sym.h> and <bp-asm.h>.
38194         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38195         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38196         <bp-sym.h> and <bp-asm.h>.
38197         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38198         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38199         <bp-asm.h>.
38200         (__mpn_lshift): Don't use BP_SYM.
38201         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38202         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38203         <bp-asm.h>.
38204         (memset): Don't use BP_SYM.
38205         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38206         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38207         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38208         <bp-asm.h>.
38209         (__mpn_mul_1): Don't use BP_SYM.
38210         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38211         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38212         <bp-sym.h> and <bp-asm.h>.
38213         (memcmp): Don't use BP_SYM.
38214         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38215         <bp-sym.h> and <bp-asm.h>.
38216         (memcpy): Don't use BP_SYM.
38217         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38218         <bp-sym.h> and <bp-asm.h>.
38219         (memset): Don't use BP_SYM.
38220         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38221         <bp-sym.h> and <bp-asm.h>.
38222         (strncmp): Don't use BP_SYM.
38223         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38224         <bp-sym.h> and <bp-asm.h>.
38225         (memcpy): Don't use BP_SYM.
38226         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38227         <bp-sym.h> and <bp-asm.h>.
38228         (memset): Don't use BP_SYM.
38229         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38230         <bp-sym.h> and <bp-asm.h>.
38231         (__memchr): Don't use BP_SYM.
38232         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38233         <bp-sym.h> and <bp-asm.h>.
38234         (memcmp): Don't use BP_SYM.
38235         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38236         <bp-sym.h> and <bp-asm.h>.
38237         (memcpy): Don't use BP_SYM.
38238         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38239         <bp-sym.h> and <bp-asm.h>.
38240         (__mempcpy): Don't use BP_SYM.
38241         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38242         <bp-sym.h> and <bp-asm.h>.
38243         (__memrchr): Don't use BP_SYM.
38244         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38245         <bp-sym.h> and <bp-asm.h>.
38246         (memset): Don't use BP_SYM.
38247         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38248         <bp-sym.h> and <bp-asm.h>.
38249         (__rawmemchr): Don't use BP_SYM.
38250         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38251         <bp-sym.h> and <bp-asm.h>.
38252         (__STRCMP): Don't use BP_SYM.
38253         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38254         <bp-sym.h> and <bp-asm.h>.
38255         (strchr): Don't use BP_SYM.
38256         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38257         <bp-sym.h> and <bp-asm.h>.
38258         (__strchrnul): Don't use BP_SYM.
38259         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38260         <bp-sym.h> and <bp-asm.h>.
38261         (strlen): Don't use BP_SYM.
38262         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38263         <bp-sym.h> and <bp-asm.h>.
38264         (strncmp): Don't use BP_SYM.
38265         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38266         <bp-sym.h> and <bp-asm.h>.
38267         (__strnlen): Don't use BP_SYM.
38268         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38269         <bp-asm.h>.
38270         (__mpn_rshift): Don't use BP_SYM.
38271         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38272         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38273         <bp-sym.h> and <bp-asm.h>.
38274         (__sigsetjmp): Don't use BP_SYM.
38275         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38276         (L(start_addresses)): Don't use BP_SYM.
38277         (_start): Likewise.
38278         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38279         <bp-asm.h>.
38280         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38281         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38282         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38283         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38284         <bp-asm.h>.
38285         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38286         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38287         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38288         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38289         <bp-asm.h>.
38290         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38291         comments.
38292         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38293         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38294         <bp-asm.h>.
38295         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38296         FIXME comments.
38297         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38298         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38299         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38300         <bp-asm.h>.
38301         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38302         comment.
38303         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38304         and <bp-asm.h>.
38305         (strncmp): Don't use BP_SYM,
38306         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38307         <bp-asm.h>.
38308         (__mpn_sub_n): Don't use BP_SYM.
38309         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38310         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38311         and <bp-asm.h>.
38312         (__mpn_submul_1): Don't use BP_SYM.
38313         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38315         <bp-sym.h> and <bp-asm.h>.
38316         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38318         <bp-sym.h> and <bp-asm.h>.
38319         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38320         comment.
38322 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38325         Use ZK to minimize writes to Z.
38326         (sub_magnitudes): Simplify code a bit.
38327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38328         Use ZK to minimize writes to Z.
38329         (sub_magnitudes): Simplify code a bit.
38331 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38333         * csu/gmon-start.c: Add special exception to license text.
38335 2013-02-27  Richard Henderson  <rth@redhat.com>
38337         * scripts/config.guess: Update from config.git.
38338         * scripts/config.sub: Likewise.
38340 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38342         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38344         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38346         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38348         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38350         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38352 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38354         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38355         [$(build-shared = yes].
38357 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38359         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38360         (__mul): Reduce iterations for calculating mantissa.
38362         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38363         MPTWO.
38364         (__mpranred): Likewise.
38366         [BZ #15160]
38367         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38368         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38370 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38372         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38373         Define __attribute__.
38375 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38377         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38378         unused.
38379         * posix/regex_internal.h (__attribute): Remove.
38380         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38381         (re_string_context_at): Likewise.
38382         (bitset_not): Use __attribute__ and mark function as possibly
38383         unused.
38384         (bitset_merge): Likewise.
38385         (bitset_mask): Likewise.
38386         (re_string_char_size_at): Likewise.
38387         (re_string_wchar_at): Likewise.
38388         (re_string_elem_size_at): Likewise.
38390 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38392         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38393         code.
38394         (cc32): Likewise.
38396         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38397         (__acr): Likewise.
38398         (__cpy): Likewise.
38399         (norm): Likewise.
38400         (denorm): Likewise.
38401         (__dbl_mp): Likewise.
38402         (add_magnitudes): Likewise.
38403         (sub_magnitudes): Likewise.
38404         (__mul): Likewise.
38405         (__inv): Likewise.
38407         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38408         style.
38410         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38411         style.
38413         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38414         code.
38416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38417         up changes with default code.
38418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38419         Likewise.
38421 2013-02-24  Allan McRae  <allan@archlinux.org>
38423         * manual/socket.texi (The Internet Namespace): Order menu items
38424         to match that in the file.
38426         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38427         node listing of the info page menu.
38429 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38431         [BZ #13550]
38432         * sysdeps/i386/bp-asm.h: Remove file.
38433         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38434         (PARMS): Do not use macros from bp-asm.h.
38435         (S1): Likewise.
38436         (S2): Likewise.
38437         (SIZE): Likewise.
38438         (__mpn_add_n): Do not use BP_SYM
38439         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38440         "bp-asm.h".
38441         (PARMS): Do not use macros from bp-asm.h.
38442         (S1): Likewise.
38443         (SIZE): Likewise.
38444         (__mpn_addmul_1): Do not use BP_SYM
38445         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38446         "bp-asm.h".
38447         (PARMS): Do not use macros from bp-asm.h.
38448         (SIGMSK): Likewise.
38449         (_setjmp): Likewise.  Do not use BP_SYM.
38450         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38451         "bp-asm.h".
38452         (PARMS): Do not use macros from bp-asm.h.
38453         (SIGMSK): Likewise.
38454         (setjmp): Likewise.  Do not use BP_SYM.
38455         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38456         "bp-asm.h".
38457         (PARMS): Do not use macros from bp-asm.h.
38458         (__frexp): Do not use BP_SYM.
38459         (frexp): Likewise.
38460         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38461         "bp-asm.h".
38462         (PARMS): Do not use macros from bp-asm.h.
38463         (__frexpf): Do not use BP_SYM.
38464         (frexpf): Likewise.
38465         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38466         "bp-asm.h".
38467         (PARMS): Do not use macros from bp-asm.h.
38468         (__frexpl): Do not use BP_SYM.
38469         (frexpl): Likewise.
38470         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38471         "bp-asm.h".
38472         (PARMS): Do not use macros from bp-asm.h.
38473         (__remquo): Do not use BP_SYM.
38474         (remquo): Likewise.
38475         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38476         "bp-asm.h".
38477         (PARMS): Do not use macros from bp-asm.h.
38478         (__remquof): Do not use BP_SYM.
38479         (remquof): Likewise.
38480         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38481         "bp-asm.h".
38482         (PARMS): Do not use macros from bp-asm.h.
38483         (__remquol): Do not use BP_SYM.
38484         (remquol): Likewise.
38485         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38486         "bp-asm.h".
38487         (PARMS): Do not use macros from bp-asm.h.
38488         (DEST): Likewise.
38489         (SRC): Likewise.
38490         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38491         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38492         "bp-asm.h".
38493         (PARMS): Do not use macros from bp-asm.h.
38494         (strlen): Do not use BP_SYM.
38495         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38496         "bp-asm.h".
38497         (PARMS): Do not use macros from bp-asm.h.
38498         (S1): Likewise.
38499         (S2): Likewise.
38500         (SIZE): Likewise.
38501         (__mpn_add_n): Do not use BP_SYM.
38502         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38503         "bp-asm.h".
38504         (PARMS): Do not use macros from bp-asm.h.
38505         (S1): Likewise.
38506         (SIZE): Likewise.
38507         (__mpn_addmul_1): Do not use BP_SYM.
38508         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38509         weak_alias.
38510         (bzero): Likewise.
38511         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38512         "bp-asm.h".
38513         (PARMS): Do not use macros from bp-asm.h.
38514         (S): Likewise.
38515         (SIZE): Likewise.
38516         (__mpn_lshift): Do not use BP_SYM.
38517         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38518         "bp-asm.h".
38519         (PARMS): Do not use macros from bp-asm.h.
38520         (DEST): Likewise.
38521         (SRC): Likewise.
38522         (LEN): Likewise.
38523         (memcpy): Likewise.  Do not use BP_SYM.
38524         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38525         libc_hidden_def and weak_alias.
38526         (mempcpy): Do not use BP_SYM in weak_alias.
38527         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38528         "bp-asm.h".
38529         (PARMS): Do not use macros from bp-asm.h.
38530         (DEST): Likewise.
38531         (LEN): Likewise.
38532         [!BZERO_P] (CHR): Likewise.
38533         (memset): Likewise.  Do not use BP_SYM.
38534         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38535         "bp-asm.h".
38536         (PARMS): Do not use macros from bp-asm.h.
38537         (S1): Likewise.
38538         (SIZE): Likewise.
38539         (__mpn_mul_1): Do not use BP_SYM.
38540         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38541         "bp-asm.h".
38542         (PARMS): Do not use macros from bp-asm.h.
38543         (S): Likewise.
38544         (SIZE): Likewise.
38545         (__mpn_rshift): Do not use BP_SYM.
38546         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38547         "bp-asm.h".
38548         (PARMS): Do not use macros from bp-asm.h.
38549         (STR): Likewise.
38550         (CHR): Likewise.
38551         (strchr): Likewise.  Do not use BP_SYM.
38552         (index): Do not use BP_SYM in weak_alias.
38553         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38554         "bp-asm.h".
38555         (PARMS): Do not use macros from bp-asm.h.
38556         (DEST): Likewise.
38557         (SRC): Likewise.
38558         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38559         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38560         "bp-asm.h".
38561         (PARMS): Do not use macros from bp-asm.h.
38562         (strlen): Do not use BP_SYM.
38563         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38564         "bp-asm.h".
38565         (PARMS): Do not use macros from bp-asm.h.
38566         (S1): Likewise.
38567         (S2): Likewise.
38568         (SIZE): Likewise.
38569         (__mpn_sub_n): Do not use BP_SYM.
38570         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38571         "bp-asm.h".
38572         (PARMS): Do not use macros from bp-asm.h.
38573         (S1): Likewise.
38574         (SIZE): Likewise.
38575         (__mpn_submul_1): Do not use BP_SYM.
38576         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38577         "bp-asm.h".
38578         (PARMS): Do not use macros from bp-asm.h.
38579         (S1): Likewise.
38580         (S2): Likewise.
38581         (SIZE): Likewise.
38582         (__mpn_add_n): Do not use BP_SYM.
38583         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38584         weak_alias.
38585         (bzero): Likewise.
38586         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38587         "bp-asm.h".
38588         (PARMS): Do not use macros from bp-asm.h.
38589         (BLK2): Likewise.
38590         (LEN): Likewise.
38591         (memcmp): Do not use BP_SYM.
38592         (bcmp): Do not use BP_SYM in weak_alias.
38593         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38594         "bp-asm.h".
38595         (PARMS): Do not use macros from bp-asm.h.
38596         (DEST): Likewise.
38597         (SRC): Likewise.
38598         (LEN): Likewise.
38599         (memcpy): Likewise.  Do not use BP_SYM.
38600         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38601         "bp-asm.h".
38602         (PARMS): Do not use macros from bp-asm.h.
38603         (DEST): Likewise.
38604         (SRC): Likewise.
38605         (LEN): Likewise.
38606         (memmove): Likewise.  Do not use BP_SYM.
38607         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38608         "bp-asm.h".
38609         (PARMS): Do not use macros from bp-asm.h.
38610         (DEST): Likewise.
38611         (SRC): Likewise.
38612         (LEN): Likewise.
38613         (__mempcpy): Likewise.  Do not use BP_SYM.
38614         (mempcpy): Do not use BP_SYM in weak_alias.
38615         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38616         "bp-asm.h".
38617         (PARMS): Do not use macros from bp-asm.h.
38618         (DEST): Likewise.
38619         (LEN): Likewise.
38620         [!BZERO_P] (CHR): Likewise.
38621         (memset): Likewise.  Do not use BP_SYM.
38622         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38623         "bp-asm.h".
38624         (PARMS): Do not use macros from bp-asm.h.
38625         (STR2): Likewise.
38626         (strcmp): Do not use BP_SYM.
38627         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38628         "bp-asm.h".
38629         (PARMS): Do not use macros from bp-asm.h.
38630         (STR): Likewise.
38631         (DELIM): Likewise.
38632         [USE_AS_STRTOK_R] (SAVE): Likewise.
38633         (FUNCTION): Likewise.  Do not use BP_SYM.
38634         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38635         aliases.
38636         (strtok_r): Likewise.
38637         (__GI___strtok_r): Likewise.
38638         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38639         (PARMS): Do not use macros from bp-asm.h.
38640         (S): Likewise.
38641         (SIZE): Likewise.
38642         (__mpn_lshift): Do not use BP_SYM.
38643         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38644         (PARMS): Do not use macros from bp-asm.h.
38645         (STR): Likewise.
38646         (CHR): Likewise.
38647         (__memchr): Do not use BP_SYM.
38648         (memchr): Do not use BP_SYM in weak_alias.
38649         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38650         (PARMS): Do not use macros from bp-asm.h.
38651         (BLK2): Likewise.
38652         (LEN): Likewise.
38653         (memcmp): Do not use BP_SYM.
38654         (bcmp): Do not use BP_SYM in weak_alias.
38655         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38656         (PARMS): Do not use macros from bp-asm.h.
38657         (S1): Likewise.
38658         (SIZE): Likewise.
38659         (__mpn_mul_1): Do not use BP_SYM.
38660         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38661         "bp-asm.h".
38662         (PARMS): Do not use macros from bp-asm.h.
38663         (STR): Likewise.
38664         (CHR): Likewise.
38665         (__rawmemchr): Do not use BP_SYM.
38666         (rawmemchr): Do not use BP_SYM in weak_alias.
38667         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38668         (PARMS): Do not use macros from bp-asm.h.
38669         (S): Likewise.
38670         (SIZE): Likewise.
38671         (__mpn_rshift): Do not use BP_SYM.
38672         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38673         (PARMS): Do not use macros from bp-asm.h.
38674         (SIGMSK): Likewise.
38675         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38676         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38677         (_start): Do not use BP_SYM.
38678         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38679         (PARMS): Do not use macros from bp-asm.h.
38680         (DEST): Likewise.
38681         (SRC): Likewise.
38682         (__stpcpy): Likewise.  Do not use BP_SYM.
38683         (stpcpy): Do not use BP_SYM in weak_alias.
38684         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38685         "bp-asm.h".
38686         (PARMS): Do not use macros from bp-asm.h.
38687         (DEST): Likewise.
38688         (SRC): Likewise.
38689         (LEN): Likewise.
38690         (__stpncpy): Likewise.  Do not use BP_SYM.
38691         (stpncpy): Do not use BP_SYM in weak_alias.
38692         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38693         (PARMS): Do not use macros from bp-asm.h.
38694         (STR): Likewise.
38695         (CHR): Likewise.
38696         (strchr): Likewise.  Do not use BP_SYM.
38697         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38698         "bp-asm.h".
38699         (PARMS): Do not use macros from bp-asm.h.
38700         (STR): Likewise.
38701         (CHR): Likewise.
38702         (__strchrnul): Likewise.  Do not use BP_SYM.
38703         (strchrnul): Do not use BP_SYM in weak_alias.
38704         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38705         "bp-asm.h".
38706         (PARMS): Do not use macros from bp-asm.h.
38707         (STOP): Likewise.
38708         (strcspn): Do not use BP_SYM.
38709         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38710         "bp-asm.h".
38711         (PARMS): Do not use macros from bp-asm.h.
38712         (STR): Likewise.
38713         (STOP): Likewise.
38714         (strpbrk): Likewise.  Do not use BP_SYM.
38715         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38716         "bp-asm.h".
38717         (PARMS): Do not use macros from bp-asm.h.
38718         (STR): Likewise.
38719         (CHR): Likewise.
38720         (strrchr): Likewise.  Do not use BP_SYM.
38721         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38722         (PARMS): Do not use macros from bp-asm.h.
38723         (SKIP): Likewise.
38724         (strspn): Do not use BP_SYM.
38725         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38726         (PARMS): Do not use macros from bp-asm.h.
38727         (STR): Likewise.
38728         (DELIM): Likewise.
38729         (SAVE): Likewise.
38730         (FUNCTION): Likewise.  Do not use BP_SYM.
38731         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38732         aliases.
38733         (strtok_r): Likewise.
38734         (__GI___strtok_r): Likewise.
38735         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38736         (PARMS): Do not use macros from bp-asm.h.
38737         (S1): Likewise.
38738         (S2): Likewise.
38739         (SIZE): Likewise.
38740         (__mpn_sub_n): Do not use BP_SYM.
38741         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38742         "bp-asm.h".
38743         (PARMS): Do not use macros from bp-asm.h.
38744         (S1): Likewise.
38745         (SIZE): Likewise.
38746         (__mpn_submul_1): Do not use BP_SYM.
38747         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38748         <bp-sym.h>.
38749         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38750         and <bp-asm.h>.
38751         (PARMS): Do not use macros from bp-asm.h.
38752         (FLAGS): Likewise.
38753         (PTID): Likewise.
38754         (TLS): Likewise.
38755         (CTID): Likewise.
38756         (__clone): Do not use BP_SYM.
38757         (clone): Do not use BP_SYM in weak_alias.
38758         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38759         and <bp-asm.h>.
38760         (PARMS): Do not use macros from bp-asm.h.
38761         (LEN): Likewise.
38762         (__mmap64): Do not use BP_SYM.
38763         (mmap64): Do not use BP_SYM in weak_alias.
38764         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38765         <bp-sym.h> and <bp-asm.h>.
38766         (PARMS): Do not use macros from bp-asm.h.
38767         (__posix_fadvise64_l64): Do not use BP_SYM.
38768         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38769         (PARMS): Do not use macros from bp-asm.h.
38770         (NSOPS): Likewise.
38771         (semtimedop): Do not use BP_SYM.
38772         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38773         and <bp-asm.h>.
38775 2013-02-21  Allan McRae  <allan@archlinux.org>
38777         * manual/message.texi (Charset conversion in gettext):
38778         Move @end statement to beginning of line.
38780 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38783         static.
38784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38785         Likewise.
38787         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38788         (denorm): Likewise.
38789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38792 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38794         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38795         tail-call to the resolved function if pltexit isn't needed.
38797 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38800         or Y being zero as being unlikely.
38801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38802         Likewise.
38804 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38806         * manual/nss.texi (System Databases and Name Service Switch):
38807         Remove frobnicate @pxref.
38809 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38811         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38812         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38814 2013-02-20  Petr Machata  <pmachata@redhat.com>
38816         * elf/elf.h (R_ARM_TARGET1): New macro.
38817         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38818         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38819         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38820         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38821         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38822         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38823         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38824         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38825         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38826         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38827         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38828         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38829         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38830         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38831         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38832         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38833         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38834         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38835         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38836         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38837         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38838         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38839         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38840         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38841         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38842         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38843         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38844         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38845         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38846         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38847         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38848         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38849         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38850         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38851         (R_ARM_THM_GOT_BREL12): Likewise.
38852         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38853         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38854         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38855         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38856         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38857         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38858         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38859         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38860         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38862 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38864         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38865         __attribute_used__ to __attribute__ ((unused)).
38867 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38869         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38870         powerpc mpa.c.
38871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38872         comment formatting.
38873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38875 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38877         [BZ #13550]
38878         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38879         Remove macro.
38880         (ENTER): Remove both macro definitions.
38881         (LEAVE): Likewise.
38882         (CHECK_BOUNDS_LOW): Likewise.
38883         (CHECK_BOUNDS_HIGH): Likewise.
38884         (CHECK_BOUNDS_BOTH): Likewise.
38885         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38886         (RETURN_BOUNDED_POINTER): Likewise.
38887         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38888         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38889         (POP_ERRNO_LOCATION_RETURN): Likewise.
38890         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38891         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38892         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38893         macros.
38894         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38895         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38896         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38897         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38898         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38899         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38900         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38901         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38902         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38903         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38904         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38905         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38906         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38907         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38908         removed macros.
38909         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38910         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38911         macros.
38912         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38913         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38914         * sysdeps/i386/i586/memset.S (memset): Likewise.
38915         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38916         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38917         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38918         macros.
38919         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38920         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38921         Change uses of L(2) to L(out).
38922         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38923         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38924         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38925         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38926         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38927         removed macros.
38928         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38929         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38930         macros.
38931         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38932         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38933         (RETURN): Do not use macro LEAVE.
38934         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38935         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38936         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38937         * sysdeps/i386/i686/memset.S (memset): Likewise.
38938         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38939         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38940         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38941         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38942         Likewise.
38943         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38944         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38945         L(1_2) and L(1_3) into L(1).
38946         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38947         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38948         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38949         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38950         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38951         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38952         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38953         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38954         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38955         macros.
38956         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38957         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38958         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38959         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38960         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38961         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38962         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38963         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38964         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38965         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38966         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38967         * sysdeps/i386/strspn.S (strspn): Likewise.
38968         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38969         conditional code.
38970         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38971         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38972         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38973         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38974         L(1_3) into L(1_1).
38975         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38976         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38977         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38978         macros.
38979         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38981 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38983         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38984         macro.
38986 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988         * math/atest-exp.c (exp_mpn): Remove ROUND.
38989         * math/atest-exp2.c (exp_mpn): Likewise.
38990         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38992         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38993         * stdlib/tst-tls-atexit-lib.c: Likewise.
38994         * stdlib/tst-tls-atexit.c: Likewise.
38996 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38998         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38999         and __attribute_alloc_size__.
39001 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39003         * include/programs/xmalloc.h: Change __attribute_alloc_size to
39004         __attribute_alloc_size__.
39005         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39006         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39008 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39010         * include/programs/xmalloc.h: New file.
39011         * catgets/gencat.c: Include it.
39012         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39013         * elf/pldd.c: Likewise.
39014         * iconv/iconv_charmap.c: Likewise.
39015         * iconv/iconvconfig.c: Likewise.
39016         * iconv/strtab.c: Likewise.
39017         * locale/programs/locale.c: Likewise.
39018         * locale/programs/localedef.h: Likewise.
39019         * locale/programs/simple-hash.c: Likewise.
39020         * nscd/nscd.h: Likewise.
39021         * nss/makedb.c: Likewise.
39022         * sysdeps/generic/ldconfig.h: Likewise.
39024 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39026         * Versions.def: Add GLIBC_2.18.
39027         * include/link.h (struct link_map): New member l_tls_dtor_count.
39028         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39029         (__call_tls_dtors): Likewise.
39030         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39031         __cxa_thread_atexit_impl.
39032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39033         Likewise.
39034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39035         Likewise.
39036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39037         Likewise.
39038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39039         Likewise.
39040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39042         Likewise.
39043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39044         Likewise.
39045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39047         Likewise.
39048         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39049         (tests): Add test case tst-tls-atexit.
39050         (modules-names): Add shared library for tst-tls-atexit.
39051         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39052         (GLIBC_PRIVATE): Add __call_tls_dtors.
39053         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39054         for libstdc++.
39055         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39056         * stdlib/tst-tls-atexit.c: New test case.
39057         * stdlib/tst-tls-atexit-lib.c: New test case.
39059         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39061         * elf/Versions (ld): Add _dl_find_dso_for_object.
39062         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39063         * elf/dl-open.c (_dl_find_dso_for_object): New function.
39064         (dl_open_worker): Use _dl_find_dso_for_object.
39065         * elf/dl-sym.c (do_sym): Likewise.
39066         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39068 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39070         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39071         Syntactic changes only.
39072         (_dl_runtime_profile): Do a tail-call to the resolved function.
39074 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
39076         [BZ #13550]
39077         * sysdeps/x86_64/bp-asm.h: Remove file.
39078         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39079         <bp-sym.h> and <bp-asm.h>.
39080         (__clone): Do not use BP_SYM.
39081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39082         <bp-sym.h> and <bp-asm.h>.
39083         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39084         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39085         "bp-asm.h".
39086         (_setjmp): Do not use BP_SYM.
39087         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39088         "bp-asm.h".
39089         (setjmp): Do not use BP_SYM.
39090         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39091         libc_hidden_def.
39092         (mempcpy): Do not use BP_SYM in weak_alias.
39093         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39094         "bp-asm.h".
39095         (strchr): Do not use BP_SYM.
39096         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39097         "bp-asm.h".
39098         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39099         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39100         (_start): Do not use BP_SYM.
39101         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39102         "bp-asm.h".
39103         (strcat): Do not use BP_SYM.
39104         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39105         "bp-asm.h".
39106         (STRCMP): Do not use BP_SYM.
39107         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39108         "bp-asm.h".
39109         (STRCPY): Do not use BP_SYM.
39110         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39111         "bp-asm.h".
39112         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39113         "bp-asm.h".
39114         (FUNCTION): Do not use BP_SYM.
39115         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39116         weak_alias.
39117         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39119 2013-02-17  Andreas Jaeger  <aj@suse.de>
39121         * time/Versions: Sort entries.
39122         * string/Versions: Likewise.
39123         * resolv/Versions: Likewise.
39124         * posix/Versions: Likewise.
39125         * iconv/Versions: Likewise.
39126         * elf/Versions: Likewise.
39127         * wcsmbs/Versions: Likewise.
39129 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39131         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39132         loop termination condition.
39134         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39135         variable to calculate EZ.
39136         (__sqr): Likewise.
39138         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39139         the lower precision input.
39141 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39143         [BZ #13550]
39144         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39145         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39146         (run-via-rtld-prefix): Do not handle %-bp tests.
39147         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39148         (all-object-suffixes): Remove .ob.
39149         (bppfx): Remove variable.
39150         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39151         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39152         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39153         [$(build-bounded) = yes] (libtype.ob): Likewise.
39154         * Makerules (elide-routines.ob): Remove variable.
39155         (do-tests-clean): Do not handle *-bp.out.
39156         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39157         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39158         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39159         (tests): Do not include $(tests-bp.out).
39160         (xtests): Do not include $(xtests-bp.out).
39161         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39162         [$(build-bounded) = yes] ($(addprefix
39163         $(objpfx),$(binaries-bounded))): Remove rule.
39164         ($(objpfx)%-bp.out): Remove rule.
39165         * config.make.in (build-bounded): Remove variable.
39166         * crypt/Makefile [$(build-bounded) = yes]
39167         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39168         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39169         append to variable.
39170         [$(build-bounded) = yes] (install-lib): Likewise.
39171         [$(build-bounded) = yes] (generated): Likewise.
39172         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39173         Remove rule.
39174         * intl/Makefile [$(build-bounded) = yes]
39175         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39176         * math/Makefile [$(build-bounded) = yes]
39177         ($(tests:%=$(objpfx)%-bp): Likewise.
39178         * misc/Makefile [$(build-bounded) = yes]
39179         ($(objpfx)tst-tsearch-bp): Likewise.
39180         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39181         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39182         Remove dependency.
39183         * string/Makefile (o-objects.ob): Remove variable.
39184         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39185         (CFLAGS-.ob): Remove variable.
39186         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39187         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39188         both definitions of variable.
39189         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39190         (ASFLAGS-.ob): Remove variable.
39192 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39194         [BZ #13550]
39195         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39196         Remove __BOUNDED_POINTERS__ from condition.
39197         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39198         * string/bits/string2.h [!__NO_STRING_INLINES &&
39199         !__BOUNDED_POINTERS__]: Likewise.
39200         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39201         Likewise.
39202         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39203         Remove conditional code.
39204         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39205         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39206         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39207         condition.
39209         [BZ #13550]
39210         * csu/libc-start.c: Do not include <bp-sym.h>.
39211         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39212         * elf/dl-open.c: Do not include <bp-sym.h>.
39213         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39214         * math/fegetenv.c: Do not include <bp-sym.h>.
39215         (fegetenv): Do not use BP_SYM in versioned symbols.
39216         * nptl/sysdeps/pthread/bits/libc-lockP.h
39217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39218         <bp-sym.h>.
39219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39220         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39222         (__pthread_mutex_destroy): Likewise.
39223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39224         (__pthread_mutex_lock): Likewise.
39225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39226         (__pthread_mutex_trylock): Likewise.
39227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39228         (__pthread_mutex_unlock): Likewise.
39229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39230         (__pthread_mutexattr_init): Likewise.
39231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39232         (__pthread_mutexattr_destroy): Likewise.
39233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39234         (__pthread_mutexattr_settype): Likewise.
39235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39236         (__pthread_rwlock_init): Likewise.
39237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39238         (__pthread_rwlock_destroy): Likewise.
39239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39240         (__pthread_rwlock_rdlock): Likewise.
39241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39242         (__pthread_rwlock_tryrdlock): Likewise.
39243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39244         (__pthread_rwlock_wrlock): Likewise.
39245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39246         (__pthread_rwlock_trywrlock): Likewise.
39247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39248         (__pthread_rwlock_unlock): Likewise.
39249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39250         (__pthread_key_create): Likewise.
39251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39252         (__pthread_setspecific): Likewise.
39253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39254         (__pthread_getspecific): Likewise.
39255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39256         Likewise.
39257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39258         (_pthread_cleanup_push_defer): Likewise.
39259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39260         (_pthread_cleanup_pop_restore): Likewise.
39261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39262         (pthread_setcancelstate): Likewise.
39263         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39264         <bp-sym.h>.
39265         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39266         (memchr): Do not use BP_SYM in weak_alias.
39267         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39268         (fegetenv): Do not use BP_SYM in versioned symbols.
39269         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39270         (fesetenv): Do not use BP_SYM in versioned symbols.
39271         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39272         (feupdateenv): Do not use BP_SYM in versioned symbols.
39273         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39274         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39275         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39276         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39277         (open64): Do not use BP_SYM in weak_alias.
39278         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39279         (fegetenv): Do not use BP_SYM in versioned symbols.
39280         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39281         (fesetenv): Do not use BP_SYM in versioned symbols.
39282         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39283         (feupdateenv): Do not use BP_SYM in versioned symbols.
39284         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39285         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39286         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39287         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39288         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39289         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39290         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39291         <bp-sym.h>.
39292         (__libc_start_main): Do not use BP_SYM.
39294 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39297         redundant return line.
39298         (norm): Likewise.
39299         (denorm): Likewise.
39300         (dbl_mp): Likewise.
39301         (sub_magnitudes): Likewise.
39302         (__add): Likewise.
39303         (__sub): Likewise.
39304         (__mul): Likewise.
39305         (__inv): Likewise.
39306         (__dvd): Likewise.
39307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39308         (norm): Likewise.
39309         (denorm): Likewise.
39310         (dbl_mp): Likewise.
39311         (sub_magnitudes): Likewise.
39312         (__add): Likewise.
39313         (__sub): Likewise.
39314         (__mul): Likewise.
39315         (__inv): Likewise.
39316         (__dvd): Likewise.
39318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39319         instead of __mul.
39320         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39321         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39322         (cc32): Likewise.
39324         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39325         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39326         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39327         of __mul for squares.
39328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39329         function
39330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39331         Likewise.
39332         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39333         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39335 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39337         [BZ #13550]
39338         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39339         code.
39340         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39341         prototype or function definition.  Rename ubp_* variables and
39342         parameters.  Remove argv definitions conditional on
39343         [__BOUNDED_POINTERS__].
39344         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39345         * elf/dl-runtime.c (_dl_fixup): Likewise.
39346         * include/set-hooks.h (RUN_HOOK): Likewise.
39347         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39348         definition.
39349         * string/strcpy.c (strcpy): Do not use __unbounded.
39350         * sysdeps/generic/frame.h (struct layout): Likewise.
39351         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39352         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39353         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39354         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39355         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39356         (__backtrace): Likewise.
39357         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39358         use __ptrvalue.
39359         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39360         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39361         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39362         Likewise.
39363         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39364         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39365         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39366         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39367         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39368         Do not use __unbounded.
39369         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39370         Rename __unboundedrlimits parameter to rlimits in prototype.
39371         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39372         Do not use __unbounded.
39373         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39374         not use __ptrvalue.
39375         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39376         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39377         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39378         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39379         __ptrvalue or __unbounded.
39380         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39381         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39382         use __unbounded.
39383         (__new_msgctl): Do not use __ptrvalue.
39384         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39385         __unbounded.
39386         (__libc_msgrcv): Do not use __ptrvalue.
39387         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39388         startup_info): Do not use __unbounded.
39389         (__libc_start_main): Likewise.  Rename ubp_* variables and
39390         parameters.  Remove argv definitions conditional on
39391         [__BOUNDED_POINTERS__].
39392         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39393         __ptrvalue.
39394         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39395         use __unbounded.
39396         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39397         or __ptrvalue.
39398         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39399         use __unbounded.
39400         (__new_shmctl): Do not use __ptrvalue.
39401         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39402         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39403         Likewise.
39404         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39405         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39406         (__libc_sigaction): Likewise.
39407         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39408         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39409         Likewise.
39410         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39412 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39414         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39416         * string/mempcpy.c: Implement by calling memcpy.
39418 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39423         evaluation.
39425         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39426         values in the mantissa.
39428         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39429         minimize writes to Z.
39430         (sub_magnitudes): Simplify code a bit.
39432 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39434         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39435         from the message.  The linker prefixes all warnings with that already.
39437 2013-02-12  Andreas Schwab  <schwab@suse.de>
39439         [BZ #15078]
39440         * posix/regexec.c (extend_buffers): Add parameter min_len.
39441         (check_matching): Pass minimum needed length.
39442         (clean_state_log_if_needed): Likewise.
39443         (get_subexp): Likewise.
39444         * posix/Makefile (tests): Add bug-regex34.
39445         (bug-regex34-ENV): Define.
39446         * posix/bug-regex34.c: New file.
39448         [BZ #11561]
39449         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39450         elements compare against the byte sequence of it, not its name.
39451         * posix/Makefile (tests): Add bug-regex35.
39452         (bug-regex35-ENV): Define.
39453         * posix/bug-regex35.c: New file.
39455 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39457         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39458         comment.
39459         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39460         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39461         (CHECK_EOL): Add undef.
39463 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39465         * bits/stdlib-bsearch.h: New file.
39466         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39467         * stdlib/stdlib.h: Likewise.
39469 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39471         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39472         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39473         declaration.
39474         * manual/search.texi (Array Search Function): Add missing const in
39475         lfind prototype.
39476         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39477         declaration to use rlim_t.
39478         (Basic Scheduling Functions): Remove erroneous const from
39479         sched_getparam prototype.  Remove erroneous * from
39480         sched_get_priority_max and sched_get_priority_min prototypes.
39481         (Resource Usage): Fix summary @comment on vtimes to refer to
39482         sys/vtimes.h rather than vtimes.h.
39483         Add missing *s in vtimes prototype.
39484         (Limits on Resources): Fix ulimit prototype to return long int.
39485         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39486         prototypes to use long int rather than double.
39487         (BSD Random): Fix initstate and setstate to use char *, not void *.
39488         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39489         prototype to make second argument 'struct aiocb64 *const[]'.
39490         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39491         (Status of AIO Operations): Remove erroneous const in aio_return and
39492         aio_return64 prototypes.
39493         (Synchronizing I/O): Fix sync prototype to return void.
39494         * manual/startup.texi (Suboptions): Remove an erroneous const in
39495         getsubopt prototype.
39496         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39497         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39498         use size_t rather than int.
39499         (Scanning All Users): Likewise for getpwent_r.
39500         (Setting Groups): Add missing const to setgroups prototype.
39501         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39502         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39503         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39504         'const void *' rather than 'const char *'.
39505         (Host Address Functions): Likewise for inet_ntop.
39506         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39507         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39508         ssize_t for return value.
39509         (Sending Data): Likewise for send, sendto, sendmsg.
39510         (Socket Option Functions): Add a missing const in setsockopt prototype.
39511         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39512         use wchar_t for the argument.
39513         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39514         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39515         take no arguments.
39516         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39517         double/float/long double for second argument.
39518         Fix return types of significand, significandf, significandl.
39519         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39520         argument in fchmod prototype.
39521         (File Owner): Use uid_t and gid_t in fchown prototype.
39522         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39523         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39524         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39525         use 'const struct dirent **' as argument types to CMP function pointer
39526         argument.
39527         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39528         (File Times): Fix summary magic @comment for struct utimbuf and utime
39529         to refer to utime.h, not time.h.
39530         * manual/string.texi (Argz Functions): Add missing const in
39531         argz_extract and argz_next prototypes.
39532         (Finding Tokens in a String): Likewise for basename.
39533         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39534         (Copying and Concatenation): Fix typo in wmemmove prototype.
39535         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39536         (Signal Stack): Remove erroneous const in sigstack prototype.
39537         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39538         prototype.
39539         (Simple Calendar Time): Likewise for stime.
39540         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39541         prototype.
39542         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39543         say sys/sysctl.h instead.
39544         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39545         and vsyslog prototypes.
39547 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39549         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39550         Remove.
39552 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39554         * misc/sys/mman.h: Fix typo in mremap comment.
39556 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39558         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39559         the '\0' terminator.
39561 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39563         [BZ #13550]
39564         * debug/segfault.c: Don't include <bp-checks.h>.
39565         * sysdeps/generic/bp-checks.h: Remove file.
39566         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39567         (__GETDENTS): Don't use CHECK_N.
39568         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39569         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39570         (__getgroups): Don't use CHECK_N.
39571         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39572         (setgroups): Don't use CHECK_N.
39573         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39574         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39575         (__libc_msgrcv): Don't use CHECK_N.
39576         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39577         (__libc_msgsnd): Don't use CHECK_N.
39578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39579         <bp-checks.h>.
39580         (__libc_pread): Don't use CHECK_N.
39581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39582         include <bp-checks.h>.
39583         (__libc_pread64): Don't use CHECK_N.
39584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39585         include <bp-checks.h>.
39586         (__libc_pwrite): Don't use CHECK_N.
39587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39588         include <bp-checks.h>.
39589         (__libc_pwrite64): Don't use CHECK_N.
39590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39591         <bp-checks.h>.
39592         (__libc_pread): Don't use CHECK_N.
39593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39594         include <bp-checks.h>.
39595         (__libc_pread64): Don't use CHECK_N.
39596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39597         include <bp-checks.h>.
39598         (__libc_pwrite): Don't use CHECK_N.
39599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39600         include <bp-checks.h>.
39601         (__libc_pwrite64): Don't use CHECK_N.
39602         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39603         (do_pread): Don't use CHECK_N.
39604         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39605         (do_pread64): Don't use CHECK_N.
39606         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39607         (do_pwrite): Don't use CHECK_N.
39608         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39609         (do_pwrite64): Don't use CHECK_N.
39610         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39611         (__libc_readv): Don't use CHECK_N.
39612         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39613         (semop): Don't use CHECK_N.
39614         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39615         <bp-checks.h>.
39616         (semtimedop): Don't use CHECK_N.
39617         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39618         (__libc_pread): Don't use CHECK_N.
39619         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39620         <bp-checks.h>.
39621         (__libc_pread64): Don't use CHECK_N.
39622         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39623         <bp-checks.h>.
39624         (__libc_pwrite): Don't use CHECK_N.
39625         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39626         <bp-checks.h>.
39627         (__libc_pwrite64): Don't use CHECK_N.
39628         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39629         <bp-checks.h>.
39630         (__libc_msgrcv): Don't use CHECK_N.
39631         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39632         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39633         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39634         (__libc_writev): Don't use CHECK_N.
39636 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39638         * string/strcpy.c: Removed unused variable.
39640         * Makeconfig (+sysdep-includes): Define with := rather than =.
39641         Use an existing include/ subdir of each sysdeps dir before it.
39643 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39645         * nscd/connection.c (register_traced_file): Comment function.
39646         [HAVE_INOTIFY] (union __inev): Define.
39647         [HAVE_INOTIFY] (inotify_check_files): New function.
39648         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39649         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39650         clear_db_cache.
39651         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39653 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39655         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39656         loaded if not already and that a failure is permanent.
39658 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39660         [BZ #15006]
39661         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39662         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39664 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #13550]
39667         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39668         (CHECK_1_NULL_OK): Likewise.
39669         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39670         (__fxstat): Do not use CHECK_1.
39671         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39672         <bp-checks.h>.
39673         (___fxstat64): Do not use CHECK_1.
39674         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39675         <bp-checks.h>.
39676         (__fxstatat): Do not use CHECK_1.
39677         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39678         <bp-checks.h>.
39679         (__fxstatat64): Do not use CHECK_1.
39680         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39681         <bp-checks.h>.
39682         (__fxstat): Do not use CHECK_1.
39683         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39684         <bp-checks.h>.
39685         (__fxstatat): Do not use CHECK_1.
39686         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39687         <bp-checks.h>.
39688         (__getresgid): Do not use CHECK_1.
39689         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39690         <bp-checks.h>.
39691         (__getresuid): Do not use CHECK_1.
39692         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39693         <bp-checks.h>.
39694         (__lxstat): Do not use CHECK_1.
39695         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39696         <bp-checks.h>.
39697         (__old_msgctl): Do not use CHECK_1.
39698         (__new_msgctl): Likewise.
39699         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39700         <bp-checks.h>.
39701         (__new_setrlimit): Do not use CHECK_1.
39702         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39703         <bp-checks.h>.
39704         (__old_shmctl): Do not use CHECK_1.
39705         (__new_shmctl): Likewise.
39706         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39707         <bp-checks.h>.
39708         (__xstat): Do not use CHECK_1.
39709         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39710         (__lxstat): Do not use CHECK_1.
39711         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39712         <bp-checks.h>.
39713         (___lxstat64): Do not use CHECK_1.
39714         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39715         (__old_msgctl): Do not use CHECK_1.
39716         (__new_msgctl): Likewise.
39717         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39718         <bp-checks.h>.
39719         (__gettimeofday): Do not use CHECK_1.
39720         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39721         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39722         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39723         <bp-checks.h>.
39724         (__gettimeofday): Do not use CHECK_1.
39725         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39726         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39727         (__new_shmctl): Do not use CHECK_1.
39728         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39729         <bp-checks.h>.
39730         (do_sigtimedwait): Do not use CHECK_1.
39731         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39732         <bp-checks.h>.
39733         (do_sigwaitinfo): Do not use CHECK_1.
39734         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39735         <bp-checks.h>.
39736         (msgctl): Do not use CHECK_1.
39737         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39738         <bp-checks.h>.
39739         (shmctl): Do not use CHECK_1.
39740         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39741         (ustat): Do not use CHECK_1.
39742         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39743         <bp-checks.h>.
39744         (__fxstat): Do not use CHECK_1.
39745         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39746         <bp-checks.h>.
39747         (__fxstatat): Do not use CHECK_1.
39748         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39749         <bp-checks.h>.
39750         (__lxstat): Do not use CHECK_1.
39751         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39752         <bp-checks.h>.
39753         (__xstat): Do not use CHECK_1.
39754         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39755         (__xstat): Do not use CHECK_1.
39756         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39757         (___xstat64): Do not use CHECK_1.
39759         [BZ #13550]
39760         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39761         definitions.
39762         (CHECK_BOUNDS_HIGH): Likewise.
39763         * string/strcpy.c: Do not include <bp-checks.h>.
39764         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39766 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39768         * nscd/nscd-client.h (__nscd_drop_map_ref):
39769         Add __attribute__ ((unused)).
39770         * nis/nss-nisplus.h (niserr2nss): Likewise.
39772         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39773         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39775         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39776         Remove inline keyword.
39777         * include/rounding-mode.h (round_away): Likewise.
39778         * libio/wfileops.c (adjust_wide_data): Likewise.
39779         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39780         (__m128i_strloadu_tolower): Likewise.
39781         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39782         (__m128i_strloadu_tolower): Likewise.
39783         * time/mktime.c (ydhms_diff): Likewise.
39784         * locale/elem-hash.h (elem_hash): Likewise.
39785         * locale/setlocale.c (setdata): Likewise.
39786         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39787         (re_string_wchar_at): Likewise.
39788         (bitset_not, bitset_merge, bitset_mask): Likewise.
39789         [!(__GNUC__ > 3)] (inline): Remove macro.
39790         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39791         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39792         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39793         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39794         * string/memcmp.c (memcmp_bytes): Likewise.
39795         * locale/programs/locarchive.c (compute_hashval): Likewise.
39796         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39797         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39798         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39799         * nss/getent.c (print_rpc, print_protocols): Likewise.
39800         (print_passwd, print_group, print_aliases): Likewise.
39801         * nis/nss-nisplus.h (niserr2nss): Likewise.
39802         * nscd/connections.c (restart_p): Likewise.
39803         Change return type to bool.
39805 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39807         * Makeconfig (all-Depend-files): Add existing
39808         $(sorted-subdirs:=/Depend) files.
39809         (all-subdirs): Remove nss.
39810         * sysdeps/unix/inet/Subdirs: Add it here instead.
39811         * hesiod/Depend: New file.
39813         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39814         instead of calling alloca.
39816         * io/lseek.c (__lseek): Rename to __libc_lseek.
39817         Define __lseek as an alias.
39819         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39821 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39823         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39824         else clause and remove check for non-standard endianness.
39826 2013-02-04  David S. Miller  <davem@davemloft.net>
39828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39830 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39832         [BZ #13550]
39833         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39834         (__ubp_memchr): Remove prototype.
39835         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39836         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39837         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39838         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39839         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39840         Remove alias.
39841         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39842         (__ubp_memchr): Likewise.
39843         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39844         (__ubp_memchr): Likewise.
39845         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39846         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39847         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39848         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39849         CHECK_STRING.
39850         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39851         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39852         (__getcwd): Do not use CHECK_STRING.
39853         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39854         <bp-checks.h>.
39855         (__real_chown): Do not use CHECK_STRING.
39856         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39857         <bp-checks.h>.
39858         (fchownat): Do not use CHECK_STRING.
39859         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39860         CHECK_STRING.
39861         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39862         <bp-checks.h>.
39863         (__lchown): Do not use CHECK_STRING.
39864         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39865         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39866         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39867         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39869         include <bp-checks.h>.
39870         (truncate64): Do not use CHECK_STRING.
39871         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39872         <bp-checks.h>.
39873         (__real_chown): Do not use CHECK_STRING.
39874         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39875         <bp-checks.h>.
39876         (__lchown): Do not use CHECK_STRING.
39877         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39878         <bp-checks.h>.
39879         (__chown): Do not use CHECK_STRING.
39880         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39881         <bp-checks.h>.
39882         (truncate64): Do not use CHECK_STRING.
39883         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39884         Likewise.
39885         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39886         (__xmknod): Do not use CHECK_STRING.
39887         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39888         <bp-checks.h>.
39889         (__xmknodat): Do not use CHECK_STRING.
39890         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39891         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39893 2013-02-04  Andreas Schwab  <schwab@suse.de>
39895         [BZ #14142]
39896         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39897         * include/netdb.h: Likewise for h_errno.
39898         * elf/tst-stackguard1.c: Include <tls.h>.
39900 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39902         * elf/link.h (struct link_map): Extend the l_addr comment.
39903         * include/link.h (struct link_map): Likewise.
39905 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39907         [BZ #13550]
39908         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39909         (BOUNDED_1): Remove macro.
39910         * debug/backtrace.c: Don't include <bp-checks.h>.
39911         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39912         (__backtrace): Likewise.
39913         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39914         <bp-checks.h>.
39915         (__backtrace): Don't use BOUNDED_1.
39916         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39917         <bp-checks.h>.
39918         (__backtrace): Don't use BOUNDED_1.
39919         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39920         (__backtrace): Don't use BOUNDED_1.
39921         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39922         (shmat): Don't use BOUNDED_N.
39924 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39926         [BZ #13550]
39927         * sysdeps/generic/bp-start.h: Remove file.
39928         * csu/libc-start.c: Don't include <bp-start.h>.
39929         (LIBC_START_MAIN): Set up __environ directly instead of using
39930         INIT_ARGV_and_ENVIRON.
39931         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39932         <bp-start.h>.
39934         [BZ #13550]
39935         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39936         definitions.
39937         (CHECK_FCNTL): Likewise.
39938         (CHECK_N_PAGES): Likewise.
39940         [BZ #13550]
39941         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39942         definitions.
39943         (CHECK_SIGSET_NULL_OK): Likewise.
39944         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39945         <bp-checks.h>.
39946         (sigpending): Don't use CHECK_SIGSET.
39947         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39948         <bp-checks.h>.
39949         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39950         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39951         <bp-checks.h>.
39952         (do_sigsuspend): Don't use CHECK_SIGSET.
39953         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39954         use CHECK_SIGSET.
39955         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39956         (do_sigwait): Don't use CHECK_SIGSET.
39957         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39958         use CHECK_SIGSET.
39959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39960         include <bp-checks.h>.
39961         (sigpending): Don't use CHECK_SIGSET.
39962         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39963         include <bp-checks.h>.
39964         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39965         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39966         <bp-checks.h>.
39967         (sigpending): Don't use CHECK_SIGSET.
39968         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39969         <bp-checks.h>.
39970         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39972         [BZ #13550]
39973         * sysdeps/generic/bp-semctl.h: Remove file.
39974         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39975         <bp-checks.h> and <bp-semctl.h>.
39976         (__old_semctl): Don't use CHECK_SEMCTL.
39977         (__new_semctl): Likewise.
39978         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39979         and <bp-semctl.h>.
39980         (__old_semctl): Don't use CHECK_SEMCTL.
39981         (__new_semctl): Likewise.
39982         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39983         <bp-checks.h> and <bp-semctl.h>.
39984         (__old_semctl): Don't use CHECK_SEMCTL.
39985         (__new_semctl): Likewise.
39986         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39987         <bp-checks.h> and <bp-semctl.h>.
39988         (semctl): Don't use CHECK_SEMCTL.
39990         [BZ #13550]
39991         * Makerules (elide-bp-thunks): Remove variable.
39992         (elide-routines.oS): Don't use $(elide-bp-thunks).
39993         (elide-routines.os): Likewise.
39994         (elide-routines.o): Likewise.
39995         (elide-routines.op): Likewise.
39996         (elide-routines.og): Likewise.
39997         (objects): Don't use $(bp-thunks).
39998         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39999         include.
40000         (common-generated): Do not add s-proto-bp.d.
40001         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40002         (int): Likewise.
40003         (typ): Likewise.
40004         Do not generate makefile rules for bounded-pointer thunks.
40005         * sysdeps/generic/bp-thunks.h: Remove file.
40006         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40007         * sysdeps/unix/s-proto-bp.S: Likewise.
40009         [BZ #15062]
40010         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40011         parts of result separately when argument is not close to line from
40012         -i to i and one part of argument is small.
40013         * math/k_casinhf.c (__kernel_casinhf): Likewise.
40014         * math/k_casinhl.c (__kernel_casinhl): Likewise.
40015         * math/libm-test.inc (cacos_test): Add more tests.
40016         (casin_test): Likewise.
40017         (casinh_test): Likewise.
40018         * sysdeps/i386/fpu/libm-test-ulps: Update.
40019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40021 2013-01-31  David S. Miller  <davem@davemloft.net>
40023         * po/de.po: Update from translation team.
40025 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
40027         * time/tzfile.c: Include stdint.h for SIZE_MAX.
40029 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
40031         * configure.in (_AC_PROG_CC_C89): New definition.
40032         * configure: Regenerate.
40034         * configure.in (AC_PROG_CPP): New definition.
40035         * configure: Regenerate.
40037 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40039         * debug/tst-backtrace.h: New file.
40040         * debug/tst-backtrace2.c: Include tst-backtrace.h.
40041         (ret): Remove variable.
40042         (x): Likewise.
40043         (FAIL): Remove macro.
40044         (NO_INLINE): Likewise.
40045         (fn1): Use match function instead of strstr.
40046         * debug/tst-backtrace3.c: Include tst-backtrace.h.
40047         (ret): Remove variable.
40048         (x): Likewise.
40049         (FAIL): Remove macro.
40050         (NO_INLINE): Likewise.
40051         (fn): Use match function instead of strstr.
40052         * debug/tst-backtrace4.c: Include tst-backtrace.h.
40053         (ret): Remove variable.
40054         (x): Likewise.
40055         (FAIL): Remove macro.
40056         (NO_INLINE): Likewise.
40057         (handle_signal): Use match function instead of strstr.
40058         * debug/tst-backtrace5.c: Include tst-backtrace.h.
40059         (ret): Remove variable.
40060         (x): Likewise.
40061         (FAIL): Remove macro.
40062         (NO_INLINE): Likewise.
40063         (handle_signal): Use match function instead of strstr.
40065 2013-01-23  Roland McGrath  <roland@hack.frob.com>
40067         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40069 2013-01-23  David S. Miller  <davem@davemloft.net>
40071         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40072         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40073         argument of CAS if possible.
40074         * sysdeps/sparc/sparc64/bits/atomic.h
40075         (__arch_compare_and_exchange_val_32_acq): Likewise.
40076         (__arch_compare_and_exchange_val_64_acq): Likewise.
40078 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
40080         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40081         * sysdeps/posix/ulimit.c: ... this.
40082         Include <limits.h>.
40083         * sysdeps/unix/bsd/ulimit.c: Remove file.
40085 2013-01-23  Adam Conrad  <adconrad@0c3.net>
40087         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40088         (LDFLAGS-tst-array5): Likewise.
40090 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40092         [BZ #15036]
40093         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40094         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40095         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40096         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40098 2013-01-21  David S. Miller  <davem@davemloft.net>
40100         * sysdeps/sparc/backtrace.c: New file.
40101         * sysdeps/sparc/sparc32/backtrace.h: New file.
40102         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40103         * sysdeps/sparc/sparc64/backtrace.h: New file.
40104         * sysdeps/sparc/sparc64/backtrace.c: Delete.
40105         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40106         -funwind-tables.
40108 2013-01-21  Andreas Schwab  <schwab@suse.de>
40110         [BZ #15020]
40111         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40112         closed its stdout.
40114 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40117         "mpa2.h".
40118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40120 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40121             Mark Mitchell  <mark@codesourcery.com>
40122             Tom de Vries  <tom@codesourcery.com>
40123             Paul Pluzhnikov  <ppluzhnikov@google.com>
40125         * debug/tst-backtrace2.c: New file.
40126         * debug/tst-backtrace3.c: Likewise.
40127         * debug/tst-backtrace4.c: Likewise.
40128         * debug/tst-backtrace5.c: Likewise.
40129         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40130         (CFLAGS-tst-backtrace3.c): Likewise.
40131         (CFLAGS-tst-backtrace4.c): Likewise.
40132         (CFLAGS-tst-backtrace5.c): Likewise.
40133         (LDFLAGS-tst-backtrace2): Likewise.
40134         (LDFLAGS-tst-backtrace3): Likewise.
40135         (LDFLAGS-tst-backtrace4): Likewise.
40136         (LDFLAGS-tst-backtrace5): Likewise.
40137         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40138         tst-backtrace4 and tst-backtrace5.
40140 2013-01-18  Anton Blanchard  <anton@samba.org>
40141             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40143         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40144         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40145         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40146         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40148         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40149         "+r" and remove output regs list as redundant.  Add explicit inline
40150         asm to specify register of return val to work around compiler codegen
40151         bug.  Remove (int) cast on return value.  Add return type parameter to
40152         use in macro so that this macro does not truncate return value for
40153         64-bit values.
40154         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40155         pass to INTERNAL_VSYSCALL_NCS.
40156         (INLINE_VSYSCALL): Add 'long int' as return type to
40157         INTERNAL_VSYSCALL_NCS macro invocation.
40158         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40159         INTERNAL_VSYSCALL_NCS macro invocation.
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40162 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40164         [BZ #14496]
40165         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40166         Fix application of SIMD FP exception mask.
40168         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40169         mp_no from a power of two.
40170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40171         __mpexp_twomm1.  Use __pow_mp.
40173         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40174         multiplication.
40176 2013-01-17  David S. Miller  <davem@davemloft.net>
40178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40180 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40182         [BZ #15023]
40183         * include/complex.h: Condition contents on [!_COMPLEX_H].
40184         (__kernel_casinhf): New prototype.
40185         (__kernel_casinh): Likewise.
40186         (__kernel_casinhl): Likewise.
40187         * math/Makefile (libm_calls): Add k_casinh.
40188         * math/k_casinh.c: New file.
40189         * math/k_casinhf.c: Likewise.
40190         * math/k_casinhl.c: Likewise.
40191         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40192         finite nonzero arguments.
40193         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40194         finite nonzero arguments.
40195         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40196         finite nonzero arguments.
40197         * math/s_casinh.c: Do not include <float.h>.
40198         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40199         * math/s_casinhf.c: Do not include <float.h>.
40200         (__casinhf): Move code for finite nonzero arguments to
40201         k_casinhf.c.
40202         * math/s_casinhl.c: Do not include <float.h>.
40203         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40204         redefine.
40205         (__casinhl): Move code for finite nonzero arguments to
40206         k_casinhl.c.
40207         * math/libm-test.inc (cacos_test): Add more tests.
40208         * sysdeps/i386/fpu/libm-test-ulps: Update.
40209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40211 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40213         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40214         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40215         [!HAVE_MREMAP]: Remove [defined linux] case.
40216         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40218 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40220         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40222 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40224         * elf/elf.h (R_386_SIZE32): New relocation.
40225         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40226         R_386_SIZE32.
40227         (elf_machine_rela): Likewise.
40228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40229         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40231 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40233         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40234         (FP_FAST_FMA): Do not define.
40235         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40236         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40237         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40238         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40239         !_SOFT_FLOAT]: Likewise.
40240         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40241         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40242         value.
40243         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40244         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40245         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40246         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40247         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40248         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40249         file.
40251 2013-01-16  Andreas Schwab  <schwab@suse.de>
40253         [BZ #14327]
40254         * include/stdlib.h (__mktemp): Add declaration.
40255         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40256         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40258 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40260         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40261         definitions.
40262         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40263         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40264         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40265         definitions here.
40266         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40267         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40268         definitions.
40269         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40270         and ONE.
40271         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40272         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40273         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40274         definitions.
40275         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40276         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40277         definitions.
40278         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40280         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40282 2013-01-15  David S. Miller  <davem@davemloft.net>
40284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40285         trunc{,f} to libm-sysdep_routes.
40286         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40288         file.
40289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40291         file.
40292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40293         file.
40294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40296         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40297         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40298         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40299         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40300         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40301         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40304         nearbyint{,f} to libm-sysdep_routes.
40305         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40307         New file.
40308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40309         file.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40311         New file.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40313         file.
40314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40316         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40317         file.
40318         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40319         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40320         file.
40321         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40322         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40323         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40325         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40326         libc_feholdexcept and libc_fesetenv.
40328 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40330         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40332 2013-01-14  David S. Miller  <davem@davemloft.net>
40334         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40335         (SPARC_ASM_VIS2_IFUNC): Likewise.
40336         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40338         use of 'siam' instruction.
40339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40340         Likewise.
40341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40342         Likewise.
40343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40344         Likewise.
40345         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40350         file.
40351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40352         file.
40353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40354         file.
40355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40356         file.
40357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40362         new VIS2 routines.
40363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40366         Likewise.
40367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40372         routines to libm-sysdep_routines.
40373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40376         fdim/fdimf to libm-sysdep_routines.
40377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40378         file.
40379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40381         file.
40382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40385         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40386         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40387         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40388         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40390 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40392         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40393         to optimize copies.
40395         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40400         local variable MPTWO.
40401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40402         Likewise.
40404 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40406         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40407         GLOB_NOESCAPE.
40409 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40411         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40413 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40415         * manual/pattern.texi (glob_t): Document gl_flags.
40416         (glob64_t): Likewise.
40418 2013-01-11  David S. Miller  <davem@davemloft.net>
40420         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40421         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40422         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40423         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40424         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40425         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40426         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40427         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40428         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40429         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40430         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40431         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40432         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40434         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40435         sparc V9 rather than using V8 code.
40436         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40437         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40439         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40440         Move to...
40441         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40442         Here.
40444 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40446         [BZ #14941]
40447         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40448         not in the main loop.
40449         * configure: Regenerated.
40451 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40453         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40454         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40455         to just #else.
40456         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40457         [!__GLIBC_HAVE_LONG_LONG] case.
40458         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40459         condition to just #else.
40460         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40461         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40462         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40463         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40464         unconditional.
40465         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40466         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40467         #elif condition to just #else.
40468         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40469         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40470         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40471         #elif condition to just #else.
40473 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40475         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40476         (EF_MIPS_ARCH_64): Fix value.
40477         (EF_MIPS_ARCH_32R2): New.
40478         (EF_MIPS_ARCH_64R2): New.
40480 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40482         * Makeconfig (+link-pie-before-libc): New.
40483         (+link-pie-after-libc): Likewise.
40484         (+link-pie-tests): Likewise.
40485         (+link-pie): Rewritten.
40486         (link-before-libc): Remove $(config-LDFLAGS).
40487         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40488         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40489         (config-LDFLAGS): Renamed to ...
40490         (rtld-LDFLAGS): This.
40491         (rtld-tests-LDFLAGS): New macro.
40492         (link-libc-rpath-link): Likewise.
40493         (link-libc-tests-rpath-link): Likewise.
40494         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40495         (link-libc): Prepand $(link-libc-rpath-link).
40496         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40497         (test-program-prefix): New macro.
40498         (test-via-rtld-prefix): Likewise.
40499         (test-program-cmd): Likewise.
40500         (host-test-program-cmd): Likewise.
40501         * Makefile ($(common-objpfx)testrun.sh): Replace
40502         $(run-program-prefix) with $(test-program-prefix).
40503         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40504         $(rtld-LDFLAGS).
40505         ($(common-objpfx)shlib.lds): Likewise.
40506         (build-module-helper): Likewise.
40507         ($(common-objpfx)format.lds): Likewise.
40508         * Rules (binaries-pie-tests): New.
40509         (binaries-pie-notests): Likewise.
40510         (binaries-pie): Rewritten.
40511         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40512         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40513         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40514         (make-test-out): Replace $(host-built-program-cmd) with
40515         $(host-test-program-cmd).
40516         * config.make.in (build-hardcoded-path-in-tests): New variable.
40517         * configure.in (--enable-hardcoded-path-in-tests): New configure
40518         option.
40519         (hardcoded_path_in_tests): New AC_SUBST.
40520         * configure: Regenerated.
40521         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40522         $(built-program-cmd) with $(test-program-cmd).
40523         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40524         (test_program_cmd): This.
40525         * elf/Makefile ($(objpfx)order.out): Run test with
40526         $(test-program-prefix).
40527         ($(objpfx)order2.out): Likewise.
40528         ($(objpfx)tst-initorder.out): Likewise.
40529         ($(objpfx)tst-initorder2.out): Likewise.
40530         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40531         $(test-program-cmd).
40532         ($(objpfx)tst-array1-static.out): Likewise.
40533         ($(objpfx)tst-array2.out): Likewise.
40534         ($(objpfx)tst-array3.out): Likewise.
40535         ($(objpfx)tst-array4.out): Likewise.
40536         ($(objpfx)tst-array5.out): Likewise.
40537         ($(objpfx)tst-array5-static.out): Likewise.
40538         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40539         $(test-program-cmd).
40540         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40541         $(run-program-prefix) with $(test-program-prefix).
40542         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40543         (test_program_prefix): This.
40544         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40545         $(run-program-prefix) with $(test-program-prefix).
40546         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40547         (test_program_prefix): This.
40548         * iconvdata/tst-tables.sh: Likewise.
40549         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40550         $(run-program-prefix) with $(test-program-prefix).
40551         ($(objpfx)tst-translit.out): Likewise.
40552         ($(objpfx)tst-gettext2.out): Likewise.
40553         ($(objpfx)tst-gettext4.out): Likewise.
40554         ($(objpfx)tst-gettext6.out): Likewise.
40555         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40556         (test_program_prefix): This.
40557         * intl/tst-gettext2.sh: Likewise.
40558         * intl/tst-gettext4.sh  Likewise.
40559         * intl/tst-gettext6.sh: Likewise.
40560         * intl/tst-translit.sh: Likewise.
40561         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40562         with $(test-program-cmd).
40563         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40564         $(run-program-prefix) with $(test-program-prefix).
40565         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40566         (test_program_prefix): This.
40567         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40568         $(run-program-prefix) with $(test-program-prefix).
40569         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40570         (test_program_prefix): This.
40571         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40572         * posix/Makefile ($(objpfx)globtest.out): Replace
40573         $(run-via-rtld-prefix) and $(test-wrapper) with
40574         $(test-program-prefix) and $(test-via-rtld-prefix).
40575         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40576         $(test-program-prefix).
40577         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40578         $(host-test-program-cmd).
40579         (tst-spawn-ARGS): Likewise.
40580         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40581         $(test-program-prefix).
40582         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40583         (test_via_rtld_prefix): This.
40584         (test_wrapper): Renamed to ...
40585         (test_program_prefix): This.
40586         (run_program_prefix): Replaced by test_program_prefix.
40587         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40588         (test_program_prefix): This.
40589         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40590         with $(host-test-program-cmd).
40591         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40592         $(run-program-prefix) with $(test-program-prefix).
40593         ($(objpfx)tst-printf.out): Likewise.
40594         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40595         $(test-program-cmd).
40596         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40597         (test_program_prefix): This.
40598         * stdio-common/tst-unbputc.sh: Likewise.
40599         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40600         $(run-program-prefix) with $(test-program-prefix).
40601         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40602         (test_program_prefix): This.
40603         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40604         $(built-program-cmd) with $(test-program-cmd).
40606 2013-01-11  Andreas Jaeger  <aj@suse.de>
40608         [BZ #15003]
40609         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40610         value. Sync with Linux 3.7.
40612 2013-01-10  David S. Miller  <davem@davemloft.net>
40614         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40615         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40616         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40618 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40620         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40621         never set.
40622         * configure: Regenerated.
40624 2013-01-10  David S. Miller  <davem@davemloft.net>
40626         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40627         sparc V9 rather than using V8 code.
40628         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40629         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40631 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40633         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40634         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40635         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40636         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40637         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40638         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40639         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40640         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40641         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40642         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40643         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40644         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40645         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40646         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40647         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40648         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40649         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40650         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40651         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40652         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40653         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40654         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40655         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40656         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40657         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40658         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40659         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40661 2013-01-10  David S. Miller  <davem@davemloft.net>
40663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40665 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40667         * posix/Makefile (tests-static): New variable.
40668         (tests): Add $(tests-static).
40669         (tst-exec-static-ARGS): New variable.
40670         (tst-spawn-static-ARGS): Likewise.
40671         * posix/tst-exec-static.c: New file.
40672         * posix/tst-spawn-static.c: Likewise.
40673         * posix/tst-exec.c: Support run directly.
40674         * posix/tst-spawn.c: Likewise.
40676 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40678         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40679         long.
40680         * math/bits/mathcalls.h (llrint): Likewise.
40681         (llround): Likewise.
40682         * stdlib/stdlib.h (struct drand48_data): Likewise.
40683         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40684         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40685         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40686         Likewise.
40687         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40688         Likewise.
40689         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40690         (elf_greg_t): Likewise.
40691         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40692         (__jmp_buf): Likewise.
40693         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40694         definitions.
40695         (llrint): Likewise, for all definitions.
40696         (llrintl): Likewise.
40698         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40699         Remove [__GNUC__] condition.
40700         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40701         condition to just [__USE_ISOC99].
40702         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40704 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40706         [BZ #14200]
40707         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40708         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40709         defined.
40710         (_POSIX_V6_ILP32_OFF32): Likewise.
40711         (_XBS5_ILP32_OFF32): Likewise.
40712         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40713         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40715 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40717         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40720         doubles __mpexp_twomm1.  Adjust usage.
40721         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40722         Remove.
40724 2013-01-10  Andreas Schwab  <schwab@suse.de>
40726         [BZ #14964]
40727         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40728         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40730 2013-01-09  David S. Miller  <davem@davemloft.net>
40732         [BZ #15003]
40733         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40734         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40735         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40736         (TCP_FASTOPEN): Define.
40737         (tcp_repair_opt): New structure.
40738         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40739         enum values.
40740         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40741         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40742         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40743         (tcp_cookie_transactions): New structure.
40745 2013-01-09  Anton Blanchard  <anton@samba.org>
40747         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40748         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40749         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40750         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40752 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40754         * include/features.h (__USE_ANSI): Remove.
40756 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40758         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40760         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40762 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40764         * sysdeps/s390/fpu/libm-test-ulps: Update.
40766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40768         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40769         (__acr): Likewise.
40770         (__cpy): Likewise.
40771         (norm): Likewise.
40772         (denorm): Likewise.
40773         (__mp_dbl): Likewise.
40774         (__dbl_mp): Likewise.
40775         (add_magnitudes): Likewise.
40776         (sub_magnitudes): Likewise.
40777         (__add): Likewise.
40778         (__sub): Likewise.
40779         (__mul): Likewise.
40780         (__inv): Likewise.
40781         (__dvd): Likewise.
40782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40783         (__acr): Likewise.
40784         (__cpy): Likewise.
40785         (norm): Likewise.
40786         (denorm): Likewise.
40787         (__mp_dbl): Likewise.
40788         (__dbl_mp): Likewise.
40789         (add_magnitudes): Likewise.
40790         (sub_magnitudes): Likewise.
40791         (__add): Likewise.
40792         (__sub): Likewise.
40793         (__mul): Likewise.
40794         (__inv): Likewise.
40795         (__dvd): Likewise.
40796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40797         (__acr): Likewise.
40798         (__cpy): Likewise.
40799         (norm): Likewise.
40800         (denorm): Likewise.
40801         (__mp_dbl): Likewise.
40802         (__dbl_mp): Likewise.
40803         (add_magnitudes): Likewise.
40804         (sub_magnitudes): Likewise.
40805         (__add): Likewise.
40806         (__sub): Likewise.
40807         (__mul): Likewise.
40808         (__inv): Likewise.
40809         (__dvd): Likewise.
40811 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40813         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40814         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40815         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40816         2 && __USE_EXTERN_INLINES]: Likewise.
40818 2013-01-08  Andreas Jaeger  <aj@suse.de>
40820         [BZ# 14985]
40821         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40822         Remove.
40823         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40824         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40826 2013-01-07  Anton Blanchard  <anton@samba.org>
40828         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40829         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40830         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40831         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40832         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40833         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40834         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40835         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40837         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40838         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40839         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40841         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40842         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40843         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40844         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40845         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40847         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40848         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40849         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40850         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40851         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40852         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40853         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40854         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40855         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40856         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40857         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40858         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40860         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40861         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40862         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40863         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40864         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40865         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40866         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40867         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40868         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40869         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40870         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40872 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40874         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40875         (__MALLOC_PMT): Likewise.
40876         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40877         [__GNUC__], only on [_LIBC].
40878         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40879         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40880         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40881         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40882         forward declaration.
40883         (realloc_hook_ini): Likewise.
40884         (memalign_hook_ini): Likewise.
40885         (__libc_memalign): Do not use __MALLOC_PMT in variable
40886         declaration.
40887         (__libc_valloc): Likewise.
40888         (__libc_pvalloc): Likewise.
40889         (__libc_calloc): Likewise.
40890         (__posix_memalign): Likewise.
40892         [BZ #14996]
40893         * math/s_casinh.c: Include <float.h>.
40894         (__casinh): Do not do computation with squaring and square root
40895         for large arguments.
40896         * math/s_casinhf.c: Include <float.h>.
40897         (__casinhf): Do not do computation with squaring and square root
40898         for large arguments.
40899         * math/s_casinhl.c: Include <float.h>.
40900         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40901         (__casinhl): Do not do computation with squaring and square root
40902         for large arguments.
40903         * math/libm-test.inc (casin_test): Add more tests.
40904         (casinh_test): Likewise.
40905         * sysdeps/i386/fpu/libm-test-ulps: Update.
40906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40908 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40910         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40911         (__x86_64_raw_data_cache_size): Likewise.
40912         (__x86_64_data_cache_size_half): Likewise.
40913         (__x86_64_raw_data_cache_size_half): Likewise.
40914         (__x86_64_shared_cache_size): Likewise.
40915         (__x86_64_raw_shared_cache_size): Likewise.
40916         (__x86_64_shared_cache_size_half): Likewise.
40917         (__x86_64_raw_shared_cache_size_half): Likewise.
40918         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40919         to ...
40920         (__x86_data_cache_size): This.
40921         (__x86_64_raw_data_cache_size): Renamed to ...
40922         (__x86_raw_data_cache_size): This.
40923         (__x86_64_data_cache_size_half): Renamed to ...
40924         (__x86_data_cache_size_half): This.
40925         (__x86_64_raw_data_cache_size_half): Renamed to ...
40926         (__x86_raw_data_cache_size_half): This.
40927         (__x86_64_shared_cache_size): Renamed to ...
40928         (__x86_shared_cache_size): This.
40929         (__x86_64_raw_shared_cache_size): Renamed to ...
40930         (__x86_raw_shared_cache_size): This.
40931         (__x86_64_shared_cache_size_half): Renamed to ...
40932         (__x86_shared_cache_size_half): This.
40933         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40934         (__x86_raw_shared_cache_size_half): This.
40935         * sysdeps/x86_64/memcpy.S: Updated.
40936         * sysdeps/x86_64/memset.S: Likewise.
40937         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40938         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40939         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40941 2013-01-04  David S. Miller  <davem@davemloft.net>
40943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40945 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40947         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40948         1 to avoid redefinition warning.
40949         (__USE_GNU): Don't define.
40950         (init_signaling_nan): Protoize.
40952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40954 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40956         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40958         (__cpymn): Likewise.
40959         (norm): Remove commented code.
40960         (denorm): Likewise.
40961         (__mp_dbl): Likewise.
40962         (__inv): Likewise.
40963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40964         (__cpymn): Likewise.
40965         (norm): Remove commented code.
40966         (denorm): Likewise.
40967         (__mp_dbl): Likewise.
40968         (__inv): Likewise.
40970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40971         mp_no value for 1.0 and 2.0.
40972         (norm): Use RADIXI instead of radixi.d.
40973         (denorm): Likewise.
40974         (__mul): Use 0.0 instead of zero.d.
40975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40976         mp_no value for 1.0 and 2.0.
40977         (norm): Use RADIXI instead of radixi.d.
40978         (denorm): Likewise.
40979         (__mul): Use 0.0 instead of zero.d.
40981 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40983         [BZ #14994]
40984         * math/s_casinh.c (__casinh): Reduce finite argument to first
40985         quadrant then set signs of results at the end.
40986         * math/s_casinhf.c (__casinhf): Likewise.
40987         * math/s_casinhl.c (__casinhl): Likewise.
40988         * math/libm-test.inc (casin_test): Add more tests.
40989         (casinh_test): Likewise.
40990         * sysdeps/i386/fpu/libm-test-ulps: Update.
40991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40993 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40995         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40997         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40999         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41000         declarations.
41001         (denorm): Likewise.
41002         (__mp_dbl): Likewise.
41003         (__inv): Likewise.
41005         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41006         and adjust the header comment.
41008         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41009         variable name from declaration.
41011 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
41013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41014         Initialize COMMON_CPUID_INDEX_7 element.
41015         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41016         (CPUID_RTM): Likewise.
41017         (HAS_RTM): Likewise.
41018         (COMMON_CPUID_INDEX_7): New enum.
41020 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
41022         [BZ #14981]
41023         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41024         size is zero, record memory as freed.
41026 2013-01-03  Andreas Jaeger  <aj@suse.de>
41028         * po/ia.po: Add new Interlingua translation.
41030 2012-01-03  Allan McRae  <allan@archlinux.org>
41032         * locale/programs/localedef.c: Fix description of '--posix' flag.
41034 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
41036         * NEWS: Update dates in second copyright notice.
41037         * README: Update copyright dates in example.
41038         * manual/libc.texinfo: Update copyright dates.
41039         * scripts/test-installation.pl: Update copyright date in --version
41040         output.
41042         * hurd/ctty-input.c: Fix copyright notice formatting.
41043         * hurd/ctty-output.c: Likewise.
41044         * hurd/dtable.c: Likewise.
41045         * hurd/hurd-raise.c: Likewise.
41046         * hurd/hurdprio.c: Likewise.
41047         * hurd/msgportdemux.c: Likewise.
41048         * misc/sys/file.h: Likewise.
41049         * misc/sys/ioctl.h: Likewise.
41050         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41051         * sysdeps/mach/hurd/chdir.c: Likewise.
41052         * sysdeps/mach/hurd/fchdir.c: Likewise.
41053         * sysdeps/mach/hurd/rename.c: Likewise.
41054         * sysdeps/mach/hurd/rmdir.c: Likewise.
41055         * sysdeps/mach/hurd/seekdir.c: Likewise.
41056         * sysdeps/mach/hurd/setsid.c: Likewise.
41057         * sysdeps/posix/wait3.c: Likewise.
41059         * All files with FSF copyright notices: Update copyright dates
41060         using scripts/update-copyrights.
41061         * intl/plural.c: Regenerated.
41062         * locale/programs/charmap-kw.h: Likewise.
41063         * locale/programs/locfile-kw.h: Likewise.
41065 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41067         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41068         four values.
41070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41071         calculation loop and add branch prediction.
41073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41074         check access beyond bounds of m1np.
41076         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41077         MPTWO.
41078         (__inv): Remove local variable MPTWO to use the global
41079         constant.
41080         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41082         variable MPTWO.
41083         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41084         MP3HALFS static const.
41086 2013-01-01  David S. Miller  <davem@davemloft.net>
41088         * po/ca.po: Update from translation team.
41090 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
41092         * scripts/update-copyrights: New file.
41093         * Makeconfig: Reformat copyright notice.
41094         * ctype/ctype.h: Likewise.
41095         * debug/swprintf_chk.c: Likewise.
41096         * elf/dl-cache.c: Likewise.
41097         * elf/dl-debug.c: Likewise.
41098         * elf/dl-object.c: Likewise.
41099         * grp/initgroups.c: Likewise.
41100         * hurd/Makefile: Likewise.
41101         * hurd/hurd/signal.h: Likewise.
41102         * hurd/hurdfault.c: Likewise.
41103         * hurd/hurdioctl.c: Likewise.
41104         * hurd/hurdlookup.c: Likewise.
41105         * hurd/intr-msg.c: Likewise.
41106         * iconv/gconv_open.c: Likewise.
41107         * libio/swprintf.c: Likewise.
41108         * locale/lc-ctype.c: Likewise.
41109         * locale/nl_langinfo.c: Likewise.
41110         * mach/Machrules: Likewise.
41111         * mach/Makefile: Likewise.
41112         * malloc/obstack.h: Likewise.
41113         * manual/Makefile: Likewise.
41114         * manual/tsort.awk: Likewise.
41115         * misc/bits/stab.def: Likewise.
41116         * nis/nis_print_group_entry.c: Likewise.
41117         * nis/nis_table.c: Likewise.
41118         * nis/nss_compat/compat-pwd.c: Likewise.
41119         * nis/nss_compat/compat-spwd.c: Likewise.
41120         * po/Makefile: Likewise.
41121         * posix/fnmatch.c: Likewise.
41122         * posix/regex.h: Likewise.
41123         * resolv/Makefile: Likewise.
41124         * resolv/nss_dns/dns-network.c: Likewise.
41125         * resolv/res_hconf.c: Likewise.
41126         * scripts/gen-sorted.awk: Likewise.
41127         * soft-fp/soft-fp.h: Likewise.
41128         * stdio-common/printf.h: Likewise.
41129         * stdlib/monetary.h: Likewise.
41130         * stdlib/random.c: Likewise.
41131         * stdlib/random_r.c: Likewise.
41132         * sysdeps/generic/Makefile: Likewise.
41133         * sysdeps/gnu/Makefile: Likewise.
41134         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41135         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41136         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41138         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41139         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41140         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41141         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41142         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41143         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41144         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41145         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41146         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41147         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41148         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41149         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41150         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41151         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41152         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41153         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41154         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41155         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41157         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41158         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41159         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41162         * sysdeps/mach/hurd/errnos.awk: Likewise.
41163         * sysdeps/mach/hurd/fork.c: Likewise.
41164         * sysdeps/mach/hurd/getcwd.c: Likewise.
41165         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41166         * sysdeps/mach/hurd/mmap.c: Likewise.
41167         * sysdeps/mach/hurd/utimes.c: Likewise.
41168         * sysdeps/mach/hurd/xmknod.c: Likewise.
41169         * sysdeps/posix/profil.c: Likewise.
41170         * sysdeps/posix/readdir_r.c: Likewise.
41171         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41172         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41173         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41174         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41176         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41177         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41178         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41180         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41181         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41182         * sysdeps/pthread/lio_listio.c: Likewise.
41183         * sysdeps/sparc/dl-procinfo.h: Likewise.
41184         * sysdeps/unix/i386/sysdep.S: Likewise.
41185         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41186         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41187         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41188         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41190         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41191         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41192         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41193         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41194         * sysdeps/wordsize-32/divdi3.c: Likewise.
41195         * time/sys/time.h: Likewise.
41196         * wcsmbs/Makefile: Likewise.
41198 2013-01-01  David S. Miller  <davem@davemloft.net>
41200         * po/fr.po: Update from translation team.
41202         * catgets/gencat.c: Update copyright year.
41203         * csu/version.c: Likewise.
41204         * debug/catchsegv.sh: Likewise.
41205         * debug/pcprofiledump.c: Likewise.
41206         * debug/xtrace.sh: Likewise.
41207         * elf/ldconfig.c: Likewise.
41208         * elf/ldd.bash.in: Likewise.
41209         * elf/pldd.c: Likewise.
41210         * elf/sotruss.ksh: Likewise.
41211         * elf/sprof.c: Likewise.
41212         * iconv/iconv_prog.c: Likewise.
41213         * iconv/iconvconfig.c: Likewise.
41214         * locale/programs/locale.c: Likewise.
41215         * locale/programs/localedef.c: Likewise.
41216         * login/programs/pt_chown.c: Likewise.
41217         * malloc/memusage.sh: Likewise.
41218         * malloc/memusagestat.c: Likewise.
41219         * malloc/mtrace.pl: Likewise.
41220         * nscd/nscd.c: Likewise.
41221         * nss/getent.c: Likewise.
41222         * nss/makedb.c: Likewise.
41223         * posix/getconf.c: Likewise.
41225 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41227         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41228         numbers.
41230 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41232         * math/bits/mathcalls.h (modf): Use __nonnull.
41234 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41236         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41237         (split): Use macro CN instead of the bare value.
41238         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41239         could be used.
41240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41241         instead of the bare value.
41242         (power1): Likewise.
41244 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41246         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41247         __ATAN_TWOM.
41248         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41250         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41251         their values.
41252         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41253         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41254         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41255         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41257 2012-12-28  Andreas Jaeger  <aj@suse.de>
41259         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41260         values are from Linux 3.7.
41262         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41263         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41265 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41267         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41268         TRUE case.
41270         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41271         (norm): Likewise.
41272         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41273         variables with preprocessor constants.
41274         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41275         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41276         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41278 2012-12-27  Bruno Haible  <bruno@clisp.org>
41280         [BZ #14317]
41281         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41282         only if needed.
41284 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41287         and use variable directly.
41288         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41290         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41291         MPONE.
41292         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41293         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41294         variable MPONE.
41295         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41297         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41298         include directive.  Remove local variable MPONE.
41299         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41300         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41301         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41303 2012-12-25  David S. Miller  <davem@davemloft.net>
41305         * version.h (RELEASE): Set to "development".
41306         (VERSION): Set to "2.17.90".
41307         * NEWS: Add 2.18 section.
41309 2012-12-21  David S. Miller  <davem@davemloft.net>
41311         * po/hr.po: Update from translation team.
41313 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41315         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41317 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41319         * NEWS:  Mention new memcpy for MIPS.
41321 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41323         * manual/contrib.texi (Contributors): Spelling correction.
41325 2012-12-15  David S. Miller  <davem@davemloft.net>
41327         * po/ru.po: Update from translation team.
41329 2012-12-13  David S. Miller  <davem@davemloft.net>
41331         * NEWS: Mention IFUNC testsuite enhancements.
41333         * po/pl.po: Update from translation team.
41334         * po/bg.po: Likewise.
41336         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41337         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41339 2012-12-11  David S. Miller  <davem@davemloft.net>
41341         * po/sv.po: Update from translation team.
41343         * po/vi.po: Update from translation team.
41345         * po/cs.po: Update from translation team.
41347         * po/de.po: Update from translation team.
41348         * po/eo.po: Likewise.
41349         * po/nl.po: Likewise.
41351 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41353         [BZ #14246]
41354         * manual/argp.texi (Argp Helper Functions): Move node to follow
41355         Argp Parsing State.
41357         [BZ #14872]
41358         * manual/conf.texi (Limits on File System Capacity): Mention if
41359         terminating null is included in the max size.
41361 2012-12-10  Andreas Jaeger  <aj@suse.de>
41363         * po/cs.po: Update from translation team.
41365 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41367         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41368         void pointer and cast to uintptr_t.
41369         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41370         path.
41371         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41372         * sysdeps/s390/s390-64/memset.S: Likewise.
41374 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41376         [BZ #14833]
41377         * menual/message.texi (Message Translation): Fix typos.
41378         (Helper programs for gettext): Likewise.
41380 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41382         [BZ #14898]
41383         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41384         Change to -1.
41386 2012-12-07  David S. Miller  <davem@davemloft.net>
41388         * po/libc.pot: Update.
41390 2012-12-07  Richard Henderson  <rth@redhat.com>
41392         [BZ #10114]
41393         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41394         normal/normal case to before the switch.
41395         (_FP_DIV): Likewise.
41397 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41398             Mike Frysinger  <vapier@gentoo.org>
41400         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41401         check for __NR_fadvise64_64.
41403 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41405         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41406         0, not just to plain "0" as a statement.
41407         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41408         with cw.
41410 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41412         * NEWS: Use sourceware.org in Bugzilla URL.
41414 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41417         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41419         * stdio-common/tst-put-error.c (do_test): Add newline to the
41420         padded test to ensure flush.
41422 2012-12-05  Jeff Law  <law@redhat.com>
41424         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41426 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41428         * README: Don't refer to ports add-on as distributed separately.
41429         Mention AArch64 in list of systems supported in the ports add-on.
41431         * LICENSES: Add more non-FSF copyright and license notices.
41433         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41434         ((unused)).
41436         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41438         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41439         10000 as width of padded output.
41441 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41443         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41445         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41446         variable LX with __attribute__ ((unused)).
41447         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41448         Likewise.
41449         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41451         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41452         with __attribute__ ((unused)).
41454 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41456         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41458 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41460         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41461         (CFLAGS-nldbl-acos.c): New variable.
41462         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41463         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41464         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41465         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41466         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41467         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41468         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41469         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41470         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41471         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41472         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41473         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41474         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41475         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41476         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41477         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41478         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41479         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41480         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41481         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41482         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41483         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41484         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41485         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41486         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41487         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41488         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41489         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41490         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41491         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41492         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41493         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41494         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41495         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41496         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41497         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41498         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41499         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41500         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41501         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41502         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41503         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41504         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41505         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41506         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41507         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41508         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41509         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41510         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41511         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41512         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41513         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41514         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41515         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41516         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41517         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41518         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41519         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41520         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41521         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41522         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41523         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41524         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41525         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41526         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41527         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41528         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41529         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41530         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41531         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41532         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41533         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41534         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41535         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41536         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41537         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41538         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41539         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41540         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41541         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41542         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41543         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41544         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41545         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41546         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41547         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41548         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41549         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41550         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41551         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41552         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41553         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41554         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41555         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41556         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41557         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41558         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41561         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41563         [BZ #14914]
41564         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41565         whole low double instead of just low 47 bits when splitting values
41566         into two parts.
41568 2012-12-03  Allan McRae  <allan@archlinux.org>
41570         * manual/stdio.texi (Predefined Printf Handlers): Remove
41571         @hsep and @vsep usage.
41573 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41575         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41576         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41578 2012-12-03  Jeff Law  <law@redhat.com>
41580         * time/sys/time.h (settimeofday): Do not mark TV argument
41581         as __nonnull.
41583 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41585         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41586         when currently writing and seek to current position when not.
41587         * libio/Makefile (tests): Remove bug-fclose1.
41588         * libio/bug-fclose1.c: Delete.
41590 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41592         * manual/arith.texi (feenableexcept): Fix typo.
41593         (fedisableexcept): Likewise.
41595 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41597         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41598         second, differently-typed declaration, rather than a cast.
41600 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41602         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41603         * include/rpc/svc.h: ... here.
41605 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41607         [BZ #13013]
41608         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41609         depending n and resplen2 to catch cases where answer
41610         equals answerp2.
41612 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41614         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41615         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41617 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41619         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41621 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41623         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41625 2012-11-28  Jeff Law  <law@redhat.com>
41627         [BZ #13761]
41628         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41629         dataset_temporary.  Track alloca usage into alloca_used.
41630         If dataset is large allocate and release it via malloc/free.
41632 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41634         [BZ #14197]
41635         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41637 2012-11-28  David S. Miller  <davem@davemloft.net>
41639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41641 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41643         [BZ #14803]
41644         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41645         of pi/2 rounded to nearest to 64 bits.
41646         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41647         nearest to 64 bits.
41648         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41649         bits.
41651 2012-11-28  Jeff Law <law@redhat.com>
41652             Martin Osvald <mosvald@redhat.com>
41654         [BZ #14889]
41655         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41656         * sunrpc/svc.c: Include time.h.
41657         (__svc_accept_failed): New function.
41658         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41659         any reason other than EINTR, call __svc_accept_failed.
41660         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41661         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41663 2012-11-28  Andreas Schwab  <schwab@suse.de>
41665         * scripts/abilist.awk: Also handle indirect functions in .opd
41666         section.
41668 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41670         [BZ #13881]
41671         * sysdeps/x86/fpu/powl_helper.c: New file.
41672         * sysdeps/x86/fpu/Makefile: Likewise.
41673         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41674         (p3): New object.
41675         (__ieee754_powl): Use __powl_helper for finite arguments except
41676         integer exponents below 8.
41677         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41678         (p3): New object.
41679         (__ieee754_powl): Use __powl_helper for finite arguments except
41680         integer exponents below 8.
41681         * math/libm-test.inc (pow_test): Add more tests and enable some
41682         previously disabled tests.
41683         * sysdeps/i386/fpu/libm-test-ulps: Update.
41684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41686 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41687             Carlos O'Donell  <carlos_odonell@mentor.com>
41689         * nss/makedb.c (is_prime): Assert that input is odd and greater
41690         than 4.  Note that fact in a comment too.
41691         (next_prime): Add 4 to input.
41693 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41695         [BZ #11741]
41696         * libio/Makefile (tests): Add test case tst-fwrite-error.
41697         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41698         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41699         * libio/tst-fwrite-error.c: New test case.
41701 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41703         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41704         before casting to void *.
41705         * include/libc-internal.h (__pointer_type): New macro.
41706         (__integer_if_pointer_type_sub): Likewise.
41707         (__integer_if_pointer_type): Likewise.
41708         (cast_to_integer): Likewise.
41709         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41710         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41711         before casting to atomic64_t.
41712         (atomic_exchange_acq): Likewise.
41713         (__arch_exchange_and_add_body): Likewise.
41714         (__arch_add_body): Likewise.
41715         (atomic_add_negative): Likewise.
41716         (atomic_add_zero): Likewise.
41718 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41720         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41721         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41722         (add_fdes): Likewise.
41723         (linear_search_fdes): Likewise.
41724         (binary_search_unencoded_fdes): Likewise.
41726 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41728         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41730 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41732         * configure.in: Autodetect C++ header directories.
41733         * configure: Regenerated.
41735 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41737         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41739 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41743 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41745         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41746         LDBL_MANT_DIG == 106]: Disable some tests.
41747         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41748         Likewise.
41749         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41750         Likewise.
41752         [BZ #14871]
41753         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41754         input for small inputs.  Return +/- pi/2 for large inputs.
41755         * math/libm-test.inc (atan_test): Add more tests.
41757         * sysdeps/generic/unwind-dw2-fde-glibc.c
41758         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41759         __attribute__ ((unused)).
41761         [BZ #14645]
41762         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41763         x * y if x and y are nonzero and z is zero.
41765         [BZ #14811]
41766         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41767         nonzero exponents with absolute value below 0x1p-117 to +/-
41768         0x1p-117.
41770         [BZ #14869]
41771         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41772         up arguments below 2**-450, not just those below 2**-500.
41773         * math/libm-test.inc (hypot_test): Add another test.
41775         [BZ #14868]
41776         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41777         Return a+b for ratio over 2**120, not 2**60.
41778         * math/libm-test.inc (hypot_test): Add another test.
41780         * math/libm-test.inc (clog_test): Use
41781         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41782         (clog10_test): Likewise.
41784         [BZ #6778]
41785         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41787 2012-11-22  Andreas Schwab  <schwab@suse.de>
41789         * sysdeps/i386/fpu/libm-test-ulps: Update.
41791 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41793         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41794         printf output with newline.
41796 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41798         [BZ #14865]
41799         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41800         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41801         -z nodlopen, -z initfirst and -z execstack support.
41802         * configure: Regenerated.
41804         * elf/elf.h (DF_1_NODIRECT): New macro.
41805         (DF_1_IGNMULDEF): Likewise.
41806         (DF_1_NOKSYMS): Likewise.
41807         (DF_1_NOHDR): Likewise.
41808         (DF_1_EDITED): Likewise.
41809         (DF_1_NORELOC): Likewise.
41810         (DF_1_SYMINTPOSE): Likewise.
41811         (DF_1_GLOBAUDIT): Likewise.
41812         (DF_1_SINGLETON): Likewise.
41813         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41814         DT_1_SUPPORTED_MASK bits.
41815         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41817 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41819         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41821 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41823         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41824         macro.
41826         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41827         (sendmmsg): Move declarations...
41828         * socket/sys/socket.h: ... here.
41829         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41830         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41831         include it from...
41832         * socket/recvmmsg.c: ... this new file.
41833         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41834         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41835         definition of __sendmmsg hidden.
41836         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41837         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41838         Move ENOSYS stub into and include it from...
41839         * socket/sendmmsg.c: ... this new file.
41840         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41841         (sysdep_routines): Move recvmmsg and sendmmsg...
41842         * socket/Makefile (routines): ... here.
41843         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41844         (GLIBC_PRIVATE): Add __sendmmsg.
41845         * include/sys/socket.h (__sendmmsg): Add declarations.
41846         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41847         sendmmsg.
41849 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41851         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41852         variable I1 with __attribute__ ((unused)).
41853         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41855 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41857         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41858         DUMMY variables with __attribute__ ((unused)).
41860         * bits/byteswap.h: Include <bits/types.h>.
41861         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41863 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41865         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41866         string_t.  Do not manually set errno.
41867         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41868         length with __strnlen.  Make sure to both set errno and return it on
41869         failure.
41871 2012-11-19  David S. Miller  <davem@davemloft.net>
41873         With help from Joseph Myers.
41874         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41875         very large arguments properly.
41876         * math/libm-test.inc (atan_test): New tests.
41877         (atan2_test): New tests.
41878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41881 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41883         [BZ #14856]
41884         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41885         Define to 3.
41887         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41888         [POSIX] (EADDRNOTAVAIL): Likewise.
41889         [POSIX] (EAFNOSUPPORT): Likewise.
41890         [POSIX] (EALREADY): Likewise.
41891         [POSIX] (ECONNABORTED): Likewise.
41892         [POSIX] (ECONNREFUSED): Likewise.
41893         [POSIX] (ECONNRESET): Likewise.
41894         [POSIX] (EDESTADDRREQ): Likewise.
41895         [POSIX] (EDQUOT): Likewise.
41896         [POSIX] (EHOSTUNREACH): Likewise.
41897         [POSIX] (EIDRM): Likewise.
41898         [POSIX] (EISCONN): Likewise.
41899         [POSIX] (ELOOP): Likewise.
41900         [POSIX] (EMULTIHOP): Likewise.
41901         [POSIX] (ENETDOWN): Likewise.
41902         [POSIX] (ENETUNREACH): Likewise.
41903         [POSIX] (ENOBUFS): Likewise.
41904         [POSIX] (ENODATA): Likewise.
41905         [POSIX] (ENOLINK): Likewise.
41906         [POSIX] (ENOMSG): Likewise.
41907         [POSIX] (ENOPROTOOPT): Likewise.
41908         [POSIX] (ENOSR): Likewise.
41909         [POSIX] (ENOSTR): Likewise.
41910         [POSIX] (ENOTCONN): Likewise.
41911         [POSIX] (ENOTSOCK): Likewise.
41912         [POSIX] (EOPNOTSUPP): Likewise.
41913         [POSIX] (EOVERFLOW): Likewise.
41914         [POSIX] (EPROTO): Likewise.
41915         [POSIX] (EPROTONOSUPPORT): Likewise.
41916         [POSIX] (EPROTOTYPE): Likewise.
41917         [POSIX] (ESTALE): Likewise.
41918         [POSIX] (ETIME): Likewise.
41919         [POSIX] (ETXTBSY): Likewise.
41920         [POSIX] (EWOULDBLOCK): Likewise.
41921         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41922         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41923         [POSIX] (SEEK_CUR): Likewise.
41924         [POSIX] (SEEK_END): Likewise.
41925         [POSIX || UNIX98] (mode_t): Do not require.
41926         [POSIX] (off_t): Likewise.
41927         [POSIX] (pid_t): Likewise.
41928         [POSIX] (sys/stat.h): Do not allow header.
41929         [POSIX] (unistd.h): Likewise.
41930         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41931         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41932         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41933         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41934         require.
41935         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41936         sigevent): Specify elements.
41937         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41938         entry.
41939         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41940         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41942         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41943         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41944         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41945         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41946         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41947         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41948         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41949         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41950         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41951         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41952         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41953         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41954         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41955         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41956         Likewise.
41957         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41958         Likewise.
41959         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41960         Likewise.
41961         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41962         Likewise.
41963         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41964         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41965         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41966         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41967         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41968         Specify lower bound on value.
41969         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41970         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41971         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41972         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41973         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41974         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41975         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41976         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41977         value.
41978         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41979         as optional.
41980         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41981         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41982         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41983         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41984         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41985         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41986         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41987         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41988         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41989         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41990         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41991         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41992         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41993         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41994         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41995         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41996         entry.
41997         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41998         optional.
41999         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42000         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42001         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42002         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42003         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42004         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42005         Likewise.
42006         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42007         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42008         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42009         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42010         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
42011         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42012         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42013         as optional.
42014         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42015         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42016         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42017         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42018         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42019         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42020         specify as optional.
42021         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42022         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42023         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42024         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42025         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42026         [XPG3] (NL_LANGMAX): Likewise.
42027         [POSIX || XPG3] (NL_MSGMAX): Likewise.
42028         [POSIX || XPG3] (NL_NMAX): Likewise.
42029         [POSIX || XPG3] (NL_SETMAX): Likewise.
42030         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42031         [XPG3] (NZERO): Likewise.
42032         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42033         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42034         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42035         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42036         (REG_ERANGE): Expect.
42037         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42038         optional-constant.
42039         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42040         Use (void) in prototype.
42041         [POSIX] (*_t): Allow.
42042         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42043         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42044         (WRDE_BADVAL): Expect.
42046         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42047         expect.
42048         [XPG3 || XPG4] (O_RSYNC): Likewise.
42049         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42050         Likewise.
42051         [XPG3 || XPG4] (pthread_sigmask): Likewise.
42052         [XPG3 || XPG4] (sigqueue): Likewise.
42053         [XPG3 || XPG4] (sigtimedwait): Likewise.
42054         [XPG3 || XPG4] (sigwaitinfo): Likewise.
42055         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42056         [XPG3 || XPG4] (vsnprintf): Likewise.
42057         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42058         Likewise.
42059         [XPG3 || XPG4] (blksize_t): Likewise.
42060         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42061         Likewise.
42062         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42063         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42064         [XPG3 || XPG4] (struct itimerspec): Likewise.
42065         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42066         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42067         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42068         [XPG3 || XPG4] (clockid_t): Likewise.
42069         [XPG3 || XPG4] (timer_t): Likewise.
42070         [XPG3 || XPG4] (clock_getres): Likewise.
42071         [XPG3 || XPG4] (clock_gettime): Likewise.
42072         [XPG3 || XPG4] (clock_settime): Likewise.
42073         [XPG3 || XPG4] (nanosleep): Likewise.
42074         [XPG3 || XPG4] (timer_create): Likewise.
42075         [XPG3 || XPG4] (timer_delete): Likewise.
42076         [XPG3 || XPG4] (timer_gettime): Likewise.
42077         [XPG3 || XPG4] (timer_getoverrun): Likewise.
42078         [XPG3 || XPG4] (timer_settime): Likewise.
42079         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42080         [XPG3 || XPG4] (getlogin_r): Likewise.
42081         [XPG3 || XPG4] (pread): Likewise.
42082         [XPG3 || XPG4] (pthread_atfork): Likewise.
42083         [XPG3 || XPG4] (pwrite): Likewise.
42085         [BZ #14835]
42086         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42087         <bits/siginfo.h>.
42089 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42091         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42092         finalizing MALLSTREAM.
42094         * sysdeps/mach/hurd/syncfs.c: New file.
42096 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42098         [BZ #14719]
42099         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42100         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42101         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42102         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42103         (_nss_dns_gethostbyname4_r): Likewise.
42104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42105         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42107 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
42109         [BZ #13763]
42110         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42112 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42114         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42115         * elf/cache.c (print_entry): Print ",AArch64" for
42116         FLAG_AARCH64_LIB64
42118         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42119         * elf/cache.c (print_entry): Print ",hard-float" for
42120         FLAG_ARM_LIBHF.
42122 2012-11-18  David S. Miller  <davem@davemloft.net>
42124         With help from Joseph Myers.
42125         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42126         cutoff to 2**-13.
42127         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42128         cutoff to 2**-25.
42129         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42130         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42131         small.
42132         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42133         * math/libm-test.inc (y0_test): New tests.
42134         (y1_test): New tests.
42135         * sysdeps/i386/fpu/libm-test-ulps: Update.
42136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42139 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42141         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42142         64-bit targets.
42143         * configure: Regenerated.
42145 2012-11-17  David S. Miller  <davem@davemloft.net>
42147         [BZ #14811]
42148         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42149         nonzero exponents with absolute value below 0x1p-128 to +/-
42150         0x1p-128.
42152 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42154         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42156         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42158         * posix/getconf-speclist.c: New file.
42159         * posix/posix-envs.def: Likewise.
42160         * posix/confstr.c (START_ENV_GROUP): New macro.
42161         (END_ENV_GROUP): Likewise.
42162         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42163         (KNOWN_PRESENT_ENV_STRING): Likewise.
42164         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42165         (UNKNOWN_ENVIRONMENT): Likewise.
42166         (confstr): Include posix-envs.def instead of handling
42167         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42168         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42169         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42170         (END_ENV_GROUP): Likewise.
42171         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42172         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42173         (UNKNOWN_ENVIRONMENT): Likewise.
42174         (__sysconf): Include posix-envs.def instead of handling associated
42175         cases directly here.
42176         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42177         preprocessing getconf-speclist.c rather than running getconf or
42178         generating empty file.
42180 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42182         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42184 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42186         [BZ #14672]
42187         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42189 2012-11-16  David S. Miller  <davem@davemloft.net>
42191         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42192         smaller than LDBL_EPSILON/2.0L, just return xm1.
42194 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42196         * elf/tst-array1.c (init): Set constructor priority to 1000.
42197         (fini): Set destructor priority to 1000.
42198         * elf/tst-array2dep.c: Likewise.
42200 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42202         [BZ #11741]
42203         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42204         (_IO_new_file_xsputn): Also return EOF if none of the input
42205         data was written when overflow failed.
42206         * libio/iopadn.c (_IO_padn): Likewise.
42207         * libio/iowpadn.c (_IO_wpadn): Likewise.
42208         * stdio-common/tst-put-error.c: Add copyright notice.
42209         (do_test): Add case for printing padded string.
42210         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42211         _IO_padn returned error.
42212         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42213         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42214         return EOF.
42216 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42218         * libio/libioP.h: Add comment note that the references to C++
42219         bits are now obsolete.
42221 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42223         * math/libm-test.inc (check_complex): Use asprintf.
42225 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42227         * debug/pcprofiledump.c (print_version): Update copyright year.
42228         * malloc/memusagestat.c (print_version): Likewise.
42230 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42232         [BZ #14831]
42233         * elf/Makefile (tests): Add tst-audit8.
42234         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42235         ($(objpfx)tst-audit8.out): New target.
42236         (tst-audit8-ENV): New variable.
42237         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42238         audit if l_reloc_result is NULL.
42239         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42240         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42241         * elf/tst-audit8.c: New file.
42243 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42245         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42246         * misc/Makefile (CFLAGS-select.c): Define.
42247         * posix/Makefile (CFLAGS-pause.c): Define.
42249 2012-11-13  David S. Miller  <davem@davemloft.net>
42251         * crypt/Makefile: Move test targets after toplevel Rules
42252         inclusion.  Grab any necessary sysdep routines when linking.
42253         * crypt/md5.c (md5_process_block): Remove define, we will always
42254         name it __md5_process_block.
42255         (md5_finish_ctx): Update md5_process_block call.
42256         (md5_stream): Likewise.
42257         (md5_process_bytes): Likewise.
42258         (md5_process_block): Rename to __md5_process_block and move to ...
42259         * crypt/md5-block.c: ... here.
42260         * crypt/sha256.c (sha256_process_block): Move to ...
42261         * crypt/sha256-block.c: ... here.
42262         * crypt/sha512.c (sha512_process_block): Move to ...
42263         * crypt/sha512-block.c: ... here.
42264         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42265         path.
42266         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42267         * sysdeps/sparc/sparc64/multiarch/Makefile
42268         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42269         crypt subdir.
42270         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42271         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42272         multiarch changes.
42273         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42274         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42275         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42276         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42277         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42278         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42279         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42280         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42281         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42282         file.
42283         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42284         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42285         file.
42286         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42288 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42290         * timezone/tzselect.ksh: Update from tzcode git revision
42291         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42292         * timezone/zdump.c: Likewise.
42293         * timezone/zic.c: Likewise.
42294         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42295         in TZVERSION setting, not $(PKGVERSION).
42296         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42297         REPORT_BUGS_TO settings.
42299         [BZ #14838]
42300         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42301         macro.
42303 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42305         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42306         detection to immediately after _FP_ROUND().
42307         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42308         bits are 0.
42310 2012-11-11  David S. Miller  <davem@davemloft.net>
42312         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42313         inttypes.h
42314         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42315         __close rather than their public counterparts.
42317 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42319         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42320         file.
42321         [UNIX98] (sem_timedwait): Do not expect.
42322         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42323         [XPG4 || UNIX98] (sockatmark): Do not expect.
42324         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42325         (clock_getcpuclockid): Do not expect.
42326         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42327         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42328         Do not expect.
42329         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42330         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42331         [UNIX98] (vwscanf): Likewise.
42332         [UNIX98] (vswscanf): Likewise.
42334 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42336         * timezone/version.h: Remove file.
42337         * timezone/README: Do not refer to version.h.
42338         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42339         $(objpfx)version.h.
42340         ($(objpfx)zdump.o): Likewise.
42341         ($(objpfx)version.h): New target.
42343         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42344         2012i.
42345         * timezone/README: Don't mention modification to tzselect.ksh.
42346         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42347         work on unmodified tzselect.ksh.  Substitute version numbers in
42348         tzselect.ksh.
42350         * Makefile (format-me): Remove.
42351         (INSTALL): Adjust indentation.  Use commands directly instead of
42352         using $(format-me).
42354         * aclocal.m4 (ACX_PKGVERSION): New macro.
42355         (ACX_BUGURL): Likewise.
42356         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42357         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42358         (REPORT_BUGS_TO): Likewise.
42359         * configure: Regenerated.
42360         * config.h.in (PKGVERSION): New macro.
42361         (REPORT_BUGS_TO): Likewise.
42362         * config.make.in (PKGVERSION): New variable.
42363         (PKGVERSION_TEXI): Likewise.
42364         (REPORT_BUGS_TO): Likewise.
42365         (REPORT_BUGS_TEXI): Likewise.
42366         * Makefile (format-me): Use -I$(common-objpfx)manual.
42367         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42368         ($(common-objpfx)manual/%): New target.
42369         (manual/%): Remove target.
42370         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42371         (print_version): Use PKGVERSION.
42372         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42373         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42374         and REPORT_BUGS_TO.
42375         ($(objpfx)xtrace): Likewise.
42376         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42377         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42378         (print_version): Use PKGVERSION.
42379         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42380         (do_version): Use PKGVERSION.
42381         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42382         REPORT_BUGS_TO.
42383         (common-ldd-rewrite): Likewise.
42384         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42385         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42386         (print_version): Use PKGVERSION.
42387         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42388         * elf/pldd.c (argp_program_bug_address): Remove variable.
42389         (more_help): New function.
42390         (argp): Use more_help.
42391         (print_version): Use PKGVERSION.
42392         * elf/sln.c (main): Use PKGVERSION.
42393         (usage): Use REPORT_BUGS_TO.
42394         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42395         (top level): Use PKGVERSION.
42396         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42397         (print_version): Use PKGVERSION.
42398         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42399         (print_version): Use PKGVERSION.
42400         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42401         (print_version): Use PKGVERSION.
42402         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42403         (print_version): Use PKGVERSION.
42404         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42405         (print_version): Use PKGVERSION.
42406         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42407         (print_version): Use PKGVERSION.
42408         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42409         and BUGURL.
42410         ($(objpfx)memusage): Likewise.
42411         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42412         (do_version): Use PKGVERSION.
42413         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42414         (print_version): Use PKGVERSION.
42415         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42416         ($PKGVERSION): New variable.
42417         ($REPORT_BUGS_TO): Likewise.
42418         (usage): Use $REPORT_BUGS_TO.
42419         (top level): Use $PKGVERSION.
42420         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42421         ($(objpfx)pkgvers.texi): New rule.
42422         ($(objpfx)stamp-pkgvers): Likewise.
42423         * manual/install.texi: Include pkgvers.texi.
42424         (--with-pkgversion): Document new configure option.
42425         (--with-bugurl): Likewise.
42426         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42427         than necessarily for this particular distribution.  Use
42428         REPORT_BUGS_TO for where to report bugs.
42429         * INSTALL: Regenerated.
42430         * manual/libc.texinfo: Include pkgvers.texi.
42431         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42432         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42433         (print_version): Use PKGVERSION.
42434         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42435         (print_version): Use PKGVERSION.
42436         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42437         (print_version): Use PKGVERSION.
42438         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42439         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42440         macro.
42441         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42442         (print_version): Use PKGVERSION.
42443         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42444         (print_version): Use PKGVERSION.
42445         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42446         and PKGVERSION.
42448         * timezone/checktab.awk: Update from tzcode 2012i.
42449         * timezone/ialloc.c: Likewise.
42450         * timezone/private.h: Likewise.
42451         * timezone/scheck.c: Likewise.
42452         * timezone/tzfile.h: Likewise.
42453         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42454         (TZVERSION): Hardcode tzcode version number.
42455         * timezone/zdump.c: Update from tzcode 2012i.
42456         * timezone/zic.c: Likewise.
42457         * timezone/version.h: New file.
42458         * timezone/README: Describe version.h.  Update upstream location.
42460         [BZ #14824]
42461         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42462         (mktemp): Enable declaration.
42463         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42464         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42465         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42466         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42467         Likewise.
42468         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42469         Likewise.
42470         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42471         Likewise.
42472         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42473         Likewise.
42474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42475         Likewise.
42476         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42477         Likewise.
42479         [BZ #14821]
42480         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42481         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42482         for copies of such integer values.
42483         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42484         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42486 2012-11-09  Andreas Jaeger  <aj@suse.de>
42488         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42489         definitions and declarations that are provided by
42490         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42492 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42494         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42495         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42496         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42497         definition.
42499 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42501         * elf/elf.h: Update comment before AArch64 relocations.
42503 2012-11-07  David S. Miller  <davem@davemloft.net>
42505         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42506         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42507         (__start_context): Declare.
42508         (__makecontext_ret): Delete.
42509         (__makecontext): Hook up __start_context instead of
42510         __makecontext_ret.
42511         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42512         (sysdep_routines): Add __start_context when in stdlib.
42514 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42516         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42517         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42518         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42519         hardcoded "nm".
42520         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42521         (READELF): New variable.  Use it instead of hardcoded "readelf".
42523 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42525         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42526         * sysdeps/x86/Makefile: Here.
42527         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42528         * sysdeps/x86/tst-xmmymm.sh: This.
42530 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42532         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42533         expectations.
42534         [UNIX98] (pthread_barrier_t): Do not expect.
42535         [UNIX98] (pthread_barrierattr_t): Likewise.
42536         [UNIX98] (pthread_spinlock_t): Likewise.
42537         [UNIX98] (pthread_barrier_destroy): Likewise.
42538         [UNIX98] (pthread_barrier_init): Likewise.
42539         [UNIX98] (pthread_barrier_wait): Likewise.
42540         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42541         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42542         [UNIX98] (pthread_barrierattr_init): Likewise.
42543         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42544         [UNIX98] (pthread_getcpuclockid): Likewise.
42545         [UNIX98] (pthread_mutex_timedlock): Likewise.
42546         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42547         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42548         [UNIX98] (pthread_sigmask): Likewise.
42549         [UNIX98] (pthread_spin_destroy): Likewise.
42550         [UNIX98] (pthread_spin_init): Likewise.
42551         [UNIX98] (pthread_spin_lock): Likewise.
42552         [UNIX98] (pthread_spin_trylock): Likewise.
42553         [UNIX98] (pthread_spin_unlock): Likewise.
42554         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42555         Do not expect.
42556         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42557         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42558         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42559         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42560         [XPG3 || XPG4] (pthread_key_t): Likewise.
42561         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42562         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42563         [XPG3 || XPG4] (pthread_once_t): Likewise.
42564         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42565         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42566         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42567         [XPG3 || XPG4] (pthread_t): Likewise.
42569         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42570         not expect.
42571         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42573         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42574         Change function return type to int.
42576         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42577         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42578         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42579         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42580         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42581         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42582         [!POSIX] (posix_madvise): Likewise.
42583         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42584         && !UNIX98].
42585         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42586         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42587         (mode_t): Likewise.
42588         (posix_mem_offset): Likewise.
42589         (posix_typed_mem_get_info): Likewise.
42590         (posix_typed_mem_open): Likewise.
42592         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42593         Change condition to [XOPEN2K8].
42595         * conform/conformtest.pl: Preprocess allow-header data with -x c
42596         instead of from stdin.
42597         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42598         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42599         [C99-based standards] (cerfc): Likewise.
42600         [C99-based standards] (cexp2): Likewise.
42601         [C99-based standards] (cexpm1): Likewise.
42602         [C99-based standards] (clog10): Likewise.
42603         [C99-based standards] (clog1p): Likewise.
42604         [C99-based standards] (clog2): Likewise.
42605         [C99-based standards] (clgamma): Likewise.
42606         [C99-based standards] (ctgamma): Likewise.
42607         [C99-based standards] (cerff): Likewise.
42608         [C99-based standards] (cerfcf): Likewise.
42609         [C99-based standards] (cexp2f): Likewise.
42610         [C99-based standards] (cexpm1f): Likewise.
42611         [C99-based standards] (clog10f): Likewise.
42612         [C99-based standards] (clog1pf): Likewise.
42613         [C99-based standards] (clog2f): Likewise.
42614         [C99-based standards] (clgammaf): Likewise.
42615         [C99-based standards] (ctgammaf): Likewise.
42616         [C99-based standards] (cerfl): Likewise.
42617         [C99-based standards] (cerfcl): Likewise.
42618         [C99-based standards] (cexp2l): Likewise.
42619         [C99-based standards] (cexpm1l): Likewise.
42620         [C99-based standards] (clog10l): Likewise.
42621         [C99-based standards] (clog1pl): Likewise.
42622         [C99-based standards] (clog2l): Likewise.
42623         [C99-based standards] (clgammal): Likewise.
42624         [C99-based standards] (ctgammal): Likewise.
42625         * conform/data/inttypes.h-data [C99-based standards]: Include
42626         stdint.h-data.  Remove all expectations for stdint.h contents.
42627         [C99-based standards] (PRI*): Do not allow.
42628         [C99-based standards] (SCN*): Likewise.
42629         [C99-based standards] (*_t): Likewise.
42630         [C99-based-standards] (PRId8): Expect macro.
42631         [C99-based-standards] (PRIi8): Likewise.
42632         [C99-based-standards] (PRIo8): Likewise.
42633         [C99-based-standards] (PRIu8): Likewise.
42634         [C99-based-standards] (PRIx8): Likewise.
42635         [C99-based-standards] (PRIX8): Likewise.
42636         [C99-based-standards] (SCNd8): Likewise.
42637         [C99-based-standards] (SCNi8): Likewise.
42638         [C99-based-standards] (SCNo8): Likewise.
42639         [C99-based-standards] (SCNu8): Likewise.
42640         [C99-based-standards] (SCNx8): Likewise.
42641         [C99-based-standards] (PRIdLEAST8): Likewise.
42642         [C99-based-standards] (PRIiLEAST8): Likewise.
42643         [C99-based-standards] (PRIoLEAST8): Likewise.
42644         [C99-based-standards] (PRIuLEAST8): Likewise.
42645         [C99-based-standards] (PRIxLEAST8): Likewise.
42646         [C99-based-standards] (PRIXLEAST8): Likewise.
42647         [C99-based-standards] (SCNdLEAST8): Likewise.
42648         [C99-based-standards] (SCNiLEAST8): Likewise.
42649         [C99-based-standards] (SCNoLEAST8): Likewise.
42650         [C99-based-standards] (SCNuLEAST8): Likewise.
42651         [C99-based-standards] (SCNxLEAST8): Likewise.
42652         [C99-based-standards] (PRIdFAST8): Likewise.
42653         [C99-based-standards] (PRIiFAST8): Likewise.
42654         [C99-based-standards] (PRIoFAST8): Likewise.
42655         [C99-based-standards] (PRIuFAST8): Likewise.
42656         [C99-based-standards] (PRIxFAST8): Likewise.
42657         [C99-based-standards] (PRIXFAST8): Likewise.
42658         [C99-based-standards] (SCNdFAST8): Likewise.
42659         [C99-based-standards] (SCNiFAST8): Likewise.
42660         [C99-based-standards] (SCNoFAST8): Likewise.
42661         [C99-based-standards] (SCNuFAST8): Likewise.
42662         [C99-based-standards] (SCNxFAST8): Likewise.
42663         [C99-based-standards] (PRId16): Likewise.
42664         [C99-based-standards] (PRIi16): Likewise.
42665         [C99-based-standards] (PRIo16): Likewise.
42666         [C99-based-standards] (PRIu16): Likewise.
42667         [C99-based-standards] (PRIx16): Likewise.
42668         [C99-based-standards] (PRIX16): Likewise.
42669         [C99-based-standards] (SCNd16): Likewise.
42670         [C99-based-standards] (SCNi16): Likewise.
42671         [C99-based-standards] (SCNo16): Likewise.
42672         [C99-based-standards] (SCNu16): Likewise.
42673         [C99-based-standards] (SCNx16): Likewise.
42674         [C99-based-standards] (PRIdLEAST16): Likewise.
42675         [C99-based-standards] (PRIiLEAST16): Likewise.
42676         [C99-based-standards] (PRIoLEAST16): Likewise.
42677         [C99-based-standards] (PRIuLEAST16): Likewise.
42678         [C99-based-standards] (PRIxLEAST16): Likewise.
42679         [C99-based-standards] (PRIXLEAST16): Likewise.
42680         [C99-based-standards] (SCNdLEAST16): Likewise.
42681         [C99-based-standards] (SCNiLEAST16): Likewise.
42682         [C99-based-standards] (SCNoLEAST16): Likewise.
42683         [C99-based-standards] (SCNuLEAST16): Likewise.
42684         [C99-based-standards] (SCNxLEAST16): Likewise.
42685         [C99-based-standards] (PRIdFAST16): Likewise.
42686         [C99-based-standards] (PRIiFAST16): Likewise.
42687         [C99-based-standards] (PRIoFAST16): Likewise.
42688         [C99-based-standards] (PRIuFAST16): Likewise.
42689         [C99-based-standards] (PRIxFAST16): Likewise.
42690         [C99-based-standards] (PRIXFAST16): Likewise.
42691         [C99-based-standards] (SCNdFAST16): Likewise.
42692         [C99-based-standards] (SCNiFAST16): Likewise.
42693         [C99-based-standards] (SCNoFAST16): Likewise.
42694         [C99-based-standards] (SCNuFAST16): Likewise.
42695         [C99-based-standards] (SCNxFAST16): Likewise.
42696         [C99-based-standards] (PRId32): Likewise.
42697         [C99-based-standards] (PRIi32): Likewise.
42698         [C99-based-standards] (PRIo32): Likewise.
42699         [C99-based-standards] (PRIu32): Likewise.
42700         [C99-based-standards] (PRIx32): Likewise.
42701         [C99-based-standards] (PRIX32): Likewise.
42702         [C99-based-standards] (SCNd32): Likewise.
42703         [C99-based-standards] (SCNi32): Likewise.
42704         [C99-based-standards] (SCNo32): Likewise.
42705         [C99-based-standards] (SCNu32): Likewise.
42706         [C99-based-standards] (SCNx32): Likewise.
42707         [C99-based-standards] (PRIdLEAST32): Likewise.
42708         [C99-based-standards] (PRIiLEAST32): Likewise.
42709         [C99-based-standards] (PRIoLEAST32): Likewise.
42710         [C99-based-standards] (PRIuLEAST32): Likewise.
42711         [C99-based-standards] (PRIxLEAST32): Likewise.
42712         [C99-based-standards] (PRIXLEAST32): Likewise.
42713         [C99-based-standards] (SCNdLEAST32): Likewise.
42714         [C99-based-standards] (SCNiLEAST32): Likewise.
42715         [C99-based-standards] (SCNoLEAST32): Likewise.
42716         [C99-based-standards] (SCNuLEAST32): Likewise.
42717         [C99-based-standards] (SCNxLEAST32): Likewise.
42718         [C99-based-standards] (PRIdFAST32): Likewise.
42719         [C99-based-standards] (PRIiFAST32): Likewise.
42720         [C99-based-standards] (PRIoFAST32): Likewise.
42721         [C99-based-standards] (PRIuFAST32): Likewise.
42722         [C99-based-standards] (PRIxFAST32): Likewise.
42723         [C99-based-standards] (PRIXFAST32): Likewise.
42724         [C99-based-standards] (SCNdFAST32): Likewise.
42725         [C99-based-standards] (SCNiFAST32): Likewise.
42726         [C99-based-standards] (SCNoFAST32): Likewise.
42727         [C99-based-standards] (SCNuFAST32): Likewise.
42728         [C99-based-standards] (SCNxFAST32): Likewise.
42729         [C99-based-standards] (PRId64): Likewise.
42730         [C99-based-standards] (PRIi64): Likewise.
42731         [C99-based-standards] (PRIo64): Likewise.
42732         [C99-based-standards] (PRIu64): Likewise.
42733         [C99-based-standards] (PRIx64): Likewise.
42734         [C99-based-standards] (PRIX64): Likewise.
42735         [C99-based-standards] (SCNd64): Likewise.
42736         [C99-based-standards] (SCNi64): Likewise.
42737         [C99-based-standards] (SCNo64): Likewise.
42738         [C99-based-standards] (SCNu64): Likewise.
42739         [C99-based-standards] (SCNx64): Likewise.
42740         [C99-based-standards] (PRIdLEAST64): Likewise.
42741         [C99-based-standards] (PRIiLEAST64): Likewise.
42742         [C99-based-standards] (PRIoLEAST64): Likewise.
42743         [C99-based-standards] (PRIuLEAST64): Likewise.
42744         [C99-based-standards] (PRIxLEAST64): Likewise.
42745         [C99-based-standards] (PRIXLEAST64): Likewise.
42746         [C99-based-standards] (SCNdLEAST64): Likewise.
42747         [C99-based-standards] (SCNiLEAST64): Likewise.
42748         [C99-based-standards] (SCNoLEAST64): Likewise.
42749         [C99-based-standards] (SCNuLEAST64): Likewise.
42750         [C99-based-standards] (SCNxLEAST64): Likewise.
42751         [C99-based-standards] (PRIdFAST64): Likewise.
42752         [C99-based-standards] (PRIiFAST64): Likewise.
42753         [C99-based-standards] (PRIoFAST64): Likewise.
42754         [C99-based-standards] (PRIuFAST64): Likewise.
42755         [C99-based-standards] (PRIxFAST64): Likewise.
42756         [C99-based-standards] (PRIXFAST64): Likewise.
42757         [C99-based-standards] (SCNdFAST64): Likewise.
42758         [C99-based-standards] (SCNiFAST64): Likewise.
42759         [C99-based-standards] (SCNoFAST64): Likewise.
42760         [C99-based-standards] (SCNuFAST64): Likewise.
42761         [C99-based-standards] (SCNxFAST64): Likewise.
42762         [C99-based-standards] (PRIdMAX): Likewise.
42763         [C99-based-standards] (PRIiMAX): Likewise.
42764         [C99-based-standards] (PRIoMAX): Likewise.
42765         [C99-based-standards] (PRIuMAX): Likewise.
42766         [C99-based-standards] (PRIxMAX): Likewise.
42767         [C99-based-standards] (PRIXMAX): Likewise.
42768         [C99-based-standards] (SCNdMAX): Likewise.
42769         [C99-based-standards] (SCNiMAX): Likewise.
42770         [C99-based-standards] (SCNoMAX): Likewise.
42771         [C99-based-standards] (SCNuMAX): Likewise.
42772         [C99-based-standards] (SCNxMAX): Likewise.
42773         [C99-based-standards] (PRIdPTR): Likewise.
42774         [C99-based-standards] (PRIiPTR): Likewise.
42775         [C99-based-standards] (PRIoPTR): Likewise.
42776         [C99-based-standards] (PRIuPTR): Likewise.
42777         [C99-based-standards] (PRIxPTR): Likewise.
42778         [C99-based-standards] (PRIXPTR): Likewise.
42779         [C99-based-standards] (SCNdPTR): Likewise.
42780         [C99-based-standards] (SCNiPTR): Likewise.
42781         [C99-based-standards] (SCNoPTR): Likewise.
42782         [C99-based-standards] (SCNuPTR): Likewise.
42783         [C99-based-standards] (SCNxPTR): Likewise.
42784         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42785         allow.
42786         * conform/data/stdint.h-data: Update comments to clarify
42787         requirements.
42788         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42789         type.
42790         [C99-based standards] (INT8_MAX): Likewise.
42791         [C99-based standards] (INT16_MIN): Likewise.
42792         [C99-based standards] (INT16_MAX): Likewise.
42793         [C99-based standards] (INT32_MIN): Likewise.
42794         [C99-based standards] (INT32_MAX): Likewise.
42795         [C99-based standards] (INT64_MIN): Likewise.
42796         [C99-based standards] (INT64_MAX): Likewise.
42797         [C99-based standards] (UINT8_MAX): Likewise.
42798         [C99-based standards] (UINT16_MAX): Likewise.
42799         [C99-based standards] (UINT32_MAX): Likewise.
42800         [C99-based standards] (UINT64_MAX): Likewise.
42801         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42802         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42803         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42804         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42805         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42806         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42807         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42808         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42809         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42810         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42811         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42812         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42813         [C99-based standards] (INT_FAST8_MIN): Likewise.
42814         [C99-based standards] (INT_FAST8_MAX): Likewise.
42815         [C99-based standards] (INT_FAST16_MIN): Likewise.
42816         [C99-based standards] (INT_FAST16_MAX): Likewise.
42817         [C99-based standards] (INT_FAST32_MIN): Likewise.
42818         [C99-based standards] (INT_FAST32_MAX): Likewise.
42819         [C99-based standards] (INT_FAST64_MIN): Likewise.
42820         [C99-based standards] (INT_FAST64_MAX): Likewise.
42821         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42822         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42823         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42824         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42825         [C99-based standards] (INTPTR_MIN): Likewise.
42826         [C99-based standards] (INTPTR_MAX): Likewise.
42827         [C99-based standards] (UINTPTR_MAX): Likewise.
42828         [C99-based standards] (INTMAX_MIN): Likewise.
42829         [C99-based standards] (INTMAX_MAX): Likewise.
42830         [C99-based standards] (UINTMAX_MAX): Likewise.
42831         [C99-based standards] (PTRDIFF_MIN): Likewise.
42832         [C99-based standards] (PTRDIFF_MAX): Likewise.
42833         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42834         [C99-based standards] (SIZE_MAX): Likewise.
42835         [C99-based standards] (WCHAR_MAX): Likewise.
42836         [C99-based standards] (WINT_MAX): Likewise.
42837         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42838         constraint on value.
42839         [C99-based standards] (WCHAR_MIN): Likewise.
42840         [C99-based standards] (WINT_MIN): Likewise.
42841         [C99-based standards] (*_t): Allow.
42842         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42843         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42844         Include math.h-data and complex.h-data.  Remove all expectations
42845         of math.h and complex.h contents.
42846         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42847         at end of line.
42848         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42849         (struct tm): Expect tag.
42850         [C99-based-standards] (wcstof): Expect function.
42851         [C99-based-standards] (wcstold): Likewise.
42852         [C99-based-standards] (wcstoll): Likewise.
42853         [C99-based-standards] (wcstoull): Likewise.
42854         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42855         macro-int-constant.  Specify type.
42856         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42857         constraint on value.
42858         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42859         Specify type.
42860         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42861         Specify value.
42862         [ISO C standards]: Do not allow headers.
42863         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42864         wcs[abcdefghijklmnopqrstuvwxyz]*.
42865         [ISO C standards] (*_t): Do not allow.
42866         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42867         Expect function.
42868         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42869         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42870         Specify type.
42871         [ISO C standards]: Do not allow headers.
42872         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42873         is[abcdefghijklmnopqrstuvwxyz]*.
42874         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42875         to[abcdefghijklmnopqrstuvwxyz]*.
42876         [ISO C standards] (*_t): Do not allow.
42877         * conform/data/stdalign.h-data: New file.
42878         * conform/data/stdbool.h-data: Likewise.
42879         * conform/data/stdnoreturn.h-data: Likewise.
42881 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42883         [BZ #14815]
42884         * manual/filesys.texi (Directory Entries): Typo fix.
42885         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42887 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42889         * elf/elf.h (EM_AARCH64): New macro.
42890         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42891         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42892         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42893         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42894         (R_AARCH64_TLSDESC): Likewise.
42895         (NT_ARM_TLS): Likewise.
42896         (NT_ARM_HW_BREAK): Likewise.
42897         (NT_ARM_HW_WATCH): Likewise.
42899 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42901         [BZ #14811]
42902         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42903         (__ieee754_powl): Saturate nonzero exponents with absolute value
42904         below 0x1p-79 to +/- 0x1p-79.
42905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42906         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42907         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42908         nonzero exponents with absolute value below 0x1p-32 to +/-
42909         0x1p-32.
42910         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42911         (__ieee754_powl): Saturate nonzero exponents with absolute value
42912         below 0x1p-79 to +/- 0x1p-79.
42913         * math/libm-test.inc (pow_test): Add more tests.
42915 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42917         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42918         _dl_s390_cap_flags with kernel. Increase string length.
42919         (_dl_s390_platforms): Add z196 and zEC12.
42921 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42923         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42924         Change XOPEN21K to XOPEN2K.
42926 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42928         * string/memmove.c: Use memcpy when possible.
42930 2012-11-06  Andreas Jaeger  <aj@suse.de>
42932         * po/eo.po: Update from translation team.
42934 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42936         [BZ #14793]
42937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42938         exponent and small x and y exponents, scale x or y up.  Increase
42939         by 2 the exponent used in scaling up.
42940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42942         * math/libm-test.inc (fma_test): Add more tests.
42943         (fma_test_towardzero): Likewise.
42944         (fma_test_downward): Likewise.
42945         (fma_test_upward): Likewise.
42947 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42949         [BZ #14805]
42950         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42951         fenv_t *.
42953         [BZ #14801]
42954         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42955         namespace for names of struct fields.
42956         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42957         fenv_t fields.
42958         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42959         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42961 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42963         [BZ #3665]
42964         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42966 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42968         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42969         PTR_DEMANGLE.
42971         [BZ #5246]
42972         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42973         PTR_DEMANGLE.
42975 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42977         [BZ #14797]
42978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42979         definitely overflow as x * y not x * y + z.
42980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42982         * math/libm-test.inc (fma_test): Add more tests.
42983         (fma_test_towardzero): Likewise.
42984         (fma_test_downward): Likewise.
42985         (fma_test_upward): Likewise.
42987 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42989         [BZ #157]
42991         * include/stub-tag.h: Remove file.
42992         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42993         '#include' of it.
42994         * manual/maint.texi (Porting): Don't reference it.
42995         * Makerules ($(objpfx)stubs): Likewise.
42996         * dirent/closedir.c: Don't include <stub-tag.h>.
42997         * dirent/dirfd.c: Likewise.
42998         * dirent/fdopendir.c: Likewise.
42999         * dirent/getdents.c: Likewise.
43000         * dirent/getdents64.c: Likewise.
43001         * dirent/opendir.c: Likewise.
43002         * dirent/readdir.c: Likewise.
43003         * dirent/readdir64.c: Likewise.
43004         * dirent/readdir64_r.c: Likewise.
43005         * dirent/readdir_r.c: Likewise.
43006         * dirent/rewinddir.c: Likewise.
43007         * dirent/seekdir.c: Likewise.
43008         * dirent/telldir.c: Likewise.
43009         * gmon/profil.c: Likewise.
43010         * grp/setgroups.c: Likewise.
43011         * inet/if_index.c: Likewise.
43012         * io/access.c: Likewise.
43013         * io/chdir.c: Likewise.
43014         * io/chmod.c: Likewise.
43015         * io/chown.c: Likewise.
43016         * io/close.c: Likewise.
43017         * io/dup.c: Likewise.
43018         * io/dup2.c: Likewise.
43019         * io/dup3.c: Likewise.
43020         * io/euidaccess.c: Likewise.
43021         * io/faccessat.c: Likewise.
43022         * io/fchdir.c: Likewise.
43023         * io/fchmod.c: Likewise.
43024         * io/fchmodat.c: Likewise.
43025         * io/fchown.c: Likewise.
43026         * io/fchownat.c: Likewise.
43027         * io/fcntl.c: Likewise.
43028         * io/flock.c: Likewise.
43029         * io/fstatfs.c: Likewise.
43030         * io/fstatfs64.c: Likewise.
43031         * io/fstatvfs.c: Likewise.
43032         * io/fstatvfs64.c: Likewise.
43033         * io/futimens.c: Likewise.
43034         * io/fxstat.c: Likewise.
43035         * io/fxstat64.c: Likewise.
43036         * io/fxstatat.c: Likewise.
43037         * io/fxstatat64.c: Likewise.
43038         * io/getcwd.c: Likewise.
43039         * io/isatty.c: Likewise.
43040         * io/lchmod.c: Likewise.
43041         * io/lchown.c: Likewise.
43042         * io/link.c: Likewise.
43043         * io/linkat.c: Likewise.
43044         * io/lseek.c: Likewise.
43045         * io/lseek64.c: Likewise.
43046         * io/lxstat64.c: Likewise.
43047         * io/mkdir.c: Likewise.
43048         * io/mkdirat.c: Likewise.
43049         * io/mkfifo.c: Likewise.
43050         * io/mkfifoat.c: Likewise.
43051         * io/open.c: Likewise.
43052         * io/open64.c: Likewise.
43053         * io/openat.c: Likewise.
43054         * io/openat64.c: Likewise.
43055         * io/pipe.c: Likewise.
43056         * io/pipe2.c: Likewise.
43057         * io/poll.c: Likewise.
43058         * io/posix_fadvise.c: Likewise.
43059         * io/posix_fadvise64.c: Likewise.
43060         * io/posix_fallocate.c: Likewise.
43061         * io/posix_fallocate64.c: Likewise.
43062         * io/read.c: Likewise.
43063         * io/readlink.c: Likewise.
43064         * io/readlinkat.c: Likewise.
43065         * io/rmdir.c: Likewise.
43066         * io/sendfile.c: Likewise.
43067         * io/sendfile64.c: Likewise.
43068         * io/statfs.c: Likewise.
43069         * io/statfs64.c: Likewise.
43070         * io/statvfs.c: Likewise.
43071         * io/statvfs64.c: Likewise.
43072         * io/symlink.c: Likewise.
43073         * io/symlinkat.c: Likewise.
43074         * io/ttyname.c: Likewise.
43075         * io/ttyname_r.c: Likewise.
43076         * io/umask.c: Likewise.
43077         * io/unlink.c: Likewise.
43078         * io/unlinkat.c: Likewise.
43079         * io/utime.c: Likewise.
43080         * io/utimensat.c: Likewise.
43081         * io/write.c: Likewise.
43082         * io/xmknod.c: Likewise.
43083         * io/xmknodat.c: Likewise.
43084         * io/xstat.c: Likewise.
43085         * io/xstat64.c: Likewise.
43086         * login/getpt.c: Likewise.
43087         * login/grantpt.c: Likewise.
43088         * login/unlockpt.c: Likewise.
43089         * math/e_acoshl.c: Likewise.
43090         * math/e_acosl.c: Likewise.
43091         * math/e_asinl.c: Likewise.
43092         * math/e_atan2l.c: Likewise.
43093         * math/e_atanhl.c: Likewise.
43094         * math/e_coshl.c: Likewise.
43095         * math/e_expl.c: Likewise.
43096         * math/e_fmodl.c: Likewise.
43097         * math/e_gammal_r.c: Likewise.
43098         * math/e_hypotl.c: Likewise.
43099         * math/e_j0l.c: Likewise.
43100         * math/e_j1l.c: Likewise.
43101         * math/e_jnl.c: Likewise.
43102         * math/e_lgammal_r.c: Likewise.
43103         * math/e_log10l.c: Likewise.
43104         * math/e_log2l.c: Likewise.
43105         * math/e_logl.c: Likewise.
43106         * math/e_powl.c: Likewise.
43107         * math/e_rem_pio2l.c: Likewise.
43108         * math/e_sinhl.c: Likewise.
43109         * math/e_sqrtl.c: Likewise.
43110         * math/fclrexcpt.c: Likewise.
43111         * math/fedisblxcpt.c: Likewise.
43112         * math/feenablxcpt.c: Likewise.
43113         * math/fegetenv.c: Likewise.
43114         * math/fegetexcept.c: Likewise.
43115         * math/fegetround.c: Likewise.
43116         * math/feholdexcpt.c: Likewise.
43117         * math/fesetenv.c: Likewise.
43118         * math/fesetround.c: Likewise.
43119         * math/feupdateenv.c: Likewise.
43120         * math/fgetexcptflg.c: Likewise.
43121         * math/fraiseexcpt.c: Likewise.
43122         * math/fsetexcptflg.c: Likewise.
43123         * math/ftestexcept.c: Likewise.
43124         * math/k_cosl.c: Likewise.
43125         * math/k_rem_pio2l.c: Likewise.
43126         * math/k_sinl.c: Likewise.
43127         * math/k_tanl.c: Likewise.
43128         * math/s_asinhl.c: Likewise.
43129         * math/s_atanl.c: Likewise.
43130         * math/s_cbrtl.c: Likewise.
43131         * math/s_erfl.c: Likewise.
43132         * math/s_expm1l.c: Likewise.
43133         * math/s_log1pl.c: Likewise.
43134         * math/s_tanhl.c: Likewise.
43135         * misc/acct.c: Likewise.
43136         * misc/brk.c: Likewise.
43137         * misc/chflags.c: Likewise.
43138         * misc/chroot.c: Likewise.
43139         * misc/fchflags.c: Likewise.
43140         * misc/fgetxattr.c: Likewise.
43141         * misc/flistxattr.c: Likewise.
43142         * misc/fremovexattr.c: Likewise.
43143         * misc/fsetxattr.c: Likewise.
43144         * misc/fsync.c: Likewise.
43145         * misc/ftruncate.c: Likewise.
43146         * misc/futimes.c: Likewise.
43147         * misc/futimesat.c: Likewise.
43148         * misc/getdomain.c: Likewise.
43149         * misc/getdtsz.c: Likewise.
43150         * misc/gethostid.c: Likewise.
43151         * misc/gethostname.c: Likewise.
43152         * misc/getloadavg.c: Likewise.
43153         * misc/getpagesize.c: Likewise.
43154         * misc/getsysstats.c: Likewise.
43155         * misc/getxattr.c: Likewise.
43156         * misc/gtty.c: Likewise.
43157         * misc/ioctl.c: Likewise.
43158         * misc/lgetxattr.c: Likewise.
43159         * misc/listxattr.c: Likewise.
43160         * misc/llistxattr.c: Likewise.
43161         * misc/lremovexattr.c: Likewise.
43162         * misc/lsetxattr.c: Likewise.
43163         * misc/lutimes.c: Likewise.
43164         * misc/madvise.c: Likewise.
43165         * misc/mincore.c: Likewise.
43166         * misc/mlock.c: Likewise.
43167         * misc/mlockall.c: Likewise.
43168         * misc/mmap.c: Likewise.
43169         * misc/mprotect.c: Likewise.
43170         * misc/msync.c: Likewise.
43171         * misc/munlock.c: Likewise.
43172         * misc/munlockall.c: Likewise.
43173         * misc/munmap.c: Likewise.
43174         * misc/preadv.c: Likewise.
43175         * misc/preadv64.c: Likewise.
43176         * misc/ptrace.c: Likewise.
43177         * misc/pwritev.c: Likewise.
43178         * misc/pwritev64.c: Likewise.
43179         * misc/readv.c: Likewise.
43180         * misc/reboot.c: Likewise.
43181         * misc/remap_file_pages.c: Likewise.
43182         * misc/removexattr.c: Likewise.
43183         * misc/revoke.c: Likewise.
43184         * misc/select.c: Likewise.
43185         * misc/setdomain.c: Likewise.
43186         * misc/setegid.c: Likewise.
43187         * misc/seteuid.c: Likewise.
43188         * misc/sethostid.c: Likewise.
43189         * misc/sethostname.c: Likewise.
43190         * misc/setregid.c: Likewise.
43191         * misc/setreuid.c: Likewise.
43192         * misc/setxattr.c: Likewise.
43193         * misc/sstk.c: Likewise.
43194         * misc/stty.c: Likewise.
43195         * misc/swapoff.c: Likewise.
43196         * misc/swapon.c: Likewise.
43197         * misc/sync.c: Likewise.
43198         * misc/syncfs.c: Likewise.
43199         * misc/syscall.c: Likewise.
43200         * misc/truncate.c: Likewise.
43201         * misc/ualarm.c: Likewise.
43202         * misc/usleep.c: Likewise.
43203         * misc/ustat.c: Likewise.
43204         * misc/utimes.c: Likewise.
43205         * misc/vhangup.c: Likewise.
43206         * misc/writev.c: Likewise.
43207         * posix/_exit.c: Likewise.
43208         * posix/alarm.c: Likewise.
43209         * posix/execve.c: Likewise.
43210         * posix/fexecve.c: Likewise.
43211         * posix/fork.c: Likewise.
43212         * posix/fpathconf.c: Likewise.
43213         * posix/getaddrinfo.c: Likewise.
43214         * posix/getegid.c: Likewise.
43215         * posix/geteuid.c: Likewise.
43216         * posix/getgid.c: Likewise.
43217         * posix/getgroups.c: Likewise.
43218         * posix/getlogin.c: Likewise.
43219         * posix/getlogin_r.c: Likewise.
43220         * posix/getpgid.c: Likewise.
43221         * posix/getpid.c: Likewise.
43222         * posix/getppid.c: Likewise.
43223         * posix/getresgid.c: Likewise.
43224         * posix/getresuid.c: Likewise.
43225         * posix/getsid.c: Likewise.
43226         * posix/getuid.c: Likewise.
43227         * posix/glob64.c: Likewise.
43228         * posix/nanosleep.c: Likewise.
43229         * posix/pathconf.c: Likewise.
43230         * posix/pause.c: Likewise.
43231         * posix/posix_madvise.c: Likewise.
43232         * posix/pread.c: Likewise.
43233         * posix/pread64.c: Likewise.
43234         * posix/pwrite.c: Likewise.
43235         * posix/pwrite64.c: Likewise.
43236         * posix/sched_getaffinity.c: Likewise.
43237         * posix/sched_getp.c: Likewise.
43238         * posix/sched_gets.c: Likewise.
43239         * posix/sched_primax.c: Likewise.
43240         * posix/sched_primin.c: Likewise.
43241         * posix/sched_rr_gi.c: Likewise.
43242         * posix/sched_setaffinity.c: Likewise.
43243         * posix/sched_setp.c: Likewise.
43244         * posix/sched_sets.c: Likewise.
43245         * posix/sched_yield.c: Likewise.
43246         * posix/setgid.c: Likewise.
43247         * posix/setlogin.c: Likewise.
43248         * posix/setpgid.c: Likewise.
43249         * posix/setresgid.c: Likewise.
43250         * posix/setresuid.c: Likewise.
43251         * posix/setsid.c: Likewise.
43252         * posix/setuid.c: Likewise.
43253         * posix/sleep.c: Likewise.
43254         * posix/spawni.c: Likewise.
43255         * posix/sysconf.c: Likewise.
43256         * posix/times.c: Likewise.
43257         * posix/wait.c: Likewise.
43258         * posix/wait3.c: Likewise.
43259         * posix/wait4.c: Likewise.
43260         * posix/waitpid.c: Likewise.
43261         * resolv/gai_sigqueue.c: Likewise.
43262         * resource/getpriority.c: Likewise.
43263         * resource/getrlimit.c: Likewise.
43264         * resource/getrusage.c: Likewise.
43265         * resource/nice.c: Likewise.
43266         * resource/setpriority.c: Likewise.
43267         * resource/setrlimit.c: Likewise.
43268         * resource/ulimit.c: Likewise.
43269         * rt/aio_cancel.c: Likewise.
43270         * rt/aio_fsync.c: Likewise.
43271         * rt/aio_read.c: Likewise.
43272         * rt/aio_sigqueue.c: Likewise.
43273         * rt/aio_suspend.c: Likewise.
43274         * rt/aio_write.c: Likewise.
43275         * rt/clock_getres.c: Likewise.
43276         * rt/clock_gettime.c: Likewise.
43277         * rt/clock_nanosleep.c: Likewise.
43278         * rt/clock_settime.c: Likewise.
43279         * rt/lio_listio.c: Likewise.
43280         * rt/mq_close.c: Likewise.
43281         * rt/mq_getattr.c: Likewise.
43282         * rt/mq_notify.c: Likewise.
43283         * rt/mq_open.c: Likewise.
43284         * rt/mq_receive.c: Likewise.
43285         * rt/mq_send.c: Likewise.
43286         * rt/mq_setattr.c: Likewise.
43287         * rt/mq_timedreceive.c: Likewise.
43288         * rt/mq_timedsend.c: Likewise.
43289         * rt/mq_unlink.c: Likewise.
43290         * rt/shm_open.c: Likewise.
43291         * rt/shm_unlink.c: Likewise.
43292         * rt/timer_create.c: Likewise.
43293         * rt/timer_delete.c: Likewise.
43294         * rt/timer_getoverr.c: Likewise.
43295         * rt/timer_gettime.c: Likewise.
43296         * rt/timer_settime.c: Likewise.
43297         * setjmp/__longjmp.c: Likewise.
43298         * setjmp/setjmp.c: Likewise.
43299         * signal/kill.c: Likewise.
43300         * signal/killpg.c: Likewise.
43301         * signal/raise.c: Likewise.
43302         * signal/sigaction.c: Likewise.
43303         * signal/sigaltstack.c: Likewise.
43304         * signal/sigblock.c: Likewise.
43305         * signal/sigignore.c: Likewise.
43306         * signal/sigintr.c: Likewise.
43307         * signal/signal.c: Likewise.
43308         * signal/sigpause.c: Likewise.
43309         * signal/sigpending.c: Likewise.
43310         * signal/sigqueue.c: Likewise.
43311         * signal/sigreturn.c: Likewise.
43312         * signal/sigset.c: Likewise.
43313         * signal/sigsetmask.c: Likewise.
43314         * signal/sigstack.c: Likewise.
43315         * signal/sigsuspend.c: Likewise.
43316         * signal/sigtimedwait.c: Likewise.
43317         * signal/sigvec.c: Likewise.
43318         * signal/sigwait.c: Likewise.
43319         * signal/sigwaitinfo.c: Likewise.
43320         * signal/sysv_signal.c: Likewise.
43321         * socket/accept.c: Likewise.
43322         * socket/accept4.c: Likewise.
43323         * socket/bind.c: Likewise.
43324         * socket/connect.c: Likewise.
43325         * socket/getpeername.c: Likewise.
43326         * socket/getsockname.c: Likewise.
43327         * socket/getsockopt.c: Likewise.
43328         * socket/isfdtype.c: Likewise.
43329         * socket/listen.c: Likewise.
43330         * socket/recv.c: Likewise.
43331         * socket/recvfrom.c: Likewise.
43332         * socket/recvmsg.c: Likewise.
43333         * socket/send.c: Likewise.
43334         * socket/sendmsg.c: Likewise.
43335         * socket/sendto.c: Likewise.
43336         * socket/setsockopt.c: Likewise.
43337         * socket/shutdown.c: Likewise.
43338         * socket/sockatmark.c: Likewise.
43339         * socket/socket.c: Likewise.
43340         * socket/socketpair.c: Likewise.
43341         * stdio-common/ctermid.c: Likewise.
43342         * stdio-common/cuserid.c: Likewise.
43343         * stdio-common/remove.c: Likewise.
43344         * stdio-common/rename.c: Likewise.
43345         * stdio-common/renameat.c: Likewise.
43346         * stdio-common/tempname.c: Likewise.
43347         * stdlib/getcontext.c: Likewise.
43348         * stdlib/makecontext.c: Likewise.
43349         * stdlib/setcontext.c: Likewise.
43350         * stdlib/swapcontext.c: Likewise.
43351         * stdlib/system.c: Likewise.
43352         * streams/fattach.c: Likewise.
43353         * streams/fdetach.c: Likewise.
43354         * streams/getmsg.c: Likewise.
43355         * streams/getpmsg.c: Likewise.
43356         * streams/putmsg.c: Likewise.
43357         * streams/putpmsg.c: Likewise.
43358         * sysdeps/unix/bsd/getpt.c: Likewise.
43359         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43360         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43361         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43363         Likewise.
43364         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43365         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43366         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43367         * sysvipc/msgctl.c: Likewise.
43368         * sysvipc/msgget.c: Likewise.
43369         * sysvipc/msgrcv.c: Likewise.
43370         * sysvipc/msgsnd.c: Likewise.
43371         * sysvipc/semctl.c: Likewise.
43372         * sysvipc/semget.c: Likewise.
43373         * sysvipc/semop.c: Likewise.
43374         * sysvipc/semtimedop.c: Likewise.
43375         * sysvipc/shmat.c: Likewise.
43376         * sysvipc/shmctl.c: Likewise.
43377         * sysvipc/shmdt.c: Likewise.
43378         * sysvipc/shmget.c: Likewise.
43379         * termios/tcdrain.c: Likewise.
43380         * termios/tcflow.c: Likewise.
43381         * termios/tcflush.c: Likewise.
43382         * termios/tcgetattr.c: Likewise.
43383         * termios/tcgetpgrp.c: Likewise.
43384         * termios/tcsendbrk.c: Likewise.
43385         * termios/tcsetattr.c: Likewise.
43386         * termios/tcsetpgrp.c: Likewise.
43387         * time/adjtime.c: Likewise.
43388         * time/clock.c: Likewise.
43389         * time/getitimer.c: Likewise.
43390         * time/gettimeofday.c: Likewise.
43391         * time/setitimer.c: Likewise.
43392         * time/settimeofday.c: Likewise.
43393         * time/stime.c: Likewise.
43394         * time/time.c: Likewise.
43396 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43398         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43399         /usr/old/bin.
43401         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43402         instead of spaces.
43403         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43405 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43407         [BZ #14796]
43408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43409         FE_TONEAREST before applying Dekker multiplication and Knuth
43410         addition.  Clear inexact exceptions and check for exact zero
43411         results afterwards.
43412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43413         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43415         * math/libm-test.inc (fma_test): Add more tests.
43416         (fma_test_towardzero): Likewise.
43417         (fma_test_downward): Likewise.
43418         (fma_test_upward): Likewise.
43419         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43420         function.
43421         (libc_fesetround): New macro.
43422         (libc_fesetroundf): Likewise.
43423         (libc_fesetroundl): Likewise.
43424         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43425         function.
43426         (libc_fesetround_387): Likewise.
43427         (libc_fesetroundf): New macro.
43428         (libc_fesetround): Likewise.
43429         (libc_fesetroundl): Likewise.
43430         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43431         function.
43432         (libc_fesetroundf): New macro.
43433         (libc_fesetround): Likewise.
43434         (libc_fesetroundl): Likewise.
43435         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43436         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43437         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43438         libm_hidden_ver.
43439         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43440         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43441         libm_hidden_def.
43442         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43443         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43444         libm_hidden_ver.
43445         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43446         libm_hidden_def.
43448         [BZ #3439]
43449         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43450         integer constant usable in #if and use that to give value to enum
43451         constant.
43452         (FE_DIVBYZERO): Likewise.
43453         (FE_UNDERFLOW): Likewise.
43454         (FE_OVERFLOW): Likewise.
43455         (FE_INVALID): Likewise.
43456         (FE_INVALID_SNAN): Likewise.
43457         (FE_INVALID_ISI): Likewise.
43458         (FE_INVALID_IDI): Likewise.
43459         (FE_INVALID_ZDZ): Likewise.
43460         (FE_INVALID_IMZ): Likewise.
43461         (FE_INVALID_COMPARE): Likewise.
43462         (FE_INVALID_SOFTWARE): Likewise.
43463         (FE_INVALID_SQRT): Likewise.
43464         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43465         (FE_TONEAREST): Likewise.
43466         (FE_TOWARDZERO): Likewise.
43467         (FE_UPWARD): Likewise.
43468         (FE_DOWNWARD): Likewise.
43469         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43470         (FE_DIVBYZERO): Likewise.
43471         (FE_OVERFLOW): Likewise.
43472         (FE_UNDERFLOW): Likewise.
43473         (FE_INEXACT): Likewise.
43474         (FE_TONEAREST): Likewise.
43475         (FE_DOWNWARD): Likewise.
43476         (FE_UPWARD): Likewise.
43477         (FE_TOWARDZERO): Likewise.
43478         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43479         (FE_UNDERFLOW): Likewise.
43480         (FE_OVERFLOW): Likewise.
43481         (FE_DIVBYZERO): Likewise.
43482         (FE_INVALID): Likewise.
43483         (FE_TONEAREST): Likewise.
43484         (FE_TOWARDZERO): Likewise.
43485         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43486         (FE_OVERFLOW): Likewise.
43487         (FE_UNDERFLOW): Likewise.
43488         (FE_DIVBYZERO): Likewise.
43489         (FE_INEXACT): Likewise.
43490         (FE_TONEAREST): Likewise.
43491         (FE_TOWARDZERO): Likewise.
43492         (FE_UPWARD): Likewise.
43493         (FE_DOWNWARD): Likewise.
43494         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43495         (FE_DIVBYZERO): Likewise.
43496         (FE_OVERFLOW): Likewise.
43497         (FE_UNDERFLOW): Likewise.
43498         (FE_INEXACT): Likewise.
43499         (FE_TONEAREST): Likewise.
43500         (FE_DOWNWARD): Likewise.
43501         (FE_UPWARD): Likewise.
43502         (FE_TOWARDZERO): Likewise.
43504 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43506         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43508 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43510         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43511         commands.  Quote $PWD.
43512         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43513         -x" by "export".
43514         (remove_newlines): Remove.
43516 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43518         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43519         * stdlib/stdlib.h (atof): Moved to ...
43520         * include/bits/stdlib-float.h: Here.  New file.
43521         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43522         * stdlib/bits/stdlib-float.h: New file.
43523         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43524         -mno-sse -mno-mmx.
43525         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43526         <xmmintrin.h>.
43528 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43530         * conform/conformtest.pl (@headers): Add fenv.h.
43531         * conform/data/fenv.h-data: New file.
43532         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43533         include of <math/fenv.h>.
43535         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43536         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43537         && !UNIX98].  Enables tests for XOPEN2K8.
43538         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43539         POSIX2008]: Likewise.
43541         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43542         (struct rusage): Do not expect type or its members.
43544         [BZ #3439]
43545         * math/math.h (FP_NAN): Define macro to integer constant usable in
43546         #if and use that to give value to enum constant.
43547         (FP_INFINITE): Likewise.
43548         (FP_ZERO): Likewise.
43549         (FP_SUBNORMAL): Likewise.
43550         (FP_NORMAL): Likewise.
43552 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43554         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43555         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43556         arguments.
43558 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43560         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43561         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43562         autoconf-time if not.
43563         * configure.in: Remove AC_PREREQ.
43565 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43567         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43568         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43569         of the internal implementation.
43571 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43573         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43574         except include of <misc/sys/syslog.h>.
43576 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43579         function returns with a NULL context exit with zero.
43581 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43583         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43585 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43587         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43588         (run_program_cmd): This.
43589         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43590         (tst_langinfo): New variable.  Use it.
43592 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43594         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43595         floating point opcodes.
43597 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43599         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43600         variable.
43602         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43604         * sysdeps/mach/hurd/powerpc: Remove directory.
43605         * sysdeps/mach/powerpc: Likewise.
43607 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43609         * scripts/check-local-headers.sh: Ignore c++ headers.
43611 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43613         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43614         __libc_cleanup_region_start argument.
43616 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43618         [BZ #14784]
43619         [BZ #14785]
43620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43621         x * y using scaling, not as x * y + z.
43622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43623         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43624         * math/libm-test.inc (fma_test): Add more tests.
43625         (fma_test_towardzero): Likewise.
43626         (fma_test_downward): Likewise.
43627         (fma_test_upward): Likewise.
43629 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43631         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43633 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43635         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43636         New variable.
43638 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43640         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43642 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43645         Fix sort order.
43646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43647         Likewise.
43649 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43652         Fix the order of the list for glibc 2.17.
43653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43654         Likewise.
43656 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43660 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43662         [BZ #14610]
43663         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43664         for low part of x being zero before using __atanl (y).
43665         * math/libm-test.inc (atan2_test): Add another test.
43667         * manual/install.texi (Configuring and compiling): Document
43668         general use of test-wrapper and test-wrapper-env.
43669         * INSTALL: Regenerated.
43671         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43672         (__fma): Do not extract and scale down low bits on after-rounding
43673         systems when result rounded to normal precision would have normal
43674         exponent.
43675         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43676         (__fmal): Do not extract and scale down low bits on after-rounding
43677         systems when result rounded to normal precision would have normal
43678         exponent.
43679         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43680         (__fmal): Do not extract and scale down low bits on after-rounding
43681         systems when result rounded to normal precision would have normal
43682         exponent.
43683         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43684         macro.
43685         (fma_test): Add more tests.
43686         (fma_test_towardzero): Likewise.
43687         (fma_test_downward): Likewise.
43688         (fma_test_upward): Likewise.
43690 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43692         * sysdeps/i386/tininess.h: Renamed to ...
43693         * sysdeps/x86/tininess.h: This.
43694         * sysdeps/x86_64/tininess.h: Removed.
43696 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43698         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43699         input.  Use $(build-program-cmd).
43700         ($(objpfx)tst-array1-static.out): Likewise.
43701         ($(objpfx)tst-array2.out): Likewise.
43702         ($(objpfx)tst-array3.out): Likewise.
43703         ($(objpfx)tst-array4.out): Likewise.
43704         ($(objpfx)tst-array5.out): Likewise.
43705         ($(objpfx)tst-array5-static.out): Likewise.
43707 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43709         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43710         if defined.
43712         * nss/nsswitch.h (nss_interface_function): Provide new
43713         macro for use with NSS functions.
43714         * grp/initgroups.c: Use new macro.
43715         * nss/getXXbyYY.c: Likewise.
43716         * nss/getXXbyYY_r.c: Likewise.
43717         * nss/getXXent.c: Likewise.
43718         * nss/getXXent_r.c: Likewise.
43719         * sysdeps/posix/getaddrinfo.c: Likewise.
43721 2012-10-30  Andreas Jaeger  <aj@suse.de>
43723         * po/ru.po: Update Russion translation from translation project.
43725 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43727         [BZ #14152]
43728         [BZ #14783]
43729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43730         result and shift together with sticky bit instead of replicating
43731         round-to-nearest rounding.
43732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43734         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43735         missing underflow exceptions.
43736         (fma_test_towardzero): Add more tests.
43737         (fma_test_downward): Likewise.
43738         (fma_test_upward): Likewise.
43740         [BZ #14047]
43741         * sysdeps/generic/tininess.h: New file.
43742         * sysdeps/i386/tininess.h: Likewise.
43743         * sysdeps/sh/tininess.h: Likewise.
43744         * sysdeps/x86_64/tininess.h: Likewise.
43745         * stdlib/tst-strtod-underflow.c: Likewise.
43746         * stdlib/tst-tininess.c: Likewise.
43747         * stdlib/strtod_l.c: Include <tininess.h>.
43748         (round_and_return): Do not set errno for exact underflow cases.
43749         Force an underflow exception when setting errno for underflow.
43750         Determine underflow based on rounding to normal precision if
43751         TININESS_AFTER_ROUNDING.
43752         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43753         ERANGE for exact underflow cases.
43754         * stdlib/Makefile (tests): Add tst-tininess and
43755         tst-strtod-underflow.
43756         ($(objpfx)tst-tininess): Use $(link-libm).
43757         ($(objpfx)tst-strtod-underflow): Likewise.
43759 2012-10-30  Andreas Jaeger  <aj@suse.de>
43761         [BZ#14767]
43762         * elf/Makefile (tests): Remove conditional for have-initfini-array
43763         since this is now always required and the variable does not exist
43764         anymore.
43765         (tests-static): Likewise.
43766         (modules-names): Likewise.
43768         * po/eo.po: Add Esperanto translation from translation project.
43770         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43771         merged with constructor/destructor.
43772         (init_array): Likewise.
43773         * elf/tst-array2dep.c (fini_array): Likewise.
43774         (init_array): Likewise.
43776 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43778         * manual/message.texi: Delete @cartouche tags.
43780 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43782         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43783         EOPNOTSUPP.
43784         * sysdeps/mach/hurd/fsync.c: Likewise.
43786         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43787         [_POSIX_REALTIME_SIGNALS]: Change condition to
43788         [_POSIX_REALTIME_SIGNALS > 0].
43790 2012-10-27  Andreas Jaeger  <aj@suse.de>
43792         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43793         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43794         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43795         [__WORDSIZE != 64]: Likewise.
43797 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43799         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43800         *  iconvdata/tst-tables.sh: Likewise.
43802 2012-10-25  David S. Miller  <davem@davemloft.net>
43804         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43805         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43806         of strtoull.
43808         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43809         ifunc-impl-list.c
43810         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43811         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43812         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43813         file.
43815 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43817         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43818         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43819         __getdirentries.
43821 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43822             Jim Blandy  <jimb@codesourcery.com>
43824         * scripts/cross-test-ssh.sh: New file.
43825         * manual/install.texi (Configuring and compiling): Document use of
43826         cross-test-ssh.sh.
43827         * INSTALL: Regenerated.
43829 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43831         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43832         EOPNOTSUPP.
43834 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43836         * Makeconfig (run-program-prefix): Fix comment.
43838 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43839             Jim Blandy  <jimb@codesourcery.com>
43841         * Makeconfig (test-wrapper): New variable,
43842         (test-wrapper-env): Likewise.
43843         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43844         (run-built-tests): Define to yes.
43845         (run-program-prefix): Use $(test-wrapper).
43846         (built-program-cmd): Likewise.
43847         * Rules (make-test-out): Use $(test-wrapper-env) and
43848         $(host-built-program-cmd).
43849         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43850         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43851         tst-pathopt.sh.
43852         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43853         $(test-wrapper-env) to tst-rtld-load-self.sh.
43854         ($(objpfx)order2.out): Use $(test-wrapper).
43855         ($(objpfx)tst-initorder.out): Likewise.
43856         ($(objpfx)tst-initorder2.out): Likewise.
43857         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43858         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43859         (test_wrapper_env): New variable.  Use it to run ld.so.
43860         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43861         Use it to run ld.so.
43862         (test_wrapper_env): Likewise.
43863         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43864         $(test-wrapper) to run-iconv-test.sh.
43865         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43866         (ICONV): Use $test_wrapper.
43867         * posix/Makefile ($(objpfx)globtest.out): Pass
43868         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43869         globtest.sh, not $(run-program-prefix).
43870         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43871         (test_wrapper): Likewise.
43872         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43873         set together with run_via_rtld_prefix.
43874         (run_program_prefix): Define in terms of test_wrapper and
43875         run_via_rtld_prefix.
43877 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43879         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43880         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43881         Targets removed.
43883         [BZ #14743]
43884         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43885         Declare __clock_getres, __clock_gettime, __clock_settime,
43886         __clock_nanosleep, and __clock_getcpuclockid.
43887         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43888         Remove librt_hidden_def (clock_gettime).
43889         * sysdeps/unix/clock_gettime.c: Likewise.
43890         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43891         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43892         * rt/clock_getres.c: Define __clock_getres as an alias.
43893         * sysdeps/posix/clock_getres.c: Likewise.
43894         * rt/clock_settime.c: Define __clock_settime as an alias.
43895         * sysdeps/unix/clock_settime.c: Likewise.
43896         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43897         * sysdeps/unix/clock_nanosleep.c: Likewise.
43898         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43899         * rt/clock-compat.c: New file.
43900         * rt/Makefile (librt-routines): Add clock-compat and move
43901         $(clock-routines) to ...
43902         (routines): ... here, new variable.
43903         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43904         Don't add get_clockfreq here.
43905         * rt/Versions (libc: GLIBC_2.17): New version set.
43906         Add clock_* symbols here.
43907         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43909         (GLIBC_2.17): Add clock_* symbols.
43910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43912         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43914         Likewise.
43915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43916         Likewise.
43917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43921         * NEWS: Mention the move.
43923         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43924         Use __open, __read, __close rather than their public counterparts.
43925         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43926         (__get_clockfreq_via_cpuinfo): Likewise.
43927         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43928         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43930         * config.h.in (HAVE_IFUNC): New #undef.
43931         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43932         was successful.
43933         * configure: Regenerated.
43935 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43937         * configure.in: Move READELF check to start of file.
43938         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43939         libc_cv_asm_gnu_indirect_function in the process.
43940         * configure: Regenerated.
43942 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43944         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43945         send the output to /dev/null.
43946         (libc_cv_cc_with_libunwind): Likewise.
43947         (libc_cv_as_noexecstack): Likewise.
43948         * configure: Regenerate.
43950 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43952         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43954         * posix/globtest.sh (TMPDIR): Do not set.
43955         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43956         (testout): Likewise.
43958 2012-10-24  Andreas Jaeger  <aj@suse.de>
43960         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43961         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43962         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43963         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43964         posix_fadvise64, posix_fallocate64.
43966         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43967         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43968         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43969         Likewise.
43970         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43971         Likewise.
43972         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43975         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43976         <bits/fcntl-linux.h>.
43977         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43979         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43980         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43981         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43982         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43983         [__WORDSIZE != 64]: Likewise.
43985 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43987         * Makeconfig (run-built-tests): New variable.
43988         * Rules [$(cross-compiling) = yes]: Change condition to
43989         [$(run-built-tests) = no].
43990         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43991         to [$(run-built-tests) = yes].
43992         * elf/Makefile [$(cross-compiling) = no]: Likewise
43993         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43994         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43995         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43996         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43997         * io/Makefile [$(cross-compiling) = no]: Likewise.
43998         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43999         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44000         * misc/Makefile [$(cross-compiling) = no]: Likewise.
44001         * posix/Makefile [$(cross-compiling) = no]: Likewise.
44002         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44003         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44004         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44005         * string/Makefile [$(cross-compiling) = no]: Likewise.
44007         * posix/Makefile ($(objpfx)globtest.out): Pass
44008         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44009         $(rtld-installed-name).
44010         * posix/globtest.sh (elf_objpfx): Remove variable.
44011         (rtld_installed_name): Likewise.
44012         (library_path): Likewise.
44013         (run_program_prefix): New variable.  Use for running globtest
44014         binary.
44016 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
44017             Joseph Myers  <joseph@codesourcery.com>
44019         * Makeconfig (host-built-program-cmd): New variable.
44020         * elf/Makefile (tst-stackguard1-ARGS): Use
44021         $(host-built-program-cmd).
44022         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44023         (tst-spawn-ARGS): Likewise.
44024         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44026 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
44027             Jim Blandy  <jimb@codesourcery.com>
44029         * Makeconfig (run-via-rtld-prefix): New variable.
44030         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44031         (built-program-cmd): Likewise.
44033 2012-10-22  Andreas Jaeger  <aj@suse.de>
44035         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44036         __O_RSYNC if it exists, otherwise to O_SYNC.
44038 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
44039             Joseph Myers  <joseph@codesourcery.com>
44041         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44042         /dev/null.
44043         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44044         from /dev/null
44045         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44046         /dev/null.
44048 2012-10-22  Andreas Jaeger  <aj@suse.de>
44050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44051         Define always.
44052         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44055         bits/fcntl-linux.h.
44057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44058         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44060         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44061         to __O_LARGEFILE.
44062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44063         to __O_LARGEFILE.
44065 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
44066             Joseph Myers  <joseph@codesourcery.com>
44068         * config.make.in (NM): New variable.
44070 2012-10-21  Andreas Jaeger  <aj@suse.de>
44072         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44073         definitions and declarations that are provided by
44074         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44076 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44078         [BZ #14683]
44079         * elf/Makefile (tests-static): Add tst-leaks1-static.
44080         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44081         ($(objpfx)tst-leaks1-static): New rule.
44082         ($(objpfx)tst-leaks1-static-mem): Likewise.
44083         (tst-leaks1-static-ENV): New macro.
44084         * elf/dl-open.c (dl_open_worker): Check the main application
44085         only if SHARED is defined.
44086         * elf/tst-leaks1-static.c: New file.
44088 2012-10-20  Andreas Jaeger  <aj@suse.de>
44090         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44091         generic values for Linux.
44092         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44093         and declarations that are provided by <bits/fcntl-linux.h> and
44094         include <bits/fcntl-linux.h>.
44095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44096         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44098 2012-10-20  Roland McGrath  <roland@hack.frob.com>
44100         * io/fcntl.h: Move include of <bits/types.h> to the top and
44101         include it unconditionally.
44103 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44105         * wcsmbs/Makefile (tests-ifunc): New variable.
44106         (tests): Add $(tests-ifunc).
44107         * wcsmbs/test-wcschr-ifunc.c: New file.
44108         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44109         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44110         * wcsmbs/test-wcslen-ifunc.c: Likewise.
44111         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44112         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44114         * string/Makefile (tests-ifunc): New variable.
44115         (tests): Add $(tests-ifunc).
44116         * string/test-memccpy.c (TEST_NAME): New macro.
44117         * string/test-memchr.c (TEST_NAME): Likewise.
44118         * string/test-memcmp.c (TEST_NAME): Likewise.
44119         * string/test-memcpy.c (TEST_NAME): Likewise.
44120         * string/test-memmem.c (TEST_NAME): Likewise.
44121         * string/test-memmove.c (TEST_NAME): Likewise.
44122         * string/test-memset.c (TEST_NAME): Likewise.
44123         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44124         * string/test-stpcpy.c (TEST_NAME): Likewise.
44125         * string/test-stpncpy.c (TEST_NAME): Likewise.
44126         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44127         * string/test-strcasestr.c (TEST_NAME): Likewise.
44128         * string/test-strcat.c (TEST_NAME): Likewise.
44129         * string/test-strchr.c (TEST_NAME): Likewise.
44130         * string/test-strcmp.c(TEST_NAME): Likewise.
44131         * string/test-strcpy.c (TEST_NAME): Likewise.
44132         * string/test-strcspn.c (TEST_NAME): Likewise.
44133         * string/test-strlen.c (TEST_NAME): Likewise.
44134         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44135         * string/test-strncmp.c (TEST_NAME): Likewise.
44136         * string/test-strncpy.c (TEST_NAME): Likewise.
44137         * string/test-strnlen.c (TEST_NAME): Likewise.
44138         * string/test-strpbrk.c (TEST_NAME): Likewise.
44139         * string/test-strrchr.c (TEST_NAME): Likewise.
44140         * string/test-strspn.c (TEST_NAME): Likewise.
44141         * string/test-strstr.c (TEST_NAME): Likewise.
44142         * string/test-bcopy-ifunc.c: New file.
44143         * string/test-bzero-ifunc.c: Likewise.
44144         * string/test-memccpy-ifunc.c: Likewise.
44145         * string/test-memchr-ifunc.c: Likewise.
44146         * string/test-memcmp-ifunc.c: Likewise.
44147         * string/test-memcpy-ifunc.c: Likewise.
44148         * string/test-memmem-ifunc.c: Likewise.
44149         * string/test-memmove-ifunc.c: Likewise.
44150         * string/test-mempcpy-ifunc.c: Likewise.
44151         * string/test-memset-ifunc.c: Likewise.
44152         * string/test-rawmemchr-ifunc.c: Likewise.
44153         * string/test-stpcpy-ifunc.c: Likewise.
44154         * string/test-stpncpy-ifunc.c: Likewise.
44155         * string/test-strcasecmp-ifunc.c: Likewise.
44156         * string/test-strcasestr-ifunc.c: Likewise.
44157         * string/test-strcat-ifunc.c: Likewise.
44158         * string/test-strchr-ifunc.c: Likewise.
44159         * string/test-strchrnul-ifunc.c: Likewise.
44160         * string/test-strcmp-ifunc.c: Likewise.
44161         * string/test-strcpy-ifunc.c: Likewise.
44162         * string/test-strcspn-ifunc.c: Likewise.
44163         * string/test-strlen-ifunc.c: Likewise.
44164         * string/test-strncasecmp-ifunc.c: Likewise.
44165         * string/test-strncat-ifunc.c: Likewise.
44166         * string/test-strncmp-ifunc.c: Likewise.
44167         * string/test-strncpy-ifunc.c: Likewise.
44168         * string/test-strnlen-ifunc.c: Likewise.
44169         * string/test-strpbrk-ifunc.c: Likewise.
44170         * string/test-strrchr-ifunc.c: Likewise.
44171         * string/test-strspn-ifunc.c: Likewise.
44172         * string/test-strstr-ifunc.c: Likewise.
44174         * debug/Makefile (tests-ifunc): New variable.
44175         (tests): Add $(tests-ifunc).
44176         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44177         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44178         * debug/test-stpcpy_chk-ifunc.c: New file.
44179         * debug/test-strcpy_chk-ifunc.c: Likewise.
44181 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44183         [BZ #13601]
44184         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44185         header is not read in.
44187 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44189         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44190         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44191         directly.  Pass built executable to script as
44192         $(built-program-cmd).
44193         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44194         $testprogram without using LD_LIBRARY_PATH and $ldso.
44196         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44197         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44198         $(rtld-installed-name).
44199         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44200         (rtld_installed_name): Likewise.
44201         (library_path): Likewise.
44202         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44203         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44204         $(run-program-prefix) to tst-tables.sh.
44205         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44206         it to run tst-table-from and tst-table-to.
44207         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44208         Pass it to tst-table.sh.
44209         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44210         $(run-program-prefix) to tst-gettext.sh.
44211         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44212         tst-translit.sh.
44213         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44214         tst-gettext2.sh.
44215         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44216         to run tst-gettext.
44217         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44218         to run tst-gettext2.
44219         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44220         to run tst-translit.
44221         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44222         $(run-program-prefix) to tst-mtrace.sh.
44223         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44224         to run tst-mtrace.
44225         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44226         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44227         $(rtld-installed-name).
44228         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44229         (rtld_installed_name): Likewise.
44230         (run_program_prefix): New variable.  Use it to run wordexp-test.
44232         * Makeconfig (ARCH): Remove all definitions.
44233         (machine): Likewise.
44234         [ARCH]: Remove conditional code.
44235         [!objdir]: Give error.
44236         [!objdir] (objpfx): Remove.
44237         [!objdir] (common-objpfx): Likewise.
44238         [!objdir] (common-objdir): Likewise.
44239         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44240         AC_CONFIG_FILES call.
44241         * configure: Regenerated.
44243         [BZ #13888]
44244         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44245         or TMPDIR.
44246         (testout): Likewise.
44248         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44249         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44250         $(rtld-installed-name).
44251         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44252         (rtld_installed_name): Likwise.
44253         (runit): Remove function.
44254         (run_getconf): New variable,  Use it for running getconf binary.
44256 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44258         [BZ #14716]
44259         * string/test-memmem.c (check_result): New function.
44260         (do_one_test): Use it.
44261         (check1): New function.
44262         (test_main): Use it.
44264 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44266         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44268 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44270         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44271         (_G_LSEEK64): Likewise.
44272         (_G_MMAP64): Likewise.
44273         (_G_FSTAT64): Likewise.
44274         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44275         (_G_LSEEK64): Likewise.
44276         (_G_MMAP64): Likewise.
44277         (_G_FSTAT64): Likewise.
44278         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44279         unconditional.  Call __mmap64 directly.
44280         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44281         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44282         __lseek64 directly.
44283         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44284         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44285         __mmap64 directly.
44286         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44287         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44288         __lseek64 directly.
44289         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44290         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44291         __lseek64 directly.
44292         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44293         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44294         __lseek64 directly.
44295         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44296         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44297         __fxstat64 directly.
44298         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44299         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44300         unconditional.
44301         (freopen64) [!_G_OPEN64]: Remove conditional code.
44302         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44303         unconditional.
44304         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44305         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44306         unconditional.
44307         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44308         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44309         unconditional.
44310         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44311         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44312         unconditional.
44313         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44314         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44315         unconditional.
44316         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44317         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44318         unconditional.
44319         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44320         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44321         unconditional.
44322         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44324 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44326         [BZ #12140]
44327         * manual/memory.texi (Malloc Tunable Parameters): Add note
44328         about free list pointers overwriting some perturb bytes.
44329         Wording suggested by Roland McGrath.
44331 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44333         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44334         (lgamma_test): Likewise.
44335         (tgamma_test): Likewise.
44337 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44339         [BZ #14700]
44340         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44341         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44343 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44345         * NEWS: Mention BZ #14716.
44346         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44347         when removing AVAILABLE1_USES_J macro.
44349 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44351         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44352         (__bswap_64): __uint64_t for unsigned 64-bit int.
44354 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44356         * include/string.h (memmem): Declare libc hidden alias.
44357         * string/memmem.c (memmem): Define libc hidden alias.
44358         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44359         __read, __close instead of open, read, close.
44361 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44364         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44365         global and hidden.
44366         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44367         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44368         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44369         Likewise.
44370         (__rawmemchr_sse2): Likewise.
44371         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44372         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44373         (__strchr_sse2): Likewise.
44374         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44375         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44376         (__strcasecmp_sse2): Likewise.
44377         (__strncasecmp_sse2): Likewise.
44378         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44379         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44380         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44381         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44382         (__strrchr_sse2): Likewise.
44383         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44384         ifunc-impl-list.c.
44385         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44386         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44387         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44388         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44389         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44390         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44391         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44392         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44393         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44394         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44395         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44396         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44397         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44398         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44399         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44400         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44401         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44402         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44403         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44404         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44405         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44406         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44407         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44408         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44409         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44410         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44411         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44412         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44413         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44414         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44416         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44417         global and hidden.
44418         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44419         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44420         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44421         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44422         Likewise.
44423         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44424         Likewise.
44425         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44426         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44427         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44428         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44429         ifunc-impl-list.c.
44430         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44431         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44432         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44433         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44434         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44435         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44436         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44437         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44438         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44439         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44440         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44441         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44442         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44443         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44444         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44445         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44446         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44447         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44448         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44449         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44450         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44451         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44452         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44453         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44454         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44455         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44456         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44457         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44458         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44459         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44460         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44461         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44462         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44463         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44464         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44465         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44466         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44467         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44468         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44469         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44470         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44472         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44473         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44474         * include/ifunc-impl-list.h: New file.
44475         * misc/ifunc-impl-list.c: Likewise.
44476         * misc/Makefile (routines): Add ifunc-impl-list.
44477         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44478         * string/test-string.h: Include <ifunc-impl-list.h>.
44479         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44480         TEST_NAME]: New variables.
44481         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44482         are defined.
44483         (test_init): Call __libc_ifunc_impl_list to initialize
44484         func_list if TEST_IFUNC and TEST_NAME are defined.
44486         * string/Makefile (strop-tests): Add bcopy and bzero.
44487         * string/test-bcopy.c: New file.
44488         * string/test-bzero.c: Likewise.
44489         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44490         defined.
44491         * string/test-memset.c: Support bzero test if TEST_BZERO is
44492         defined.
44493         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44494         __libc_memmove.
44495         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44496         __libc_memset.
44497         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44498         of memset.
44500 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44502         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44503         * configure: Regenerated.
44505         * Makeconfig (+link-static-before-libc): Don't include
44506         $(link-static-libc).
44508         * libio/libio.h (_IO_pos_t): Remove.
44510 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44512         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44513         McGrath.
44515 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44517         * crypt/crypt-entry.c: Include fips-private.h.
44518         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44519         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44520         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44521         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44523 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44525         * crypt/crypt-private.h: Include stdbool.h.
44526         (_ufc_setup_salt_r): Return bool.
44527         * crypt/crypt-entry.c: Include errno.h.
44528         (__crypt_r): Return NULL with EINVAL for bad salt.
44529         * crypt/crypt_util.c (bad_for_salt): New.
44530         (_ufc_setup_salt_r): Check that salt is long enough and within
44531         the specified alphabet.
44532         * crypt/badsalttest.c: New file.
44533         * crypt/Makefile (tests): Add it.
44534         ($(objpfx)badsalttest): New.
44536 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44538         * NEWS: Add entry for BZ #14602.
44540 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44542         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44543         type-generic.
44544         * math/libm-test.inc: Update comment listing what functions and
44545         macros are tested.
44546         (isgreater_test): New function.
44547         (isgreaterequal_test): Likewise.
44548         (isless_test): Likewise.
44549         (islessequal_test): Likewise.
44550         (islessgreater_test): Likewise.
44551         (isunordered_test): Likewise.
44552         (main): Call the new functions.
44554 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44556         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44557         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44558         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44559         * sysdeps/i386/configure: Regenerated.
44560         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44561         * sysdeps/mach/configure: Regenerated.
44562         * sysdeps/mach/hurd/configure: Regenerated.
44563         * sysdeps/powerpc/configure: Regenerated.
44564         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44565         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44566         * sysdeps/s390/s390-32/configure: Regenerated.
44567         * sysdeps/s390/s390-64/configure: Regenerated.
44568         * sysdeps/sh/configure: Regenerated.
44569         * sysdeps/sparc/configure: Regenerated.
44570         * sysdeps/unix/sysv/linux/configure: Regenerated.
44571         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44572         * sysdeps/x86_64/configure: Regenerated.
44574         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44575         defined.  Don't check if MAP is NULL.
44577 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44579         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44580         (_G_stat64): Likewise.
44581         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44582         (_G_stat64): Likewise.
44583         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44584         instead of struct _G_stat64.
44585         * libio/fileops.c (mmap_remap_check): Likewise.
44586         (decide_maybe_mmap): Likewise.
44587         (_IO_new_file_seekoff): Likewise.
44588         (_IO_file_stat): Likewise.
44589         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44590         _G_off64_t.
44591         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44592         instead of struct _G_stat64.
44593         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44595 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44597         [BZ #14602]
44598         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44599         Replace with ...
44600         (CHECK_EOL): New macro.
44601         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44602         CHECK_EOL.
44603         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44604         Replace with CHECK_EOL.
44605         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44606         Replace with CHECK_EOL.
44608 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44610         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44611         type-generic.
44612         * math/libm-test.inc: Update comment listing what functions and
44613         macros are tested.
44614         (finite_test): New function.
44615         (isinf_test): Likewise.
44616         (isnan_test): Likewise.
44617         (fpclassify_test): Test subnormal input.
44618         (isfinite_test): Likewise.
44619         (isnormal_test): Likewise.
44620         (main): Call the new functions.
44622 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44624         [BZ #14660]
44625         * Makerules (%.dynsym): Force C locale when running
44626         $(OBJDUMP) --dynamic-syms.
44628 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44630         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44631         <stdint.h>.
44633 2012-10-06  David S. Miller  <davem@davemloft.net>
44635         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44636         upper 32-bits of the length value in %o2 since we use branch-on-register
44637         tests which consider the entire 64-bit register.
44639 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44641         * string/test-strstr.c (check2): Add a test for page boundary.
44643 2012-10-05  David S. Miller  <davem@davemloft.net>
44645         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44646         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44647         file.
44648         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44649         sysdep_routines.
44650         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44651         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44652         and bzero when HWCAP_SPARC_CRYPTO is present.
44654 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44656         [BZ #14602]
44657         * string/test-strstr.c (check2): New function.
44658         (test_main): Call check2.
44660         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44661         and bug-strchr1.
44662         * string/bug-strcasestr1.c (do_test): Moved to ...
44663         * string/test-strcasestr.c (check1): Here.  New function.
44664         (do_one_test): Break out result checking code into ...
44665         (check_result): This.  New function.
44666         (do_one_test): Call check_result.
44667         (test_main): Call check1.
44668         * string/bug-strchr1.c (do_test): Moved to ...
44669         * string/test-strchr.c (check1): Here.  New function.
44670         (do_one_test): Break out result checking code into ...
44671         (check_result): This.  New function.
44672         (do_one_test): Call check_result.
44673         (test_main): Call check1.
44674         * string/bug-strstr1.c (main): Moved to ...
44675         * string/test-strstr.c (check1): Here.  New function.
44676         (do_one_test): Break out result checking code into ...
44677         (check_result): This.  New function.
44678         (do_one_test): Call check_result.
44679         (test_main): Call check1.
44680         * string/bug-strcasestr1.c: Removed.
44681         * string/bug-strchr1.c: Likewise.
44682         * string/bug-strstr1.c: Likewise.
44684         * elf/Makefile (dl-routines): Add hwcaps.
44685         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44686         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44687         (_dl_important_hwcaps): Moved to ...
44688         * elf/dl-hwcaps.c: Here.  New file.
44689         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44691         [BZ #14557]
44692         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44693         if IS_IN_rtld isn't defined.
44695         * elf/dl-support.c (_dl_sysinfo_map): New.
44696         Include "get-dynamic-info.h" and "setup-vdso.h".
44697         (_dl_non_dynamic_init): Call setup_vdso.
44698         * elf/dynamic-link.h: Don't include <assert.h>.
44699         (elf_get_dynamic_info): Moved to ...
44700         * elf/get-dynamic-info.h: Here.  New file.
44701         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44702         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44703         * elf/setup-vdso.h: Here.  New file.
44704         * elf/rtld.c: Include "setup-vdso.h".
44705         (dl_main): Call setup_vdso.
44707 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44709         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44710         creal in comment listing functions tested.  List finite, isinf,
44711         isnan, isless, islessequal, isgreater, isgreaterequal,
44712         islessgreater, isunordered, lgamma_r and pow10 as functions and
44713         macros not tested.  Mention which functions not tested are aliases
44714         for other functions.  Fix typo.  Note that signs of NaNs are not
44715         tested.
44717         * scripts/config.guess: Update from config.git.
44718         * scripts/config.sub: Likewise.
44720 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44722         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44723         * misc/madvise.c (madvise): Renamed to __madvise.
44724         Make madvise a weak alias.
44725         * include/sys/mman.h: Declare __madvise.
44726         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44727         * sysdeps/unix/syscalls.list
44728         (madvise): Make __madvise the strong name, and madvise a weak alias.
44729         * sysdeps/unix/sysv/linux/syscalls.list
44730         (madvise, mmap): Remove redundant entries.
44731         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44732         * malloc/malloc.c (mtrim): Likewise.
44733         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44735 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44737         * sysdeps/mach/hurd/dl-cache.c: File removed.
44738         * config.h.in (USE_LDCONFIG): New #undef.
44739         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44740         * configure: Regenerated.
44741         * elf/Makefile (dl-routines): Add dl-cache only under
44742         [$(use-ldconfig) = yes].
44743         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44744         cache on [USE_LDCONFIG].
44745         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44746         [USE_LDCONFIG].
44747         * elf/rtld.c (dl_main): Likewise.
44749 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44751         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44752         _SC_LEVEL4_CACHE_LINESIZE.
44754 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44756         * sysdeps/unix/bsd/confstr.h: File removed.
44758 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44760         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44761         sys/sdt-config.h.
44763 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44765         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44766         Make 'mapoff' field ElfW(Off) rather than off_t.
44768 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44770         * nscd/Makefile: Remove nscd-cflags and all its users.
44771         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44772         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44774         [BZ #10631]
44775         * malloc.c (malloc_printerr): Clarify error message.
44777 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44779         [BZ #14648]
44780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44781         Set bit_FMA_Usable if FMA is supported.
44782         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44783         macro.
44784         (bit_FMA4_Usable): Updated.
44785         (index_FMA_Usable): New macro.
44786         (CPUID_FMA): Likewise
44787         (HAS_FMA): Defined with bit_FMA_Usable.
44789 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44791         * bits/types.h (__swblk_t): Type removed.
44792         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44793         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44795         (__SWBLK_T_TYPE): Likewise.
44796         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44797         (__SWBLK_T_TYPE): Likewise.
44798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44799         (__SWBLK_T_TYPE): Likewise.
44800         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44801         (__SWBLK_T_TYPE): Likewise.
44803 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44804             Honza Horak <hhorak@redhat.com>
44806         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44807         (xdr_mapname): Use YPMAXMAP as maxsize.
44808         (xdr_peername): Use YPMAXPEER as maxsize.
44809         (xdr_keydat): Use YPAXRECORD as maxsize.
44810         (xdr_valdat): Use YPMAXRECORD as maxsize.
44812 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44814         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44816         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44817         * csu/init-first.c: ... here.
44818         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44819         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44820         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44821         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44822         * sysdeps/i386/init-first.c: File removed.
44823         * sysdeps/sh/init-first.c: File removed.
44825 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44827         [BZ #14645]
44828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44829         if x * y might underflow to zero and z is zero.
44830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44831         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44832         * math/libm-test.inc (min_subnorm_value): New variable.
44833         (fma_test): Add more tests.
44834         (fma_test_towardzero): Likewise.
44835         (fma_test_downward): Likewise
44836         (fma_test_upward): Likewise.
44837         (initialize): Set min_subnorm_value.
44839 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44841         [BZ #14638]
44842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44843         0 + 0.
44844         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44845         mode for addition resulting in exact zero.
44846         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44847         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44848         exact 0 + 0.
44849         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44850         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44851         * math/libm-test.inc (fma_test): Add more tests.
44852         (fma_test_towardzero): New function.
44853         (fma_test_downward): Likewise.
44854         (fma_test_upward): Likewise.
44855         (main): Call the new functions.
44857 2012-09-28  David S. Miller  <davem@davemloft.net>
44859         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44861 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44863         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44864         instead of SIGALRM.
44866         * sysdeps/gnu/_G_config.h: Moved to ...
44867         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44868         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44869         * sysdeps/generic/_G_config.h: ... here.
44871         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44873         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44875         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44876         Conditionalize target on [libnss_test1.so-version].
44878         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44880         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44881         (elfobjdir): Move out of conditionals.
44883         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44884         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44885         (__nss_lookup_function): Conditionalize label remove_from_tree on
44886         [!DO_STATIC_NSS || SHARED], matching its only use.
44888 2012-09-28  David S. Miller  <davem@davemloft.net>
44890         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44891         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44892         file.
44893         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44894         sysdep_routines.
44895         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44897         when HWCAP_SPARC_CRYPTO is present.
44899 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44901         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44903 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44905         [BZ #6530]
44906         * stdio-common/vfprintf.c (process_string_arg): Revert
44907         2000-07-22 change.
44909 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44911         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44912         for testcase.
44913         * stdio-common/tst-sprintf.c: Include <locale.h>
44914         (main): Test sprintf's handling of incomplete multibyte
44915         characters.
44917 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44919         * elf/dl-runtime.c (VERSYMIDX): Removed.
44920         * elf/dl-version.c (VERSYMIDX): Likewise.
44921         * elf/do-rel.h (VERSYMIDX): Likewise.
44922         (VALIDX): Likewise.
44923         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44924         * elf/rtld.c (VALIDX): Likewise.
44925         (ADDRIDX): Likewise.
44926         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44927         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44928         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44929         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44930         (VALIDX): Likewise.
44931         (ADDRIDX): Likewise.
44933 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44935         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44937 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44939         [BZ #11438]
44940         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44941         to global scope.
44942         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44943         addresses are in the same scope as 192.0.2/24.
44944         * posix/gai.conf: Document new scope table defaults.
44946 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44948         [BZ #5298]
44949         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44950         for ftell.  Compute offsets from write pointers instead.
44951         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44953 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         [BZ #14543]
44956         * libio/Makefile (tests): New test case tst-fseek.
44957         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44958         combination works in wide mode.
44959         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44960         state when the external buffer state changes.
44962 2012-09-27  David S. Miller  <davem@davemloft.net>
44964         [BZ #14376]
44965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44966         pass reloc->r_addend in as the 'high' argument to
44967         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44971 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44973         * rt/tst-aio2.c: Include <pthread.h>.
44974         * rt/tst-aio3.c: Likewise.
44976 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44978         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44980 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44982         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44983         contents on [SHARED].
44985 2012-09-26  Marek Polacek  <polacek@redhat.com>
44987         [BZ #14530]
44988         [BZ #13741]
44989         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44990         for C++ and GCC <4.3 as well as for non GCC compilers.
44992 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44996 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44998         * Makefile.in (all, install): Declare with .PHONY.
44999         Reported by Michael Hope <michael.hope@linaro.org>.
45001 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45003         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45004         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45005         system header.
45006         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45007         Likewise.
45008         (sydep_routines): Add the new and the internal functions.
45009         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45010         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45012         (GLIBC_2.17): Add the new function.
45013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45014         (GLIBC_2.17): Likewise.
45015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45016         (GLIBC_2.17): Likewise.
45017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45018         (GLIBC_2.17): Likewise.
45019         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45021 2012-09-25  Alan Modra  <amodra@gmail.com>
45023         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45024         Add release barrier before setting once_control to say
45025         initialisation is done.  Add hints on lwarx.  Use macro in
45026         place of isync.
45027         (clear_once_control): Add release barrier.
45029 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45031         [BZ #13629]
45032         * math/s_clog.c (__clog): Handle more values close to |z| = 1
45033         specially.
45034         * math/s_clog10.c (__clog10): Likewise.
45035         * math/s_clog10f.c (__clog10f): Likewise.
45036         * math/s_clog10l.c (__clog10l): Likewise.
45037         * math/s_clogf.c (__clogf): Likewise.
45038         * math/s_clogl.c (__clogl): Likewise.
45039         * math/Makefile (libm-calls): Add x2y2m1.
45040         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45041         (__x2y2m1): Likewise.
45042         (__x2y2m1l): Likewise.
45043         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45044         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45045         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45046         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45047         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45048         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45049         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45050         * sysdeps/i386/fpu/libm-test-ulps: Update.
45051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45053         [BZ #14621]
45054         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45055         int as type of variable DEPTH.
45056         (glob): Use size_t instead of int as type of variables NEWCOUNT
45057         and OLD_PATHC.
45059 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45061         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45062         Add s_sincosf-sse2.
45063         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45064         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45065         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45066         macros for using routine as __sincosf_ia32.
45067         Use macro for function declaration and weak_alias.
45068         * sysdeps/i386/fpu/libm-test-ulps: Update.
45070         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45073         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45074         subnormal argument.
45075         * math/s_cexpf.c (__cexpf): Likewise.
45076         * math/s_csinf.c (__csinf): Likewise.
45077         * math/s_csinhf.c (__csinhf): Likewise.
45078         * math/s_ctanf.c (__ctanf): Likewise.
45079         * math/s_ctanhf.c (__ctanhf): Likewise.
45080         * math/s_ccosh.c (__ccoshf): Likewise.
45081         * math/s_cexp.c (__cexpl): Likewise.
45082         * math/s_csin.c (__csin): Likewise.
45083         * math/s_csinh.c (__csinh): Likewise.
45084         * math/s_ctan.c (__ctan): Likewise.
45085         * math/s_ctanh.c (ctanh): Likewise.
45086         * math/s_ccoshl.c (__ccoshl): Likewise.
45087         * math/s_cexpl.c (__cexpl): Likewise.
45088         * math/s_csinl.c (__csinl): Likewise.
45089         * math/s_csinhl.c (__csinhl): Likewise.
45090         * math/s_ctanl.c (__ctanl): Likewise.
45091         * math/s_ctanhl.c (__ctanhl): Likewise.
45093 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45095         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45096         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45097         (_IO_off_t): Define to __off_t, not _G_off_t.
45098         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45099         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45100         (_IO_wint_t): Define to wint_t, not _G_wint_t.
45101         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45102         type of __dummy and __dummy2 fields.
45103         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45104         (_G_ssize_t): Likewise.
45105         (_G_off_t): Likewise.
45106         (_G_pid_t): Likewise.
45107         (_G_uid_t): Likewise.
45108         (_G_wchar_t): Likewise.
45109         (_G_wint_t): Likewise.
45110         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45111         (_G_ssize_t): Likewise.
45112         (_G_off_t): Likewise.
45113         (_G_pid_t): Likewise.
45114         (_G_uid_t): Likewise.
45115         (_G_wchar_t): Likewise.
45116         (_G_wint_t): Likewise.
45117         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45118         (_G_ssize_t): Likewise.
45119         (_G_off_t): Likewise.
45120         (_G_pid_t): Likewise.
45121         (_G_uid_t): Likewise.
45122         (_G_wchar_t): Likewise.
45123         (_G_wint_t): Likewise.
45125 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45127         * malloc/arena.c: Include malloc-sysdep.h.
45128         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45129         is sufficient to shrink the heap or an unmap is needed.
45130         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45131         new function check_may_shrink_heap.
45132         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45133         new function check_may_shrink_heap.
45135 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45137         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45138         comments.
45140 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45142         * catgets/test-gencat.sh: Add "set -e".
45143         * elf/tst-pathopt.sh: Likewise.
45144         * grp/tst_fgetgrent.sh: Likewise.
45145         * iconvdata/run-iconv-test.sh: Likewise.
45146         * intl/tst-gettext.sh: Likewise.
45147         * intl/tst-gettext2.sh: Likewise.
45148         * intl/tst-gettext4.sh: Likewise.
45149         * intl/tst-gettext6.sh: Likewise.
45150         * intl/tst-translit.sh: Likewise.
45151         * io/ftwtest-sh: Likewise.
45152         * libio/test-freopen.sh: Likewise.
45153         * malloc/tst-mtrace.sh: Likewise.
45154         * posix/globtest.sh: Likewise.
45155         * posix/tst-getconf.sh: Likewise.
45156         * posix/wordexp-tst.sh: Likewise.
45157         * stdio-common/tst-printf.sh: Likewise.
45158         * stdio-common/tst-unbputc.sh: Likewise.
45159         * stdlib/tst-fmtmsg.sh: Likewise.
45160         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45161         * catgets/Makefile: Do not specify -e option when running
45162         testsuite shell scripts.
45163         * elf/Makefile: Likewise.
45164         * grp/Makefile: Likewise.
45165         * iconvdata/Makefile: Likewise.
45166         * intl/Makefile: Likewise.
45167         * io/Makefile: Likewise.
45168         * libio/Makefile: Likewise.
45169         * malloc/Makefile: Likewise.
45170         * posix/Makefile: Likewise.
45171         * stdio-common/Makefile: Likewise.
45172         * stdlib/Makefile: Likewise.
45173         * sysdeps/x86_64/Makefile: Likewise.
45175         * io/ftwtest-sh: Add copyright header.
45176         * posix/globtest.sh: Likewise.
45177         * posix/tst-getconf.sh: Likewise.
45178         * posix/wordexp-tst.sh: Likewise.
45179         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45181 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45183         [BZ #13679]
45184         * Makeconfig (+link): Defined as $(+link-static) if
45185         $(build-shared) isn't yes.
45186         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45187         isn't yes.
45188         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45190         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45192         [BZ #14562]
45193         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45194         new chunk size with MALLOC_ALIGN_MASK.
45196 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45198         [BZ #5044]
45199         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45200         <rounding-mode.h>.
45201         (__printf_fphex): Determine rounding using get_rounding_mode and
45202         round_away.
45203         * stdio-common/tst-printf-round.c (struct hex_test): New
45204         structure.
45205         (hex_tests): New variable.
45206         (test_hex_in_one_mode): New function.
45207         (do_test): Also run tests for hex float output.
45209 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45211         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45212         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45213         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45214         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45215         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45216         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45217         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45218         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45220 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45222         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45223         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45224         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45225         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45227 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45229         [BZ #14579]
45230         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45231         mode only.
45232         * elf/tst-rtld-load-self.sh: New test.
45233         * elf/Makefile: Run it.
45235 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45237         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45238         (tst-writev-ENV): Remove.
45239         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45241 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45243         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45245 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45247         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45248         unconditional.
45249         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45250         Likewise.
45251         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45252         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45253         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45254         Likewise.
45256 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45258         [BZ #14587]
45259         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45260         * config.make.in (have-cpp-asm-debuginfo): Removed.
45261         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45262         * configure: Regenerated.
45264 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45266         [BZ #5044]
45267         * stdio-common/printf_fp.c: Include <stdbool.h> and
45268         <rounding-mode.h>.
45269         (___printf_fp): Determine rounding using get_rounding_mode and
45270         round_away.
45271         * stdio-common/tst-printf-round.c: New file.
45272         * stdio-common/Makefile (tests): Add tst-printf-round.
45273         (link-libm): New variable.
45274         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45276 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45278         [BZ #14576]
45279         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45280         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45281         Likewise.
45282         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45283         Likewise.
45285 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45287         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45288         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45289         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45292 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45294         [BZ #14518]
45295         * include/rounding-mode.h: New file.
45296         * sysdeps/generic/get-rounding-mode.h: Likewise.
45297         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45298         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45299         (MAX_VALUE): New macro.
45300         (MIN_VALUE): Likewise.
45301         (overflow_value): New function.
45302         (underflow_value): Likewise.
45303         (round_and_return): Use overflow_value and underflow_value to
45304         determine return values in overflow and underflow cases.  Use
45305         round_away to determine rounding depending on rounding mode.
45306         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45307         determine return values in overflow and underflow cases.
45308         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45309         (struct test_results): New structure.
45310         (struct test): Use struct test_results to store expected results
45311         for all rounding modes.
45312         (TEST): Include expected results for all rounding modes.
45313         (test_in_one_mode): New function.
45314         (do_test): Use test_in_one_mode to compute and check results.
45315         Check results for all rounding modes.
45316         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45317         $(link-libm).
45319 2012-12-09  Allan McRae  <allan@archlinux.org>
45321         * sysdeps/i386/fpu/libm-test-ulps: Update
45323 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45325         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45326         (_G_int32_t): Likewise.
45327         (_G_uint16_t): Likewise.
45328         (_G_uint32_t): Likewise.
45329         (_G_HAVE_BOOL): Likewise.
45330         (_G_HAVE_ATEXIT): Likewise.
45331         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45332         (_G_HAVE_IO_FILE_OPEN): Likewise.
45333         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45334         (_G_int32_t): Likewise.
45335         (_G_uint16_t): Likewise.
45336         (_G_uint32_t): Likewise.
45337         (_G_HAVE_BOOL): Likewise.
45338         (_G_HAVE_ATEXIT): Likewise.
45339         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45340         (_G_HAVE_IO_FILE_OPEN): Likewise.
45341         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45342         (_G_int32_t): Likewise.
45343         (_G_uint16_t): Likewise.
45344         (_G_uint32_t): Likewise.
45345         (_G_HAVE_BOOL): Likewise.
45346         (_G_HAVE_ATEXIT): Likewise.
45347         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45348         (_G_HAVE_IO_FILE_OPEN): Likewise.
45350 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45352         * csu/libc-tls.c: Update copyright years.
45354 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45356         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45357         [!_G_USING_THUNKS]: Remove conditional code.
45358         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45359         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45361         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45362         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45363         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45364         (_G_VTABLE_LABEL_PREFIX): Likewise.
45365         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45366         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45367         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45368         (_G_VTABLE_LABEL_PREFIX): Likewise.
45369         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45370         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45371         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45372         (_G_VTABLE_LABEL_PREFIX): Likewise.
45373         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45375 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45377         * libio/Makefile: Include ../Makeconfig before tests.
45378         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45379         only if $(build-shared) is yes.
45381         * iconv/gconv_db.c: Update copyright years.
45383 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45385         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45386         unwind info if defined PIC. Fix special cases description.
45387         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45389         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45390         DP_HI_MASK entry.
45391         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45393 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45395         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45397         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45398         is NULL.
45400         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45401         (LDLIBS-tst-chk4): This.
45402         (LDFLAGS-tst-chk5): Renamed to ...
45403         (LDLIBS-tst-chk5): This.
45404         (LDFLAGS-tst-chk6): Renamed to ...
45405         (LDLIBS-tst-chk6): This.
45406         (LDFLAGS-tst-lfschk4): Renamed to ...
45407         (LDLIBS-tst-lfschk4): This.
45408         (LDFLAGS-tst-lfschk5): Renamed to ...
45409         (LDLIBS-tst-lfschk5): This.
45410         (LDFLAGS-tst-lfschk6): Renamed to ...
45411         (LDLIBS-tst-lfschk6): This.
45413         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45414         on $(common-objpfx)soversions.mk.
45416 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45418         [BZ #10014]
45419         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45420         example host name.
45422 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45424         * malloc/arena.c (arena_get_retry): New function that gets
45425         another arena for the caller to try its request on.
45426         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45427         current arena cannot fulfill the request.
45428         (__libc_memalign): Likewise.
45429         (__libc_memalign): Likewise.
45430         (__libc_pvalloc): Likewise.
45431         (__libc_calloc): Likewise.
45433 2012-09-05  John Tobey  <john.tobey@gmail.com>
45435         [BZ #13542]
45436         * manual/arith.texi (Operations on Complex): Fix description
45437         of carg branch cut.
45439 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45441         [BZ #10014]
45442         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45443         host name.
45445         [BZ #10038]
45446         * manual/memory.texi (Memory): Make order of menu items match
45447         order of sections.
45449 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45451         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45452         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45453         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45455 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45457         * csu/libc-tls.c (static_dtv): Renamed to ...
45458         (_dl_static_dtv): This.  Make it global.
45459         (_dl_initial_dtv): Removed.
45460         (__libc_setup_tls): Updated.
45461         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45462         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45463         DL_INITIAL_DTV.
45465 2012-09-06  Petr Machata  <pmachata@redhat.com>
45467         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45468         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45469         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45470         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45472 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45474         [BZ #14545]
45475         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45476         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45477         freeing dtv[-1].
45479 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45481         [BZ #14544]
45482         * Makeconfig (link-static-before-libc): Replace $(+prector)
45483         with $(+prectorT).
45484         (link-static-after-libc): Replace $(+postctor) with
45485         $(+postctorT).
45486         (link-bounded): Replace $(+prector)/$(+postctor) with
45487         $(+prectorT)/$(+postctorT).
45488         (+prectorT): New macro.
45489         (+postctorT): Likewise.
45491 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45493         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45494         (round_str): Handle values above the maximum for IBM long double
45495         as inexact.
45496         * stdlib/tst-strtod-round.c (tests): Regenerated.
45498 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45500         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45501         assembler flag.
45502         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45503         zarch_nohighgprs around the zarch optimized routines.
45504         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45505         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45506         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45507         for zarch.
45509 2012-09-05  David S. Miller  <davem@davemloft.net>
45511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45513         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45514         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45515         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45516         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45517         entries.
45519 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45521         * malloc/arena.c: Fold copyright years.
45522         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45524 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45526         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45528 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45530         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45532 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45534         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45535         change internal state upon failure.
45537 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45539         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45540         * malloc/memusage.c (mmap): Likewise.
45541         (mmap64, mremap): Likewise.  Adjust name in comment.
45543 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45545         * libio/fileops.c: Fix typos in comments.
45546         * libio/oldfileops.c: Likewise.
45547         * libio/wfileops.c: Likewise.
45549 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45551         [BZ #1349]
45552         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45553         (tst-malloc-usable-ENV): Set environment for test case.
45554         * malloc/hooks.c (malloc_check_get_size): New function to get
45555         requested size.
45556         * malloc/malloc.c (musable): Use malloc_check_get_size.
45557         * malloc/tst-malloc-usable.c: New test case.
45559 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45561         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45563 2012-09-05  Allan McRae  <allan@archlinux.org>
45565         [BZ #13966]
45566         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45567         determine header location.
45568         * configure: Regenerated.
45570 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45572         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45573         float format.
45574         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45575         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45576         format.
45577         (test): Regenerate.
45579 2012-09-04  David S. Miller  <davem@davemloft.net>
45581         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45582         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45585 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45587         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45588         failures.
45590         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45592 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45594         [BZ #9914]
45595         * libio/iogetdelim.c: Include <limits.h>.
45596         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45597         + len + 1 would overflow.
45599 2012-09-03  Andreas Jaeger  <aj@suse.de>
45601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45602         * sysdeps/i386/fpu/libm-test-ulps: Update.
45604 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45606         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45607         Add s_sinf-sse2, s_conf-sse2.
45609         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45610         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45611         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45612         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45614         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45615         for using routine as __sinf_ia32.
45616         Use macro for function declaration and weak_alias.
45617         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45618         for using routine as __cosf_ia32.
45619         Use macro for function declaration and weak_alias.
45621         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45622         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45624         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45625         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45628         * math/libm-test.inc (cos_test): Add more test cases.
45629         (sin_test): Likewise.
45630         (sincos_test): Likewise.
45632 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45634         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45635         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45636         hidden.
45637         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45639 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45641         [BZ #14538]
45642         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45643         first element of the GOT.
45644         (elf_machine_load_address): Return the difference between
45645         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45647 2012-09-01  Allan McRae  <allan@archlinux.org>
45649         [BZ #13412]
45650         * configure.in (AWK): Require gawk version 3.0 or later.
45651         * configure: Regenerated.
45653 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45655         * sysdeps/unix/sysv/linux/kernel-features.h
45656         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45657         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45658         [__NR_clock_getres]: Make code unconditional.
45659         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45660         (clock_getcpuclockid): Remove code left unreachable by removal of
45661         conditionals.
45662         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45663         code unconditional.
45664         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45665         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45666         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45667         Make code unconditional.
45668         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45669         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45670         * sysdeps/unix/sysv/linux/clock_settime.c
45671         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45672         conditional code.
45673         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45674         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45676 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45678         [BZ #14476]
45679         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45680         scripts/test-installation.pl.
45682         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45683         and $ld_so_version if it is set.
45685 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45687         [BZ #14516]
45688         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45689         failure if reading from procfs failed.
45690         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45692 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45694         * sysdeps/unix/sysv/linux/kernel-features.h
45695         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45696         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45697         Remove conditional code.
45698         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45699         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45700         Remove conditional code.
45701         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45702         * sysdeps/unix/sysv/linux/i386/fxstat.c
45703         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45704         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45705         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45706         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45707         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45708         * sysdeps/unix/sysv/linux/i386/lxstat.c
45709         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45710         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45711         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45712         Remove conditional code.
45713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45714         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45715         Remove conditional code.
45716         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45718         <kernel-features.h>.
45719         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45720         Remove.
45721         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45722         Remove conditional code.
45723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45724         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45725         Remove conditional.
45727 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45729         [BZ #5400]
45730         * NEWS: Add fixed bug number.
45732 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45734         [BZ #14519]
45735         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45736         underflowing exponent in case of negative sign.
45737         * stdlib/tst-strtod-round-data: Add more tests.
45738         * stdlib/tst-strtod-round.c (tests): Regenerated.
45740         [BZ #3479]
45741         * stdlib/strtod_l.c (NDIG): Remove.
45742         (HEXNDIG): Likewise.
45743         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45744         smallest representable value.
45745         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45746         lie within an exact representation of 1/2 ulp of the result.
45747         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45748         unconditionally.
45749         (TENS_P9_IDX): Define unconditionally.
45750         (TENS_P9_SIZE): Likewise.
45751         (TENS_P10_IDX): Likewise.
45752         (TENS_P10_SIZE): Likewise.
45753         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45754         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45755         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45756         entries for 10^2^13 and 10^2^14.
45757         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45758         (TENS_P13_IDX): Define.
45759         (TENS_P13_SIZE): Likewise.
45760         (TENS_P14_IDX): Likewise.
45761         (TENS_P14_SIZE): Likewise.
45762         (_fpioconst_pow10): Change array size to
45763         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45764         unconditional.
45765         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45766         1024]: Add entries for 10^2^13 and 10^2^14.
45767         [LAST_POW10 > _LAST_POW10]: Remove #error.
45768         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45769         (_fpioconst_pow10): Change array size to
45770         FPIOCONST_POW10_ARRAY_SIZE.
45771         * stdlib/gen-fpioconst.c: New file.
45772         * stdlib/gen-tst-strtod-round.c: Likewise.
45773         * stdlib/tst-strtod-round-data: Likewise.
45774         * stdlib/tst-strtod-round.c: Likewise.
45775         * stdlib/Makefile (tests): Add tst-strtod-round.
45777         [BZ #14459]
45778         * stdlib/strtod_l.c: Include <stdint.h>.
45779         (NDEBUG): Do not define.
45780         (round_and_return): Change EXPONENT parameter to type intmax_t.
45781         Rearrange calculations to avoid internal overflow possibilities.
45782         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45783         Rearrange calculations to avoid internal overflow possibilities.
45784         Assert that number fits inside MPNSIZE limbs.
45785         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45786         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45787         calculations and add assertions to avoid internal overflow
45788         possibilities.  Add casts to avoid signed/unsigned operations.
45789         * stdlib/tst-strtod-overflow.c: New file.
45790         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45792 2012-08-25  Marek Polacek  <polacek@redhat.com>
45794         * time/time.h: Fix some typos in comments.
45796 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45798         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45799         * posix/tst-rfc3484-2.c: Likewise.
45800         * posix/tst-rfc3484-3.c: Likewise.
45802 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45804         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45805         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45807 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45809         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45810         #include of fxstatat64.c.
45812 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45814         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45815         * shadow/getspent_r.c: Likewise.
45816         * shadow/getspnam.c: Likewise.
45817         * shadow/getspnam_r.c: Likewise.
45818         * gshadow/getsgent.c: Likewise.
45819         * gshadow/getsgent_r.c: Likewise.
45820         * gshadow/getsgnam.c: Likewise.
45821         * gshadow/getsgnam_r.c: Likewise.
45822         * inet/getnetbyad.c: Likewise.
45823         * inet/getnetbyad_r.c: Likewise.
45824         * inet/getnetbynm.c: Likewise.
45825         * inet/getnetbynm_r.c: Likewise.
45826         * inet/getnetent.c: Likewise.
45827         * inet/getnetent_r.c: Likewise.
45828         * inet/getproto.c: Likewise.
45829         * inet/getproto_r.c: Likewise.
45830         * inet/getprtent.c: Likewise.
45831         * inet/getprtent_r.c: Likewise.
45832         * inet/getprtname.c: Likewise.
45833         * inet/getprtname_r.c: Likewise.
45834         * inet/getrpcbyname.c: Likewise.
45835         * inet/getrpcbyname_r.c: Likewise.
45836         * inet/getrpcbynumber.c: Likewise.
45837         * inet/getrpcbynumber_r.c: Likewise.
45838         * inet/getrpcent.c: Likewise.
45839         * inet/getrpcent_r.c: Likewise.
45840         * inet/getaliasent.c: Likewise.
45841         * inet/getaliasent_r.c: Likewise.
45842         * inet/getaliasname.c: Likewise.
45843         * inet/getaliasname_r.c: Likewise.
45844         * nscd/getgrgid_r.c: Likewise.
45845         * nscd/getgrnam_r.c: Likewise.
45846         * nscd/gethstbyad_r.c: Likewise.
45847         * nscd/gethstbynm3_r.c: Likewise.
45848         * nscd/getpwnam_r.c: Likewise.
45849         * nscd/getpwuid_r.c: Likewise.
45850         * nscd/getsrvbynm_r.c: Likewise.
45851         * nscd/getsrvbypt_r.c: Likewise.
45852         * nscd/gai.c: Likewise.
45854         * configure.in (build_nscd): New substituted variable, set
45855         by --disable-build-nscd and defaults to $use_nscd.
45856         * configure: Regenerated.
45857         * config.make.in (build-nscd): New substituted variable.
45858         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45859         Change conditional to require [$(build-nscd) = yes] as well.
45860         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45862         [BZ# 13696]
45863         * configure.in (use_nscd): New substituted variable, set by
45864         --disable-nscd.  If enabled, define USE_NSCD.
45865         * configure: Regenerated.
45866         * config.h.in: Add USE_NSCD.
45867         * config.make.in (use-nscd): New substituted variable.
45868         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45869         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45870         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45871         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45872         (CFLAGS-getgrnam_r.c): Likewise.
45873         (CFLAGS-initgroups.c): Likewise.
45874         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45875         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45876         Variables removed.
45877         * inet/getnetgrent_r.c
45878         (nscd_setnetgrent): New function, broken out of ...
45879         (setnetgrent): ... here.  Call it.
45880         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45881         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45882         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45883         * nscd/Makefile (routines, aux): Move definitions after include of
45884         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45885         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45886         Conditionalize on [USE_NSCD].
45887         (is_nscd, nscd_init_cb): Likewise.
45888         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45889         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45890         * nss/nss_db/db-init.c: Likewise.
45891         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45892         [USE_NSCD].
45893         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45894         (make_request): Use it.
45895         (cache_valid_p): New function.
45896         (__check_pf): Use it.
45897         * NEWS: Add item for --disable-nscd.
45899 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45901         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45902         to support sed >= 4.2.1-20-ga9bf076.
45903         * configure: Regenerated.
45905 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45907         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45908         Conditionalize whole body on [IREL].
45910 2012-08-22  Jeff Law <law@redhat.com>
45912         [BZ #14505]
45913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45914         if the family is PF_UNSPEC.
45916 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45918         * Makerules (lib-version): Rename from V.
45919         (install-lib-nosubdir): Change V to lib-version.
45921 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45923         [BZ #14252]
45924         * powerpc32/power6/wcschr.c: New file.
45925         * powerpc32/power6/wcscpy.c: New file.
45926         * powerpc32/power6/wcsrchr.c: New file.
45927         * powerpc64/power6/wcschr.c: New file.
45928         * powerpc64/power6/wcscpy.c: New file.
45929         * powerpc64/power6/wcsrchr.c: New file.
45931 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45933         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45934         (two_way_short_needle): Use it.
45935         * string/strstr.c (AVAILABLE1_USES_J): Define.
45936         * string/strcasestr.c: Likewise.
45938         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45939         array references.
45940         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45942         [BZ #11607]
45943         * NEWS: Add an entry.
45944         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45945         define their defaults.
45946         (two_way_short_needle): Detect end-of-string on-the-fly.
45947         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45948         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45949         * string/bug-strcasestr1.c: New test.
45950         * string/Makefile: Run it.
45952 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45954         [BZ #11607]
45955         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45956         the first character.
45958 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45960         * csu/elf-init.c (__libc_csu_irel): Function removed.
45961         * csu/libc-start.c (apply_irel): New function.
45962         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45964 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45966         * sysdeps/unix/sysv/linux/kernel-features.h
45967         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45968         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45969         <kernel-features.h>.
45970         [__NR_fadvise64_64]: Make code unconditional.
45971         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45972         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45973         !__NR_fadvise64_64)]: Likewise.
45974         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45975         !__NR_fadvise64_64))]: Likewise.
45976         [__NR_fadvise64]: Make code unconditional.
45977         [!__NR_fadvise64]: Remove conditional code.
45978         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45979         <kernel-features.h>.
45980         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45981         unconditional.
45982         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45983         conditional code.
45984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45985         not include <kernel-features.h>.
45986         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45987         unconditional.
45988         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45989         conditional code.
45990         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45991         include <kernel-features.h>.
45992         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45993         unconditional.
45994         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45995         conditional code.
45997 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46000         slight instruction rearrangements per scrollpipe analysis.
46001         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46003 2012-08-20  Roland McGrath  <roland@hack.frob.com>
46005         * manual/syslog.texi (syslog; vsyslog, closelog):
46006         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46007         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46009         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46010         DSOCAPS to match condition on defining it.
46012 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
46014         * sysdeps/unix/sysv/linux/kernel-features.h
46015         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46017         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46018         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46020         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46021         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46023         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46024         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46026         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46027         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46029         * sysdeps/unix/sysv/linux/kernel-features.h
46030         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46031         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46032         unconditional.
46033         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46034         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46035         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46036         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46037         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46038         Make code unconditional.
46039         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46040         (__mmap64) [!__NR_mmap2]: Likewise.
46041         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46042         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46043         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46044         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46045         [__NR_mmap2]: Make code unconditional.
46046         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46047         (__mmap64) [!__NR_mmap2]: Likewise.
46049 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46051         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46053 2012-08-18  Andreas Jaeger  <aj@suse.de>
46055         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46057 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46059         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46060         * include/unistd.h (__have_sock_cloexec): Likewise.
46061         (__have_pipe2): Likewise.
46062         (__have_dup3): Likewise.
46064 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46066         [BZ #9685]
46067         * include/unistd.h (__have_pipe2): Change define into an extern int.
46068         (__have_dup3): Likewise.
46069         * socket/have_sock_cloexec.c: Include fcntl.h.
46070         (__have_pipe2): New variable.
46071         (__have_dup3): Likewise.
46073 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
46075         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46077 2012-08-17  Marek Polacek  <polacek@redhat.com>
46079         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46080         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46082 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46084         * configure.in: Add AC_SUBST for sysheaders.
46085         * configure: Regenerated.
46086         * config.make.in (sysheaders): New substituted variable.
46088         * sysdeps/unix/mkfifo.c: Moved ...
46089         * sysdeps/posix/mkfifo.c: ... here.
46090         * sysdeps/unix/mkfifoat.c: Moved ...
46091         * sysdeps/posix/mkfifoat.c: ... here.
46093         * sysdeps/unix/utime.c: Moved ...
46094         * sysdeps/posix/utime.c: ... here.
46096         * sysdeps/unix/time.c: Moved ...
46097         * sysdeps/posix/time.c: ... here.
46098         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46099         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46101         * sysdeps/unix/nice.c: Moved ...
46102         * sysdeps/posix/nice.c: ... here.
46104         * sysdeps/unix/alarm.c: Moved ...
46105         * sysdeps/posix/alarm.c: ... here.
46107         * intl/Makefile ($(codeset_mo)): Depend on the input file.
46109 2012-08-17  Jeff Law <law@redhat.com>
46111         * intl/Makefile (codeset_mo): New variable.
46112         ($(codeset_mo)): New target.
46113         (tst-codeset.out): Depend on that.  Remove explicit rule.
46114         (tst-gettext3.out, tst-gettext5.out): Likewise.
46115         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46116         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46117         * intl/tst-codeset.sh: Remove.
46118         * intl/tst-gettext3.sh: Likewise.
46119         * intl/tst-gettext5.sh: Likewise.
46121 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46123         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46124         * sysdeps/unix/syscalls.list: ... here.
46126         * sysdeps/posix/getaddrinfo.c
46127         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46128         (gaiconf_init, gaiconf_reload): Use them.
46129         [!_STATBUF_ST_NSEC]
46130         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46131         Define using time_t rather than struct timespec.
46133         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46134         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46135         Macros removed.
46136         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46137         [!NO_THREADS].
46138         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46139         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46140         Likewise.
46142         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46143         __libc_cleanup_push argument.
46145         * bits/param.h: New file.
46146         * misc/sys/param.h: New file.
46147         * include/sys/param.h: New file.
46148         * misc/Makefile (headers): Add bits/param.h.
46149         * sysdeps/generic/sys/param.h: File removed.
46150         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46151         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46152         * sysdeps/mach/hurd/bits/param.h: New file.
46153         * sysdeps/mach/hurd/sys/param.h: File removed.
46155         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46156         last change.
46158         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46159         [_IO_MTSAFE_IO].
46160         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46161         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46162         New macros.
46164         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46165         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46166         rather than -D_IO_MTSAFE_IO conditionally.
46167         * stdio-common/Makefile (CPPFLAGS): Likewise.
46168         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46169         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46170         Use $(libio-mtsafe).
46171         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46172         of -D_IO_MTSAFE_IO.
46173         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46174         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46175         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46176         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46177         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46178         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46179         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46180         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46181         (CFLAGS-fread_u_chk.c): Likewise.
46182         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46183         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46184         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46185         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46186         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46187         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46188         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46189         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46190         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46192         * libio/Makefile: Test [$(libc-reentrant) = yes]
46193         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46195         * Makeconfig
46196         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46197         * sysdeps/pthread/configure: File removed.
46198         * sysdeps/pthread/Makeconfig: New file.
46199         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46200         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46202 2012-08-16  Gary Benson  <gbenson@redhat.com>
46204         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46205         unmapping the first object in a namespace.
46207 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46209         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46210         (__internal_setnetgrent): ... this.  Add internal_function to
46211         definition.  Add libc_hidden_def.
46212         (setnetgrent): Update caller.
46213         (internal_endnetgrent): Renamed to ...
46214         (__internal_endnetgrent): ... this.  Add internal_function to
46215         definition.  Add libc_hidden_def.
46216         (endnetgrent): Update caller.
46217         (internal_getnetgrent_r): Renamed to ...
46218         (__internal_getnetgrent_r): ... this.  Add internal_function to
46219         definition.  Add libc_hidden_def.
46220         (__getnetgrent_r): Update caller.
46221         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46223 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46225         * stdlib/longlong.h: Update from GCC.
46227 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46229         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46230         on _QL, which is set by umul_ppmm but never used.
46231         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46232         variables, which are set by GMP macros but never used.
46233         * stdio-common/_itowa.c (_itowa): Likewise.
46234         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46235         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46237 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46239         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46240         struct La_sh_regs is not constant.
46241         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46242         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46243         and struct La_sparc64_regs are not constant.
46245 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46247         * sysdeps/unix/sysv/linux/kernel-features.h
46248         (__ASSUME_POSIX_TIMERS): Remove.
46249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46250         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46251         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46252         Make code unconditional.
46253         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46254         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46255         Make code unconditional.
46256         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46257         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46258         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46259         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46260         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46261         Make code unconditional.
46262         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46263         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46264         (__libc_missing_posix_timers): Remove.
46266 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46268         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46269         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46271         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46273         * elf/dl-sym.c: Include <stdlib.h>.
46275         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46276         constants, which avoids warnings in 32-bit builds.
46278         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46279         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46281         * misc/lseek.c: File moved to ...
46282         * io/lseek.c: ... here.
46284         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46286         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46287         shifting LEN more than 31 bits at once.
46289 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46291         [BZ #14195]
46292         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46293         segmentation fault for a case of two empty input strings.
46294         * string/test-strncasecmp.c (check1): Renamed to...
46295         (bz12205): ...this.
46296         (bz14195): Add new testcase for two empty input strings and N > 0.
46297         (test_main): Call new testcase, adapt for renamed function.
46299 2012-08-15  Andreas Jaeger  <aj@suse.de>
46301         [BZ #14090]
46302         * crypt/md5test2.c: New test, based on test supplied by Serge
46303         Belyshev <belyshev@depni.sinp.msu.ru>.
46304         * crypt/Makefile (xtests): Add md5test-giant..
46305         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46307 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46309         [BZ #14090]
46310         * crypt/md5.c (md5_process_block): Don't assume the buffer
46311         length is less than 2**32.
46312         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46313         length is less than 2**64.
46315 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46317         * string/str-two-way.h: Include <sys/param.h>.
46318         (MAX): Macro removed.
46320         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46321         Move #define and #undef of memmove to just before and after
46322         including <string.h>.
46324         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46325         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46326         and after including <string.h>.  Move declarations of
46327         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46328         to before #include "string/memmove.c".
46330         * include/dirent.h: Declare __getdirentries.
46332         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46333         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46335 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46337         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46338         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46339         * sysdeps/i386/configure: Regenerated.
46340         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46341         STABS_CURRENT_FILE, and STABS_FUN.
46342         (END): Remove call to STABS_FUN_END.
46343         (STABS_CURRENT_FILE1): Delete.
46344         (STABS_CURRENT_FILE): Likewise.
46345         (STABS_FUN): Likewise.
46346         (STABS_FUN_END): Likewise.
46347         (STABS_FUN2): Likewise.
46348         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46349         * sysdeps/x86_64/configure: Regenerated.
46351 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46353         * elf/dl-open.c: Include <atomic.h>.
46354         * elf/dl-lookup.c: Likewise.
46356 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46358         * sysdeps/unix/sysv/linux/kernel-features.h
46359         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46360         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46361         unconditionally.
46362         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46363         unconditionally.
46364         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46365         condition on __ASSUME_CLONE_THREAD_FLAGS.
46367 2012-08-14  Andreas Jaeger  <aj@suse.de>
46369         * sysdeps/i386/fpu/libm-test-ulps: Update.
46371 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46373         * include/atomic.h (atomic_exchange_and_add): Split into ...
46374         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46375         New atomic macros.
46377 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46381 2012-08-13  Jeff Law <law@redhat.com>
46383         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46384         null byte in the output string.
46386 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46388         * sysdeps/unix/sysv/linux/kernel-features.h
46389         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46390         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46391         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46392         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46393         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46394         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46395         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46397 2012-08-09  Jeff Law <law@redhat.com>
46399         [BZ #13939]
46400         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46401         When avoid_arena is set, don't retry in the that arena.  Pick the
46402         next one, whatever it might be.
46403         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46404         (arena_lock): Pass in new parameter to arena_get2.
46405         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46406         arena_get2.
46407         (__libc_malloc): Unify retrying after main arena failure with
46408         __libc_memalign version.
46409         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46411 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46413         [BZ #14166]
46414         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46415         to __redirect_strstr.
46416         (__strstr_sse42): Use typeof __redirect_strstr.
46417         (__strstr_ia32): Likewise.
46418         (__libc_strstr): New prototype.
46419         (strstr): Renamed to ...
46420         (__libc_strstr): This.
46421         (strstr): New strong alias of __libc_strstr.
46422         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46423         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46424         __redirect_time.
46425         Include <time.h>.
46426         (__libc_time): New prototype.
46427         (time_ifunc): Replace time with __libc_time.
46428         (time): New strong alias and hidden definition of __libc_time.
46429         (__GI_time): Remove strong alias.
46430         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46431         Include <stddef.h>.
46432         (memmove): Redefined to __redirect_memmove.
46433         (__memmove_sse2): Use typeof __redirect_memmove.
46434         (__memmove_ssse3): Likewise.
46435         (__memmove_ssse3_back): Likewise.
46436         (__libc_memmove): New prototype.
46437         (memmove): Renamed to ...
46438         (__libc_memmove): This.
46439         (memmove): New strong alias of __libc_memmove.
46441 2012-08-08  Mark Salter  <msalter@redhat.com>
46443         * elf/elf.h
46444         (R_MN10300_TLS_GD): Define.
46445         (R_MN10300_TLS_LD): Likewise.
46446         (R_MN10300_TLS_LDO): Likewise.
46447         (R_MN10300_TLS_GOTIE): Likewise.
46448         (R_MN10300_TLS_IE): Likewise.
46449         (R_MN10300_TLS_LE): Likewise.
46450         (R_MN10300_TLS_DTPMOD): Likewise.
46451         (R_MN10300_TLS_DTPOFF): Likewise.
46452         (R_MN10300_TLS_TPOFF): Likewise.
46453         (R_MN10300_SYM_DIFF): Likewise.
46454         (R_MN10300_ALIGN): Likewise.
46455         (R_MN10300_NUM): Update.
46457 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46460         Remove.
46462 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46464         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46466         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46467         sysdeps/unix -> sysdeps/posix move.
46468         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46470 2012-08-07      Allan McRae     <allan@archlinux.org>
46472         [BZ #14303]
46473         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46474         (SUNOS_CPP): Likewise.
46475         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46476         not found.
46477         (open_input): Call CPP using execvp.
46479 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46481         * sysdeps/unix/sysv/linux/kernel-features.h
46482         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46483         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46484         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46485         (__ASSUME_WAITID_SYSCALL): Likewise.
46486         * sysdeps/unix/sysv/linux/dl-execstack.c
46487         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46488         code unconditional.
46489         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46490         conditional code.
46491         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46492         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46493         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46494         code.
46495         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46496         unconditional.
46497         [__ASSUME_WAITID_SYSCALL]: Likewise.
46498         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46500 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46502         * sysdeps/unix/closedir.c: Renamed to ...
46503         * sysdeps/posix/closedir.c: ... here.
46504         * sysdeps/unix/dirfd.c: Renamed to ...
46505         * sysdeps/posix/dirfd.c: ... here.
46506         * sysdeps/unix/dirstream.h: Renamed to ...
46507         * sysdeps/posix/dirstream.h: ... here.
46508         * sysdeps/unix/fdopendir.c: Renamed to ...
46509         * sysdeps/posix/fdopendir.c: ... here.
46510         * sysdeps/unix/opendir.c: Renamed to ...
46511         * sysdeps/posix/opendir.c: ... here.
46512         * sysdeps/unix/readdir.c: Renamed to ...
46513         * sysdeps/posix/readdir.c: ... here.
46514         * sysdeps/unix/readdir_r.c: Renamed to ...
46515         * sysdeps/posix/readdir_r.c: ... here.
46516         * sysdeps/unix/rewinddir.c: Renamed to ...
46517         * sysdeps/posix/rewinddir.c: ... here.
46518         * sysdeps/unix/seekdir.c: Renamed to ...
46519         * sysdeps/posix/seekdir.c: ... here.
46520         * sysdeps/unix/telldir.c: Renamed to ...
46521         * sysdeps/posix/telldir.c: ... here.
46522         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46523         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46524         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46525         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46527         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46528         * bits/fcntl.h: ... here.
46530         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46531         not 0.
46532         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46533         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46534         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46535         (struct flock): Move l_start, l_len to the beginning.
46536         Use __pid_t for l_pid.
46537         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46538         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46539         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46540         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46541         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46542         [__USE_LARGEFILE64] (struct flock64): New type.
46543         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46545         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46546         * bits/dirent.h: ... here.
46548         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46549         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46551 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46554         Change from 2.6.0 to 2.6.16.
46555         * sysdeps/unix/sysv/linux/configure: Regenerated.
46556         * sysdeps/unix/sysv/linux/kernel-features.h
46557         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46558         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46559         version.
46560         (__ASSUME_UTIMES): Likewise.
46561         (__ASSUME_CLONE_STOPPED): Remove.
46562         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46563         architectures, not kernel version.
46564         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46565         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46566         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46567         (__ASSUME_WAITID_SYSCALL): Likewise.
46568         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46569         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46570         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46571         refer to older versions.
46573 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46575         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46576         Define alphasort64 as an alias.
46577         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46578         Define versionsort64 as an alias.
46579         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46580         Define scandir64 as an alias.
46581         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46582         Define scandirat64 as an alias.
46583         * dirent/alphasort64.c (alphasort64):
46584         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46585         * dirent/versionsort64.c: Likewise.
46586         * dirent/scandir64.c: Likewise.
46587         * dirent/scandirat64.c: Likewise.
46588         * sysdeps/wordsize-64/alphasort.c: File removed.
46589         * sysdeps/wordsize-64/alphasort64.c: File removed.
46590         * sysdeps/wordsize-64/scandir.c: File removed.
46591         * sysdeps/wordsize-64/scandir64.c: File removed.
46592         * sysdeps/wordsize-64/scandirat.c: File removed.
46593         * sysdeps/wordsize-64/scandirat64.c: File removed.
46594         * sysdeps/wordsize-64/versionsort.c: File removed.
46595         * sysdeps/wordsize-64/versionsort64.c: File removed.
46596         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46597         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46598         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46599         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46600         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46601         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46602         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46603         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46605         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46607         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46609         [defined __arch64__ || defined __sparcv9]
46610         (__INO_T_MATCHES_INO64_T): New macro.
46611         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46612         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46613         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46614         * sysdeps/unix/sysv/linux/bits/dirent.h
46615         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46616         (_DIRENT_MATCHES_DIRENT64): New macro.
46618         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46619         Define lockf64 as an alias.
46620         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46621         Define fseeko64 as an alias.
46622         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46623         Define ftello64 as an alias.
46624         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46625         Define _IO_fgetpos64 and fgetpos64 as aliases.
46626         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46627         Define _IO_fsetpos64 and fsetpos64 as aliases.
46628         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46629         Conditionalize body on this.
46630         * libio/fseeko64.c: Likewise.
46631         * libio/ftello64.c: Likewise.
46632         * libio/iofgetpos64.c: Likewise.
46633         * libio/iofsetpos64.c: Likewise.
46634         * sysdeps/wordsize-64/lockf.c: File removed.
46635         * sysdeps/wordsize-64/lockf64.c: File removed.
46636         * sysdeps/wordsize-64/fseeko.c: File removed.
46637         * sysdeps/wordsize-64/fseeko64.c: File removed.
46638         * sysdeps/wordsize-64/ftello.c: File removed.
46639         * sysdeps/wordsize-64/ftello64.c: File removed.
46640         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46641         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46642         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46643         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46644         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46645         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46646         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46647         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46648         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46649         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46650         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46651         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46652         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46653         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46655         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46656         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46657         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46659         [defined __arch64__ || defined __sparcv9]
46660         (__OFF_T_MATCHES_OFF64_T): New macro.
46661         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46662         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46664         (__OFF_T_MATCHES_OFF64_T): New macro.
46666 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46668         * stdlib/secure-getenv.c (__secure_getenv): Replace
46669         GLIBC_2_16 with GLIBC_2_17.
46671 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46673         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46674         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46676 2012-08-03  David S. Miller  <davem@davemloft.net>
46678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46680 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46682         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46683         Remove.
46684         (__ASSUME_CORRECT_SI_PID): Likewise.
46685         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46686         (__ASSUME_TMPFS_NAME): Likewise.
46687         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46688         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46689         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46690         (HAVE_AUX_SECURE): Make definition unconditional.
46691         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46692         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46694 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46696         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46697         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46698         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46699         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46700         __eloop_threshold instead of SYMLOOP_MAX.
46702         * sysdeps/generic/eloop-threshold.h: New file.
46703         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46704         of MAXSYMLINKS.
46705         * elf/chroot_canon.c (chroot_canon): Likewise.
46707 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46709         [BZ #13717]
46710         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46711         Change to 2.6.0 everywhere.
46712         * sysdeps/unix/sysv/linux/configure: Regenerated.
46713         * sysdeps/unix/sysv/linux/kernel-features.h
46714         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46715         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46716         kernel versions.
46717         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46718         (__ASSUME_FUTEX_REQUEUE): Remove.
46719         (__ASSUME_STATFS64): Define unconditionally.
46720         (__ASSUME_AT_SECURE): Likewise.
46721         (__ASSUME_CORRECT_SI_PID): Likewise.
46722         (__ASSUME_TGKILL): Define without depending on kernel version for
46723         i386.
46724         (__ASSUME_UTIMES): Likewise.
46725         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46726         kernel version.
46727         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46728         (__ASSUME_TMPFS_NAME): Likewise.
46729         * README: Update reference to Linux kernel versions.
46731 2012-08-02  Marek Polacek  <polacek@redhat.com>
46733         [BZ# 14150]
46734         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46735         libc_cv_asm_type_prefix with %.
46736         * configure: Regenerated.
46737         * include/libc-symbols.h: Remove comment about
46738         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46739         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46740         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46741         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46742         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46743         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46744         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46745         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46746         * elf/tst-unique2mod1.c: Likewise.
46747         * elf/tst-unique1mod2.c: Likewise.
46748         * elf/tst-unique1mod1.c: Likewise.
46749         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46750         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46751         Replace ASM_TYPE_DIRECTIVE with .type.
46752         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46753         * sysdeps/i386/sysdep.h: Likewise.
46754         * sysdeps/x86_64/sysdep.h: Likewise.
46755         * sysdeps/sh/sysdep.h: Likewise.
46756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46757         Do not define ASM_TYPE_DIRECTIVE.
46758         * sysdeps/powerpc/sysdep.h: Likewise.
46759         * sysdeps/powerpc/powerpc32/sysdep.h:
46760         Replace ASM_TYPE_DIRECTIVE with .type.
46761         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46762         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46763         * sysdeps/i386/fpu/e_powf.S: Likewise.
46764         * sysdeps/i386/fpu/e_expl.S: Likewise.
46765         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46766         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46767         * sysdeps/i386/fpu/e_pow.S: Likewise.
46768         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46769         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46770         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46771         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46772         * sysdeps/i386/fpu/e_log2.S: Likewise.
46773         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46774         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46775         * sysdeps/i386/fpu/e_powl.S: Likewise.
46776         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46777         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46778         * sysdeps/i386/fpu/e_logl.S: Likewise.
46779         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46780         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46781         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46782         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46783         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46784         * sysdeps/i386/fpu/e_log.S: Likewise.
46785         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46786         * sysdeps/i386/fpu/e_logf.S: Likewise.
46787         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46788         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46789         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46790         * sysdeps/i386/fpu/e_log10.S: Likewise.
46791         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46792         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46793         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46794         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46795         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46796         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46797         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46798         * sysdeps/i386/i686/strtok.S: Likewise.
46799         * sysdeps/i386/i386-mcount.S: Likewise.
46800         * sysdeps/i386/strtok.S: Likewise.
46801         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46802         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46803         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46804         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46805         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46806         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46807         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46808         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46809         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46810         * sysdeps/x86_64/_mcount.S: Likewise.
46811         * sysdeps/x86_64/strtok.S: Likewise.
46812         * sysdeps/sh/_mcount.S: Likewise.
46814 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46816         * libio/iofopen.c: Include <fcntl.h>.
46817         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46818         (_IO_fopen64, fopen64): Define as aliases.
46819         * libio/iofopen64.c: Include <fcntl.h>.
46820         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46821         Conditionalize body on this.
46822         * sysdeps/wordsize-64/iofopen.c: File removed.
46823         * sysdeps/wordsize-64/iofopen64.c: File removed.
46825 2012-08-01  Marek Polacek  <polacek@redhat.com>
46827         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46828         Use dlfcn directly instead of a variable.
46829         (binfmt-subdir): Do not define.
46830         (dlfcn): Likewise.
46832 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46835         Remove all definitions.
46836         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46837         <kernel-features.h>.
46838         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46839         (miss_F_GETOWN_EX): Remove all definitions.
46840         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46841         macro definition.
46842         [!__ASSUME_FCNTL64]: Remove conditional code.
46843         [__ASSUME_FCNTL64]: Make code unconditional.
46844         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46845         <kernel-features.h>.
46846         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46847         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46848         (lockf64) [__NR_fcntl64]: Make code unconditional.
46849         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46851         * sysdeps/unix/sysv/linux/kernel-features.h
46852         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46853         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46854         Make code unconditional.
46855         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46856         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46858         [__NR_vfork]: Make code unconditional.
46859         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46860         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46862         [__NR_vfork]: Make code unconditional.
46863         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46864         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46866 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46868         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46869         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46871         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46872         Define mkstemp64 as an alias.
46873         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46874         Define mkstemps64 as an alias.
46875         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46876         Define mkostemp64 as an alias.
46877         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46878         Define mkostemps64 as an alias.
46879         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46880         Conditionalize body on this.
46881         * misc/mkostemp64.c: Likewise.
46882         * misc/mkostemps64.c: Likewise.
46883         * misc/mkstemps64.c: Likewise.
46884         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46885         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46886         * sysdeps/wordsize-64/mkostemp.c: File removed.
46887         * sysdeps/wordsize-64/mkstemp.c: File removed.
46888         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46889         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46890         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46891         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46893         [BZ #14138]
46894         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46895         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46896         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46897         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46899         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46900         compat_symbol macros from <shlib-compat.h> rather than the underlying
46901         default_symbol_version and symbol_version macros, so that DEFAULT
46902         lines in shlib-versions are respected.
46903         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46905 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46907         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46908         Declare with warn_unused_result.
46909         (setgid, setregid, setegid, setresgid): Likewise.
46910         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46911         Likewise.
46912         * WUR-REPORT: Remove set*id functions.
46914 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46916         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46918 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46920         [BZ #10191]
46921         * include/sys/socket.h (__libc_accept, __libc_accept4):
46922         Add attribute_hidden.
46923         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46925         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46926         use of PTR_MANGLE.
46927         * inet/getnetgrent_r.c (setup): Likewise.
46929         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46931 2012-07-31  David S. Miller  <davem@davemloft.net>
46933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46935 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46937         [BZ #13629]
46938         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46939         value between 1.0 and 2.0 and smaller part has absolute value less
46940         than 1.0.
46941         * math/s_clog10.c (__clog10): Likewise.
46942         * math/s_clog10f.c (__clog10f): Likewise.
46943         * math/s_clog10l.c (__clog10l): Likewise.
46944         * math/s_clogf.c (__clogf): Likewise.
46945         * math/s_clogl.c (__clogl): Likewise.
46946         * math/libm-test.inc (clog_test): Add more tests.
46947         (clog10_test): Likewise.
46948         * sysdeps/i386/fpu/libm-test-ulps: Update.
46949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46951 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46953         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46954         Exit with zero in case no suitable GID is found, and write a
46955         message to standard error.
46957 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46959         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46960         rather than to 1.
46961         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46962         (MAXPATHLEN): Removed.
46963         (NOGROUP, NODEV): New macros.
46964         (setbit, clrbit, isset, isclr): New macros.
46965         (howmany, roundup, powerof2): New macros.
46966         (DEV_BSIZE): New macro.
46968         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46969         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46971         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46972         definition on [!__NO_LONG_DOUBLE_MATH].
46974         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46975         PTR_MANGLE and PTR_DEMANGLE.
46977         * socket/accept4.c (accept4): Rename to __libc_accept4.
46978         Define accept4 as a weak alias.
46980         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46981         on [_DIRENT_HAVE_D_TYPE].
46982         * io/ftw.c (ftw_dir): Likewise.
46984         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46986         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46988         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46989         Use the BSD numbers rather than the arbitrary ones we had.
46990         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46991         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46992         (SIGXCPU, SIGXFSZ): New macros.
46993         (_NSIG): Now 32.
46995         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46996         initializer on [_LIBC_REENTRANT].
46998         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46999         definitions inside [_POSIX_MAPPED_FILES].
47001         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47003         * dirent/opendir.c: Include <fcntl.h>.
47005         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47006         (__libc_getspecific): Likewise.
47007         (__libc_key_create): Likewise.
47009         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47010         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47011         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47012         (tmpfile64): Define as alias.
47013         * sysdeps/wordsize-64/tmpfile.c: File removed.
47014         * sysdeps/wordsize-64/tmpfile64.c: File removed.
47015         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47016         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47018         * stdio-common/vfscanf.c: Include <stdbool.h>.
47019         * nss/makedb.c: Likewise.
47020         * stdio-common/_i18n_number.h: Likewise.
47021         * argp/argp-help.c: Likewise.
47022         * posix/wordexp.c: Likewise.
47023         * sysdeps/posix/spawni.c: Likewise.
47024         * nss/nss_files/files-initgroups.c: Likewise.
47025         * stdio-common/reg-modifier.c: Include <stdlib.h>.
47026         * nss/nss_files/files-initgroups.c: Likewise.
47027         * nss/nss_db/db-netgrp.c: Likewise.
47028         * nss/nss_db/db-initgroups.c: Likewise.
47029         * io/fchmodat.c: Include <sys/stat.h>.
47031         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47032         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47034         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47035         [HAVE_MMAP].
47037         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47038         Add multiple inclusion protection.
47040 2012-07-27  David S. Miller  <davem@davemloft.net>
47042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47044 2012-07-27  Gary Benson  <gbenson@redhat.com>
47046         [BZ #14298]
47047         * elf/rtld.c: Include <stap-probe.h>.
47048         (dl_main): Added static probes "init_start" and "init_complete".
47049         * elf/dl-load.c: Include <stap-probe.h>.
47050         (lose): Take new parameter "nsid".
47051         Added static probe "map_failed".
47052         (_dl_map_object_from_fd): Pass namespace id to lose.
47053         Added static probe "map_start".
47054         (open_verify): Pass namespace id to lose.
47055         * elf/dl-open.c: Include <stap-probe.h>.
47056         (dl_open_worker) Added static probes "map_complete", "reloc_start"
47057         and "reloc_complete".
47058         * elf/dl-close.c: Include <stap-probe.h>.
47059         (_dl_close_worker): Added static probes "unmap_start" and
47060         "unmap_complete".
47061         * elf/rtld-debugger-interface.txt: New file documenting the above.
47063 2012-07-26  Roland McGrath  <roland@hack.frob.com>
47065         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47066         rather than a string variable.
47067         * sunrpc/rpc_main.c (h_output): Likewise.
47068         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47070 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
47072         * inet/check_native.c: New file.
47074 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
47076         [BZ #13629]
47077         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47078         if larger part has absolute value 1.0.
47079         * math/s_clog10.c (__clog10): Likewise.
47080         * math/s_clog10f.c (__clog10f): Likewise.
47081         * math/s_clog10l.c (__clog10l): Likewise.
47082         * math/s_clogf.c (__clogf): Likewise.
47083         * math/s_clogl.c (__clogl): Likewise.
47084         * math/libm-test.inc (clog_test): Add more tests.
47085         (clog10_test): Likewise.
47086         * sysdeps/i386/fpu/libm-test-ulps: Update.
47087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47089         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47090         (pltexit): Likewise.
47091         (La_regs): Likewise.
47092         (La_retval): Likewise.
47093         (int_retval): Likewise.
47094         Update #error for removed macros to refer only to definitions in
47095         tst-audit.h.
47096         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47097         macro.
47098         (pltexit): Likewise.
47099         (La_regs): Likewise.
47100         (La_retval): Likewise.
47101         (int_retval): Likewise.
47102         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47103         macro.
47104         (pltexit): Likewise.
47105         (La_regs): Likewise.
47106         (La_retval): Likewise.
47107         (int_retval): Likewise.
47108         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47109         macro.
47110         (pltexit): Likewise.
47111         (La_regs): Likewise.
47112         (La_retval): Likewise.
47113         (int_retval): Likewise.
47114         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47115         macro.
47116         (pltexit): Likewise.
47117         (La_regs): Likewise.
47118         (La_retval): Likewise.
47119         (int_retval): Likewise.
47120         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47121         macro.
47122         (pltexit): Likewise.
47123         (La_regs): Likewise.
47124         (La_retval): Likewise.
47125         (int_retval): Likewise.
47126         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47127         macro.
47128         (pltexit): Likewise.
47129         (La_regs): Likewise.
47130         (La_retval): Likewise.
47131         (int_retval): Likewise.
47132         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47133         macro definitions in tst-audit.h.
47134         * sysdeps/i386/tst-audit.h: New file.
47135         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47136         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47137         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47138         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47139         * sysdeps/sh/tst-audit.h: Likewise.
47140         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47141         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47142         * sysdeps/x86_64/tst-audit.h: Likewise.
47144 2012-07-26  Andreas Jaeger  <aj@suse.de>
47146         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47147         ptrace.
47149         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47150         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47151         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47152         PTRACE_O_MASK.
47153         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47154         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47155         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47157         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47158         value.
47160         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47161         _sigsys.
47162         (si_call_addr, si_syscall, si_arch): Define new macro.
47163         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47164         _sigsys.
47165         (si_call_addr, si_syscall, si_arch): Define new marcro.
47166         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47167         _sigsys.
47168         (si_call_addr, si_syscall, si_arch): Define new macro.
47169         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47170         _sigsys.
47171         (si_call_addr, si_syscall, si_arch): Define new macro.
47173 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47175         [BZ #13717]
47176         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47177         Change to 2.4.21 where previously 2.4.1.
47178         * sysdeps/unix/sysv/linux/configure: Regenerated.
47179         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47180         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47181         Linux kernel version.
47182         (__ASSUME_STD_AUXV): Remove.
47183         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47184         kernel version.
47185         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47186         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47187         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47188         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47189         (__ASSUME_NETLINK_SUPPORT): Likewise.
47190         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47191         (__no_netlink_support): Remove conditional definition.
47192         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47193         Remove.
47194         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47195         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47196         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47197         (if_nameindex_ioctl): Remove.
47198         (if_nameindex_netlink): Do not handle __no_netlink_support.
47199         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47200         code.
47201         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47202         Remove conditional code.
47203         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47204         code.
47205         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47206         unconditional.
47207         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47208         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47209         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47210         Remove.
47211         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47212         [!__ASSUME_STD_AUXV]: Remove conditional code.
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47214         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47215         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47217         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47218         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47219         code.
47220         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47222         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47223         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47224         conditional code.
47225         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47227         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47228         code.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47230         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47231         conditional code.
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47233         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47234         code unconditional.
47235         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47236         conditional code.
47237         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47238         unconditional.
47239         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47240         conditional code.
47241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47242         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47243         unconditional.
47244         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47245         conditional code.
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47247         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47248         code unconditional.
47249         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47250         conditional code.
47251         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47252         unconditional.
47253         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47254         conditional code.
47255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47256         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47257         code unconditional.
47258         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47259         conditional code.
47260         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47261         unconditional.
47262         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47263         conditional code.
47265 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47267         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47268         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47269         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47270         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47271         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47272         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47273         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47274         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47275         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47276         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47277         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47278         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47279         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47280         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47281         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47282         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47283         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47284         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47285         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47287         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47288         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47289         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47291 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47293         * Versions.def: Add GLIBC_2.17.
47294         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47295         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47296         Introduce __libc_secure_getenv.
47297         * stdlib/Versions (2.17): Add secure_getenv
47298         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47299         * stdlib/secure-getenv.c: Rename __secure_getenv to
47300         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47301         symbol __secure_getenv for GLIBC_2.0.
47302         * stdlib/tst-secure-getenv.c: New.
47303         * stdlib/Makefile (tests): Add testcase.
47304         * manual/startup.texi (Environment Access): Document
47305         secure_getenv.
47306         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47307         __libc_secure_getenv.
47308         * inet/ruserpass.c (ruserpass): Likewise.
47309         * malloc/mtrace.c (mtrace): Likewise.
47310         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47311         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47312         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47313         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47314         HAVE_SECURE_GETENV.
47315         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47316         __secure_getenv to __libc_secure_getenv.
47317         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47319         Likewise.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47321         Likewise.
47322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47324         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47330 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47332         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47333         (struct La_i86_retval): Likewise.
47334         (struct La_x86_64_regs): Likewise.
47335         (struct La_x86_64_retval): Likewise.
47336         (struct La_x32_regs): Likewise.
47337         (struct La_x32_retval): Likewise.
47338         (struct La_ppc32_regs): Likewise.
47339         (struct La_ppc32_retval): Likewise.
47340         (struct La_ppc64_regs): Likewise.
47341         (struct La_ppc64_retval): Likewise.
47342         (struct La_sh_regs): Likewise.
47343         (struct La_sh_retval): Likewise.
47344         (struct La_s390_32_regs): Likewise.
47345         (struct La_s390_32_retval): Likewise.
47346         (struct La_s390_64_regs): Likewise.
47347         (struct La_s390_64_retval): Likewise.
47348         (struct La_sparc32_regs): Likewise.
47349         (struct La_sparc32_retval): Likewise.
47350         (struct La_sparc64_regs): Likewise.
47351         (struct La_sparc64_retval): Likewise.
47352         (struct audit_ifaces): Remove architecture-specific pltenter and
47353         pltexit members.
47354         * sysdeps/i386/ldsodefs.h: New file.
47355         * sysdeps/powerpc/ldsodefs.h: Likewise.
47356         * sysdeps/s390/ldsodefs.h: Likewise.
47357         * sysdeps/sh/ldsodefs.h: Likewise.
47358         * sysdeps/sparc/ldsodefs.h: Likewise.
47359         * sysdeps/x86_64/ldsodefs.h: Likewise.
47361 2012-07-25  Marek Polacek  <polacek@redhat.com>
47363         [BZ #6808]
47364         * math/libm-test.inc (yn_test): Add another test.
47365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47366         to ERANGE when the result is +-Inf.
47367         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47368         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47369         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47370         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47372 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47374         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47375         equal to 0.
47376         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47377         clock_t.
47378         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47380 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47382         * configure.in <sysdeps resolving>: Correct printing
47383         Implies_before.
47384         * configure: Regenerate.
47386 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47388         * math/w_ilogb.c: Include <limits.h>.
47389         * math/w_ilogbl.c: Likewise.
47391 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47393         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47394         va_copy.  Document allowing for unavailable va_copy only as
47395         pre-C99 compatibility.
47396         * manual/string.texi (Copying and Concatenation): Use va_copy
47397         instead of __va_copy in concat example.
47399 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47401         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47402         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47403         it if not null.
47405         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47406         with O_NOLINK passed to __file_name_lookup.
47408         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47409         with O_NOLINK passed to __file_name_lookup.
47411         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47412         negative N or less than NGIDS.
47414         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47415         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47416         enough.  Use memcpy instead of strncpy.
47418 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47420         * elf/Makefile (check-data): Remove.
47421         (localplt.data): New vpath directive.
47422         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47423         instead of $(check-data).
47424         * scripts/data/localplt-generic.data: Move to ...
47425         * sysdeps/generic/localplt.data: ... here.
47426         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47427         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47428         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47430         ... here.
47431         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47433         ... here.
47434         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47436         ... here.
47437         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47439         ... here.
47440         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47442         ... here.
47443         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47445         ... here.
47447 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47449         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47450         PPC32 and PPC64 files.
47451         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47452         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47454 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47456         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47457         __makecontext_ret to ...
47458         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47459         ... here and call exit if uc_link is NULL.  New file.
47460         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47461         __makecontext_ret.S.
47462         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47463         __makecontext_ret to ...
47464         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47465         ... here and call exit if uc_link is NULL.  New file.
47466         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47467         __makecontext_ret.S.
47469 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47471         * elf/elf.h (R_390_IRELATIVE): New definition.
47472         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47473         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47474         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47475         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47476         (elf_machine_lazy_rel): Likewise.
47477         * sysdeps/s390/dl-irel.h: New file.
47478         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47479         * sysdeps/s390/s390-64/memset.S: New asm code.
47480         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47481         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47482         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47483         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47484         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47485         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47486         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47487         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47488         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47489         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47490         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47491         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47492         * sysdeps/s390/s390-32/memset.S: New asm code.
47493         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47495 2012-07-17  Marek Polacek  <polacek@redhat.com>
47497         [BZ #14349]
47498         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47499         * sysdeps/s390/s390-64/configure.in: Likewise.
47500         * sysdeps/sparc/configure.in: Likewise.
47501         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47502         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47503         * sysdeps/i386/configure.in: Likewise.
47504         * sysdeps/x86_64/configure.in: Likewise.
47505         * sysdeps/sh/configure.in: Likewise.
47506         * sysdeps/s390/s390-32/configure: Regenerated.
47507         * sysdeps/s390/s390-64/configure: Likewise.
47508         * sysdeps/x86_64/configure: Likewise.
47509         * sysdeps/sh/configure: Likewise.
47510         * sysdeps/powerpc/powerpc64/configure: Likewise.
47511         * sysdeps/powerpc/powerpc32/configure: Likewise.
47512         * sysdeps/sparc/configure: Likwise.
47513         * sysdeps/i386/configure: Likewise.
47515         * elf/dl-open.c: Comment fixes.
47517 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47519         * Makefile [CXX] (check-data): Remove.
47520         [CXX] (c++-types.data): New vpath directive.
47521         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47522         vpath.  Do not allow for C++ type data being missing.
47523         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47524         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47525         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47526         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47527         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47528         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47529         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47531         ... here.
47532         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47534         ... here.
47535         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47537         ... here.
47538         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47540         ... here.
47541         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47543         ... here.
47544         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47546         ... here.
47547         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47549         ... here.
47550         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47553         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47554         definitions to architecture-specific files.
47555         (TLS_IE): Likewise.
47556         (TLS_LD): Likewise.
47557         (TLS_GD): Likewise.
47558         * sysdeps/i386/tls-macros.h: New file.
47559         * sysdeps/powerpc/tls-macros.h: Likewise.
47560         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47561         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47562         * sysdeps/sh/tls-macros.h: Likewise.
47563         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47564         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47565         * sysdeps/x86_64/tls-macros.h: Likewise.
47567 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47569         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47570         zero value for regular exit case.
47572         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47573         (__start_context): Preserve zero value for regular exit case.
47575 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47576             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47578         * manual/setjmp.texi (setcontext): Clarify normal process
47579         termination when uc_link is the null pointer.
47580         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47581         exit call.
47583 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47585         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47586         preprocessor.  Test for each exception mask separately.
47588 2012-07-16  Andreas Jaeger  <aj@suse.de>
47590         * po/ru.po: Update from translation team.
47592 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47594         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47595         equal to 0.
47596         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47597         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47598         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47599         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47600         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47602 2012-07-13  Andreas Jaeger  <aj@suse.de>
47604         * po/fr.po: Update from translation team.
47606 2012-07-12  Marek Polacek  <polacek@redhat.com>
47608         [BZ #14173]
47609         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47610         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47611         loop condition.
47613 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47615         [BZ #13717]
47616         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47617         Change to 2.4.1 where previously 2.4.0.
47618         * sysdeps/unix/sysv/linux/configure: Regenerated.
47619         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47620         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47621         version.
47622         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47623         (__ASSUME_AT_CLKTCK): Remove.
47624         (__ASSUME_AT_PAGESIZE): Likewise.
47625         (__ASSUME_AT_XID): Likewise.
47626         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47627         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47628         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47629         unconditionally.
47630         (HAVE_AUX_PAGESIZE): Likewise.
47631         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47632         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47633         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47635 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47637         [BZ #14307]
47638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47639         the temporary buffer used to invoke __gethostbyname2_r,
47640         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47641         host_data / struct gaih_addrtuple.
47642         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47643         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47644         header file nss/nsswitch.h.
47645         * nss/nsswitch.h (global scope): Add definition of implementation
47646         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47647         resolv/nss_dns/dns-host.c).
47649 2012-07-11  Andreas Jaeger  <aj@suse.de>
47651         * po/fr.po: Update from translation team.
47653         * po/sv.po: Update from translation team
47654         * po/fr.po: Another update from translation team.
47656 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47658         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47659         for subnormals or multiply small sinh result by itself.
47660         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47663 2012-07-11  David S. Miller  <davem@davemloft.net>
47665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47667 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47669         [BZ #14347]
47670         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47671         (INTERNAL_MARK): Shift it here.
47673 2012-07-10  Marek Polacek  <polacek@redhat.com>
47675         [BZ #14151]
47676         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47677         libc_cv_asm_global_directive with .globl.
47678         * configure: Regenerated.
47679         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47680         with .globl.
47681         * sysdeps/i386/configure: Regenerated.
47682         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47683         with .globl.
47684         * sysdeps/x86_64/configure: Regenerated.
47685         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47686         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47687         * elf/tst-unique2mod2.c: Likewise.
47688         * elf/tst-unique2mod1.c: Likewise.
47689         * elf/tst-unique1mod2.c: Likewise.
47690         * elf/tst-unique1mod1.c: Likewise.
47691         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47692         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47693         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47694         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47695         * sysdeps/mach/sysdep.h: Likewise.
47696         * sysdeps/i386/sysdep.h: Likewise.
47697         * sysdeps/i386/i386-mcount.S: Likewise.
47698         * sysdeps/x86_64/_mcount.S: Likewise.
47699         * sysdeps/x86_64/sysdep.h: Likewise.
47700         * sysdeps/sh/_mcount.S: Likewise.
47701         * sysdeps/sh/sysdep.h: Likewise.
47702         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47703         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47704         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47705         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47706         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47707         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47708         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47709         * locale/localeinfo.h: Likewise.
47710         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47711         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47713 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47715         [BZ #14336]
47716         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47717         system".
47718         * manual/message.texi (The Uniforum approach): Likewise.
47719         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47720         (glibc iconv Implementation): Likewise.
47722 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47724         [BZ #14337]
47725         * math/s_clog.c (__clog): Avoid scaling a value down where that
47726         could result in underflow.
47727         * math/s_clog10.c (__clog10): Likewise.
47728         * math/s_clog10f.c (__clog10f): Likewise.
47729         * math/s_clog10l.c (__clog10l): Likewise.
47730         * math/s_clogf.c (__clogf): Likewise.
47731         * math/s_clogl.c (__clogl): Likewise.
47732         * math/libm-test.inc (clog_test): Add more tests.
47733         (clog10_test): Likewise.
47734         * sysdeps/i386/fpu/libm-test-ulps: Update.
47735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47737 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47739         [BZ #14283]
47740         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47741         by 7 not 8 to examine high bit of fractional part.
47743         [BZ #14042]
47744         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47745         for call to __mcount_internal.
47746         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47747         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47748         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47750 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47752         [BZ #14154]
47753         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47754         approximation for values within 0x1p-13f of an odd multiple of
47755         pi/4.
47756         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47757         exception.  Add more tests.
47758         * sysdeps/i386/fpu/libm-test-ulps: Update.
47760         [BZ #6778]
47761         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47762         inputs and return -1 for them.  Do not check for +Inf in case not
47763         reachable for +Inf.
47764         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47765         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47766         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47767         and return -1 for them.  Do not check for +Inf in case not
47768         reachable for +Inf.
47769         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47770         define.
47771         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47772         and return -1 for them.  Do not check for +Inf in case not
47773         reachable for +Inf.
47774         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47775         spurious underflow.
47776         * sysdeps/i386/fpu/libm-test-ulps: Update.
47777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47779 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47781         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47783 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47785         [BZ #14157]
47786         [BZ #14331]
47787         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47788         could result in spurious underflow.  Scale down values above
47789         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47790         * math/s_csqrtf.c (__csqrtf): Likewise.
47791         * math/s_csqrtl.c (__csqrtl): Likewise.
47792         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47793         spurious underflow.
47794         * sysdeps/i386/fpu/libm-test-ulps: Update.
47795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47797 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47799         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47800         xopen-msg.sed.
47801         * catgets/xopen-msg.awk: New file.
47802         * catgets/xopen-msg.sed: Removed.
47804         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47805         po2text.sed.
47806         * intl/po2test.awk: New file.
47807         * intl/po2test.sed: Removed.
47809 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47811         [BZ #14328]
47812         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47813         or multiply small sinh result by itself.
47814         * math/s_ctanf.c (__ctanf): Likewise.
47815         * math/s_ctanh.c (__ctanh): Likewise.
47816         * math/s_ctanhf.c (__ctanhf): Likewise.
47817         * math/s_ctanhl.c (__ctanhl): Likewise.
47818         * math/s_ctanl.c (__ctanl): Likewise.
47819         * math/libm-test.inc (ctan_test_tonearest): New function.
47820         (ctan_test_towardzero): Likewise.
47821         (ctan_test_downward): Likewise.
47822         (ctan_test_upward): Likewise.
47823         (ctanh_test_tonearest): Likewise.
47824         (ctanh_test_towardzero): Likewise.
47825         (ctanh_test_downward): Likewise.
47826         (ctanh_test_upward): Likewise.
47827         (main): Call these new functions.
47828         * sysdeps/i386/fpu/libm-test-ulps: Update.
47829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47831 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47833         * .gitignore: Delete /ports entry.
47835 2012-07-03  Andreas Jaeger  <aj@suse.de>
47837         * po/bg.po: Update from translation team.
47838         * po/cs.po: Likewise.
47839         * po/de.po: Likewise.
47840         * po/hr.po: Likewise.
47841         * po/nl.pl: Likewise.
47842         * po/pl.po: Likewise.
47843         * po/vi.po: Likewise.
47845 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47847         * Makeconfig [!+link] (+link-before-libc): New variable.
47848         [!+link] (+link-after-libc): Likewise.
47849         [!+link] (+link-tests): Likewise.
47850         [!+link] (+link): Define in terms of $(+link-before-libc) and
47851         $(+link-after-libc).
47852         [!+link-static] (+link-static-before-libc): New variable.
47853         [!+link-static] (+link-static-after-libc): Likewise.
47854         [!+link-static] (+link-static-tests): Likewise.
47855         [!+link-static] (+link-static): Define in terms of
47856         $(+link-static-before-libc) and $(+link-static-after-libc).
47857         [build-shared] (link-libc-before-gnulib): New variable.
47858         [build-shared] (link-libc-tests): Likewise.
47859         [build-shared] (link-libc): Define in terms of
47860         $(link-libc-before-gnulib).
47861         [!build-shared] (link-libc-tests): New variable.
47862         (link-libc-static-tests): New variable.
47863         [!gnulib] (gnulib-arch): New variable.
47864         [!gnulib] (gnulib-tests): Likewise.
47865         [!gnulib] (static-gnulib-arch): Likewise.
47866         [!gnulib] (static-gnulib-tests): Likewise.
47867         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47868         Define with "=" instead of ":=".
47869         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47870         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47871         * Rules (binaries-all-notests): New variable.
47872         (binaries-all-tests): Likewise.
47873         (binaries-static-notests): Likewise.
47874         (binaries-static-tests): Likewise.
47875         (binaries-all): Define using $(binaries-all-notests) and
47876         $(binaries-all-tests).
47877         (binaries-static): Define using $(binaries-static-notests) and
47878         $(binaries-static-tests).
47879         (binaries-shared-tests): New variable.
47880         (binaries-shared-notests): Likewise.
47881         (binaries-shared): Remove variable.
47882         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47883         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47884         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47885         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47886         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47887         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47888         * elf/Makefile (sln-modules): New variable.
47889         (extra-objs): Add $(sln-modules:=.o).
47890         (ldconfig-modules): Add static-stubs.
47891         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47892         * elf/static-stubs.c: New file.
47894         [BZ #14283]
47895         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47896         by 7 not 8 to examine high bit of fractional part.  Use volatile
47897         variables when splitting into final array of floats if
47898         __FLT_EVAL_METHOD__ != 0.
47899         * math/libm-test.inc (cos_test): Add another test.
47900         (sin_test): Likewise.
47901         * sysdeps/i386/fpu/libm-test-ulps: Update.
47903         [BZ #14273]
47904         * math/libm-test.inc (cosh_test): Add more tests.
47906         * version.h (RELEASE): Set to "development".
47907         (VERSION): Set to "2.16.90".
47909 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47911         * NEWS: Update copyright. Remove last-updated date.
47912         Mention math library bug fixes and timezone data changes.
47913         * README: Mention GNU/Hurd, x32, and HPPA support status.
47915 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47917         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47919 2012-06-27  Andreas Jaeger  <aj@suse.de>
47921         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47923 2012-06-25  Andreas Jaeger  <aj@suse.de>
47925         * sysdeps/s390/fpu/libm-test-ulps: Update.
47927 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47928             Thomas Schwinge  <thomas@codesourcery.com>
47930         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47931         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47932         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47933         fanotify_mark.
47935 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47937         * sysdeps/mach/start.c: Remove file.
47938         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47939         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47940         * sysdeps/sh/init-first.c: Likewise.
47942         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47943         registers for frame unwinding purposes, add CFI directives.
47944         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47945         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47946         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47947         Likewise.
47949         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47950         __fortify_fail returning.
47951         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47953         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47954         sysdeps/sh/____longjmp_chk.S.
47955         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47956         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47957         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47958         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47960         * sysdeps/sh/abort-instr.h: New file.
47961         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47962         process in case exit returns.
47964         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47965         initialize the GOT register before use.
47967         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47968         calculation of ARGC > 4.
47970         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47971         meaningful names to some local labels.
47973 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47974             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47976         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47977         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47978         (__arch_compare_and_exchange_val_16_acq): Likewise.
47979         (__arch_compare_and_exchange_val_32_acq): Likewise.
47980         (atomic_exchange_and_add): Fix gUSA sequence.
47981         (atomic_add): Likewise.
47982         (atomic_add_negative): Likewise.
47983         (atomic_add_zero): Likewise.
47984         (atomic_bit_test_set): Likewise.
47986 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47988         [BZ #13579]
47989         * include/link.h (struct link_map): Add l_free_initfini.
47990         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47991         l_initfini.
47992         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47993         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47994         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47995         set.
47997 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47999         * configure.in: Use AC_LANG_SOURCE.
48000         * configure: Regenerate.
48002 2012-06-22  Roland McGrath  <roland@hack.frob.com>
48004         * configure.in (libc_cv_localstatedir): New substituted variable.
48005         * configure: Regenerated.
48006         * config.make.in (localstatedir): New variable, substituted from
48007         libc_cv_localstatedir.
48008         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48009         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48010         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48011         * sysdeps/gnu/configure: Regenerated.
48013 2012-06-21  Jeff Law  <law@redhat.com>
48015         [BZ #14277]
48016         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48017         free.  Simplify list management for _LIBC case.
48019 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
48021         [BZ #14273]
48022         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48023         Clear sign bit of 64-bit integer value before comparing against
48024         overflow value.
48026         * sysdeps/mach/configure: Regenerated.
48028 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
48030         [BZ #14278]
48031         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48033 2012-06-21  Jeff Law  <law@redhat.com>
48035         [BZ #13882]
48036         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
48037         uint16_t for elements in the "seen" array to avoid char overflows.
48038         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48039         * elf/dl-open.c (dl_open_worker): Likewise.
48041 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
48043         * scripts/list-sources.sh: Scan PORTS for translations.
48044         * po/libc.pot: Regenerated.
48046 2012-06-21  Andreas Jaeger  <aj@suse.de>
48048         [BZ #12194]
48049         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48050         warning.
48051         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48052         * bits/byteswap-16.h (__bswap_16): Likewise.
48053         * bits/byteswap.h (__bswap_constant_16): Likewise.
48055 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
48057         [BZ #14117]
48058         * sysdeps/i386/fpu_control.h: Removed.
48059         * sysdeps/x86_64/fpu_control.h: Moved to ...
48060         * sysdeps/x86/fpu_control.h: Here.
48062         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48063         (_FPU_SETCW): Likewise.
48065 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
48067         [BZ #14117]
48068         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48069         * sysdeps/x86/fpu/bits/mathinline.h: This.
48070         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48072         [BZ #14050]
48073         [BZ #14117]
48074         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48075         functions if __x86_64__ is defined.
48077 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
48079         * string/endian.h: Add !__ASSEMBLER__ condition for including
48080         conversion interfaces.
48082 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
48084         [BZ #14241]
48085         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48086         of ABS(x) in calculating zero to negative powers other than odd
48087         integers.
48088         * math/libm-test.inc (pow_test): Add more tests.
48090 2012-06-15  Andreas Jaeger  <aj@suse.de>
48092         * manual/contrib.texi (Contributors): Update entry of Liubov
48093         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48094         Machado Filho.
48096 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
48098         * string/string.h: Add __wur to GNU version of strerror_r.
48100 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
48102         [BZ #14229]
48103         * string/Makefile (tests): Add tst-strtok_r.
48104         * string/tst-strtok_r.c: New file.
48105         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48106         RAX_LP/RDX_LP on SAVE_PTR.
48108 2012-06-14  Roland McGrath  <roland@hack.frob.com>
48110         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48112 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48114         * libm_test.inc (csqrt_test): Allow more spurious underflow
48115         exceptions.
48116         (j0_test): Likewise.
48117         (j1_test): Likewise.
48118         (y0_test): Likewise.
48119         (y1_test): Likewise.
48121 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48123         * po/Makefile (libc.pot): Use UTF-8 charset.
48125 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48127         [BZ #14210]
48128         Suppress sign-conversion warning from FD_SET.
48129         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48130         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48131         not unsigned long int.
48132         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48134 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48136         [BZ #14050]
48137         [BZ #14117]
48138         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48139         __extern_always_inline instead of __extern_inline.
48140         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48141         (__signbit): Likewise.
48142         (__signbitl): Support C++ namespace.
48143         (lrintf): New inline function.
48144         (lrint): Likewise.
48145         (llrintf): Likewise.
48146         (llrint): Likewise.
48147         (fmaxf): Likewise.
48148         (fmax): Likewise.
48149         (fminf): Likewise.
48150         (fmin): Likewise.
48151         (rint): Likewise.
48152         (rintf): Likewise.
48153         (ceil): Likewise.
48154         (ceilf): Likewise.
48155         (floor): Likewise.
48156         (floorf): Likewise.
48157         (nearbyint): Likewise.
48158         (nearbyintf): Likewise.
48160 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48162         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48163         non-default versions.
48165 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48167         [BZ #14218]
48168         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48170 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48172         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48173         (FE_UPWARD, FE_DOWNWARD): Don't define.
48174         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48175         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48177         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48178         reading it.
48179         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48180         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48182 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48184         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48185         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48186         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48187         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48189 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48191         [BZ #14117]
48192         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48193         * sysdeps/i386/fpu/Implies: New file.
48194         * sysdeps/x86_64/fpu/Implies: Likewise.
48195         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48196         * sysdeps/x86/fpu/bits/fenv.h: This.
48198         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48199         __SSE_MATH__.
48201 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48203         [BZ #14134]
48204         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48205         character 0xffff that matches the last element of the
48206         conversion table.
48208 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48210         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48211         fmodl commit.
48213 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48216         values higher than 25.6283.
48218 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48221         subnormal exponent extraction and add some __builtin_expect.
48222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48223         Fix for subnormal mantissa calculation.
48225 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48227         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48228         cpu2 is -1 and errno is not ENOSYS.
48230 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48232         [BZ #14117]
48233         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48234         * sysdeps/x86/bits/string.h: This.
48235         * sysdeps/x86_64/bits/string.h: Removed.
48237         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48238         if not compiling for x86-64, but compiling for >= i486.
48240         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48241         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48243         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48244         New macro from Linux kernel 3.4.0.
48245         (FP_XSTATE_MAGIC2): Likewise.
48246         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48247         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48248         (struct _fpx_sw_bytes): New struct.
48249         (struct _xsave_hdr): Likewise.
48250         (struct _ymmh_state): Likewise.
48251         (struct _xstate): Likewise.
48253         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48254         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48255         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48256         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48257         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48258         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48260         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48261         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48262         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48263         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48264         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48265         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48267 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48269         [BZ #13743]
48270         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48271         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48272         (sysdep_headers): Include sys/platform/ppc.h.
48273         * sysdeps/powerpc/test-gettimebase.c: Test for
48274         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48275         * manual/Makefile (appendices): Include platform.texi.
48276         * manual/contrib.texi (Contributors): Update @node pointers.
48277         * manual/maint.texi (Maintenance): Likewise.
48278         (Platform): New node.
48279         * manual/platform.texi: New file.  Document the new features.
48281 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48282             Jakub Jelinek  <jakub@redhat.com>
48284         [BZ #14188]
48285         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48286         where __builtin_expect is unavailable.
48288 2012-06-03  David S. Miller  <davem@davemloft.net>
48290         * stdlib/longlong.h: Updated from GCC.
48292 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48294         [BZ #14042]
48295         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48296         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48297         __mcount_internal.
48298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48299         (GLIBC_2.16): Likewise.
48301 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48303         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48305 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48308         (default-abi): New variable.
48309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48310         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48311         variable.
48312         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48313         Likewise.
48314         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48315         Likewise.
48316         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48317         Likewise.
48319         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48320         definition.  Document in comment.
48322 2012-06-01  David S. Miller  <davem@davemloft.net>
48324         * stdlib/longlong.h: Updated from GCC.
48326 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48328         [BZ #14117]
48329         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48330         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48331         sys/debugreg.h sys/io.h here.
48332         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48333         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48334         sys/io.h.
48335         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48336         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48337         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48338         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48339         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48340         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48342         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48343         Define only if __x86_64__ is defined.
48345 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48347         [BZ #14048]
48348         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48349         Use int64_t for variable i.
48350         * math/libm-test.inc (fmod_test): Add more tests.
48352         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48353         z computation is not scheduled after fetestexcept.
48354         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48355         Use math_force_eval instead of asm to ensure calculation scheduled
48356         before exception test.
48357         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48358         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48360 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48363         computation is not scheduled after fetestexcept.
48365 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48367         [BZ #14117]
48368         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48369         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48371 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48373         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48374         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48376 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48378         [BZ #14117]
48379         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48380         <bits/wordsize.h>.
48381         (__WCHAR_MIN): Support __WORDSIZE == 64.
48382         (__WCHAR_MAX): Likewise.
48384         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48385         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48387         [BZ #14183]
48388         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48389         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48391         [BZ #14117]
48392         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48395         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48396         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48398         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48399         Defined to 1 if __x86_64__ isn't defined.
48400         (_STAT_VER_LINUX_OLD): New.
48401         (st_atime): Remove duplicate.
48402         (st_mtime): Likewise.
48403         (st_ctime): Likewise.
48405 2012-05-31  David S. Miller  <davem@davemloft.net>
48407         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48408         entries.
48410 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48412         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48413         gen-libm-test.pl.
48415         [BZ #14132]
48416         * elf/dl-reloc.c: Include <_itoa.h>.
48417         (_dl_reloc_bad_type): Remove use of INTUSE.
48418         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48419         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48420         * stdio-common/psiginfo.c (psiginfo): Likewise.
48421         * stdio-common/psignal.c (psignal): Likewise.
48422         * string/strsignal.c (strsignal): Likewise.
48423         * include/signal.h (_sys_siglist): Declare hidden proto.
48424         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48425         INTVARDEF with libc_hidden_data_def.
48426         * stdio-common/itoa-udigits.c: Likewise.
48427         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48428         (_itoa_lower_digits_internal): Remove declaration.
48429         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48430         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48431         (_sys_sigabbrev_internal): Remove aliases.
48432         (_sys_siglist): Define hidden alias.
48434 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48437         bits/sysctl.h.
48439 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48441         [BZ #14117]
48442         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48443         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48445         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48446         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48447         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48448         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48449         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48450         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48452         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48453         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48454         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48456         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48457         with __addr.
48458         (insw): Likewise.
48459         (insl): Likewise.
48460         (outsb): Likewise.
48461         (outsw): Likewise.
48462         (outsl): Likewise.
48464         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48465         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48466         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48468         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48469         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48470         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48471         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48472         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48473         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48475         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48476         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48478         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48479         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48481         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48482         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48483         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48485         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48486         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48487         to ...
48488         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48490         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48491         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48492         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48494         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48495         for x86-64.
48496         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48498 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48500         * math/math.h (M_El): Use two more decimal places.
48501         (M_LOG2El): Likewise.
48502         (M_LOG10El): Likewise.
48503         (M_LN2l): Likewise.
48504         (M_LN10l): Likewise.
48505         (M_PIl): Likewise.
48506         (M_PI_2l): Likewise.
48507         (M_PI_4l): Likewise.
48508         (M_1_PIl): Likewise.
48509         (M_2_PIl): Likewise.
48510         (M_2_SQRTPIl): Likewise.
48511         (M_SQRT2l): Likewise.
48512         (M_SQRT1_2l): Likewise.
48514 2012-05-31  David S. Miller  <davem@davemloft.net>
48516         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48517         values between float registers.
48518         * sysdeps/sparc/sparc64/memset.S: Likewise.
48519         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48521 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48523         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48524         -D_FORTIFY_SOURCE=1.
48525         (CPPFLAGS-tst-longjmp_chk.c): Define.
48526         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48527         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48528         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48529         CFLAGS-tst-wchar-h.c.
48531 2012-05-31  Marek Polacek  <polacek@redhat.com>
48533         [BZ #14132]
48534         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48535         __endmntent_internal): Remove declaration.
48536         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48537         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48538         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48540 2012-05-30  David S. Miller  <davem@davemloft.net>
48542         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48543         (___Q_simulate_exceptions): Use real FP ops rather than writing
48544         into the %fsr.
48545         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48546         Likewise.
48548 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48550         [BZ #14117]
48551         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48552         * sysdeps/x86/bits/xtitypes.h: This.
48554         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48555         * sysdeps/x86/bits/wordsize.h: This.
48557         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48558         * sysdeps/x86/bits/huge_vall.h: This.
48560         * sysdeps/i386/bits/select.h: Removed.
48561         * sysdeps/x86_64/bits/select.h: Renamed to ...
48562         * sysdeps/x86/bits/select.h: This.
48564         * sysdeps/i386/bits/setjmp.h: Removed.
48565         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48566         * sysdeps/x86/bits/setjmp.h: This.
48568         * sysdeps/i386/bits/mathdef.h: Removed.
48569         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48570         * sysdeps/x86/bits/mathdef.h: This.
48572 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48574         [BZ #14132]
48575         * include/sys/socket.h (__connect_internal)
48576         (__libc_sa_len_internal): Remove declaration.
48577         (__connect, __libc_sa_len): Declare hidden_proto.
48578         (SA_LEN): Remove use of INTUSE.
48579         * socket/connect.c: Add libc_hidden_def.
48580         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48581         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48582         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48583         alias.
48584         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48585         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48586         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48587         of adding _internal alias.
48589 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48591         [BZ #14117]
48592         * sysdeps/i386/bits/link.h: Removed.
48593         * sysdeps/i386/bits/linkmap.h: Likewise.
48594         * sysdeps/x86_64/bits/link.h: Renamed to ...
48595         * sysdeps/x86/bits/link.h: This.
48596         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48597         * sysdeps/x86/bits/linkmap.h: This.
48599         * sysdeps/i386/bits/endian.h: Removed.
48600         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48601         * sysdeps/x86/bits/endian.h: This.
48603         * sysdeps/i386/bits/byteswap.h: Removed.
48604         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48605         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48606         * sysdeps/x86/bits/byteswap.h: This.
48607         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48608         * sysdeps/x86/bits/byteswap-16.h: This.
48609         * sysdeps/i386/Implies: Add x86.
48610         * sysdeps/x86_64/Implies: Likewise.
48612 2012-05-30  David S. Miller  <davem@davemloft.net>
48614         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48615         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48616         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48617         (FP_TRAPPING_EXCEPTIONS): Define.
48618         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48619         (FP_TRAPPING_EXCEPTIONS): Define.
48620         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48621         subnormals only when inexact has been signalled or underflow
48622         exceptions are enabled.
48623         (_FP_PACK_CANONICAL): Likewise.
48625 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48627         [BZ #14183]
48628         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48629         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48631 2012-05-30  Richard Henderson  <rth@twiddle.net>
48633         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48634         with #ifndef NOT_IN_libc.
48636         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48637         marked to avoid plt entry.
48639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48641         [BZ #14112]
48642         * Makeconfig (default-abi): New macro.
48643         (abi-includes): Likewise.
48644         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48645         $(abi-$(default-abi)-lib-soname) for soname if defined.
48646         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48647         abi-variants.
48648         * Makefile (installed-stubs): Likewise.
48649         * include/stubs-biarch.h: Removed.
48650         * scripts/lib-names.awk: Only handle one library at a time.
48651         * scripts/soversions.awk: Remove WORDSIZE support.
48652         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48653         entries.
48654         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48655         Removed.
48656         (syscall-list-default-condition): Likewise.
48657         (syscall-list-default-condition): Likewise.
48658         (syscall-list-includes): Likewise.
48659         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48660         syscall-list-* with abi-*.  Handle undefined abi-variants.
48661         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48662         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48663         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48664         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48665         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48666         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48667         Removed.
48668         (syscall-list-32-options): Likewise.
48669         (syscall-list-32-condition): Likewise.
48670         (syscall-list-64-options): Likewise.
48671         (syscall-list-64-condition): Likewise.
48672         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48673         macro.
48674         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48675         Renamed to ...
48676         (abi-*): This.
48677         (abi-64-ld-soname): New macro.
48678         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48679         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48680         Renamed to ...
48681         (abi-*): This.
48682         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48683         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48685 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48687         * sysdeps/unix/sysv/linux/kernel-features.h
48688         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48689         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48690         include <kernel-features.h>.
48691         [!__NR_ftruncate64]: Remove conditional code.
48692         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48693         [__NR_ftruncate64]: Make code unconditional.
48694         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48695         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48696         include <kernel-features.h>.
48697         [!__NR_ftruncate64]: Remove conditional code.
48698         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48699         [__NR_ftruncate64]: Make code unconditional.
48700         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48702         include <kernel-features.h>.
48703         [!__NR_ftruncate64]: Remove conditional code.
48704         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48705         [__NR_ftruncate64]: Make code unconditional.
48706         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48708         include <kernel-features.h>.
48709         [!__NR_ftruncate64]: Remove conditional code.
48710         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48711         [__NR_ftruncate64]: Make code unconditional.
48712         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48714         * configure.in (libc_cv_fpie): Weaken to a compile test using
48715         LIBC_TRY_CC_OPTION.
48716         * configure: Regenerated.
48718 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48724         Refreshed.
48725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48731         Refreshed.
48733 2012-05-27  David S. Miller  <davem@davemloft.net>
48735         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48736         (___Q_zero): New.
48737         (__Q_simulate_exceptions): Return void.  Change to simulate
48738         exceptions by writing into the %fsr.
48739         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48740         (__Qp_handle_exceptions): Likewise.
48741         (numbers): Delete.
48742         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48743         __Qp_handle_exceptions.
48744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48745         __Qp_handle_exceptions.
48746         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48747         as unused and give dummy FP_RND_NEAREST initializer.
48748         (FP_INHIBIT_RESULTS): Define.
48749         (___Q_simulate_exceptions): Update declaration.
48750         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48751         formatting.
48752         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48753         as unused and give dummy FP_RND_NEAREST initializer.
48754         (__Qp_handle_exceptions): Update declaration.
48755         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48756         formatting.
48758 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48760         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48761         the temporary FPU control word.
48762         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48763         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48764         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48765         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48766         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48767         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48768         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48769         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48770         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48771         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48772         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48774 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48776         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48777         fields.
48779 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48781         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48782         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48783         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48784         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48785         Likewise.
48786         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48787         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48788         Likewise.
48790 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48792         * po/h.po: Update from translation team.
48794 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48796         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48798         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48799         handling of denormals.
48800         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48801         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48802         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48803         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48806         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48807         Likewise.
48809 2012-05-26  Marek Polacek  <polacek@redhat.com>
48811         [BZ #14152]
48812         * math/libm-test.inc (fma_test): Don't always expect underflow
48813         exception.
48815 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48817         [BZ #12416]
48818         * elf/tst-execstack.c: Include stackinfo.h.
48819         (do_test): Adjust test case to ensure that pthread_getattr_np
48820         behaviour remains the same after marking stack executable.
48822 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48824         * sysdeps/unix/sysv/linux/kernel-features.h
48825         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48826         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48827         kernel-features.h.
48828         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48829         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48830         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48831         kernel-features.h.
48832         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48833         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48835 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48837         * configure.in: Define the default includes to being none.
48838         * configure: Regenerated.
48840 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48842         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48843         * sysdeps/x86_64/setjmp.S: Likewise.
48844         * sysdeps/i386/bsd-setjmp.S: Likewise.
48845         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48846         * sysdeps/i386/setjmp.S: Likewise.
48847         * sysdeps/i386/__longjmp.S: Likewise.
48848         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48849         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48851         * include/stap-probe.h: New file.
48852         * configure.in: Handle --enable-systemtap.
48853         * configure: Regenerated.
48854         * config.h.in (USE_STAP_PROBE): New #undef.
48855         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48856         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48857         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48859 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48861         [BZ #13717]
48862         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48863         to 2.4.0 where earlier.
48864         * sysdeps/unix/sysv/linux/configure: Regenerated.
48865         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
48874         [__ASSUME_32BITUIDS]: Make code unconditional.
48875         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48876         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48877         <kernel-features.h>.
48878         [__ASSUME_32BITUIDS]: Make code unconditional.
48879         [!__ASSUME_32BITUIDS]: Remove conditional code.
48880         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48881         <kernel-features.h>.
48882         [__ASSUME_32BITUIDS]: Make code unconditional.
48883         [!__ASSUME_32BITUIDS]: Remove conditional code.
48884         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48885         <kernel-features.h>.
48886         [__ASSUME_32BITUIDS]: Make code unconditional.
48887         [!__ASSUME_32BITUIDS]: Remove conditional code.
48888         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48889         <kernel-features.h>.
48890         [__ASSUME_32BITUIDS]: Make code unconditional.
48891         [!__ASSUME_32BITUIDS]: Remove conditional code.
48892         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48893         <kernel-features.h>.
48894         [__ASSUME_32BITUIDS]: Make code unconditional.
48895         [!__ASSUME_32BITUIDS]: Remove conditional code.
48896         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48897         <kernel-features.h>.
48898         [__ASSUME_32BITUIDS]: Make code unconditional.
48899         [!__ASSUME_32BITUIDS]: Remove conditional code.
48900         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48901         <kernel-features.h>.
48902         [__ASSUME_32BITUIDS]: Make code unconditional.
48903         [!__ASSUME_32BITUIDS]: Remove conditional code.
48904         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48905         <kernel-features.h>.
48906         [__ASSUME_32BITUIDS]: Make code unconditional.
48907         [!__ASSUME_32BITUIDS]: Remove conditional code.
48908         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48909         <kernel-features.h>.
48910         [__ASSUME_32BITUIDS]: Make code unconditional.
48911         [!__ASSUME_32BITUIDS]: Remove conditional code.
48912         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48913         <kernel-features.h>.
48914         [__ASSUME_32BITUIDS]: Make code unconditional.
48915         [!__ASSUME_32BITUIDS]: Remove conditional code.
48916         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48917         <kernel-features.h>.
48918         [__NR_setresgid] (__setresgid): Do not declare.
48919         [__ASSUME_32BITUIDS]: Make code unconditional.
48920         [!__ASSUME_32BITUIDS]: Remove conditional code.
48921         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48922         <kernel-features.h>.
48923         [__NR_setresuid] (__setresuid): Do not declare.
48924         [__ASSUME_32BITUIDS]: Make code unconditional.
48925         [!__ASSUME_32BITUIDS]: Remove conditional code.
48926         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48927         <kernel-features.h>.
48928         [__ASSUME_32BITUIDS]: Make code unconditional.
48929         [!__ASSUME_32BITUIDS]: Remove conditional code.
48930         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48931         <kernel-features.h>.
48932         [__ASSUME_32BITUIDS]: Make code unconditional.
48933         [!__ASSUME_32BITUIDS]: Remove conditional code.
48934         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48935         <kernel-features.h>.
48936         [__ASSUME_32BITUIDS]: Make code unconditional.
48937         [!__ASSUME_32BITUIDS]: Remove conditional code.
48938         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48939         <kernel-features.h>.
48940         [__ASSUME_32BITUIDS]: Make code unconditional.
48941         [!__ASSUME_32BITUIDS]: Remove conditional code.
48942         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48943         <kernel-features.h>.
48944         [__ASSUME_32BITUIDS]: Make code unconditional.
48945         [!__ASSUME_32BITUIDS]: Remove conditional code.
48946         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48947         <kernel-features.h>.
48948         [__ASSUME_32BITUIDS]: Make code unconditional.
48949         [!__ASSUME_32BITUIDS]: Remove conditional code.
48950         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48951         <kernel-features.h>.
48952         [__ASSUME_32BITUIDS]: Make code unconditional.
48953         [!__ASSUME_32BITUIDS]: Remove conditional code.
48954         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48955         <kernel-features.h>.
48956         [__ASSUME_32BITUIDS]: Make code unconditional.
48957         [!__ASSUME_32BITUIDS]: Remove conditional code.
48958         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48959         <kernel-features.h>.
48960         [__ASSUME_32BITUIDS]: Make code unconditional.
48961         [!__ASSUME_32BITUIDS]: Remove conditional code.
48962         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48963         <kernel-features.h>.
48964         [__ASSUME_32BITUIDS]: Make code unconditional.
48965         [!__ASSUME_32BITUIDS]: Remove conditional code.
48966         * sysdeps/unix/sysv/linux/kernel-features.h
48967         (__ASSUME_SETRESUID_SYSCALL): Remove.
48968         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48969         (__ASSUME_32BITUIDS): Likewise.
48970         (__ASSUME_LDT_WORKS): Likewise.
48971         (__ASSUME_O_DIRECTORY): Likewise.
48972         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48973         architecture but not kernel version.
48974         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48975         (__ASSUME_MMAP2_SYSCALL): Likewise.
48976         (__ASSUME_STAT64_SYSCALL): Likewise.
48977         (__ASSUME_IPC64): Likewise.
48978         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48979         <kernel-features.h>.
48980         [__ASSUME_32BITUIDS]: Make code unconditional.
48981         [!__ASSUME_32BITUIDS]: Remove conditional code.
48982         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48983         <kernel-features.h>.
48984         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48985         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48986         132096]: Remove conditional code.
48987         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48988         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48989         <kernel-features.h>.
48990         [__ASSUME_32BITUIDS]: Make code unconditional.
48991         [!__ASSUME_32BITUIDS]: Remove conditional code.
48992         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48993         <kernel-features.h>.
48994         [__ASSUME_32BITUIDS]: Make code unconditional.
48995         [!__ASSUME_32BITUIDS]: Remove conditional code.
48996         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48997         <kernel-features.h>.
48998         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48999         unconditional.
49000         (__setresgid): Do not declare.
49001         [__ASSUME_32BITUIDS]: Make code unconditional.
49002         [!__ASSUME_32BITUIDS]: Remove conditional code.
49003         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49004         <kernel-features.h>.
49005         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49006         unconditional.
49007         (__setresuid): Do not declare.
49008         [__ASSUME_32BITUIDS]: Make code unconditional.
49009         [!__ASSUME_32BITUIDS]: Remove conditional code.
49010         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49011         <kernel-features.h>.
49012         [__ASSUME_32BITUIDS]: Make code unconditional.
49013         [!__ASSUME_32BITUIDS]: Remove conditional code.
49014         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49015         <kernel-features.h>.
49016         [__ASSUME_32BITUIDS]: Make code unconditional.
49017         [!__ASSUME_32BITUIDS]: Remove conditional code.
49019 2012-05-25  Richard Henderson  <rth@twiddle.net>
49021         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49022         dl_hwcap to ifunc resolver.
49023         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49024         elf_ifunc_invoke.
49025         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49026         dl_hwcap to ifunc resolver.
49027         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49029 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49031         [BZ #14153]
49032         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49033         for |x| <= 2**-26, not 2**-57.
49034         * math/libm-test.inc (acos_test): Do not allow spurious underflow
49035         exception.
49037 2012-05-24  Jeff Law  <law@redhat.com>
49039         * stdio-common/Makefile (tests): Add bug25.
49040         * stdio-common/bug25.c: New test.
49042 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49044         [BZ #13576]
49045         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49046         multiple of MALLOC_ALIGNMENT in size.
49047         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49049 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49051         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49052         Require >= 256.
49053         (FILENAME_MAX): Use macro-int-constant.
49054         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
49055         (_IOFBF): Use macro-int-constant.
49056         (_IOLBF): Likewise.
49057         (_IONBF): Likewise.
49058         (SEEK_CUR): Likewise.
49059         (SEEK_END): Likewise.
49060         (SEEK_SET): Likewise.
49061         (TMP_MAX): Likewise.
49062         (EOF): Use macro-int-constant.  Require < 0.
49063         (NULL): Use macro-constant.  Require == 0.
49064         (stdin): Require type to be FILE *.
49065         (stdout): Likewise.
49066         (stderr): Likewise.
49067         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49068         macro-int-constant.
49069         (EXIT_SUCCESS): Likewise.
49070         (NULL): Use macro-constant.  Require == 0.
49071         (RAND_MAX): Use macro-int-constant.
49072         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49073         [C99-based standards] (strtof): Require function.
49074         [C99-based standards] (strtold): Likewise.
49075         [C99-based standards] (strtoll): Likewise.
49076         [C99-based standards] (strtoull): Likewise.
49077         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49078         [ISO || ISO99 || ISO11] (limits.h): Likewise.
49079         [ISO || ISO99 || ISO11] (math.h): Likewise.
49080         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49081         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49082         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49084 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
49086         [BZ #14132]
49087         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49088         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49089         * intl/dgettext.c (DCGETTEXT): Likewise.
49090         * intl/gettext.c (DCGETTEXT): Likewise.
49091         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49092         * posix/regex_internal.h (gettext): Likewise.
49093         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49094         Remove declaration.
49095         * include/argz.h (__argz_count_internal)
49096         (__argz_stringify_internal): Remove declaration.
49097         (__argz_count, __argz_stringify): Declare hidden proto.
49098         * intl/dcgettext.c: Remove use of INTDEF.
49099         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49100         * string/argz-stringify.c: Likewise.
49101         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49102         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49103         Declare hidden proto.
49104         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49105         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49106         Declare hidden proto.
49107         * include/stdio.h (__asprintf_internal): Don't declare.
49108         (__asprintf): Don't define as macro.  Declare hidden proto.
49109         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49110         (__fsetlocking): Declare hidden proto.
49111         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49112         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49113         hidden proto.
49114         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49115         (_IO_setlinebuf): Remove use of INTUSE.
49116         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49117         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49118         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49119         Remove declaration.
49120         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49121         (_IO_do_flush): Remove use of INTUSE.
49122         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49123         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49124         (_IO_adjust_column, _IO_least_wmarker)
49125         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49126         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49127         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49128         (_IO_default_doallocate, _IO_wdefault_doallocate)
49129         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49130         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49131         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49132         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49133         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49134         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49135         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49136         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49137         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49138         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49139         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49140         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49141         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49142         proto.
49143         (_IO_flush_all_internal, _IO_adjust_column_internal)
49144         (_IO_default_uflow_internal, _IO_default_finish_internal)
49145         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49146         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49147         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49148         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49149         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49150         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49151         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49152         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49153         (_IO_file_close_internal, _IO_file_close_it_internal)
49154         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49155         (_IO_file_init_internal, _IO_file_attach_internal)
49156         (_IO_file_fopen_internal, _IO_file_read_internal)
49157         (_IO_file_sync_internal, _IO_file_seek_internal)
49158         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49159         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49160         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49161         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49162         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49163         (_IO_list_all_internal, _IO_link_in_internal)
49164         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49165         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49166         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49167         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49168         (_IO_do_write_internal, _IO_padn_internal)
49169         (_IO_getline_info_internal, _IO_getline_internal)
49170         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49171         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49172         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49173         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49174         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49175         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49176         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49177         with libc_hidden_ver, remove use of INTUSE.
49178         * libio/genops.c: Likewise.
49179         * libio/freopen.c: Likewise.
49180         * libio/freopen64.c: Likewise.
49181         * libio/iofclose.c: Likewise.
49182         * libio/iofdopen.c: Likewise.
49183         * libio/iofflush.c: Likewise.
49184         * libio/iofflush_u.c: Likewise.
49185         * libio/iofgets.c: Likewise.
49186         * libio/iofgets_u.c: Likewise.
49187         * libio/iofopen.c: Likewise.
49188         * libio/iofopncook.c: Likewise.
49189         * libio/iofread.c: Likewise.
49190         * libio/iofread_u.c: Likewise.
49191         * libio/ioftell.c: Likewise.
49192         * libio/iofwrite.c: Likewise.
49193         * libio/iogetline.c: Likewise.
49194         * libio/iogets.c: Likewise.
49195         * libio/iogetwline.c: Likewise.
49196         * libio/iopadn.c: Likewise.
49197         * libio/iopopen.c: Likewise.
49198         * libio/ioseekoff.c: Likewise.
49199         * libio/ioseekpos.c: Likewise.
49200         * libio/iosetbuffer.c: Likewise.
49201         * libio/iosetvbuf.c: Likewise.
49202         * libio/ioungetc.c: Likewise.
49203         * libio/ioungetwc.c: Likewise.
49204         * libio/iovdprintf.c: Likewise.
49205         * libio/iovsprintf.c: Likewise.
49206         * libio/iovsscanf.c: Likewise.
49207         * libio/memstream.c: Likewise.
49208         * libio/obprintf.c: Likewise.
49209         * libio/oldfileops.c: Likewise.
49210         * libio/oldiofclose.c: Likewise.
49211         * libio/oldiofdopen.c: Likewise.
49212         * libio/oldiofopen.c: Likewise.
49213         * libio/oldiopopen.c: Likewise.
49214         * libio/oldstdfiles.c: Likewise.
49215         * libio/putc.c: Likewise.
49216         * libio/setbuf.c: Likewise.
49217         * libio/setlinebuf.c: Likewise.
49218         * libio/stdfiles.c: Likewise.
49219         * libio/strops.c: Likewise.
49220         * libio/vasprintf.c: Likewise.
49221         * libio/vscanf.c: Likewise.
49222         * libio/vsnprintf.c: Likewise.
49223         * libio/vswprintf.c: Likewise.
49224         * libio/wfiledoalloc.c: Likewise.
49225         * libio/wfileops.c: Likewise.
49226         * libio/wgenops.c: Likewise.
49227         * libio/wmemstream.c: Likewise.
49228         * libio/wstrops.c: Likewise.
49229         * libio/__fpurge.c: Likewise.
49230         * libio/__fsetlocking.c: Likewise.
49231         * assert/assert.c: Likewise.
49232         * debug/fgets_chk.c: Likewise.
49233         * debug/fgets_u_chk.c: Likewise.
49234         * debug/fread_chk.c: Likewise.
49235         * debug/fread_u_chk.c: Likewise.
49236         * debug/gets_chk.c: Likewise.
49237         * debug/obprintf_chk.c: Likewise.
49238         * debug/vasprintf_chk.c: Likewise.
49239         * debug/vdprintf_chk.c: Likewise.
49240         * debug/vsnprintf_chk.c: Likewise.
49241         * debug/vsprintf_chk.c: Likewise.
49242         * malloc/mtrace.c: Likewise.
49243         * misc/error.c: Likewise.
49244         * misc/syslog.c: Likewise.
49245         * stdio-common/asprintf.c: Likewise.
49246         * stdio-common/fxprintf.c: Likewise.
49247         * stdio-common/getw.c: Likewise.
49248         * stdio-common/isoc99_fscanf.c: Likewise.
49249         * stdio-common/isoc99_scanf.c: Likewise.
49250         * stdio-common/isoc99_vfscanf.c: Likewise.
49251         * stdio-common/isoc99_vscanf.c: Likewise.
49252         * stdio-common/isoc99_vsscanf.c: Likewise.
49253         * stdio-common/printf-prs.c: Likewise.
49254         * stdio-common/printf_fp.c: Likewise.
49255         * stdio-common/printf_fphex.c: Likewise.
49256         * stdio-common/printf_size.c: Likewise.
49257         * stdio-common/putw.c: Likewise.
49258         * stdio-common/scanf.c: Likewise.
49259         * stdio-common/sprintf.c: Likewise.
49260         * stdio-common/tmpfile.c: Likewise.
49261         * stdio-common/vfprintf.c: Likewise.
49262         * stdio-common/vfscanf.c: Likewise.
49263         * stdlib/strfmon_l.c: Likewise.
49264         * sunrpc/openchild.c: Likewise.
49265         * sunrpc/xdr_stdio.c: Likewise.
49266         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49267         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49269 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49271         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49273         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49274         in the third column, to generate for the shared library an IFUNC
49275         that uses _dl_vdso_vsym.
49276         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49277         * Makeconfig (object-suffixes-noshared): New variable.
49279         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49280         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49281         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49282         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49284         [BZ #14132]
49285         * include/sys/time.h (__gettimeofday): Remove macro.
49286         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49287         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49288         Remove INTDEF.
49289         (__gettimeofday): Add libc_hidden_def.
49290         (gettimeofday): Add libc_hidden_weak.
49291         * sysdeps/mach/gettimeofday.c: Likewise.
49292         * sysdeps/posix/gettimeofday.c: Likewise.
49293         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49294         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49296         (__gettimeofday_internal): Remove strong_alias.
49297         (__gettimeofday): Add libc_hidden_def.
49298         (gettimeofday): Add libc_hidden_weak.
49299         * sysdeps/unix/syscalls.list (gettimeofday):
49300         Remove __gettimeofday_internal alias.
49302 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49303             H.J. Lu  <hongjiu.lu@intel.com>
49305         [BZ #12495]
49306         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49307         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49308         (largebin_index_32_big): New.
49309         (largebin_index): Use it for 16-byte alignment.
49310         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49311         correction with front_misalign.
49313 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49317         Likewise.
49318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49319         Likewise.
49320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49321         Likewise.
49322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49323         Likewise.
49324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49325         Likewise.
49326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49327         Likewise.
49328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49329         Likewise.
49330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49331         Likewise.
49332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49333         Likewise.
49334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49335         Likewise.
49336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49337         Likewise.
49338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49339         Likewise.
49341         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49342         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49344 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49346         [BZ #10846]
49347         [BZ #14036]
49348         * math/libm-test.inc (exp_test): Add test from bug 14036.
49349         (pow_test): Add test from bug 10846.
49351         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49352         and other flags.
49353         (special_function): Do not include flags in test name.
49354         (parse_args): Likewise.
49355         * sysdeps/i386/fpu/libm-test-ulps: Update.
49356         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49357         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49358         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49361         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49362         exceptions.
49363         * math/libm-test.inc ("Philosophy"): Update comment about
49364         exception testing.
49365         (UNDERFLOW_EXCEPTION): New macro.
49366         (UNDERFLOW_EXCEPTION_OK): Likewise.
49367         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49368         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49369         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49370         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49371         (INVALID_EXCEPTION_OK): Update value.
49372         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49373         (OVERFLOW_EXCEPTION_OK): Likewise.
49374         (IGNORE_ZERO_INF_SIGN): Likewise.
49375         (test_exceptions): Handle underflow exceptions.
49376         (acos_test): Update for underflow exception expectations.
49377         (cexp_test): Likewise.
49378         (clog_test): Likewise.
49379         (clog10_test): Likewise.
49380         (csqrt_test): Likewise.
49381         (ctan_test): Likewise.
49382         (ctanh_test): Likewise.
49383         (exp_test): Likewise.
49384         (exp10_test): Likewise.
49385         (exp2_test): Likewise.
49386         (expm1_test): Likewise.
49387         (fma_test): Likewise.
49388         (j0_test): Likewise.
49389         (jn_test): Likewise.
49390         (nexttoward_test): Likewise.
49391         (pow_test): Likewise.
49392         (scalbn_test): Likewise.
49393         (scalbln_test): Likewise.
49394         (tan_test): Likewise.
49395         (y1_test): Likewise.
49396         * sysdeps/i386/fpu/libm-test-ulps: Update.
49397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49399 2012-05-23  David S. Miller  <davem@davemloft.net>
49401         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49402         (__libc_sigaction): Remove unused local variables.
49404 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49406         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49408 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49410         mktime: avoid signed integer overflow
49411         * time/mktime.c (__mktime_internal): Do not mishandle the case
49412         where diff == INT_MIN.
49414         mktime: simplify computation of average
49415         * time/mktime.c (ranged_convert): Use new time_t_avg function
49416         instead of rolling our own (probably-slower) code.
49418         mktime: do not assume signed right shift propagates sign bit
49419         * time/mktime.c (isdst_differ): New static function.
49420         (__mktime_internal): No need to normalize tm_isdst now.
49421         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49422         tm_isdst values.
49424         mktime: merge another wrapv change from gnulib
49425         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49426         from some compilers.
49428         mktime: remove incorrect attempt at unusual arithmetics
49429         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49430         The code didn't really work on such machines anyway.
49431         (TYPE_MINIMUM): Assume two's complement.
49432         (twos_complement_arithmetic): Verify that long_int and time_t
49433         are two's complement (or unsigned, in the latter case).
49435         mktime: check signed shifts on long_int and time_t, too
49436         * time/mktime.c (SHR): Check that shifts work as desired
49437         on the types long_int and time_t too, as SHR is used on
49438         such types.
49440         mktime: do not assume 'long' is wide enough
49441         * time/mktime.c (verify): Move decl up.
49442         (long_int): New type.
49443         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49444         to remove assumption in the code that 'long' is wide enough to
49445         store year values.  This assumption is not true on x32 and on
49446         some non-glibc platforms.
49448         mktime: merge wrapv change from gnulib
49449         * time/mktime.c (WRAPV): New macro.
49450         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49451         (guess_time_tm, __mktime_internal): Do not assume that signed
49452         integer overflow wraps around; modern compilers generate code
49453         where this assumption is no longer valid.
49455 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49457         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49458         Replace "jmp L(pseudo_end)" with "ret".
49459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49460         Likewise.
49462 2012-05-23  Andreas Jaeger  <aj@suse.de>
49464         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49465         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49467 2012-05-23  Andreas Jaeger  <aj@suse.de>
49468             Maximilian Attems  <max@stro.at>
49470         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49471         New macros.
49473 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49475         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49476         code so that pseudo_end is just ret and the stack pointer is
49477         correct also for static library in error case.
49479 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49481         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49482         move to syscalls.list.
49483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49488         * manual/install.texi (Running make install): Do not mention Linux
49489         kernel version for which pt_chown is not needed.
49490         (Linux): Do not mention problems with nscd with 2.0 kernels.
49491         * INSTALL: Regenerated.
49493 2012-05-23  Andreas Jaeger  <aj@suse.de>
49495         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49496         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49497         macro.
49498         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49499         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49500         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49501         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49502         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49503         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49504         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49505         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49506         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49507         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49508         * sysdeps/unix/sysv/linux/bits/in.h
49509         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49511 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49513         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49514         (PREPARE_VERSION): Just use assert instead, it will be elided
49515         under [NDEBUG] anyway.
49517 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49519         * sysdeps/unix/sysv/linux/Makefile: Include
49520         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49521         (sysdep_routines): Remove sysctl.
49522         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49523         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49524         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49525         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49526         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49528 2012-05-22  Andreas Jaeger  <aj@suse.de>
49530         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49531         that pseudo_end is just ret and the stack pointer is correct also
49532         for static library in error case.
49534 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49536         [BZ #14122]
49537         * nss/nsswitch.c (defconfig_entries): New variable.
49538         (__nss_database_lookup): Don't leak defconfig entries.
49539         (nss_parse_service_list): Don't leak on error paths.
49540         (free_database_entries): New function.
49541         (free_defconfig): New function.
49542         (free_mem): Move common code to free_database_entries.
49544 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49546         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49547         Add arch_prctl.
49548         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49550         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49551         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49553         New macro.
49554         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49555         (INTERNAL_SYSCALL_TYPES): Likewise.
49556         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49557         (LOAD_REGS_TYPES_[1-6]): Likewise.
49558         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49559         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49561 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49563         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49564         copysignl for GLIBC_2_0.
49565         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49566         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49568         logbl for GLIBC_2_0.
49569         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49570         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49572 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49574         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49575         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49577         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49578         Use "neg %eax".
49580         * time/mktime.c: Update copyright years.
49582 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49584         mktime: merge comment-quoting-style change from gnulib
49585         * time/mktime.c: Quote 'like this' in comments.
49586         The GNU coding standards suggest that we no longer quote `like this',
49587         as "`" and "'" are typically rendered asymmetrically nowadays.
49588         The typical gnulib style is to quote 'like this' when quoting
49589         code, and "like this" when quoting English.
49591         * time/mktime.c (compile-command): Add "-I.".
49593         mktime: merge mktime-internal.h change from gnulib
49594         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49596         mktime: merge time_r change from gnulib
49597         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49599         mktime: merge DEBUG change from gnulib
49600         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49601         case system <time.h> has a #define.
49603         mktime: merge <sys/types.h> change from gnulib
49604         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49605         since <time.t> is now guaranteed to define time_t.
49607         mktime: merge HAVE_CONFIG_H change from gnulib
49608         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49610 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49613         Use "neg %eax".
49615         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49616         __rlim_t cast.
49617         (struct rusage): Use anonymous union to pad each field to
49618         __syscall_slong_t.
49620 2012-05-21  David S. Miller  <davem@davemloft.net>
49622         * Makefules (o-iterator): Remove .s cases.
49623         (compile-command.s): Delete.
49624         (COMPILE.s): Delete.
49625         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49627 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49629         * configure.in (libc_cv_predef_stack_protector): Only consider
49630         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49631         * configure: Regenerated.
49633 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49636         New macro.  Use R*LP on int and pointer.
49637         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49638         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49639         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49640         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49642         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49643         [__WORDSIZE_TIME64_COMPAT32] instead of
49644         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49645         (struct utmp): Likewise.
49646         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49647         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49648         Renamed to ...
49649         (__WORDSIZE_TIME64_COMPAT32): This.
49650         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49651         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49652         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49653         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49654         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49655         (__WORDSIZE_TIME64_COMPAT32): New macro.
49657 2012-05-21  Andreas Jaeger  <aj@suse.de>
49659         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49660         only if [SHARED]. Add prototype for __wcschr_ia32.
49662 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49664         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49665         of %rbp unmolested in the jmp_buf while mangling the low bits.
49666         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49667         unmolested high bits of %rbp while demangling the low bits.
49668         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49670 2012-05-21  Andreas Jaeger  <aj@suse.de>
49672         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49673         * sunrpc/svc_simple.c: Use it for registerrpc.
49674         * sunrpc/xcrypt.c: Use it for passwd2des.
49676         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49678 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49680         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49681         Don't define if [__SYSCALL_WORDSIZE != 32].
49682         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49683         New macro.
49685 2012-05-21  Bruno Haible  <bruno@clisp.org>
49686             Andreas Jaeger  <aj@suse.de>
49688         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49689         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49690         inptr and inend for must_buffer_ch.
49691         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49692         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49693         * stdio-common/Makefile (tests): Remove bug15.
49694         (bug15-ENV): Remove macro.
49695         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49696         anymore.
49698 2012-05-19  Andreas Jaeger  <aj@suse.de>
49699             Roland McGrath  <roland@hack.frob.com>
49701         * manual/contrib.texi: Completely rewritten. It contains now an
49702         alphabetical list of contributors and their contributions.
49704 2012-05-21  Richard Henderson  <rth@twiddle.net>
49706         * misc/getauxval.c (__getauxval): Use unsigned long int.
49707         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49708         (getauxval): Use unsigned long int.
49710 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49712         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49714 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49716         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49717         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49718         __alignof__ (long double).
49720 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49724 2012-05-20  Richard Henderson  <rth@twiddle.net>
49726         * misc/getauxval.c: New file.
49727         * misc/sys/auxv.h: New file.
49728         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49729         (routines): Add getauxval.
49730         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49731         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49732         * elf/dl-sysdep.c (_dl_auxv): Remove.
49733         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49734         * elf/dl-support.c (_dl_auxv): New variable.
49735         (_dl_aux_init): Initialize it.
49736         * manual/startup.texi (Auxiliary Vector): New node.
49737         * sysdeps/generic/bits/hwcap.h: New file.
49738         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49739         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49740         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49741         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49742         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49745         Update.
49746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49749         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49755 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49759 2012-05-19  David S. Miller  <davem@davemloft.net>
49761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49763 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49765         [BZ #14123]
49766         * math/s_ccosh.c: Include <float.h>
49767         (__ccosh): Avoid internal overflow calculating sinh and cosh
49768         values before multiplying by sin and cos values.
49769         * math/s_ccoshf.c: Likewise.
49770         * math/s_ccoshl.c: Likewise.
49771         * math/s_csin.c: Likewise.
49772         * math/s_csinf.c: Likewise.
49773         * math/s_csinl.c: Likewise.
49774         * math/s_csinh.c: Likewise.
49775         * math/s_csinhf.c: Likewise.
49776         * math/s_csinhl.c: Likewise.
49777         * math/libm-test.inc (ccos_test): Add more tests.
49778         (ccosh_test): Likewise.
49779         (csin_test): Likewise.
49780         (csinh_test): Likewise.
49781         * sysdeps/i386/fpu/libm-test-ulps: Update.
49782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49784 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49786         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49787         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49789         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49791 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49793         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49794         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49795         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49796         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49797         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49798         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49799         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49800         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49801         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49802         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49803         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49804         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49805         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49806         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49807         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49808         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49809         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49810         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49811         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49812         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49813         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49814         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49815         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49816         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49817         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49818         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49819         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49820         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49821         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49822         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49823         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49825 2012-05-18  Andreas Jaeger  <aj@suse.de>
49827         * csu/.gitignore: Delete.
49829 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49831         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49832         (timex): Use __syscall_slong_t.
49834 2012-05-18  Andreas Jaeger  <aj@suse.de>
49835             Carlos O'Donell  <carlos_odonell@mentor.com>
49837         * manual/install.texi (Configuring and compiling): Update
49838         description about files modified in the source directory.
49839         * INSTALL: Regenerated.
49841 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49843         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49844         value.  Use "or" to set return value to -1.
49845         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49846         negate return value.
49848 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49850         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49851         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49852         failure if the compiler has Graphite support disabled.
49853         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49854         Likewise.
49855         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49856         (CFLAGS-memmove.c): Likewise.
49857         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49858         Likewise.
49860 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49862         * sysdeps/x86_64/x32/_itoa.h: New file.
49864         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49865         getdents system call only if kernel and user dirents have the
49866         same d_ino and d_off.
49868         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49869         LLONG_MAX != LONG_MAX.
49870         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49871         (_fitoa_word): Likewise.
49873         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49874         years.
49875         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49876         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49877         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49879         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49880         include <bits/wordsize.h>.  Check __x86_64__ instead of
49881         __WORDSIZE.
49882         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49883         if __x86_64__ is defined.  Use anonymous union on fpstate.
49885         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49886         anonymous union.
49888 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49890         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49891         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49892         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49893         Refer to _rtld_local_ro instead of _rtld_global_ro.
49894         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49895         Likewise.
49896         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49897         Likewise.
49898         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49899         Likewise.
49900         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49901         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49902         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49904         [BZ #10882]
49905         * sysdeps/powerpc/powerpc32/dl-machine.c
49906         (__elf_machine_runtime_setup) [PROF]: Don't reference
49907         _dl_prof_resolve.
49909 2012-05-18  Andreas Jaeger  <aj@suse.de>
49911         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49912         function only available for GCCs before 3.4 since GCC 3.4
49913         introduced a builtin.
49914         (lrint): Likewise.
49915         (llrintf): Likewise.
49916         (llrint): Likewise.
49917         (fmaxf): Likewise.
49918         (fmax): Likewise.
49919         (fminf): Likewise.
49920         (fmin): Likewise.
49921         (rint): Likewise.
49922         (rintf): Likewise.
49923         (nearbyint): Likewise.
49924         (nearbyintf): Likewise.
49925         (ceil): Likewise.
49926         (ceilf): Likewise.
49927         (floor): Likewise.
49928         (floorf): Likewise.
49930 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49932         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49933         on both fields and cast pointer to __syscall_ulong_t.
49935         * bits/types.h (__fsword_t): New type.
49936         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49937         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49939         (__FSWORD_T_TYPE): Likewise.
49940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49941         (__FSWORD_T_TYPE): Likewise.
49942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49943         (__FSWORD_T_TYPE): Likewise.
49944         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49945         (__FSWORD_T_TYPE): Likewise.
49946         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49947         __SWORD_TYPE with __fsword_t.
49948         (statfs64): Likewise.
49950 2012-05-17  David S. Miller  <davem@davemloft.net>
49952         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49954 2012-05-17  Andreas Jaeger  <aj@suse.de>
49956         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49957         warning.
49959 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49961         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49963 2012-05-17  Andreas Jaeger  <aj@suse.de>
49965         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49966         when it is used.
49968 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49970         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49972 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49974         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49975         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49977 2012-05-17  Andreas Jaeger  <aj@suse.de>
49978             Carlos O'Donell  <carlos_odonell@mentor.com>
49980         [BZ #14059]
49981         * sysdeps/x86_64/multiarch/init-arch.h
49982         (bit_YMM_Usable): Rename to...
49983         (bit_AVX_Usable): ... this.
49984         (bit_FMA4_Usable): New macro.
49985         (bit_XMM_state): New macro.
49986         (bit_YMM_state): New macro.
49987         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49988         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49989         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49990         (CPUID_OSXSAVE): New macro.
49991         (CPUID_AVX): New macro.
49992         (CPUID_FMA4): New macro.
49993         (index_YMM_Usable): Rename to...
49994         (index_AVX_Usable): ... this.
49995         (HAS_AVX): Use HAS_ARCH_FEATURE.
49996         (HAS_FMA4): Likewise.
49997         (HAS_YMM_USABLE): Remove.
49998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49999         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50000         are present.
50001         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50002         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50003         * sysdeps/x86_64/multiarch/Makefile: Likewise.
50004         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50005         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50007 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
50009         * math/libm-test.c: Support platforms without multiple rounding modes.
50010         * math/bug-nextafter.c: Support platforms without FP exceptions.
50011         * math/bug-nexttoward.c: Likewise.
50012         * math/test-fenv.c: Likewise.
50013         * math/test-misc.c: Likewise.
50014         * stdlib/bug-getcontext.c: Likewise.
50016 2012-05-17  Andreas Jaeger  <aj@suse.de>
50018         * manual/examples/search.c (critter_cmp): Change signature to
50019         avoid warnings.
50020         * manual/string.texi (Collation Functions): Likewise.
50022 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50024         * bits/types.h: Fold copyright years.
50025         * bits/typesizes.h: Likewise.
50026         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50029         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50030         * time/time.h: Likewise.
50032 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
50034         [BZ #208]
50035         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50036         in instead of returning them.  Return void.
50037         (__libc_mallinfo): Accumulate over all arenas.
50038         (__malloc_stats): Adjust for change in int_mallinfo interface.
50040 2012-05-16  Roland McGrath  <roland@hack.frob.com>
50042         [BZ #10375]
50043         * configure.in (NM): Add AC_CHECK_TOOL for it.
50044         (libc_extra_cflags): New substituted variable.
50045         Check for -fstack-protector being used implicitly.
50046         * configure: Regenerated.
50047         * config.make.in (config-extra-cflags): New variable,
50048         gets @libc_extra_cflags@.
50049         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50051         [BZ #10375]
50052         * configure.in: Check for _FORTIFY_SOURCE being predefined.
50053         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50054         * configure: Regenerated.
50055         * config.make.in (CPPUNDEFS): New substituted variable.
50056         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50057         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50058         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50060 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50062         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50063         (mq_attr): Use __syscall_slong_t.
50065 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50067         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50068         Check __x86_64__ instead of __WORDSIZE.
50069         (_STAT_VER_LINUX): Likewise.
50070         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
50071         __syscall_ulong_t and __syscall_slong_t.
50072         (stat64): Likewise.
50074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50076         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50078 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50080         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50082 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50084         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50085         __syscall_ulong_t.
50087         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50088         include <bits/wordsize.h>.  Check __x86_64__ instead of
50089         __WORDSIZE.
50090         (greg_t): Use "__extension__ long long int" if __x86_64__ is
50091         defined.
50092         (mcontext_t): Replace "unsigned long" with "unsigned long long".
50094         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50095         include <bits/wordsize.h>.  Check __x86_64__ instead of
50096         __WORDSIZE.
50097         (user_regs_struct): Use "__extension__ unsigned long long"
50098         instead of "unsigned long" if __x86_64__ is defined.
50099         (user): Likewise.  Pad after pointer field if __ILP32__ is
50100         defined.
50102 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
50104         * configure.in (makeinfo): Require version 4.5 or later.  Allow
50105         versions 5 to 9.
50106         * configure: Regenerated.
50107         * manual/install.texi (texinfo): Increase version requirement to
50108         4.5 or later.
50109         * INSTALL: Regenerated.
50111         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50113 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50115         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50117         * sysdeps/x86_64/x32/ffs.c: New file.
50119         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50120         __syscall_ulong_t.
50121         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50122         defined.  Use __syscall_ulong_t.
50123         (shminfo): Use __syscall_ulong_t.
50124         (shm_info): Likewise.
50126         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50127         __syscall_ulong_t.
50129         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50130         <bits/wordsize.h>.
50131         (msgqnum_t): Use __syscall_ulong_t.
50132         (msglen_t): Likewise.
50133         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50134         __syscall_ulong_t.
50136         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50137         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50139         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50141         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50142         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50144         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50145         __syscall_slong_t.
50147         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50148         include <bits/wordsize.h>.  Check __x86_64__ instead of
50149         __WORDSIZE.
50151         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50152         "unsigned long long int" if __x86_64__ is defined.
50153         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50155         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50156         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50157         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50159         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50160         <stdint.h>.
50161         (GET_PC): Cast to uintptr_t first.
50162         (GET_FRAME): Likewise.
50163         (GET_STACK): Likewise.
50165         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50166         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50167         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50168         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50169         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50170         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50171         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50172         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50173         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50174         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50175         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50176         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50177         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50178         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50179         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50180         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50181         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50182         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50183         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50184         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50185         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50186         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50187         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50188         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50189         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50190         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50191         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50192         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50193         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50195 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50197         * Makerules (+depfiles): Also collect depfiles from .oS in
50198         $(extra-objs).
50199         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50200         .oS, $(libnldbl-routines)).
50202         * Makerules (native-compile-mkdep-flags): Define.
50203         * sunrpc/Makefile (extra-objs): Add $(addprefix
50204         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50205         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50206         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50207         calling $(make-target-directory).
50209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50211         * bits/types.h (__snseconds_t): Removed.
50212         * time/time.h (struct timespec): Replace __snseconds_t with
50213         __syscall_slong_t.
50214         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50215         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50216         Likewise.
50217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50218         (__SNSECONDS_T_TYPE): Likewise.
50219         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50220         (__SNSECONDS_T_TYPE): Likewise.
50221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50222         (__SNSECONDS_T_TYPE): Likewise.
50224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50226         * sysdeps/mach/hurd/bits/typesizes.h
50227         (__SYSCALL_SLONG_TYPE): New macro.
50228         (__SYSCALL_ULONG_TYPE): Likewise.
50230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50232         * bits/types.h (__syscall_slong_t): New type.
50233         (__syscall_ulong_t): Likewise.
50235         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50236         (__SYSCALL_ULONG_TYPE): Likewise.
50237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50238         (__SYSCALL_SLONG_TYPE): Likewise.
50239         (__SYSCALL_ULONG_TYPE): Likewise.
50240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50241         (__SYSCALL_SLONG_TYPE): Likewise.
50242         (__SYSCALL_ULONG_TYPE): Likewise.
50243         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50244         (__SYSCALL_SLONG_TYPE): Likewise.
50245         (__SYSCALL_ULONG_TYPE): Likewise.
50247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50249         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50250         Add sigaltstack-offsets.sym.
50251         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50252         <sigaltstack-offsets.h>.
50253         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50254         longjmp_msg pointer.
50255         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50256         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50257         signal stack.
50258         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50260 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50262         * elf/stackguard-macros.h: Remove file.
50263         * sysdeps/generic/stackguard-macros.h: New file.
50264         * sysdeps/i386/stackguard-macros.h: Likewise.
50265         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50266         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50267         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50268         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50269         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50270         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50271         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50272         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50273         <elf/stackguard-macros.h>.
50275         [BZ #14109]
50276         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50277         __aligned__ in attribute.
50278         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50279         (gregset_t): Likewise.
50281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50283         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50284         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50285         * sysdeps/x86_64/x32/Implies-after: New file.
50287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50289         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50290         and access return value for _dl_profile_fixup.  Use R10_LP to
50291         load frame size.
50293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50295         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50299         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50300         * sysdeps/x86_64/x32/sysdep.h: New file.
50302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50304         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50305         * sysdeps/x86_64/setjmp.S: Likewise.
50307 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50309         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50310         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50311         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50312         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50313         remove unused global constant.
50315 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50317         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50318         include of <not-cancel.h>.
50320 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50322         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50324 2012-05-15  Jeff Law  <law@redhat.com>
50325             Andreas Jaeger  <aj@suse.de>
50327         [BZ #13594]
50328         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50329         out from...
50330         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50331         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50332         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50333         code changing __hst_map_handle.map.
50335 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50337         * configure.in (sysnames): Look for Implies-before and Implies-after
50338         files.
50339         * configure: Regenerated.
50341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50343         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50344         8-byte data alignment with LP_SIZE alignment.
50346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50348         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50349         into R10_LP.
50351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50353         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50357         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50358         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50359         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50360         Likewise.
50361         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50365         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50366         (stackinfo_sub_sp): Likewise.
50368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50370         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50371         RAX_LP.
50373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50375         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50376         into R*_LP.
50378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50381         sizes into R*_LP.
50383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50385         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50389         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50390         into R11_LP and load __x86_64_shared_cache_size_half into
50391         R8_LP.
50393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50395         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50396         R8_LP.
50398 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50401         logb for POWER7.
50402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50403         logbf for POWER7.
50404         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50405         logbl for POWER7.
50406         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50407         powerpc32/power7/fpu/s_logb.c via #include.
50408         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50409         powerpc32/power7/fpu/s_logbf.c via #include.
50410         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50411         powerpc32/power7/fpu/s_logbl.c via #include.
50413 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50415         * README.libm: Remove file.
50417 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50419         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50420         count for x32.  Use R*_LP and omit operand-size suffix.
50422 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50424         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50425         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50426         * sysdeps/x86_64/x32/shlib-versions: New file.
50428 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50430         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50431         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50432         Use _dl_fatal_printf instead.
50434 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50436         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50437         set if not set by the user.  Do not allow for being unset.
50438         * sysdeps/unix/sysv/linux/configure: Regenerated.
50440 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50442         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50443         the `q' suffix from lea and replace .quad with ASM_ADDR.
50445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50448         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50449         instead of $17.
50450         (PTR_DEMANGLE): Likewise.
50452 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50454         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50455         (LP_OP): Likewise.
50456         (ASM_ADDR): Likewise.
50457         (RAX_LP): Likewise.
50458         (RBP_LP): Likewise.
50459         (RBX_LP): Likewise.
50460         (RCX_LP): Likewise.
50461         (RDI_LP): Likewise.
50462         (RSI_LP): Likewise.
50463         (RSP_LP): Likewise.
50464         (R8_LP): Likewise.
50465         (R9_LP): Likewise.
50466         (R10_LP): Likewise.
50467         (R10_LP): Likewise.
50468         (R11_LP): Likewise.
50469         (R12_LP): Likewise.
50470         (R13_LP): Likewise.
50471         (R14_LP): Likewise.
50472         (R15_LP): Likewise.
50474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50476         * sysdeps/x86_64/x32/dl-machine.h: New file.
50478 2012-05-14  Andreas Jaeger  <aj@suse.de>
50480         * manual/Makefile (subdir): Remove export of subdir.
50481         (all): Remove target.
50482         (.PHONY): Remove all from list.
50483         (mkinstalldirs): Remove.
50484         (.PHONY): Remove installdirs from list.
50485         ($(inst_infodir)/libc.info): Use make-target-directory.
50486         (installdirs): Remove.
50487         (subdir_%): Remove.
50488         (glibc-targets): Remove.
50489         (lib): Remove.
50490         (stubs): Remove.
50491         ($(objpfx)stubs ../po/manual.pot): Remove.
50492         ($(objpfx)stamp%): Remove.
50493         (make-target-directory): Remove.
50494         (subdir_install): Remove.
50495         (routines): Remove.
50496         (aux): Remove.
50497         (sources): Remove.
50498         (objects): Remove.
50499         (headers): Remove.
50501         [BZ #13750]
50502         * manual/.gitignore: Remove, it's not needed anymore.
50503         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50504         all files in it.
50505         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50506         directory.
50507         (texis): Renamed to $(objpfx)texis.
50508         (texis-path): New, contains path to generated files.
50509         (chapters.%): Use texis-path for complete path, add extra argument
50510         libc-texinfo.sh.
50511         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50512         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50513         (summary,texi, stamp-summary): Use complete path of
50514         files. Generate files in build dir.
50515         (dir-add.texi): Build in build dir.
50516         (libm-err.texi,stamp-libm-err): Likewise.
50517         (version.texi, stamp-version): Likewise.
50518         (.%c.texi): Likewise.
50519         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50520         (mostlyclean): Remove target.
50521         (realclean): Remove target.
50522         (generated): Add new variable with contents from mostlyclean and
50523         realclean, remove entries duplicated in common-mostlyclean, add
50524         stamp-libm-err and stamp-version.
50525         (generated-dirs): Add libc directory.
50526         ($(inst_infodir)/libc.info): Install files from build dir.
50528         * manual/install.texi (Configuring and compiling): Adjust since
50529         the info files are not part of the tar ball anymore.
50531 2012-05-14  Andreas Jaeger  <aj@suse.de>
50533         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50534         variable.
50536 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50538         [BZ #13717]
50539         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50540         to 2.2.0 where earlier.
50541         * sysdeps/unix/sysv/linux/configure: Regenerated.
50542         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50543         Remove conditional code.
50544         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50545         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50546         Remove conditional code.
50547         [!__NR_lchown]: Likewise.
50548         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50549         [__NR_lchown]: Likewise.
50550         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50551         comment referencing __ASSUME_LCHOWN_SYSCALL.
50552         * sysdeps/unix/sysv/linux/i386/sigaction.c
50553         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50554         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50555         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50556         Remove conditional code.
50557         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50558         (__protocol_available): Remove #if 0 code.
50559         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50560         conditional code.
50561         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50562         * sysdeps/unix/sysv/linux/kernel-features.h
50563         (__ASSUME_GETCWD_SYSCALL): Don't define.
50564         (__ASSUME_REALTIME_SIGNALS): Likewise.
50565         (__ASSUME_PREAD_SYSCALL): Likewise.
50566         (__ASSUME_PWRITE_SYSCALL): Likewise.
50567         (__ASSUME_POLL_SYSCALL): Likewise.
50568         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50569         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50570         non-SPARC.
50571         (__ASSUME_SIOCGIFNAME): Don't define.
50572         (__ASSUME_MSG_NOSIGNAL): Likewise.
50573         (__ASSUME_SENDFILE): Define unconditionally.
50574         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50575         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50576         conditional code.
50577         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50578         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50579         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50580         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50581         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50582         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50583         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50585         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50586         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50588         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50589         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50591         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50592         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50594         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50595         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50597         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50598         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50600         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50601         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50603         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50604         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50606         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50607         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50608         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50609         Remove conditional code.
50610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50611         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50612         Remove conditional code.
50613         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50614         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50615         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50616         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50617         Remove conditional code.
50618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50619         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50620         Remove conditional code.
50621         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50622         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50623         Remove conditional code.
50624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50625         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50626         Remove conditional code.
50627         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50628         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50629         Remove conditional code.
50630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50631         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50632         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50633         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50634         * sysdeps/unix/sysv/linux/sigaction.c
50635         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50636         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50637         * sysdeps/unix/sysv/linux/sigpending.c
50638         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50639         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50640         * sysdeps/unix/sysv/linux/sigprocmask.c
50641         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50642         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50643         * sysdeps/unix/sysv/linux/sigsuspend.c
50644         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50645         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50646         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50647         (__libc_missing_rt_sigs): Remove.
50648         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50649         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50650         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50651         Remove conditional code.
50652         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50653         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50654         return 1.
50655         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50656         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50657         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50658         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50660 2012-05-14  Andreas Jaeger  <aj@suse.de>
50662         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50663         it's not used in glibc.
50664         (__coshm1): Likewise.
50665         (__acosh1p): Likewise.
50666         (__sgn): Likewise.
50668         * manual/string.texi (Copying and Concatenation): Add missing
50669         variable in concat example.
50670         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50674         [BZ #14103]
50675         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50676         __builtin_clzl with __builtin_clzll.
50678 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50680         [BZ #14104]
50681         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50682         libc_freeres_ptr.
50684 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50686         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50687         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50688         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50689         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50691 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50693         * NEWS: Update ia64 info.
50695 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50697         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50698         used as bcopy.
50700 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50702         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50703         * sysdeps/unix/syscalls.list (dup3): Likewise.
50704         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50705         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50707 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50709         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50710         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50712 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50714         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50715         thread pointer.
50716         (TLS_IE): Use mov/add instead of movq/addq to load thread
50717         pointer.
50718         (TLS_GD_PREFIX): New.
50719         (TLS_GD): Use it.
50721 2012-05-11  David S. Miller  <davem@davemloft.net>
50723         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50724         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50725         (_FPU_SETCW): Likewise.
50727 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50729         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50730         is 32-byte aligned.
50732 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50734         [BZ #11837]
50735         * iconvdata/gb18030.c: Update tables.
50736         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50737         characters specially.
50738         (BODY for TO_LOOP): Add encoding of missing ranges.
50740 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50742         [BZ #13673]
50743         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50744         * sysdeps/mach/hurd/dup3.c: Likewise.
50745         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50746         * sysdeps/powerpc/memmove.c:: Likewise.
50748 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50750         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50751         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50753 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50755         * elf/elf.h (R_X86_64_RELATIVE64): New.
50756         (R_X86_64_NUM): Updated.
50757         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50758         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50759         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50760         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50761         tst-quad1pie tst-quad2pie
50762         (modules-names): Add tst-quadmod1 tst-quadmod2.
50763         ($(objpfx)tst-quad1): New dependency.
50764         ($(objpfx)tst-quad2): Likewise.
50765         ($(objpfx)tst-quad1pie): Likewise.
50766         ($(objpfx)tst-quad2pie): Likewise.
50767         * sysdeps/x86_64/tst-quad1.c: New file.
50768         * sysdeps/x86_64/tst-quad1pie.c: New file.
50769         * sysdeps/x86_64/tst-quad2.c: Likewise.
50770         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50771         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50772         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50773         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50774         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50778         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50779         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50780         * streams/stropts.h (t_scalar_t): Define type.
50782         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50783         (_PATH_PRESERVE): Set to "/var/lib".
50784         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50786         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50787         instead of int.
50789         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50790         if __dir_mkfile succeeded.
50792         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50793         checking for _hurd_dtablesize.  Unlock it right after having
50794         finished _hurd_dtable allocation.
50796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50798         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50799         * sysdeps/mach/hurd/configure: Regenerated.
50800         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50801         special-casing to...
50802         * sysdeps/gnu/configure.in: ... this new file.
50803         * sysdeps/unix/sysv/linux/configure: Regenerated.
50804         * sysdeps/gnu/configure: New generated file.
50806         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50807         for Linux: use nsec instead of usec, as well as:
50808         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50809         members of type struct timespec.
50810         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50811         New macros.
50812         (struct stat64): Likewise.
50813         (_STATBUF_ST_NSEC): New macro.
50814         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50816         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50817         __strtoul_internal rather than strtoul.
50819 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50821         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50822         and reject them.
50824 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50826         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50827         which preserves existing values.
50828         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50830 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50832         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50833         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50834         greater than FD_SETSIZE.
50836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50838         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50839         allocated, call __vm_protect to finish enabling the existing space, and
50840         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50841         allocate the remainder.
50843 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50845         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50846         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50850         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50851         sysdeps/mach/hurd/readlink.c.
50853         * posix/tst-sysconf.c (posix_options): Only use
50854         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50855         _POSIX_SYNCHRONIZED_IO when they are defined
50856         * sysdeps/mach/hurd/bits/posix_opt.h:
50857         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50858         (_XOPEN_REALTIME): Undefine macro.
50859         (_XOPEN_REALTIME_THREADS): Undefine macro.
50860         (_XOPEN_SHM): Undefine macro.
50861         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50862         macro to -1.
50863         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50864         macro to -1.
50865         (_POSIX_ASYNC_IO): Undefine macro.
50866         (_POSIX_PRIORITIZED_IO): Undefine macro.
50867         (_POSIX_SPIN_LOCKS): Define macro to -1.
50869         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50870         SA_NODEFER, SA_RESETHAND.
50871         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50872         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50873         F_DUPFD_CLOEXEC.
50875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50877         * elf/Makefile (pldd-modules): Define unconditionally.
50879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50881         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50885         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50886         Return ENOENT when name is empty.
50887         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50891         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50893         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50895 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50897         Fix mlock in all cases except non-readable pages.
50898         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50899         instead of VM_PROT_ALL as parameter to __vm_wire function.
50901         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50902         (__mkdir): When path is `/', just fail with EEXIST.
50903         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50905 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50907         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50908         <sys/uio.h> (for writev).
50909         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50910         and <sys/param.h> (for MIN).
50912 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50914         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50915         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50916         if interrupted.
50918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50920         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50921         Depend on against $(link-rpcuserlibs).
50923 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50925         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50926         (__libc_stack_end): Do not use attribute_relro.
50927         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50928         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50929         to libthread-provided value.
50930         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50931         attribute_relro.
50933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50935         [BZ #3748]
50936         * bits/libc-lock.h (__libc_once_get): New macro.
50937         * sysdeps/mach/bits/libc-lock.h: Likewise.
50938         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50940         instead of using implementation details.
50942         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50943         * libio/freopen.c: Likewise.
50944         * libio/freopen64.c: Likewise.
50945         * misc/syslog.c: Likewise.
50946         * nscd/connections.c: Likewise.
50947         * nscd/netgroupcache.c: Likewise.
50948         * sysdeps/posix/getcwd.c: Likewise.
50950 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50952         * math/w_ilogbf.c: Add #include <limits.h>.
50954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50956         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50957         path instead of returning without unlocking.
50959         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50960         immediate-write ioctls.
50961         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50963 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50965         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50966         __builtin_frame_address instead of making assumptions about the
50967         location of the return address relative to DATA.  Force early load of
50968         the return address.
50969         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50970         __builtin_frame_address.
50972         dup3 for GNU Hurd.
50973         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50974         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50975         implement dup3 and do some further code clean-ups.
50976         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50977         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50979 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50981         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50983         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50984         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50985         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50986         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50987         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50988         d->port.lock.
50990         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50991         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50992         when handler == SIG_ERR, not when handler != SIG_ERR.
50994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50996         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50997         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50998         definitions.
51000         accept4 for GNU Hurd.
51001         * include/sys/socket.h (__libc_accept4): New prototype.
51002         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
51003         to implement __libc_accept4.
51004         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51005         __libc_accept4.
51006         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51008         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51009         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51010         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51011         signal-defines.sym.
51013 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51015         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51019         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51020         assertion on O_CLOEXEC flag.
51021         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51022         * hurd/intern-fd.c: Likewise.
51023         * hurd/port2fd.c: Likewise.
51025 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51027         [BZ #3906]
51028         * bits/in.h (IPV6_PKTINFO): Define new macro.
51029         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51031 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51033         [BZ #13954]
51034         [BZ #13955]
51035         [BZ #13956]
51036         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51037         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51038         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51039         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51040         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51041         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51042         * math/libm-test.inc (logb_test) : Additional logb tests.
51044 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
51045             Andreas Jaeger  <aj@suse.de>
51047         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51048         * configure: Regenerated.
51049         * config.h.in (LINK_OBSOLETE_RPC): New macro.
51050         * config.make.in (link-obsolete-rpc): New substituted variable.
51051         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51052         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51053         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51054         (shared-only-routines): Don't set it under [link-obsolete-rpc],
51055         so that libc.a contains the symbols.
51056         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51057         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51058         * sunrpc/auth_none.c: Likewise.
51059         * sunrpc/auth_unix.c: Likewise.
51060         * sunrpc/authdes_prot.c: Likewise.
51061         * sunrpc/authuxprot.c: Likewise.
51062         * sunrpc/clnt_gen.c: Likewise.
51063         * sunrpc/clnt_perr.c: Likewise.
51064         * sunrpc/clnt_raw.c: Likewise.
51065         * sunrpc/clnt_simp.c: Likewise.
51066         * sunrpc/clnt_tcp.c: Likewise.
51067         * sunrpc/clnt_udp.c: Likewise.
51068         * sunrpc/clnt_unix.c: Likewise.
51069         * sunrpc/des_crypt.c: Likewise.
51070         * sunrpc/des_soft.c: Likewise.
51071         * sunrpc/get_myaddr.c: Likewise.
51072         * sunrpc/key_call.c: Likewise.
51073         * sunrpc/key_prot.c: Likewise.
51074         * sunrpc/netname.c: Likewise.
51075         * sunrpc/pm_getmaps.c: Likewise.
51076         * sunrpc/pm_getport.c: Likewise.
51077         * sunrpc/pmap_clnt.c: Likewise.
51078         * sunrpc/pmap_prot.c: Likewise.
51079         * sunrpc/pmap_prot2.c: Likewise.
51080         * sunrpc/pmap_rmt.c: Likewise.
51081         * sunrpc/publickey.c: Likewise.
51082         * sunrpc/rpc_cmsg.c: Likewise.
51083         * sunrpc/rpc_common.c: Likewise.
51084         * sunrpc/rpc_dtable.c: Likewise.
51085         * sunrpc/rpc_prot.c: Likewise.
51086         * sunrpc/rpc_thread.c: Likewise.
51087         * sunrpc/rtime.c: Likewise.
51088         * sunrpc/svc.c: Likewise.
51089         * sunrpc/svc_auth.c: Likewise.
51090         * sunrpc/svc_raw.c: Likewise.
51091         * sunrpc/svc_run.c: Likewise.
51092         * sunrpc/svc_tcp.c: Likewise.
51093         * sunrpc/svc_udp.c: Likewise.
51094         * sunrpc/svc_unix.c: Likewise.
51095         * sunrpc/svcauth_des.c: Likewise.
51096         * sunrpc/xcrypt.c: Likewise.
51097         * sunrpc/xdr.c: Likewise.
51098         * sunrpc/xdr_array.c: Likewise.
51099         * sunrpc/xdr_float.c: Likewise.
51100         * sunrpc/xdr_intXX_t.c: Likewise.
51101         * sunrpc/xdr_mem.c: Likewise.
51102         * sunrpc/xdr_rec.c: Likewise.
51103         * sunrpc/xdr_ref.c: Likewise.
51104         * sunrpc/xdr_sizeof.c: Likewise.
51105         * sunrpc/xdr_stdio.c: Likewise.
51107 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51109         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51110         change.  Update copyright years.
51112 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51114         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51116 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51117             Joseph Myers  <joseph@codesourcery.com>
51118             Paul Pluzhnikov  <ppluzhnikov@google.com>
51120         [BZ #14012]
51121         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51122         requiring rpcgen.
51123         [cross-compiling] (extra-libs): Likewise.
51124         [cross-compiling] (extra-libs-others): Likewise.
51125         [cross-compiling] (librpcsvc-routines): Likewise.
51126         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51127         [cross-compiling] (omit-deps): Likewise.
51128         (sunrpc-CPPFLAGS): New variable.
51129         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51130         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51131         (cross-rpcgen-objs): New variable.
51132         (extra-objs): Append $(cross-rpcgen-objs).
51133         ($(cross-rpcgen-objs)): New rule.
51134         ($(objpfx)cross-rpcgen): Likewise.
51135         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51136         comment.
51137         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51138         ($(objpfx)x%.stmp): Likewise.
51139         * sunrpc/proto.h [IS_IN_build] (_): Define.
51140         [IS_IN_build] (_libc_intl_domainname): Likewise.
51142 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51144         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51145         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51146         and R_X86_64_TPOFF64.
51148 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51150         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51151         sysdeps/unix/sysv/syscalls.list.
51152         (stime): Likewise.
51153         (utime): Likewise.
51154         * sysdeps/unix/sysv/syscalls.list: Remove file.
51156 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51158         [BZ #3440]
51159         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51160         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51161         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51162         (__LC_IDENTIFICATION): Make these macros useful in #if
51163         expressions, as required by C99.
51165 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51167         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51168         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51169         after this.
51171 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51173         * stdlib/longlong.h: Updated from GCC.
51175 2012-05-09  Andreas Jaeger  <aj@suse.de>
51177         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51178         default is first entry.
51179         (run_mode): Set type.
51180         (main): Remove informal message about syslog.
51181         (options): Fix typo.
51183         [BZ #14053]
51184         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51185         to asm.
51186         (lrint): Likewise.
51187         (llrintf): Likewise.
51188         (llrint): Likewise.
51189         (rint): Likewise.
51190         (rintf): Likewise.
51191         (nearbyint): Likewise.
51192         (nearbyintf): Likewise.
51194 2012-05-09  Andreas Jaeger  <aj@suse.de>
51195             Pedro Alves  <palves@redhat.com>
51197         * nscd/nscd.c (run_mode): Use enum.
51198         (main): Cleanup coding style issue.
51200 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51201             Andreas Jaeger  <aj@suse.de>
51203         * nscd/nscd.c (go_background): Replaced with...
51204         (run_mode): ... this.
51205         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51206         (options): Add -F --foreground.
51207         (main): Implement it.
51208         (parse_opt): Parse it.
51210 2012-05-09  Andreas Jaeger  <aj@suse.de>
51212         [BZ #14083]
51213         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51214         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51215         -Wconversion warning.
51216         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51217         Likewise.
51219 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51221         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51222         == 0.
51223         (LC_ALL): Use macro-int-constant.
51224         (LC_COLLATE): Likewise.
51225         (LC_CTYPE): Likewise.
51226         (LC_MESSAGES): Likewise.
51227         (LC_MONETARY): Likewise.
51228         (LC_NUMERIC): Likewise.
51229         (LC_TIME): Likewise.
51230         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51231         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51232         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51233         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51234         Specify type.
51235         [C99-based standards] (float_t): Expect type.
51236         [C99-based standards] (double_t): Expect type.
51237         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51238         type.
51239         [C99-based standards] (HUGE_VALL): Likewise.
51240         [C99-based standards] (INFINITY): Likewise.
51241         [C99-based standards] (NAN): Likewise.
51242         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51243         [C99-based standards] (FP_NAN): Likewise.
51244         [C99-based standards] (FP_NORMAL): Likewise.
51245         [C99-based standards] (FP_SUBNORMAL): Likewise.
51246         [C99-based standards] (FP_ZERO): Likewise.
51247         [C99-based standards] (FP_FAST_FMA): Use
51248         optional-macro-int-constant.  Specify type.  Require == 1.
51249         [C99-based standards] (FP_FAST_FMAF): Likewise.
51250         [C99-based standards] (FP_FAST_FMAL): Likewise.
51251         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51252         [C99-based standards] (FP_ILOGBNAN): Likewise.
51253         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51254         Specify type.
51255         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51256         [C99-based standards] (math_errhandling): Specify type.
51257         [ISO99 || ISO11] (signgam): Do not allow.
51258         [non-C99-based standards] (copysignf): Do not allow.
51259         [non-C99-based standards] (exp2f): Likewise.
51260         [non-C99-based standards] (log2f): Likewise.
51261         [non-C99-based standards] (modff): Allow.
51262         [non-C99-based standards] (erff): Do not allow.
51263         [non-C99-based standards] (erfcf): Likewise.
51264         [non-C99-based standards] (gammaf): Likewise.
51265         [non-C99-based standards] (hypotf): Likewise.
51266         [non-C99-based standards] (j0f): Likewise.
51267         [non-C99-based standards] (j1f): Likewise.
51268         [non-C99-based standards] (jnf): Likewise.
51269         [non-C99-based standards] (lgammaf): Likewise.
51270         [non-C99-based standards] (tgammaf): Likewise.
51271         [non-C99-based standards] (y0f): Likewise.
51272         [non-C99-based standards] (y1f): Likewise.
51273         [non-C99-based standards] (ynf): Likewise.
51274         [non-C99-based standards] (isnanf): Likewise.
51275         [non-C99-based standards] (acoshf): Likewise.
51276         [non-C99-based standards] (asinhf): Likewise.
51277         [non-C99-based standards] (atanhf): Likewise.
51278         [non-C99-based standards] (cbrtf): Likewise.
51279         [non-C99-based standards] (expm1f): Likewise.
51280         [non-C99-based standards] (ilogbf): Likewise.
51281         [non-C99-based standards] (log1pf): Likewise.
51282         [non-C99-based standards] (logbf): Likewise.
51283         [non-C99-based standards] (nextafterf): Likewise.
51284         [non-C99-based standards] (remainderf): Likewise.
51285         [non-C99-based standards] (rintf): Likewise.
51286         [non-C99-based standards] (scalbf): Likewise.
51287         [non-C99-based standards] (copysignl): Likewise.
51288         [non-C99-based standards] (exp2l): Likewise.
51289         [non-C99-based standards] (log2l): Likewise.
51290         [non-C99-based standards] (modfl): Allow.
51291         [non-C99-based standards] (erfl): Do not allow.
51292         [non-C99-based standards] (erfcl): Likewise.
51293         [non-C99-based standards] (gammal): Likewise.
51294         [non-C99-based standards] (hypotl): Likewise.
51295         [non-C99-based standards] (j0l): Likewise.
51296         [non-C99-based standards] (j1l): Likewise.
51297         [non-C99-based standards] (jnl): Likewise.
51298         [non-C99-based standards] (lgammal): Likewise.
51299         [non-C99-based standards] (tgammal): Likewise.
51300         [non-C99-based standards] (y0l): Likewise.
51301         [non-C99-based standards] (y1l): Likewise.
51302         [non-C99-based standards] (ynl): Likewise.
51303         [non-C99-based standards] (isnanl): Likewise.
51304         [non-C99-based standards] (acoshl): Likewise.
51305         [non-C99-based standards] (asinhl): Likewise.
51306         [non-C99-based standards] (atanhl): Likewise.
51307         [non-C99-based standards] (cbrtl): Likewise.
51308         [non-C99-based standards] (expm1l): Likewise.
51309         [non-C99-based standards] (ilogbl): Likewise.
51310         [non-C99-based standards] (log1pl): Likewise.
51311         [non-C99-based standards] (logbl): Likewise.
51312         [non-C99-based standards] (nextafterl): Likewise.
51313         [non-C99-based standards] (remainderl): Likewise.
51314         [non-C99-based standards] (rintl): Likewise.
51315         [non-C99-based standards] (scalbl): Likewise.
51316         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51317         [non-C99-based standards] (FP_*): Do not allow.
51318         [C99-based standards] (FP_*): Change to
51319         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51320         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51321         allow.
51322         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51323         (SIG_ERR): Likewise.
51324         [X/Open-based standards] (SIG_HOLD): Likewise.
51325         (SIG_IGN): Likewise.
51326         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51327         positive value.
51328         (SIGFPE): Likewise.
51329         (SIGILL): Likewise.
51330         (SIGINT): Likewise.
51331         (SIGSEGV): Likewise.
51332         (SIGTER): Likewise.
51333         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51334         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51335         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51336         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51337         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51338         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51339         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51340         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51341         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51342         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51343         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51344         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51345         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51346         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51347         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51348         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51349         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51350         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51351         [X/Open-based standards] (SIGTRAP): Likewise.
51352         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51353         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51354         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51355         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51356         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51357         allow.
51359 2012-05-08  Ian Wienand  <ianw@vmware.com>
51361         [BZ #14080]
51362         * time/tzset.c (__tzset_parse_tz): Update default rules for
51363         daylight time changes in the Energy Policy Act of 2005.
51365 2012-05-09  Andreas Jaeger  <aj@suse.de>
51367         [BZ #13983]
51368         * elf/ldconfig.c (parse_conf): Change string to make clear that
51369         ldconfig only issued a warning if ld.so.conf does not exist.
51371 2012-05-08  David S. Miller  <davem@davemloft.net>
51373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51374         movxtod instead of popping the value on the stack.
51376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51378 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51380         * config.h.in: Add HAVE_ARM_PCS_VFP.
51382 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51384         [BZ #13979]
51385         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51386         checking but the checks are disabled for any reason.
51388 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51390         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51391         and ELF64_R_TYPE with ELFW(R_TYPE).
51393 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51395         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51396         (ulimit): Likewise.
51398         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51399         (settimeofday): Likewise.
51401 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51403         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51404         a struct th_u2 inside the union, and move tu_block/tu_code into
51405         a new th_u3 union of tu_block/tu_code inside of that.  Move
51406         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51407         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51408         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51409         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51410         (th_stuff): Change to th_u1.tu_stuff.
51411         (th_data): Define.
51412         (th_msg): Change to th_u1.th_u2.tu_data.
51414 2012-05-07  David S. Miller  <davem@davemloft.net>
51416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51418         [BZ #14074]
51419         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51420         (SETUP_PIC_REG): Use it.
51421         (SETUP_PIC_REG_LEAF): Use it.
51423 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51425         [BZ #13885]
51426         [BZ #13923]
51427         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51428         USE_AS_EXPM1L.
51429         (EXPL_FINITE): Likewise.
51430         (FLDLOG): Likewise.
51431         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51432         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51433         e_expl.S.
51434         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51435         USE_AS_EXPM1L.
51436         (EXPL_FINITE): Likewise.
51437         (FLDLOG): Likewise.
51438         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51439         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51440         e_expl.S.
51441         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51442         test of -max_value argument for long double.
51443         * sysdeps/i386/fpu/libm-test-ulps: Update.
51444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51446 2012-05-06  David S. Miller  <davem@davemloft.net>
51448         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51449         quad soft-float symbols whose references which are compiler
51450         generated.
51451         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51453 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51455         [BZ #13884]
51456         [BZ #13914]
51457         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51458         USE_AS_EXP10L.
51459         (EXPL_FINITE): Likewise.
51460         (FLDLOG): Likewise.
51461         (c0): Likewise.
51462         (c1): Likewise.
51463         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51464         Adjust comments for base varying.
51465         (__expl_finite): Change alias to EXPL_FINITE.
51466         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51467         e_expl.S.
51468         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51469         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51470         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51471         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51473         USE_AS_EXP10L.
51474         (EXPL_FINITE): Likewise.
51475         (FLDLOG): Likewise.
51476         (c0): Likewise.
51477         (c1): Likewise.
51478         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51479         Adjust comments for base varying.
51480         (__expl_finite): Change alias to EXPL_FINITE.
51481         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51482         tests for bugs.
51483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51485         [BZ #14064]
51486         * math/libm-test.inc (check_float_internal): Correct ulp
51487         calculation for subnormal expected results.
51489 2012-05-06  Andreas Jaeger  <aj@suse.de>
51491         * Makeconfig (+math-flags): New, set to -frounding-math.
51492         (+cflags): Add +math-flags so that all of glibc gets compiled with
51493         it.
51495         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51497 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51499         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51500         Disable one test.
51502         [BZ #13787]
51503         [BZ #13922]
51504         [BZ #14036]
51505         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51506         (__ieee754_expl): Allow for and saturate large arguments.
51507         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51508         (u_threshold): Likewise.
51509         (__exp): Call __ieee754_exp before checking for overflow and
51510         underflow.
51511         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51512         (u_threshold): Likewise.
51513         (__expf): Call __ieee754_expf before checking for overflow and
51514         underflow.
51515         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51516         (u_threshold): Likewise.
51517         (__expl): Call __ieee754_expl before checking for overflow and
51518         underflow.
51519         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51520         (__ieee754_expl): Allow for and saturate large arguments.
51521         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51522         missing overflow exception on overflow.
51523         (expm1_test): Do not allow missing overflow exception on overflow.
51525         * sysdeps/i386/fpu/e_expl.c: Move to ...
51526         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51527         rather than using inline asm.
51528         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51529         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51530         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51532         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51533         (nice): Likewise.
51534         (poll): Likewise.
51535         (signal): Likewise.
51536         (time): Likewise.
51537         (times): Likewise.
51539 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51541         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51542         sysdeps/unix/common/syscalls.list.
51543         (fchmod): Likewise.
51544         (fchown): Likewise.
51545         (ftruncate): Likewise.
51546         (getrusage): Likewise.
51547         (gettimeofday): Likewise.
51548         (setpgid): Likewise.
51549         (setregid): Likewise.
51550         (setreuid): Likewise.
51551         (sigaction): Likewise.
51552         (truncate): Likewise.
51553         (vhangup): Likewise.
51554         * sysdeps/unix/common/syscalls.list: Remove file.
51555         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51556         * sysdeps/unix/sysv/linux/Implies: Likewise.
51558 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51560         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51562         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51563         Moved to ...
51564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51565         Here.
51566         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51567         to ...
51568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51569         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51570         to ...
51571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51572         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51573         to ...
51574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51575         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51576         to ...
51577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51578         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51579         to ...
51580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51581         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51582         to ...
51583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51584         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51585         to ...
51586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51587         Here.
51588         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51589         to ...
51590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51591         Here.
51592         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51593         to ...
51594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51595         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51596         Moved to ...
51597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51598         Here.
51599         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51600         to ...
51601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51603 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51605         * sysdeps/unix/common/bits/dirent.h: Remove file.
51606         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51608         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51609         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51610         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51611         * sysdeps/unix/bsd/isatty.c: Likewise.
51612         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51613         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51614         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51616 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51618         [BZ #13563]
51619         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51620         long double comparison inaccuracies.
51621         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51624 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51626         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51627         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51629 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51631         [BZ #14049]
51632         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51633         nonzero digits before rounding a hex value.
51634         * stdlib/tst-strtod.c (tests): Add another test.
51636 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51638         * sysdeps/s390/fpu/libm-test-ulps: Update.
51640 2012-05-03  Andreas Jaeger  <aj@suse.de>
51642         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51643         does not get optimized out.
51644         (malloc_opt_barrier): New.
51646 2012-05-03  Andreas Jaeger  <aj@suse.de>
51647             Roland McGrath  <roland@hack.frob.com>
51649         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51650         intermediate file deletion.
51651         (generated): Add .symlist files.
51653 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51655         [BZ #13775]
51656         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51657         Redirect under this condition.
51658         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51659         [__USE_GNU] (__dprintf_chk): Not under this condition.
51660         [__USE_GNU] (__vdprintf_chk): Likewise.
51661         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51662         under this condition.
51663         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51664         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51665         [__USE_XOPEN2K8] (vdprintf): Likewise.
51666         [__USE_GNU] (__dprintf_chk): Not under this condition.
51667         [__USE_GNU] (__vdprintf_chk): Likewise.
51668         [__USE_GNU] (dprintf): Likewise.
51669         [__USE_GNU] (vdprintf): Likewise.
51671 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51673         * elf/Makefile (common-generated): Set this instead of generated for
51674         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51675         $(all-built-dso)-derived lists.
51677 2012-05-03  Andreas Jaeger  <aj@suse.de>
51679         * sysdeps/i386/fpu/libm-test-ulps: Update.
51681         * FAQ: Removed.
51682         * FAQ.in: Likewise.
51683         * scripts/gen-FAQ.pl: Likewise.
51684         * manual/install.texi (Installation): Point to online location of
51685         FAQ.
51686         * Makefile (files-for-dist): Remove FAQ.
51687         (FAQ): Remove.
51689 2012-05-02  Allan McRae  <allan@archlinux.org>
51691         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51692         (LDFLAGS-reldepmod5.so): Likewise.
51693         (LDFLAGS-reldep6mod1.so): Likewise.
51694         (LDFLAGS-reldep6mod4.so): Likewise.
51695         (LDFLAGS-reldep8mod3.so): Likewise.
51696         (LDFLAGS-unload4mod1.so): Likewise.
51697         (LDFLAGS-unload4mod2.so): Likewise.
51698         (LDFLAGS-tst-initorder): Likewise.
51699         (LDFLAGS-tst-initordera2.so): Likewise.
51700         (LDFLAGS-tst-initordera3.so): Likewise.
51701         (LDFLAGS-tst-initordera4.so): Likewise.
51702         (LDFLAGS-tst-initorderb2.so): Likewise.
51703         (LDFLAGS-noload): Likewise.
51704         (LDFLAGS-next): Likewise.
51705         (LDFLAGS-order2mod1.so): Likewise.
51706         (LDFLAGS-order2mod2.so): Likewise.
51707         (LDFLAGS-tst-initorder2): Likewise.
51708         (LDFLAGS-tst-initorder2a.so): Likewise.
51709         (LDFLAGS-tst-initorder2b.so): Likewise.
51710         (LDFLAGS-tst-initorder2c.so): Likewise.
51711         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51713 2012-05-02  David S. Miller  <davem@davemloft.net>
51715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51717 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51719         [BZ #14055]
51720         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51722 2012-05-02  Andreas Jaeger  <aj@suse.de>
51724         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51725         since we manipulate rounding mode.
51726         (CPPFLAGS-test-idouble.c): Likewise.
51727         (CPPFLAGS-test-ifloat.c): Likewise.
51728         (CFLAGS-test-ldouble.c): Likewise.
51729         (CFLAGS-test-double.c): Likewise.
51730         (CFLAGS-test-float.c): Likewise.
51731         (CFLAGS-test-misc.c): Likewise.
51732         (CFLAGS-test-test-fenv.c): Likewise.
51734 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51736         [BZ #2550]
51737         [BZ #2570]
51738         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51739         comparisons to determine direction to adjust input.
51741 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51743         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51744         output to the target.
51746         * scripts/localplt.awk: New file.
51747         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51748         (check-localplt-CFLAGS): Variable removed.
51749         ($(all-built-dso:=.jmprel)): New static pattern rule.
51750         (generated): Add those targets.
51751         (localplt-built-dso): New variable.
51752         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51754         * elf/check-localplt.c: File removed.
51756         * scripts/check-execstack.awk: New file.
51757         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51758         (check-execstack-CFLAGS): Variable removed.
51759         ($(objpfx)check-execstack.h): Target removed.
51760         ($(objpfx)execstack-default): New target.
51761         (generated): Add that instead of check-execstack.h.
51762         ($(all-built-dso:=.phdr)): New static pattern rule.
51763         (generated): Add those targets.
51764         * elf/check-execstack.c: File removed.
51766         * scripts/check-textrel.awk: New file.
51767         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51768         (check-textrel-CFLAGS): Variable removed.
51769         (all-built-dso): Use := to define.o
51770         ($(all-built-dso:=.dyn)): New static pattern rule.
51771         (generated): Add those targets.
51772         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51773         * config.make.in (READELF): New substituted variable.
51774         * elf/check-textrel.c: File removed.
51776 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51778         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51779         allow.
51780         * conform/data/ctype.h-data [C99-based standards] (isblank):
51781         Expect function.
51782         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51783         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51784         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51785         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51786         Specify type.  Require positive value.
51787         (EILSEQ): Likewise.
51788         (ERANGE): Likewise.
51789         [ISO || POSIX] (EILSEQ): Do not expect.
51790         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51791         Specify type.  Require positive value.
51792         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51793         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51794         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51795         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51796         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51797         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51798         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51799         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51800         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51801         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51802         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51803         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51804         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51805         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51806         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51807         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51808         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51809         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51810         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51811         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51812         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51813         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51814         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51815         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51816         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51817         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51818         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51819         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51820         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51821         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51822         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51823         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51824         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51825         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51826         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51827         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51828         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51829         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51830         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51831         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51832         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51833         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51834         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51835         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51836         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51837         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51838         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51839         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51840         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51841         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51842         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51843         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51844         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51845         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51846         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51847         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51848         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51849         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51850         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51851         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51852         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51853         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51854         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51855         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51856         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51857         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51858         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51859         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51860         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51861         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51862         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51863         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51864         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51865         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51866         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51867         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51868         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51869         Require >= 2.
51870         (FLT_ROUNDS): Expect as macro, not constant.
51871         (FLT_MANT_DIG): Use macro-int-constant.
51872         (DBL_MANT_DIG): Likewise.
51873         (LDBL_MANT_DIG): Likewise.
51874         (FLT_DIG): Likewise.
51875         (DBL_DIG): Likewise.
51876         (LDBL_DIG): Likewise.
51877         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51878         (DBL_MIN_EXP): Likewise.
51879         (LDBL_MIN_EXP): Likewise.
51880         (FLT_MAX_EXP): Use macro-int-constant.
51881         (DBL_MAX_EXP): Likewise.
51882         (LDBL_MAX_EXP): Likewise.
51883         (FLT_MAX_10_EXP): Likewise.
51884         (DBL_MAX_10_EXP): Likewise.
51885         (LDBL_MAX_10_EXP): Likewise.
51886         (FLT_MAX): Use macro-constant.
51887         (DBL_MAX): Likewise.
51888         (LDBL_MAX): Likewise.
51889         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51890         (DBL_EPSILON): Likewise.
51891         (LDBL_EPSILON): Likewise.
51892         (FLT_MIN): Likewise.
51893         (DBL_MIN): Likewise.
51894         (LDBL_MIN): Likewise.
51895         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51896         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51897         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51898         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51899         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51900         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51901         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51902         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51903         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51904         [ISO11] (FLT_TRUE_MIN): Likewise.
51905         [ISO11] (LDBL_TRUE_MIN): Likewise.
51906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51907         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51908         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51909         (SCHAR_MAX): Likewise.
51910         (UCHAR_MAX): Likewise.
51911         (CHAR_MIN): Likewise.
51912         (CHAR_MAX): Likewise.
51913         (MB_LEN_MAX): Use macro-int-constant.
51914         (SHRT_MIN): Use macro-int-constant.  Specify type.
51915         (SHRT_MAX): Likewise.
51916         (USHRT_MAX): Likewise.
51917         (INT_MAX): Likewise.
51918         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51919         bound negative.
51920         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51921         bound with "U".
51922         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51923         bound with "L".
51924         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51925         bound negative.  Suffix upper bound with "L".
51926         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51927         bound with "UL".
51928         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51929         Specify type.
51930         [C99-based standards] (LLONG_MAX): Likewise.
51931         [C99-based standards] (ULLONG_MAX): Likewise.
51932         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51933         == 0.
51934         [ISO11] (max_align_t): Require type.
51935         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51937         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51938         from $CFLAGS, without defining away __attribute__ calls.
51939         (checknamespace): Use $CFLAGS_namespace.
51941         * conform/conformtest.pl (@keywords): Only include C99 keywords
51942         for standards based on C99 or C11.
51944         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51945         Disable tests.
51946         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51947         UNIX98]: Likewise.
51949         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51950         usability of symbols in #if.
51952         * conform/conformtest.pl: If macro or constant types start
51953         "promoted:", expect the symbol to be of the following type
51954         promoted by the integer promotions.
51956         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51957         in one place.  Also handle "macro-constant".
51959         * conform/conformtest.pl: Only accept expected macro values with
51960         "==".  Parse all "macro" lines in one place.
51961         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51963         * conform/conformtest.pl: Handle braced types on "constant" lines
51964         instead of handling "typed-constant".
51965         * conform/data/signal.h-data: Use "constant" instead of
51966         "typed-constant".
51968         * conform/conformtest.pl: Handle "optional-" at start of lines in
51969         one place rather than duplicating several cases.  Handle each
51970         format of "macro" line with initial "optional-".
51972         * conform/conformtest.pl: Only accept expected constant or
51973         optional-constant values with "==".  Parse all "constant" lines in
51974         one place.  Parse all "optional-constant" lines in one place.
51975         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51976         * conform/data/fmtmsg.h-data: Likewise.
51977         * conform/data/netinet/in.h-data: Likewise.
51978         * conform/data/tar.h-data: Likewise.
51979         * conform/data/limits.h-data: Use "==" form on "constant" and
51980         "optional-constant" lines.
51982         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51983         Use -std=c99 for XOPEN2K.
51984         (@knownproblems): Remove.
51985         (newtoken): Don't check %isknown.
51987         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51988         Do not expect macro.
51989         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51996         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51997         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51998         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52000         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52001         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52002         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52013         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52014         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52015         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52016         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52017         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52018         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52019         [XPG3] (acosh): Likewise.
52020         [XPG3] (asinh): Likewise.
52021         [XPG3] (atanh): Likewise.
52022         [XPG3] (cbrt): Likewise.
52023         [XPG3] (expm1): Likewise.
52024         [XPG3] (ilogb): Likewise.
52025         [XPG3] (log1p): Likewise.
52026         [XPG3] (logb): Likewise.
52027         [XPG3] (nextafter): Likewise.
52028         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52029         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52030         [XPG3] (remainder): Likewise.
52031         [XPG3] (rint): Likewise.
52032         [XPG3 || XPG4 || UNIX98] (round): Likewise.
52033         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52034         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52035         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52036         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52037         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52038         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52039         [UNIX98 || XOPEN2K] (scalb): Expect.
52040         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52041         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52042         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52043         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52044         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52045         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52046         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52047         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52048         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52049         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52050         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52051         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52052         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52053         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52054         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52055         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52056         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52057         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52058         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52059         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52060         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52061         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52062         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52063         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52064         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52065         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52066         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52067         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52068         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52069         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52070         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52071         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52072         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52073         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52074         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52075         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52076         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52077         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52078         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52079         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52080         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52081         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52082         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52083         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52084         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52085         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52086         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52087         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52088         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52089         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52090         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52091         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52092         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52093         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52094         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52095         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52096         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52097         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52098         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52099         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52100         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52101         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52102         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52103         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52104         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52105         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52106         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52107         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52108         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52109         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52110         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52111         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52112         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52113         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52114         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52115         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52116         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52117         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52118         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52119         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52120         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52121         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52122         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52123         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52124         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52125         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52126         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52127         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52128         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52129         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52130         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52131         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52132         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52133         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52134         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52135         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52136         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52137         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52138         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52139         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52140         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52141         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52142         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52143         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52144         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52145         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52146         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52147         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52148         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52149         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52150         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52151         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52152         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52153         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52154         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52155         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52156         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52157         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52158         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52159         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52160         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52161         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52162         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52163         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52164         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52165         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52166         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52167         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52168         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52169         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52170         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52171         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52172         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52173         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52174         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52175         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52176         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52178         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52179         _XOPEN_SOURCE_EXTENDED for XPG4.
52181         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52183         * Makeconfig (localtime): Remove variable.
52184         (inst_localtime-file): Likewise.
52186 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52189         Update.
52190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52191         Update.
52192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52193         Update.
52194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52195         Update.
52196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52197         Update.
52198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52199         Update.
52200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52201         Update.
52202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52203         Update.
52204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52205         Update.
52207 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52209         [BZ #2550]
52210         [BZ #2570]
52211         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52212         comparisons to determine direction to adjust input.
52213         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52214         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52215         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52216         Likewise.
52217         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52218         Likewise.
52219         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52220         Likewise.
52221         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52222         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52223         Likewise.
52224         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52225         Likewise.
52226         * math/libm-test.inc (nexttoward_test): Add more tests.
52228 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52230         [BZ #14040]
52231         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52232         in version GLIBC_2.1, not GLIBC_2.0.
52233         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52234         Likewise.
52236 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52238         [BZ #13942]
52239         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52240         (1 - x) * (1 + x).
52241         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52242         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52243         * math/libm-test.inc (acos_test): Add more tests.
52244         (asin_test): Likewise.
52245         * sysdeps/i386/fpu/libm-test-ulps: Update.
52246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52248         [BZ #14034]
52249         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52250         of square root.
52251         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52252         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52253         * math/libm-test.inc (acos_test_tonearest): New function.
52254         (acos_test_towardzero): Likewise.
52255         (acos_test_downward): Likewise.
52256         (acos_test_upward): Likewise.
52257         (asin_test_tonearest): Likewise.
52258         (asin_test_towardzero): Likewise.
52259         (asin_test_downward): Likewise.
52260         (asin_test_upward): Likewise.
52261         (main): Call the new functions.
52262         * sysdeps/i386/fpu/libm-test-ulps: Update.
52263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52265         [BZ #13884]
52266         [BZ #13924]
52267         * math/e_exp10.c: Include <float.h>.
52268         (__ieee754_exp10): Handle underflow here rather than multiplying
52269         large negative argument by M_LN10.
52270         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52271         of __ieee754_expf.
52272         * math/e_exp10l.c: Include <float.h>.
52273         (__ieee754_exp10l): Handle underflow here rather than multiplying
52274         large negative argument by M_LN10l.
52275         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52276         spurious overflow exception on underflow.
52278 2012-04-29  Marek Polacek  <polacek@redhat.com>
52280         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52281         (__fortify_function): New macro.
52282         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52283         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52284         __extern_always_inline.
52285         * libio/bits/stdio2.h: Likewise.
52286         * libio/bits/stdio.h: Likewise.
52287         * string/string.h: Likewise.
52288         * string/bits/string3.h: Likewise.
52289         * include/stdio.h: Likewise.
52290         * stdlib/bits/stdlib.h: Likewise.
52291         * stdlib/stdlib.h: Likewise.
52292         * rt/bits/mqueue2.h: Likewise.
52293         * rt/mqueue.h: Likewise.
52294         * posix/bits/unistd.h: Likewise.
52295         * posix/unistd.h: Likewise.
52296         * io/bits/poll2.h: Likewise.
52297         * io/bits/fcntl2.h: Likewise.
52298         * io/fcntl.h: Likewise.
52299         * io/sys/poll.h: Likewise.
52300         * misc/bits/syslog.h: Likewise.
52301         * misc/bits/syslog-ldbl.h: Likewise.
52302         * misc/sys/syslog.h: Likewise.
52303         * socket/bits/socket2.h: Likewise.
52304         * socket/sys/socket.h: Likewise.
52305         * debug/tst-chk1.c: Likewise.
52306         * wcsmbs/bits/wchar2.h: Likewise.
52307         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52308         * wcsmbs/wchar.h: Likewise.
52310 2012-04-29  Andreas Jaeger  <aj@suse.de>
52312         * Makerules (tests): Remove enable-check-abi protection.
52313         (check-abi-warn): Remove.
52314         (check-abi-%): Remove check-abi-warn usage.
52316         * configure.in: Remove check-abi configure option.
52317         * configure: Regenerated.
52318         * config.make.in (enable-check-abi): Remove.
52320 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52322         [BZ #14033]
52323         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52324         double functions to double *_finite functions.
52326         [BZ #13941]
52327         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52328         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52329         LDBL_MIN_EXP.
52330         * stdio-common/Makefile (tests): Add tst-sprintf3.
52331         * stdio-common/tst-sprintf3.c: New file.
52333         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52334         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52336 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52338         * conform/conformtest.pl: Remove duplicate typed-constant
52339         handling.
52341 2012-04-28  David S. Miller  <davem@davemloft.net>
52343         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52344         (check-abi-%): Remove AWK script prerequisite and explicit
52345         abilist directory.
52346         (check-abi): Rewrite to just diff the symlist with the abilist.
52347         (config-tls, config-abi-config): Delete, no longer used.
52348         (update-abi-%): Remove AWK script and explicit abilist directory.
52349         (update-abi): Rewrite to simply compare and conditionally copy the
52350         symlist and the sysdep abilist file.  Remove update-abi-config
52351         checks.
52352         * abilist/ld.abilist: Remove.
52353         * abilist/libBrokenLocale.abilist: Remove.
52354         * abilist/libanl.abilist: Remove.
52355         * abilist/libcrypt.abilist: Remove.
52356         * abilist/libdl.abilist: Remove.
52357         * abilist/librt.abilist: Remove.
52358         * abilist/libthread_db.abilist: Remove.
52359         * abilist/libutil.abilist: Remove.
52360         * scripts/extract-abilist.awk: Remove.
52361         * scripts/merge-abilist.awk: Remove.
52362         * sysdeps/generic/libcidn.abilist: New file.
52363         * sysdeps/generic/libnss_compat.abilist: New file.
52364         * sysdeps/generic/libnss_db.abilist: New file.
52365         * sysdeps/generic/libnss_dns.abilist: New file.
52366         * sysdeps/generic/libnss_files.abilist: New file.
52367         * sysdeps/generic/libnss_hesiod.abilist: New file.
52368         * sysdeps/generic/libnss_nis.abilist: New file.
52369         * sysdeps/generic/libnss_nisplus.abilist: New file.
52370         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52371         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52372         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52373         file.
52374         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52375         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52376         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52377         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52378         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52379         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52380         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52381         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52382         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52383         file.
52384         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52385         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52386         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52387         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52388         file.
52389         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52390         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52391         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52392         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52393         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52394         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52395         file.
52396         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52397         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52398         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52399         file.
52400         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52401         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52402         New file.
52403         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52404         New file.
52405         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52406         New file.
52407         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52408         New file.
52409         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52410         New file.
52411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52412         New file.
52413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52414         New file.
52415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52416         New file.
52417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52418         New file.
52419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52420         New file.
52421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52422         New file.
52423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52424         New file.
52425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52426         New file.
52427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52428         file.
52429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52430         New file.
52431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52432         New file.
52433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52434         file.
52435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52436         New file.
52437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52438         New file.
52439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52440         file.
52441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52442         New file.
52443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52444         New file.
52445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52446         New file.
52447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52448         New file.
52449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52450         New file.
52451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52452         New file.
52453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52455         file.
52456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52457         New file.
52458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52459         file.
52460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52461         file.
52462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52463         file.
52464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52465         file.
52466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52467         file.
52468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52469         New file.
52470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52471         file.
52472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52473         file.
52474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52475         New file.
52476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52477         file.
52478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52480         file.
52481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52482         New file.
52483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52484         file.
52485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52486         file.
52487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52488         file.
52489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52490         file.
52491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52492         file.
52493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52494         New file.
52495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52496         file.
52497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52498         file.
52499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52500         New file.
52501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52502         file.
52503         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52504         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52505         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52506         file.
52507         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52508         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52509         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52510         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52511         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52512         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52513         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52514         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52515         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52516         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52519         file.
52520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52521         New file.
52522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52523         file.
52524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52525         file.
52526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52527         file.
52528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52529         file.
52530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52531         file.
52532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52533         New file.
52534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52535         New file.
52536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52537         file.
52538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52539         New file.
52540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52541         file.
52542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52544         file.
52545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52546         New file.
52547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52548         file.
52549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52550         file.
52551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52552         file.
52553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52554         file.
52555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52556         file.
52557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52558         New file.
52559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52560         New file.
52561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52562         file.
52563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52564         New file.
52565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52566         file.
52568 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52570         * conform/conformtest.pl: Fix typo in handling typed-constant from
52571         allow-header.
52573 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52575         * README: Cut down references to pre-2.6 Linux kernels and
52576         Linuxthreads.  Update lists of configurations in libc and ports
52577         and sort alphabetically.  Say "or newer" with Linux kernel version
52578         requirements.
52580         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52582 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52584         [BZ #887]
52585         * math/libm-test.inc (logb_test_downward): New test to expose
52586         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52587         rounding mode.
52589 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52591         [BZ #14027]
52592         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52593         to be done.
52594         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52595         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52597 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52599         * sysdeps/unix/i386/brk.S: Remove file.
52600         * sysdeps/unix/i386/dl-brk.S: Likewise.
52601         * sysdeps/unix/i386/pipe.S: Likewise.
52602         * sysdeps/unix/i386/sigreturn.S: Likewise.
52603         * sysdeps/unix/i386/syscall.S: Likewise.
52604         * sysdeps/unix/i386/vfork.S: Likewise.
52605         * sysdeps/unix/i386/wait.S: Likewise.
52607         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52608         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52610         * configure.in (arm*-none*): Do not allow without
52611         --enable-hacker-mode.
52612         (netbsd*): Remove case setting base_os.
52613         (386bsd*): Likewise.
52614         (freebsd*): Likewise.
52615         (bsdi*): Likewise.
52616         (osf*): Likewise.
52617         (sunos*): Likewise.
52618         (ultrix*): Likewise.
52619         (newsos*): Likewise.
52620         (dynix*): Likewise.
52621         (*bsd*): Likewise.
52622         (sysv*): Likewise.
52623         (isc*): Likewise.
52624         (esix*): Likewise.
52625         (sco*): Likewise.
52626         (minix*): Likewise.
52627         (irix4*): Likewise.
52628         (irix6*): Likewise.
52629         (solaris[2-9]*): Likewise.
52630         (none): Likewise.
52631         * configure: Regenerated.
52633 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52635         [BZ #11521]
52636         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52637         overflow or cancellation in calculating denominator.
52638         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52640         down expression to avoid unexpected rounding in newer GCCs.
52641         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52643 2012-04-26  David S. Miller  <davem@davemloft.net>
52645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52646         long-double compat symbols.
52647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52661 2012-04-25  David S. Miller  <davem@davemloft.net>
52663         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52664         HWCAP_* values only after the memory barriers have been defined.
52665         (atomic_full_barrier): Define.
52666         (atomic_read_barrier): Define.
52667         (atomic_write_barrier): Define.
52669 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52671         * shlib-versions: Add libgcc_s version information.
52672         * sysdeps/generic/libgcc_s.h: Remove.
52673         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52674         libgcc_s.h.
52675         * sysdeps/gnu/unwind-resume.c: Likewise.
52676         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52678 2012-04-25  David S. Miller  <davem@davemloft.net>
52680         * sysdeps/unix/sparc/brk.S: Delete.
52681         * sysdeps/unix/sparc/dl-brk.S: Delete.
52682         * sysdeps/unix/sparc/pipe.S: Delete.
52683         * sysdeps/unix/sparc/sysdep.S: Delete.
52684         * sysdeps/unix/sparc/sysdep.h: Delete.
52685         * sysdeps/unix/sparc/vfork.S: Delete.
52686         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52687         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52688         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52689         (ret_ERRVAL, r0, r1, MOVE): Define.
52690         (JUMPTARGET): Remove.
52691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52692         sysdeps/unix/sparc/sysdep.h
52693         (ENTRY, END): Remove.
52694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52696 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52698         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52699         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52700         -DIS_IN_build.
52702         * timezone/README: Update upstream location and email address for
52703         tzcode and tzdata.
52704         * timezone/zdump.c: Update from tzcode 2012b.
52705         * timezone/zic.c: Likewise.
52707         * configure.in (libc_cv_as_needed): Remove test.
52708         * configure: Regenerated.
52709         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52710         conditional definition.
52711         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52712         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52713         * config.make.in (have-as-needed): Remove variable.
52715 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52716             Paul Pluzhnikov  <ppluzhnikov@google.com>
52718         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52719         strings correctly.
52721 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52723         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52724         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52725         * sysdeps/sh/strlen.S: Likewise.
52727 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52729         * sysdeps/unix/fork.S: Remove file.
52730         * sysdeps/unix/i386/fork.S: Likewise.
52731         * sysdeps/unix/sparc/fork.S: Likewise.
52733         * sysdeps/unix/system.c: Remove file.
52734         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52736         * sysdeps/unix/getegid.S: Remove file.
52737         * sysdeps/unix/geteuid.S: Likewise.
52739 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52741         * scripts/check-localplt.awk: New file.
52742         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52743         of diff.
52744         * scripts/data/localplt-generic.data: Add a comment.
52746         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52747         NODE when __dir_mkfile failed.
52748         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52749         Reported by Ludovic Courtès <ludo@gnu.org>.
52751 2012-04-24  Andreas Jaeger  <aj@suse.de>
52753         * Makerules (common-clean): Also remove gen-as-const-headers
52754         files.
52756 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52758         * Makerules (native-compile): Do not change working directory for
52759         build.  Use $(OUTPUT_OPTION) in command.
52760         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52762 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52764         [BZ #13886]
52765         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52766         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52767         * math/libm-test.inc (floor_test): Add more tests.
52768         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52770 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52772         * sysdeps/unix/getdents.c: Remove file.
52773         * sysdeps/unix/sysv/getdents.c: Likewise.
52774         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52776         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52777         sysdeps/unix/mman/syscalls.list.
52778         (mmap): Likewise.
52779         (mprotect): Likewise.
52780         (msync): Likewise.
52781         (munmap): Likewise.
52782         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52783         * sysdeps/unix/mman/syscalls.list: Remove.
52784         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52786         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52787         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52788         * configure: Regenerated.
52789         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52790         $(libgcc_s_suffix).
52791         * config.make.in (libgcc_s_suffix): Remove variable.
52793 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52795         * sysdeps/unix/sysv/gethostname.c: Move to ...
52796         * sysdeps/posix/gethostname.c: ... here.
52798         * sysdeps/unix/execve.S: Remove file.
52800         * sysdeps/unix/_exit.S: Remove file.
52802 2012-04-23  Andreas Jaeger  <aj@suse.de>
52804         [BZ #13739]
52805         * manual/Makefile: Remove make dist support, there's no
52806         need for a stand-alone documentation tar ball.
52807         (TEXI2DVI): Define always, it's not in Makeconfig.
52808         (dist): Removed.
52809         (tar-it): Removed.
52810         (edition): Removed.
52811         (glibc-doc-$(edition).tar): Removed
52812         (%.Z): Removed.
52813         (%.gz): Removed.
52814         (%.uu): Removed.
52815         (ETAGS): Remove, it's in Makeconfig.
52816         (move-if-change): Remove, it's in Makeconfig.
52818 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52820         [BZ #13970]
52821         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52822         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52823         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52824         (strtod_l, strtof_l, strtold_l): Remove __wur.
52825         It is not necessarily an error to ignore strtol's return value.
52826         One can reliably look at the stored endptr to decide whether
52827         the number had valid syntax.
52829 2012-04-21  Andreas Jaeger  <aj@suse.de>
52831         [BZ #13739]
52832         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52834 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52836         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52837         * sysdeps/unix/sysv/Versions: Remove file.
52839 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52841         [BZ #13927]
52842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52844 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52846         [BZ #7064]
52847         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52848         version from __vm86.
52850 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52852         * sysdeps/unix/common/lxstat.c: Remove file.
52853         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52855         * sysdeps/unix/sysv/Makefile: Remove file.
52857         * sysdeps/unix/sysv/direct.h: Remove file.
52859         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52860         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52861         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52862         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52863         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52864         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52865         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52867         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52869         * sysdeps/unix/xmknod.c: Remove file.
52870         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52872         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52874         * sysdeps/unix/sysv/i386/time.S: Remove file.
52876         * sysdeps/unix/fxstat.c: Remove file.
52877         * sysdeps/unix/xstat.c: Likewise.
52878         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52880         * sysdeps/unix/sysv/sigaction.c: Remove file.
52882         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52883         (sysdep_headers): Remove variable.
52884         [termio.h not in sysdep_headers] (generated): Likewise.
52885         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52886         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52887         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52888         * sysdeps/unix/sysv/tcflow.c: Likewise.
52889         * sysdeps/unix/sysv/tcflush.c: Likewise.
52890         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52891         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52892         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52893         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52894         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52896         * sysdeps/unix/siglist.c: Remove file.
52898         * sysdeps/unix/getppid.S: Remove file.
52900         * sysdeps/unix/mkdir.c: Remove file.
52901         * sysdeps/unix/rmdir.c: Likewise.
52903 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52905         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52906         ERR_MAX value.
52907         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52908         errlist-compat value.
52910 2012-04-18  David S. Miller  <davem@davemloft.net>
52912         * sysdeps/generic/memcopy.h (reg_char): Delete.
52913         * debug/strcat_chk.c: Use char, not reg_char.
52914         * debug/strcpy_chk.c: Likewise.
52915         * debug/strncat_chk.c: Likewise.
52916         * debug/strncpy_chk.c: Likewise.
52917         * string/memchr.c: Likewise.
52918         * string/memrchr.c: Likewise.
52919         * string/rawmemchr.c: Likewise.
52920         * string/strcat.c: Likewise.
52921         * string/strchr.c: Likewise.
52922         * string/strchrnul.c: Likewise.
52923         * string/strcmp.c: Likewise.
52924         * string/strcpy.c: Likewise.
52925         * string/strncat.c: Likewise.
52926         * string/strncmp.c: Likewise.
52927         * string/strncpy.c: Likewise.
52929 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52931         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52932         __builtin_memcopy is called when src and dest ranges are known to not
52933         overlap.
52935 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52937         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52938         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52939         fwd_align_merge macro call.
52940         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52941         bwd_align_merge macro call.
52942         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52944 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52946         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52947         bwd_align_merge macros.
52948         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52949         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52950         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52952 2012-04-18  David S. Miller  <davem@davemloft.net>
52954         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52956 2012-04-18  Andreas Jaeger  <aj@suse.de>
52958         [BZ# 6794]
52959         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52960         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52961         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52963         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52964         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52965         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52967         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52968         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52969         Adjust for changed ldbl-128 files.
52971         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52972         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52973         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52975 2012-04-17  David S. Miller  <davem@davemloft.net>
52977         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52979 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52981         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52982         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52983         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52984         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52985         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52986         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52988 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52990         [BZ #6794]
52991         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52992         * math/libm-test.inc: Add ilogb errno and exception tests.
52993         * math/w_ilogb.c: New file: ilogb wrapper.
52994         * math/w_ilogbf.c: New file: ilogbf wrapper.
52995         * math/w_ilogbl.c: New file: ilogbl wrapper.
52996         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52997         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52998         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52999         exception being thrown with 0.0 as argument.
53000         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53001         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53002         exception being thrown with 0.0 as argument.
53003         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53004         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53005         exception being thrown with 0.0 as argument.
53006         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53007         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53008         exception being thrown with 0.0 as argument.
53009         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53010         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53011         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53012         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53013         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53014         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53015         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53016         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53017         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53019 2012-04-17  Petr Baudis  <pasky@ucw.cz>
53021         * include/sys/uio.h: Change __vector to __iovec to avoid clash
53022         with altivec.
53024 2012-04-16  Marek Polacek  <polacek@redhat.com>
53026         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53028 2012-04-16  Marek Polacek  <polacek@redhat.com>
53030         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53031         operands of fdivp instruction.
53033 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53035         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53036         * elf/tst-auditmod3b.c: Likewise.
53037         * elf/tst-auditmod4b.c: Likewise.
53038         * elf/tst-auditmod5b.c: Likewise.
53039         * elf/tst-auditmod6b.c: Likewise.
53040         * elf/tst-auditmod6c.c: Likewise.
53041         * elf/tst-auditmod7b.c: Likewise.
53042         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53043         * sysdeps/x86_64/preconfigure.in: Likewise.
53044         * sysdeps/x86_64/preconfigure: Regenerated.
53046 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53048         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53049         __ILP32__.
53051 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
53053         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53054         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53056 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
53058         [BZ #13973]
53059         * locale/iso-639.def: Fix gl language name. Spotted by
53060         Yaron Shahrabani.
53062 2012-04-12  Roland McGrath  <roland@hack.frob.com>
53064         [BZ #2074]
53065         * libio/libio.h (__io_write_fn): Update comment.
53067 2012-04-12  Petr Baudis  <pasky@ucw.cz>
53069         [BZ #2074]
53070         * stdio.texi (Hook Functions): The user provided writer function
53071         is not allowed to return -1.
53073 2012-04-11  David S. Miller  <davem@davemloft.net>
53075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53077 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
53079         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53080         Add a leading slash to rtkaio.
53082 2012-04-11  Jim Meyering  <meyering@redhat.com>
53084         [BZ #11959]
53085         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53086         It is not necessarily an error to ignore fwrite's return
53087         value.  One can reliably use ferror to test for errors after
53088         the fact.
53090 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53092         * bits/types.h (__snseconds_t): New type.
53093         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53095         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53096         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53097         (__SNSECONDS_T_TYPE): Likewise.
53098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53099         (__SNSECONDS_T_TYPE): Likewise.
53100         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53101         (__SNSECONDS_T_TYPE): Likewise.
53103 2012-04-10  Andreas Jaeger  <aj@suse.de>
53105         [BZ #2636]
53106         * manual/time.texi (Processor Time): Return type of times is
53107         elapsed real time since an arbitrary point in the past.
53108         (CPU Time): Move CLK_TCK from here...
53109         (Processor Time): ...to here.  Correct description.
53110         * manual/conf.texi (Constants for Sysconf): Correct description of
53111         _SC_CLK_TCK.
53113 2012-04-10  David S. Miller  <davem@davemloft.net>
53115         [BZ #13967]
53116         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53117         where the is a gap between DT_REL(A) and DT_JMPREL.
53119 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53121         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53122         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53123         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53125 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53127         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53128         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53129         (dl_main): Handle --inhibit-cache.
53130         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53131         _dl_inhibit_cache.
53132         * elf/dl-load.c (_dl_map_object): Use it.
53133         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53135 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53137         [BZ #13872]
53138         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53139         (__ieee754_powl): Saturate large exponents rather than testing for
53140         overflow of y*log2(x).
53141         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53142         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53143         exceptions.
53145         [BZ #11521]
53146         * math/s_ctan.c: Include <float.h>.
53147         (__ctan): Avoid internal overflow or cancellation in calculating
53148         denominator.
53149         * math/s_ctanf.c: Likewise.
53150         * math/s_ctanl.c: Likewise.
53151         * math/s_ctanh.c: Likewise.
53152         * math/s_ctanhf.c: Likewise.
53153         * math/s_ctanhl.c: Likewise.
53154         * math/libm-test.inc (ctan_test): Add more tests.
53155         (ctanh_test): Likewise.
53156         * sysdeps/i386/fpu/libm-test-ulps: Update.
53157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53159 2012-04-09  Andreas Jaeger  <aj@suse.de>
53161         [BZ #6894]
53162         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53163         is an optional BSD extension.
53165         [BZ #10254]
53166         * manual/stdio.texi (Opening Streams): Document additional fopen
53167         parameters.
53169 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53171         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53172         %eax without telling the compiler.
53174 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53176         [BZ # 13963]
53177         * manual/install.texi: Use sourceware.org.
53179 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53181         [BZ #13873]
53182         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53183         (__ieee754_pow): Generate overflow and underflow using huge*huge
53184         and tiny*tiny rather than just returning constant infinity or zero
53185         for large exponents.
53186         * math/libm-test.inc (pow_test): Require overflow exceptions for
53187         applicable cases of large exponents.
53189         [BZ #706]
53190         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53191         (__ieee754_pow): Use iterative multiplication algorithm only for
53192         integer exponents with absolute value below 1024.  Check for odd
53193         integer exponents when using algorithm for real exponents.
53194         * math/libm-test.inc (pow_test): Add more tests.
53195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53197 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53199         [BZ #13705]
53200         * math/libm-test.inc (exp_test): Do not allow overflow exception
53201         on underflow test.
53203 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53205         [BZ #13705]
53206         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53207         instead of __kernel_standard_f.
53209 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53211         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53212         * sysdeps/x86_64/memset_chk.S: Likewise.
53214 2012-04-08  Andreas Jaeger  <aj@suse.de>
53216         [BZ #10153]
53217         * manual/startup.texi (Environment Access): Describe return value
53218         for putenv and setenv.
53220         [BZ #6895]
53221         * manual/filesys.texi (Directory Entries): Add description for
53222         DT_LNK.
53224         [BZ #6890]
53225         * manual/filesys.texi (Directory Entries): Clarify that it's file
53226         system not operating system in the description of DT_UNKNOWN.
53228         [BZ #6578]
53229         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53231 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53233         [BZ #6649]
53234         * manual/llio.texi (Opening and Closing Files): Add cross
53235         reference to explain mode argument.
53237 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53239         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53240         * sysdeps/x86_64/memset_chk.S: Likewise.
53242 2012-04-07  David S. Miller  <davem@davemloft.net>
53244         * elf/elf.h (R_SPARC_WDISP10): Define.
53245         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53246         R_SPARC_SIZE32.
53247         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53248         R_SPARC_SIZE64 and R_SPARC_H34.
53250 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53252         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53253         conditions and remove no longer applicable assertion.
53255 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53257         * bits/byteswap.h: Include <features.h>.
53258         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53259         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53261 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53263         * bits/byteswap.h (__bswap_16): Removed.
53264         Include <bits/byteswap-16.h> to get __bswap_16.
53265         * sysdeps/i386/bits/byteswap.h: Likewise.
53266         * sysdeps/s390/bits/byteswap.h: Likewise.
53267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53268         * bits/byteswap-16.h: New file.
53269         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53270         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53271         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53272         * string/Makefile (headers): Add bits/byteswap-16.h.
53274 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53276         [BZ #13895]
53277         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53278         extra indirection.
53279         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53280         * nss/tst-nss-static.c: New.
53282 2012-04-06  Robert Millan  <rmh@gnu.org>
53284         [BZ #6486]
53285         * manual/llio.texi (File Position Primitive): lseek
53286         refers to WHENCE when it really means OFFSET.
53288 2012-04-06  Andreas Jaeger  <aj@suse.de>
53290         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53291         strncmp declarations.
53293         * abilist/libc.abilist: Add __poll and __ppoll.
53295 2012-04-05  David S. Miller  <davem@davemloft.net>
53297         * scripts/check-local-headers.sh: Accept a host triplet in the
53298         path matched by the exclude regexp.
53300         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53301         definition.
53302         * sysdeps/powerpc/powerpc32/dl-machine.h
53303         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53304         * sysdeps/s390/s390-32/dl-machine.h
53305         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53306         * sysdeps/sparc/sparc32/dl-machine.h
53307         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53308         * sysdeps/sparc/sparc64/dl-machine.h
53309         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53311         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53312         lazy binding.
53313         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53314         undefined symbol errors.
53316         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53317         DT_NEEDED entries.
53319 2012-04-05  Michael Matz  <matz@suse.de>
53321         [BZ #13592]
53322         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53324 2012-04-05  Andreas Jaeger  <aj@suse.de>
53326         [BZ #13908]
53327         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53328         comment.
53330 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53332         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53333         which ROUND is no valid rounding mode.
53335 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53337         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53338         read again.
53339         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53341 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53343         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53344         an exception using FPU order intentionally.
53346 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53348         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53349         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53350         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53351         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53353 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53355         [BZ #12340]
53356         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53357         EINVAL when BUFLEN is too smal.
53359 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53361         [BZ #13553]
53362         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53363         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53365 2012-04-03  Andreas Jaeger  <aj@suse.de>
53367         [BZ #13938]
53368         * manual/setjmp.texi (System V contexts): Fix sentence.
53370         [BZ #13926]
53371         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53372         New macro for this case.
53373         [!__GNUC__] (__bswap_64): New inline function for this case.
53374         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53375         * bits/byteswap.h: Likewise.
53376         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53377         ull, guard with __GLIBC_HAVE_LONG_LONG.
53379         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53380         __GLIBC_HAVE_LONG_LONG.
53382         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53383         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53385 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53387         [BZ #13691]
53388         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53389         inptr and inend, rather than using last_ch.
53391 2012-04-02  David S. Miller  <davem@davemloft.net>
53393         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53394         * stdio-common/printf-parse.h (read_int): Change return type to
53395         'int', return -1 on INT_MAX overflow.
53396         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53397         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53398         overflows INT_MAX.  Check for overflow of in-format-string precision
53399         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53400         SIZE_MAX not INT_MAX for integer overflow test.
53401         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53402         skip the construct in the format string but do not record anything.
53403         * stdio-common/bug22.c: Adjust to test both width/prevision
53404         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53405         explicitly for proper errno values.
53407 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53409         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53410         CHAR_MAX.
53411         * string/test-strcmp.c [! WIDE]: Likewise.
53412         * time/tst-mktime2.c: Likewise for INT_MAX.
53413         * string/test-string.h: #include <sys/param.h> for MIN.
53415         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53416         * sysdeps/i386/init-first.c (init): Likewise.
53417         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53418         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53419         * sysdeps/sh/init-first.c (init): Likewise.
53421 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53423         * po/ru.po: Update from translation team.
53424         * po/vi.po: Likewise.
53426 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53428         * resolv/nss_dns/dns-host.c: Merge copyright years.
53430 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53432         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53433         Optimize memcpy with prefetch if
53434         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53435         src, dst pointers have unequal 16 byte alignments.
53437 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53439         [BZ #13928]
53440         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53441         from a CNAME entry and return the minimum ttl for the query.
53442         (gaih_getanswer_slice): Likewise.
53444 2012-03-30  Jeff Law  <law@redhat.com>
53446         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53447         due to long keys.
53448         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53449         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53451         * resolv/nss_dns/dns-host.c: Update copyright year.
53453 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53455         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53456         requests to save a system call.  Fix check that all bytes are sent.
53458         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53459         comments for sendmmsg.
53461 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53463         [BZ #13691]
53464         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53465         with only 1 character between 0x0041 and 0x01b0.
53466         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53467         * wcsmbs/tst-mbsnrtowcs.c: New file.
53469 2012-03-29  David S. Miller  <davem@davemloft.net>
53471         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53472         small copies by hand.
53474 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53476         [BZ #13761]
53477         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53478         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53479         group memberships.
53481 2012-03-28  David S. Miller  <davem@davemloft.net>
53483         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53484         that branches into memcpy.
53485         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53487         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53488         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53490         bits.
53491         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53492         implementation too.
53493         * sysdeps/sparc/mempcpy.S: New file.
53495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53496         the IFUNC routine in the libc case.
53497         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53499         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53500         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53501         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53502         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53503         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53504         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53505         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53506         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53508         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53509         loop to 256 bytes instead of 64 bytes and fix test signedness.
53511         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53512         * sysdeps/sparc/sparc32/Makefile: rather than here...
53513         * sysdeps/sparc/sparc64/Makefile: and here.
53515 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53517         * malloc/mallocbug.c: Avoid warnings about unused variables.
53519 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53521         [BZ #13760]
53522         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53523         in the right place. Discard and retry query if response is
53524         larger than input buffer size.
53526 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53528         [BZ #369]
53529         [BZ #2678]
53530         [BZ #3866]
53531         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53532         x for large integer exponent.
53533         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53534         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53535         sign of result as needed afterwards.
53536         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53537         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53538         result for underflowing pow the same as for overflow.
53539         (__kernel_standard_l): Handle powl overflow and underflow here
53540         rather than calling __kernel_standard.
53541         * math/libm-test.inc (pow_test): Add more tests.
53543         [BZ #3868]
53544         [BZ #13879]
53545         [BZ #13910]
53546         [BZ #13911]
53547         [BZ #13912]
53548         [BZ #13913]
53549         [BZ #13915]
53550         [BZ #13916]
53551         [BZ #13917]
53552         [BZ #13918]
53553         [BZ #13919]
53554         [BZ #13920]
53555         [BZ #13921]
53556         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53557         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53558         (__kernel_standard_l): New function.
53559         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53560         __kernel_standard.
53561         * math/w_acosl.c (__acosl): Likewise.
53562         * math/w_asinl.c (__asinl): Likewise.
53563         * math/w_atan2l.c (__atan2l): Likewise.
53564         * math/w_atanhl.c (__atanhl): Likewise.
53565         * math/w_coshl.c (__coshl): Likewise.
53566         * math/w_exp10l.c (__exp10l): Likewise.
53567         * math/w_exp2l.c (__exp2l): Likewise.
53568         * math/w_fmodl.c (__fmodl): Likewise.
53569         * math/w_hypotl.c (__hypotl): Likewise.
53570         * math/w_j0l.c (__j0l, __y0l): Likewise.
53571         * math/w_j1l.c (__j1l, __y1l): Likewise.
53572         * math/w_jnl.c (__jnl, __ynl): Likewise.
53573         * math/w_lgammal.c (__lgammal): Likewise.
53574         * math/w_log10l.c (__log10l): Likewise.
53575         * math/w_log2l.c (__log2l): Likewise.
53576         * math/w_logl.c (__logl): Likewise.
53577         * math/w_powl.c (__powl): Likewise.
53578         * math/w_remainderl.c (__remainderl): Likewise.
53579         * math/w_scalbl.c (sysv_scalbl): Likewise.
53580         * math/w_sinhl.c (__sinhl): Likewise.
53581         * math/w_sqrtl.c (__sqrtl): Likewise.
53582         * math/w_tgammal.c (__tgammal): Likewise.
53583         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53584         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53585         * math/libm-test.inc (acos_test): Add more tests.
53586         (acosh_test): Likewise.
53587         (asin_test): Likewise.
53588         (atanh_test): Likewise.
53589         (exp_test): Likewise.
53590         (exp10_test): Likewise.
53591         (exp2_test): Likewise.
53592         (expm1_test): Likewise.
53593         (lgamma_test): Likewise.
53594         (log_test): Likewise.
53595         (log10_test): Likewise.
53596         (log1p_test): Likewise.
53597         (log2_test): Likewise.
53598         (pow_test): Do not allow some spurious overflow exceptions.
53599         (sqrt_test): Add more tests.
53600         (tgamma_test): Likewise.
53601         (y0_test): Likewise.
53602         (y1_test): Likewise.
53603         (yn_test): Likewise.
53605 2012-03-27  Anton Blanchard  <anton@samba.org>
53607         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53608         MAP_HUGETLB.
53609         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53610         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53611         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53613 2012-03-27  David S. Miller  <davem@davemloft.net>
53615         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53617         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53618         have-as-vis3 check.
53620 2012-03-27  Andreas Jaeger  <aj@suse.de>
53622         * sysdeps/x86_64/elf/configure.in: Moved to ...
53623         * sysdeps/x86_64/configure.in: ... here.
53624         * sysdeps/x86_64/elf/start.S: Moved to ...
53625         * sysdeps/x86_64/start.S: ... here.
53626         * sysdeps/x86_64/elf/configure: Delete.
53628         * sysdeps/x86_64/configure.in: Merge contents from
53629         sysdeps/i386/configure.in (without i686 check).
53631         * sysdeps/i386/elf/Versions: Merge into ...
53632         * sysdeps/i386/Versions: ... this.
53633         * sysdeps/i386/elf/Versions: Delete file.
53634         * sysdeps/i386/elf/start.S: Moved to ...
53635         * sysdeps/i386/start.S: ...here.
53636         * sysdeps/i386/elf/configure.in: Merge into...
53637         * sysdeps/i386/configure.in: ...here.
53638         * sysdeps/i386/elf/configure.in: Delete file.
53639         * sysdeps/i386/elf/configure: Delete file.
53641         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53642         * debug/backtracesyms.c: ... here.
53643         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53644         * debug/backtracesymsfd.c: ... here.
53645         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53646         * sysdeps/generic/ifunc-sel.h: ... here.
53648         * sysdeps/unix/i386/start.c: Delete file.
53649         * sysdeps/unix/sparc/start.c: Delete file.
53650         * sysdeps/unix/start.c: Delete file.
53652         * sysdeps/sh/elf/configure.in: Moved to ...
53653         * sysdeps/sh/configure.in: ... here.
53654         * sysdeps/sh/elf/start.S: Moved to ...
53655         * sysdeps/sh/start.S: ... here.
53656         * sysdeps/sh/elf/configure: Delete file.
53658         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53659         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53660         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53661         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53662         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53663         * sysdeps/powerpc/powerpc64/start.S: here.
53664         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53665         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53666         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53667         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53668         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53670         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53671         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53672         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53673         * sysdeps/powerpc/powerpc32/start.S: ... here.
53674         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53675         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53676         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53678         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53679         * sysdeps/powerpc/ifunc-sel.h: ... here.
53680         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53681         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53683         * sysdeps/sparc/elf/configure.in: Moved to ...
53684         * sysdeps/sparc/configure.in: ... here.
53685         * sysdeps/sparc/elf/configure: Delete file.
53686         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53687         * sysdeps/sparc/sparc32/start.S: ... here.
53688         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53689         * sysdeps/sparc/sparc64/start.S: ... here.
53690         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53691         * sysdeps/sparc/sparc32/Makefile: ... this.
53692         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53693         * sysdeps/sparc/sparc64/Makefile: ... this.
53695         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53696         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53697         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53698         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53699         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53700         * sysdeps/s390/s390-32/setjmp.S: ... here.
53701         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53702         * sysdeps/s390/s390-32/configure.in: ... here.
53703         * sysdeps/s390/s390-32/elf/configure: Delete file.
53704         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53705         * sysdeps/s390/s390-32/start.S: ... here.
53707         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53708         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53709         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53710         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53711         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53712         * sysdeps/s390/s390-64/setjmp.S: ... here.
53713         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53714         * sysdeps/s390/s390-64/configure.in: ... here
53715         * sysdeps/s390/s390-64/elf/configure: Delete file.
53716         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53717         * sysdeps/s390/s390-64/start.S: ... here.
53718         * sysdeps/s390/s390-64/elf/configure: Delete.
53720         * configure.in: Remove support for elf directories in sysdeps.
53722         * configure: Regenerated.
53723         * sysdeps/i386/configure: Regenerated.
53724         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53725         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53726         * sysdeps/s390/s390-32/configure: Regenerated.
53727         * sysdeps/s390/s390-64/configure: Regenerated.
53728         * sysdeps/sh/configure: Regenerated.
53729         * sysdeps/sparc/configure: Regenerated.
53730         * sysdeps/x86_64/configure: Regenerated.
53732 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53736         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53737         denormal result into account.
53739 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53741         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53742         Reported by Allan McRae <allan@archlinux.org>.
53744 2012-03-23  Jeff Law  <law@redhat.com>
53746         * nss/getnssent.c (__nss_getent): Fix typo.
53748 2012-03-23  David S. Miller  <davem@davemloft.net>
53750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53752 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53754         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53755         to pad to uint64_t for each field.
53756         (dl_tls_index): Replace unsigned long with uint64_t.
53758 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53759         Paul Pluzhnikov  <ppluzhnikov@google.com>
53761         [BZ #6528]
53762         * grp/Makefile (otherlibs): Don't set it.
53763         * inet/Makefile (otherlibs): Likewise.
53764         * login/Makefile (otherlibs): Likewise.
53765         * nscd/Makefile (otherlibs): Likewise.
53766         * posix/Makefile (otherlibs): Likewise.
53767         * pwd/Makefile (otherlibs): Likewise.
53768         * rt/Makefile (otherlibs): Likewise.
53769         * sunrpc/Makefile (otherlibs): Likewise.
53770         * nss/Makefile (otherlibs): Likewise.
53771         Add libnss_files to routines and static-only-routines.
53772         ($(objpfx)getent): Remove rule.
53773         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53774         static-only-routines.
53776 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53778         [BZ #13892]
53779         * math/s_cexp.c: Include <float.h>.
53780         (__cexp): Handle exp result overflowing not necessarily
53781         overflowing both real and imaginary parts of result.
53782         * math/s_cexpf.c: Likewise.
53783         * math/s_cexpl.c: Likewise.
53784         * math/libm-test.inc (cexp_test): Add more tests.
53785         * sysdeps/i386/fpu/libm-test-ulps: Update.
53786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53788 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53790         * include/link.h (ELFW): New macro.
53791         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53792         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53794 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53796         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53797         with uint64_t.
53799 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53801         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53802         declaration.
53803         (struct La_x32_retval): Likewise.
53805 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53807         * sysdeps/x86_64/preconfigure.in: New file.
53808         * sysdeps/x86_64/preconfigure: New generated file.
53810 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53812         [BZ #13824]
53813         * math/e_exp2l.c: Include <float.h>.
53814         (__ieee754_exp2l): Handle overflow and underflow cases
53815         separately.  Only pass fractional part of argument to
53816         __ieee754_expl.
53817         * math/libm-test.inc (exp2_test): Add more tests.
53819         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53820         negating x to take absolute value.
53821         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53822         Likewise.
53823         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53824         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53825         Likewise.
53826         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53827         computing low part if x was negated.
53828         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53830 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53832         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53833         la_x32_gnu_pltexit.
53834         (pltexit): Cast int_retval to ptrdiff_t.
53835         * elf/tst-auditmod3b.c: Likewise.
53836         * elf/tst-auditmod4b.c: Likewise.
53837         * elf/tst-auditmod5b.c: Likewise.
53838         * elf/tst-auditmod6b.c: Likewise.
53839         * elf/tst-auditmod6c.c: Likewise.
53840         * elf/tst-auditmod7b.c: Likewise.
53842         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53843         and x32_gnu_pltexit.
53845         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53846         __ELF_NATIVE_CLASS.
53847         (La_x32_regs): New macro.
53848         (La_x32_retval): Likewise.
53849         (la_x32_gnu_pltenter): New function prototype.
53850         (la_x32_gnu_pltexit): Likewise.
53852 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53855         exponent.
53857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53859         * configure.in (libc_cv_cc_nofma): Check for option to disable
53860         generation of FMA instructions.
53861         * configure: Regenerate.
53862         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53863         * sysdeps/ieee754/dbl-64/Makefile: New file.
53864         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53865         Remove brandred-fma4.
53866         (CFLAGS-brandred-fma4.c): Remove.
53867         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53868         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53869         define.
53870         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53871         define.
53873 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53875         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53876         LLONG_MAX != LONG_MAX.
53877         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53878         (_fitoa_word): Likewise.
53879         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53880         LLONG_MAX != LONG_MAX.
53881         * stdio-common/_itowa.h: Include <_itoa.h>.
53882         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53883         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53884         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53885         only if not defined.
53886         (_ITOA_WORD_TYPE): Likewise.
53887         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53888         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53890 2012-03-21  David S. Miller  <davem@davemloft.net>
53892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53894 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53896         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53897         of x86_64 when setting libc_cv_slibdir, libdir and
53898         libc_cv_localedir.
53899         * sysdeps/unix/sysv/linux/configure: Regenerated.
53901 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53903         * manual/lang.texi (Old Varargs): Remove section.
53904         (How Variadic): Update menu.
53905         (va_start): Do not mention varargs.h.
53907 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53908             Joseph Myers  <joseph@codesourcery.com>
53910         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53911         link test.
53912         * configure: Regenerated.
53914 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53916         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53917         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53918         conformtest.pl
53920 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53922         * NOTES: Remove.
53923         * Makefile (files-for-dist): Remove NOTES.
53924         (NOTES): Remove rule.
53925         * README: Don't refer to NOTES.
53926         * manual/creature.texi: Don't include macros.texi.
53927         * manual/intro.texi (creature.texi): Remove comment referring to
53928         NOTES.
53930         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53931         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53932         * configure: Regenerated.
53933         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53934         LIBC_TRY_CC_OPTION.
53935         (libc_cv_as_i686): Likewise.
53936         (libc_cv_cc_avx): Likewise.
53937         (libc_cv_cc_sse2avx): Likewise.
53938         (libc_cv_cc_fma4): Likewise.
53939         (libc_cv_cc_novzeroupper): Likewise.
53940         * sysdeps/i386/configure: Regenerated.
53942         [BZ #13883]
53943         * sysdeps/i386/fpu/s_cexp.S: Remove.
53944         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53945         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53946         * math/libm-test.inc (cexp_test): Add more tests.
53947         * sysdeps/i386/fpu/libm-test-ulps: Update.
53948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53950 2012-03-21  Allan McRae  <allan@archlinux.org>
53952         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53954 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53956         [BZ #13871]
53957         * math/w_exp2.c: Do not include <float.h>.
53958         (o_threshold, u_threshold): Remove.
53959         (__exp2): Calculate result before checking finiteness and calling
53960         __kernel_standard.
53961         * math/w_exp2f.c: Likewise.
53962         * math/w_exp2l.c: Likewise.
53963         * math/libm-test.inc (exp2_test): Require overflow exception for
53964         1e6 input.
53966         [BZ #3866]
53967         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53968         range of signed 64-bit integers before using fistpll.  Remove
53969         checks for whether integers fit in mantissa bits.
53970         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53971         the range of signed 32-bit integers before using fistpl.  Remove
53972         checks for whether integers fit in mantissa bits.
53973         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53974         (__ieee754_powl): Test for y outside the range of signed 64-bit
53975         integers before using fistpll.  Reduce 64-bit values to 63-bit
53976         ones as needed.
53977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53978         divide-by-zero is raised for zero to large negative powers.
53979         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53980         (__ieee754_powl): Test for y outside the range of signed 64-bit
53981         integers before using fistpll.  Reduce 64-bit values to 63-bit
53982         ones as needed.
53983         * math/libm-test.inc (pow_test): Add more tests.
53985 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53987         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53988         <stdio-common/_itoa.h>.
53989         * debug/segfault.c: Likewise.
53990         * elf/dl-cache.c: Likewise.
53991         * elf/dl-minimal.c: Likewise.
53992         * elf/dl-misc.c: Likewise.
53993         * elf/dl-sysdep.c: Likewise.
53994         * elf/dl-version.c: Likewise.
53995         * elf/rtld.c: Likewise.
53996         * hurd/hurdsock.c: Likewise.
53997         * hurd/lookup-retry.c: Likewise.
53998         * malloc/malloc.c: Likewise.
53999         * malloc/mtrace.c: Likewise.
54000         * nscd/nscd_getgr_r.c: Likewise.
54001         * nscd/nscd_getpw_r.c: Likewise.
54002         * nscd/nscd_getserv_r.c: Likewise.
54003         * posix/getopt_init.c: Likewise.
54004         * posix/wordexp.c: Likewise.
54005         * stdio-common/_itoa.c: Likewise.
54006         * stdio-common/printf_fphex.c: Likewise.
54007         * stdio-common/vfprintf.c: Likewise.
54008         * string/_strerror.c: Likewise.
54009         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54010         * sysdeps/i386/i686/hp-timing.h: Likewise.
54011         * sysdeps/mach/_strerror.c: Likewise.
54012         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54013         * sysdeps/mach/hurd/sethostid.c: Likewise.
54014         * sysdeps/mach/hurd/xmknodat.c: Likewise.
54015         * sysdeps/mach/xpg-strerror.c: Likewise.
54016         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54017         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54018         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54019         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54020         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54021         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54022         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54023         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54024         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54025         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54026         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54027         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54028         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54029         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54030         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54031         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54032         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54033         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54034         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54035         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54036         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54038         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54040         * stdio-common/_itoa.h: Moved to ...
54041         * sysdeps/generic/_itoa.h: Here.
54043         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54045         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54046         instead of "_itoa.h" and "_itowa.h".
54047         * stdio-common/vfprintf.: Likewise.
54049 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54051         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54052         <bits/wordsize.h>.
54053         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54054         (__signbit): Likwise.
54055         (llrintf): Likwise.
54056         (llrint): Likwise.
54058 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54060         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54061         __WORDSIZE != 64.
54063 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
54065         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54066         OVERFLOW_EXCEPTION_OK.
54067         * math/libm-test.inc ("Philosophy"): Update comment about
54068         exception testing.
54069         (OVERFLOW_EXCEPTION): Define.
54070         (OVERFLOW_EXCEPTION_OK): Likewise.
54071         (INVALID_EXCEPTION_OK): Renumber.
54072         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54073         (IGNORE_ZERO_INF_SIGN): Likewise.
54074         (test_exceptions): Handle FE_OVERFLOW.
54075         (exp10_test): Expect overflow exceptions.
54076         (exp2_test): Likewise.
54077         (expm1_test): Likewise.
54078         (nextafter_test): Likewise.
54079         (pow_test): Likewise.
54080         (scalbn_test): Likewise.
54081         (scalbln_test): Likewise.
54083 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54085         * sysdeps/x86_64/bits/atomic.h
54086         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54087         64bit integer.
54088         (atomic_exchange_acq): Likewise.
54089         (__arch_exchange_and_add_body): Likewise.
54090         (__arch_add_body): Likewise.
54091         (atomic_add_negative): Likewise.
54092         (atomic_add_zero): Likewise.
54094 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54096         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54097         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54099 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54101         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54102         Check __x86_64__ instead of __WORDSIZE.
54104 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54106         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54108 2012-03-19  David S. Miller  <davem@davemloft.net>
54110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54112         * sysdeps/sparc/fpu/fenv_private.h: New file.
54113         * sysdeps/sparc/fpu/math_private.h: Use it.
54114         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54115         Remove.
54116         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54117         (libc_feholdexcept_setroundl): Remove.
54118         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54119         Remove.
54120         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54121         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54123 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54125         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54126         int64_t instead of long int.
54127         (INSERT_WORDS64): Likwise.
54129 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54131         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54132         _Unwind_GetCFA return to _Unwind_Ptr first.
54134 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54136         [BZ #13629]
54137         * math/s_clog.c: Include <float.h>.
54138         (__clog): Scale large or subnormal inputs.
54139         * math/s_clogf.c: Likewise.
54140         * math/s_clogl.c: Likewise.
54141         * math/s_clog10.c: Include <float.h>.
54142         (M_LOG10_2): Define.
54143         (__clog10): Scale large or subnormal inputs.
54144         * math/s_clog10f.c: Likewise.
54145         * math/s_clog10l.c: Likewise.
54146         * math/libm-test.inc (clog_test): Add more tests.
54147         (clog10_test): Likewise.
54148         * sysdeps/i386/fpu/libm-test-ulps: Update.
54149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54151         [BZ #11451]
54152         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54153         x and y.
54154         * math/libm-test.inc (atan2_test): Add another test.
54156         * Makerules (common-objdir-compile): Remove.
54157         * sysdeps/unix/Makefile (config-generated): Do not add
54158         $(unix-generated) to variable.
54159         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54160         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54161         Remove rule.
54162         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54163         Likewise.
54164         [generic bits/local_lim.h] (before-compile): Do not append to
54165         variable.
54166         [generic bits/local_lim.h] (common-generated): Likewise.
54167         [generic sys/param.h] (before-compile): Do not append to variable.
54168         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54169         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54170         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54171         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54172         include.
54173         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54174         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54175         [generic sys/param.h] ($(addprefix
54176         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54177         [generic sys/param.h] (common-generated): Do not append to
54178         variable.
54179         [generic sys/param.h] (sysdep_headers): Likewise.
54180         [generic bits/errno.h] (before-compile): Do not append to
54181         variable.
54182         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54183         rule.
54184         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54185         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54186         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54187         [generic bits/errno.h] (common-generated): Do not append to
54188         variable.
54189         [generic bits/ioctls.h] (before-compile): Do not append to
54190         variable.
54191         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54192         rule.
54193         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54194         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54195         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54196         rule.
54197         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54198         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54199         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54200         [generic bits/ioctls.h] (common-generated): Do not append to
54201         variable.
54202         [generic sys/syscall.h] (syscall.h): Remove variable.
54203         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54204         rule.
54205         [generic sys/syscall.h] (before-compile): Do not append to
54206         variable.
54207         [generic sys/syscall.h] (common-generated): Likewise.
54208         * sysdeps/unix/errnos-tmpl.c: Remove file.
54209         * sysdeps/unix/errnos.awk: Likewise.
54210         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54211         * sysdeps/unix/ioctls.awk: Likewise.
54212         * sysdeps/unix/mk-local_lim.c: Likewise.
54213         * sysdeps/unix/snarf-ioctls: Likewise.
54215 2012-03-19  Richard Henderson  <rth@twiddle.net>
54217         * sysdeps/i386/fpu/fenv_private.h: New file.
54218         * sysdeps/i386/fpu/math_private.h: Use it.
54219         (math_opt_barrier, math_force_eval): Remove.
54220         (libc_feholdexcept_setround_53bit): Remove.
54221         (libc_feupdateenv_53bit): Remove.
54222         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54223         (math_opt_barrier, math_force_eval): Remove.
54224         (libc_feholdexcept): Remove.
54225         (libc_feholdexcept_setround): Remove.
54226         (libc_fetestexcept, libc_fesetenv): Remove.
54227         (libc_feupdateenv_test): Remove.
54228         (libc_feupdateenv, libc_feholdsetround): Remove.
54229         (libc_feresetround): Remove.
54231         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54232         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54234         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54235         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54236         (libc_feupdateenv_testl): New.
54237         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54238         (libc_feupdateenv_testf): New.
54239         (libc_feupdateenv): Use libc_feupdateenv_test.
54240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54241         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54243         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54244         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54245         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54246         (libc_feresetround_noex): New.
54247         (libc_feresetround_noexf): New.
54248         (libc_feresetround_noexl): New.
54249         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54250         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54251         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54252         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54253         SET_RESTORE_ROUND.
54254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54256         (__cos): Likewise.
54257         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54258         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54259         SET_RESTORE_ROUND_NOEX.
54260         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54261         SET_RESTORE_ROUND_NOEXF.
54262         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54263         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54264         (libc_feholdsetroundf): New.
54265         (libc_feresetround, libc_feresetroundf): New.
54267         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54268         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54269         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54271         * sysdeps/generic/math_private.h: Include <fenv.h>.
54272         (default_libc_feholdexcept): New.
54273         (default_libc_feholdexcept_setround): New.
54274         (default_libc_fesetenv, default_libc_feupdateenv): New.
54275         (libc_feholdexcept): Only define if undefined.
54276         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54277         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54278         (libc_feholdexcept_setroundl): Likewise.
54279         (libc_feholdexcept_setround_53bit): Likewise.
54280         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54281         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54282         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54283         (libc_feupdateenv_53bit): Likewise.
54284         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54285         (libc_feholdexcept): Convert from macro to inline function.
54286         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54287         (libc_fesetenv, libc_feupdateenv): Likewise.
54289         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54290         not previously defined.
54291         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54292         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54293         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54294         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54295         * sysdeps/ieee754/flt-32/math_private.h: New file.
54296         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54297         math_private.h below SET_FLOAT_WORD.
54298         (__isnan, __isinf_ns, __finite): Remove.
54299         (__isnanf, __isinf_nsf, __finitef): Remove.
54301 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54305 2012-03-17  David S. Miller  <davem@davemloft.net>
54307         [BZ #6471]
54308         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54309         for 2.16.
54311 2012-03-16  David S. Miller  <davem@davemloft.net>
54313         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54314         warnings.
54316         [BZ #6471]
54317         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54318         properly.
54319         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54320         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54321         sysdep_routines when subdir is sysvipc.
54322         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54323         __getshmlba helper.
54325         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54327 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54329         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54330         [__LP64__].
54332 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54334         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54335         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54336         (__lround): Renamed to ...
54337         (__llround): This.  Replace long int with long long int.
54338         Define lround functions as aliases of llround functions.
54339         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54341 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54343         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54344         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54345         adresses to uintptr_t.  Replace "long int" and "unsigned long
54346         int" with "greg_t" on va_arg.
54348 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54350         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54351         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54353         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54354         Move e_machine check before EI_CLASS check.  Handle x32
54355         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54356         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54357         SKIP_EM_IA_64 and include
54358         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54360         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54361         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54362         (add_system_dir): New macro.
54364         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54365         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54367 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54369         [BZ #2551]
54370         [BZ #2552]
54371         [BZ #2553]
54372         [BZ #2554]
54373         [BZ #2562]
54374         [BZ #2563]
54375         [BZ #2565]
54376         [BZ #2566]
54377         [BZ #2576]
54378         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54379         (y0): Likewise.
54380         * math/w_j0f.c (j0f): Likewise.
54381         (y0f): Likewise.
54382         * math/w_j0l.c (__j0l): Likewise.
54383         (__y0l): Likewise.
54384         * math/w_j1.c (j1): Likewise.
54385         (y1): Likewise.
54386         * math/w_j1f.c (j1f): Likewise.
54387         (y1f): Likewise.
54388         * math/w_j1l.c (__j1l): Likewise.
54389         (__y1l): Likewise.
54390         * math/w_jn.c (jn): Likewise.
54391         (yn): Likewise.
54392         * math/w_jnf.c (jnf): Likewise.
54393         (ynf): Likewise.
54394         * math/w_jnl.c (__jnl): Likewise.
54395         (__ynl): Likewise.
54396         * math/libm-test.inc (j0_test): Add more tests.
54397         (j1_test): Likewise.
54398         (jn_test): Likewise.  Add trailing semicolon to existing test.
54399         (y0_test): Likewise.
54400         (y1_test): Likewise.
54401         * sysdeps/i386/fpu/libm-test-ulps: Update.
54402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54404         [BZ #13851]
54405         [BZ #13854]
54406         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54407         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54408         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54409         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54410         (__tanl): Set errno for infinite argument.
54411         * sysdeps/i386/fpu/mptan.c: Remove.
54412         * sysdeps/i386/fpu/s_tan.S: Likewise.
54413         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54414         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54415         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54416         * math/libm-test.inc (tan_test): Add more tests and enable more
54417         tests for double and long double.
54418         * sysdeps/i386/fpu/libm-test-ulps: Update.
54419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54421 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54423         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54424         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54426 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54428         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54429         * configure.in: Use it for both main tree and add-ons.
54430         * configure: Regenerated.
54432 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54434         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54436 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54438         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54439         in comment.
54441         [BZ #13851]
54442         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54443         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54446         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54447         infinite argument.
54448         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54449         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54450         != 0 for prec == 2.
54451         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54452         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54453         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54454         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54455         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54456         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54457         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54458         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54459         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54460         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54461         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54462         * math/libm-test.inc (cos_test): Add more tests and enable more
54463         tests for long double.
54464         (sin_test): Likewise.
54465         (sincos_test): Likewise.
54466         * sysdeps/i386/fpu/libm-test-ulps: Update.
54467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54469 2012-03-16  David S. Miller  <davem@davemloft.net>
54471         * sysdeps/sparc/fpu/math_private.h: New file.
54473 2012-03-15  David S. Miller  <davem@davemloft.net>
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54476         file.
54477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54479         file.
54480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54485         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54486         sysdep routines.
54487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54489         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54490         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54492         * sysdeps/sparc/sparc-ifunc.h: New file.
54493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54494         sparc-ifunc.h
54495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54497         Likewise.
54498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54499         Likewise.
54500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54504         Likewise.
54505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54510         Likewise.
54511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54512         Likewise.
54513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54518         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54519         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54520         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54529         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54530         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54533         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54535         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54538 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54540         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54541         scaling.
54542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54544 2012-03-15  Andreas Jaeger  <aj@suse.de>
54546         [BZ #13852]
54547         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54548         ieee754/flt-32 implementation for sin, cos and sincos.
54549         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54550         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54551         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54552         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54553         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54554         ieee754/flt-32 implementation for tan.
54556         * math/libm-test.inc (cos_test): Enable some large input tests for
54557         float as well
54558         (sin_test): Likewise.
54559         (sincos_test): Likewise.
54560         (tan_test): Add tests for large input.
54562         * sysdeps/i386/fpu/libm-test-ulps: Update.
54564 2012-03-15  Andreas Jaeger  <aj@suse.de>
54566         [BZ #13658]
54567         * math/libm-test.inc (cos_test): Add more test cases.
54568         (sin_test): Likewise.
54569         (sincos_test): Likewise.
54571 2012-03-15  Andreas Jaeger  <aj@suse.de>
54573         [BZ #13837]
54574         * math/libm-test.inc (cos_test): Add a test case for large input
54575         value.
54576         (sin_test): Likewise.
54577         (sincos_test): Likewise.
54579 2012-03-15  Andreas Jaeger  <aj@suse.de>
54580             Joseph Myers  <joseph@codesourcery.com>
54582         [BZ #13658]
54583         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54584         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54585         * sysdeps/i386/fpu/branred.c: Likewise.
54586         * sysdeps/i386/fpu/dosincos.c: Likewise.
54587         * sysdeps/i386/fpu/mpa.c: Likewise.
54588         * sysdeps/i386/fpu/s_cos.S: Likewise.
54589         * sysdeps/i386/fpu/s_sin.S: Likewise.
54590         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54591         * sysdeps/i386/fpu/sincos32.c: Likewise.
54593         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54594         Define.
54595         (libc_feupdateenv_53bit): Define.
54596         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54597         Define.
54598         (libc_feupdateenv_53bit): Define.
54600         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54601         53 bit (without extend i386 double precision).
54603         * math/libm-test.inc (sincos_test): Add tests for large input.
54604         (sin): Likewise.
54605         (cos): Likewise.
54607         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54609 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54613 2012-03-15  David S. Miller  <davem@davemloft.net>
54615         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54616         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54617         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54618         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54628         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54629         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54631         file.
54632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54634         file.
54635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54637         file.
54638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54640         file.
54641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54642         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54643         fmin/fmax sysdep routines.
54644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54646 2012-03-14  David S. Miller  <davem@davemloft.net>
54648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54652         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54653         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54654         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54655         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54666         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54667         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54668         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54669         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54670         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54671         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54672         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54673         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54674         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54675         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54677         routines.
54678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54679         file.
54680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54682         file.
54683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54685         file.
54686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54688         file.
54689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54691         file.
54692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54694         file.
54695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54696         file.
54697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54698         file.
54699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54700         file.
54701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54702         New file.
54703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54704         file.
54705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54706         file.
54707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54709         file.
54710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54712         file.
54713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54715         file.
54716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54718         VIS3 routines.
54720         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54721         New file.
54723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54725         * sysdeps/sparc/configure.in: New file.
54726         * sysdeps/sparc/configure: Generate.
54727         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54728         * configure: Regenerate.
54729         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54730         * config.make.in (have-as-vis3): New.
54731         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54732         available use -Av9d instead of -Av9a.
54733         * sysdeps/sparc/sparc64/Makefile: Likewise.
54734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54736         New file.
54737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54738         file.
54739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54740         New file.
54741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54742         file.
54743         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54744         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54745         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54746         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54747         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54749         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54750         fzeros/fnegs to load 0x80000000 into a float register instead of
54751         using the stack.
54752         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54754 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54757         bits/syscall.h.
54758         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54759         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54760         ($(inst_includedir)/bits/syscall.h): Remove rule.
54761         ($(objpfx)bits/syscall.d): Include instead of
54762         $(objpfx)syscall-list.d.
54763         (generated): Change syscall-list.h and syscall-list.d to
54764         bits/syscall.h and bits/syscall.d.
54766 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54768         [BZ #13846]
54769         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54771 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54773         [BZ #13841]
54774         * math/s_csqrt.c: Include <float.h>.
54775         (__csqrt): Scale large or subnormal inputs.
54776         * math/s_csqrtf.c: Likewise.
54777         * math/s_csqrtl.c: Likewise.
54778         * math/libm-test.inc (csqrt_test): Add more tests.
54779         * sysdeps/i386/fpu/libm-test-ulps: Update.
54780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54782         [BZ #13840]
54783         * math/libm-test.inc (hypot_test): Add more tests.
54785 2012-03-13  David S. Miller  <davem@davemloft.net>
54787         [BZ #13840]
54788         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54789         double-precision for the calculation instead of scaling.
54791 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54793         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54794         manipulate bits before adding and subtracting TWO52[sx].
54795         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54796         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54797         Likewise.
54798         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54800 2012-03-13  David S. Miller  <davem@davemloft.net>
54802         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54803         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54804         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54805         rtld-global-offsets.h
54806         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54808         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54809         large parameters.
54811         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54813         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54814         'err' in the ifdef scope in which it is actually used.
54816         * nss/nss_db/db-init.c: Include string.h
54818 2012-03-12  David S. Miller  <davem@davemloft.net>
54820         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54821         masking out of the most significant byte of random value used.
54822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54823         Fix coding style in previous change.
54825         * sysdeps/unix/sysv/linux/kernel-features.h
54826         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54827         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54828         expression.
54829         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54830         later.
54832 2012-03-11  David S. Miller  <davem@davemloft.net>
54834         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54835         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54836         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54837         for 'resultvar' otherwise things get truncated on 64-bit.
54839         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54840         Fix masking out of the most significant byte of random value used.
54842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54844 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54848 2012-03-09  David S. Miller  <davem@davemloft.net>
54850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54851         variables with appropriate CPP guards.
54852         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54853         from the frame pointer, not the stack pointer.  Correct layout
54854         comments.  Fix test on resulting framesize and the management of
54855         the outregs buffer for pltexit.  Preserve floating point return
54856         values across _dl_call_pltexit call.
54857         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54858         framesize and the management of the outregs buffer for pltexit.
54859         Preserve floating point return values across _dl_call_pltexit
54860         call.
54861         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54862         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54863         (la_sparc64_gnu_pltexit): New functions.
54864         (print_exit): Fix format string for return register value.
54866 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54868         * sunrpc/Makefile (others): Add rpcgen.
54869         ($(objpfx)rpcgen): Remove special build rule and dependency on
54870         libc.
54871         * sunrpc/rpcgen.c: New file.
54873 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54875         [BZ #13673]
54876         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54877         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54878         * sysdeps/i386/crti.S: Likewise.
54879         * sysdeps/i386/crtn.S: Likewise.
54880         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54881         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54882         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54883         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54884         * sysdeps/sh/crti.S: Likewise.
54885         * sysdeps/sh/crtn.S: Likewise.
54886         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54888         [BZ #13673]
54889         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54890         with URL.
54891         * locale/programs/locfile-kw.gperf: Likewise.
54892         * locale/programs/charmap-kw.h: Regenerated.
54893         * locale/programs/locfile-kw.h: Likewise.
54895         [BZ #13673]
54896         * intl/plural.y: Replace FSF snail mail address with URL.
54897         * intl/plural.c: Regenerated.
54899 2012-03-09  Richard Henderson  <rth@twiddle.net>
54901         * include/math_private.h: Remove file.
54902         * math/math_private.h: Move file ...
54903         * sysdeps/generic/math_private.h: ... here.
54905         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54906         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54907         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54909         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54910         and <math_private.h>.
54911         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54912         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54913         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54914         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54915         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54916         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54917         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54919         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54920         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54921         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54922         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54925         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54927         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54930         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54932         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54938         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54939         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54940         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54941         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54942         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54944         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54945         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54946         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54947         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54948         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54949         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54950         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54951         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54952         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54953         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54954         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54955         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54956         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54957         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54958         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54959         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54960         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54961         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54962         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54963         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54964         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54965         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54966         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54967         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54968         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54969         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54970         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54971         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54972         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54973         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54974         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54975         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54976         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54977         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54978         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54979         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54980         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54981         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54982         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54983         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54984         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54985         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54986         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54987         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54988         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54989         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54990         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54991         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54992         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54993         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54994         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54995         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54997         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54998         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54999         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55000         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55001         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55002         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55003         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55004         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55005         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55006         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55007         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55008         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55009         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55010         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55011         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55012         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55013         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55014         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55015         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55016         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55017         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55018         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55019         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55020         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55021         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55022         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55023         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55024         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55025         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55026         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55027         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55028         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55029         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55030         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55031         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55032         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55033         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55034         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55035         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55036         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55038         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55039         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55040         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55041         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55042         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55043         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55044         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55045         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55046         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55047         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55048         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55049         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55050         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55051         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55052         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55053         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55054         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55055         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55056         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55057         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55058         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55059         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55060         * sysdeps/ieee754/k_standard.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55070         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55073         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55074         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55075         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55076         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55078         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55088         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55092         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55094         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55095         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55096         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55099         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55104         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55105         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55106         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55107         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55109         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55111         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55112         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55113         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55114         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55115         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55116         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55117         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55118         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55119         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55120         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55121         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55122         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55123         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55125         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55126         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55127         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55128         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55129         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55131         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55132         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55133         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55134         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55135         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55136         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55137         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55138         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55139         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55140         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55141         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55142         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55143         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55144         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55145         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55146         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55147         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55148         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55149         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55151         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55152         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55153         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55154         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55155         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55156         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55157         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55158         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55159         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55161         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55162         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55163         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55164         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55165         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55166         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55167         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55168         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55169         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55170         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55171         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55172         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55173         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55174         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55175         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55176         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55177         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55178         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55179         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55180         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55181         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55182         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55183         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55184         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55185         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55186         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55187         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55188         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55189         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55190         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55191         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55192         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55193         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55194         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55195         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55196         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55197         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55198         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55199         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55200         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55201         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55202         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55203         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55204         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55205         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55206         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55207         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55208         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55209         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55210         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55211         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55212         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55213         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55214         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55215         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55216         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55217         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55218         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55219         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55220         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55221         * sysdeps/ieee754/s_lib_version.c: Likewise.
55222         * sysdeps/ieee754/s_matherr.c: Likewise.
55223         * sysdeps/ieee754/s_signgam.c: Likewise.
55224         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55225         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55226         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55227         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55228         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55229         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55230         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55231         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55232         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55233         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55234         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55235         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55236         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55237         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55238         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55239         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55240         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55241         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55242         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55243         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55244         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55246 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55248         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55249         * sunrpc/rpc_main.c: Likewise.
55250         * sunrpc/rpc_svcout.c: Likewise.
55252 2012-03-09  David S. Miller  <davem@davemloft.net>
55254         * include/math_private.h: New file.
55256 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55258         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55259         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55260         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55261         from <bits/socket_type.h>.
55262         (enum __socket_type): Don't define here.
55263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55265         bits/socket_type.h.
55267         [BZ #13566]
55268         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55269         checking __USE_GNU.
55271         * Makerules ($(inst_includedir)/%.h): New rule.
55272         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55273         (install-others): Remove variable setting.
55274         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55276 2012-03-08  Richard Henderson  <rth@twiddle.net>
55278         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55279         from macro to inline function; merge with the
55280         !__LIBC_INTERNAL_MATH_INLINES version.
55281         (__ieee754_sqrtf): Likewise.
55283         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55284         to inline function.
55285         (__rintf, __floor, __floorf): Likewise.
55287         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55288         macro to inline function.
55289         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55291         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55292         not <math/math_private.h>.
55294 2012-03-08  David S. Miller  <davem@davemloft.net>
55296         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55297         copyright year.
55298         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55300 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55302         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55303         normalization.
55304         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55305         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55307 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55309         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55310         be defined individually, they must be defined as a block.  Define
55311         S for printing a string instead of hidint the different by using a
55312         macro for adding the 'l'.
55313         * stdio-common/tst-fphex-wide.c: Adjust.
55315 2012-03-07  Marek Polacek  <polacek@redhat.com>
55317         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55319 2012-03-08  Marek Polacek  <polacek@redhat.com>
55321         [BZ #13806]
55322         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55323         * stdio-common/tst-fphex.c: Define a few macros to make the
55324         test reusable.  Use them.
55325         * stdio-common/tst-fphex-wide.c: New file.
55327 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55329         [BZ #6911]
55330         * manual/macros.texi (gnusystems): New macro.
55331         (nongnusystems): Likewise.
55332         (gnulinuxhurdsystems): Likewise.
55333         (gnuhurdsystems): Likewise..
55334         (gnulinuxsystems): Likewise.
55335         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55336         variants of the GNU system, not "GNU system".
55337         * manual/conf.texi: Likewise.
55338         * manual/errno.texi: Likewise.  Update example of errno macro
55339         expansion.
55340         * manual/filesys.texi: Likewise.
55341         (getumask): Document as specific to GNU/Hurd.
55342         * manual/install.texi: Likewise.  Reword some references to
55343         GNU/Linux.
55344         * manual/intro.texi: Likewise.
55345         * manual/io.texi: Likewise.
55346         (File Name Portability): Detail which constraints are inapplicable
55347         to all GNU systems and which are only inapplicable to GNU/Hurd.
55348         * manual/job.texi: Likewise.
55349         * manual/llio.texi: Likewise.
55350         (O_NOCTTY): Document as present on GNU/Linux.
55351         * manual/maint.texi: Likewise.
55352         * manual/memory.texi: Likewise.
55353         * manual/pattern.texi: Likewise.
55354         * manual/pipe.texi: Likewise.
55355         * manual/process.texi: Likewise.
55356         * manual/resource.texi: Likewise.
55357         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55358         child on GNU/Hurd.
55359         * manual/setjmp.texi: Likewise.
55360         * manual/signal.texi: Likewise.
55361         * manual/startup.texi: Likewise.
55362         * manual/stdio.texi: Likewise.
55363         * manual/terminal.texi: Likewise.
55364         (ONLCR): Document as POSIX.
55365         (OXTABS): Document availability on GNU/Linux as XTABS.
55366         (ONOEOT): Document availability separately from other bits.
55367         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55368         * manual/time.texi: Likewise.
55369         * manual/users.texi: Likewise.
55370         * INSTALL: Regenerated.
55371         * sysdeps/gnu/errlist.c: Regenerated.
55373         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55374         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55375         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55376         puts.
55377         * configure: Regenerated.
55379 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55381         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55382         default includes instead of AC_HEADER_CHECK.
55383         * sysdeps/i386/configure: Regenerated.
55385         [BZ #10716]
55386         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55387         * math/s_cacoshf.c (__cacoshf): Likewise.
55388         * math/s_cacoshl.c (__cacoshl): Likewise.
55389         * math/s_casinh.c (__casinh): Set signs of result from argument.
55390         * math/s_casinhf.c (__casinhf): Likewise.
55391         * math/s_casinhl.c (__casinhl): Likewise.
55392         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55393         (casinh_test): Add more tests.
55394         * sysdeps/i386/fpu/libm-test-ulps: Update.
55395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55397 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55399         * po/zh_TW.po: Update from translation team.
55401         * login/Makefile (distribute): Remove variable.
55402         * catgets/Makefile: Likewise.
55403         * mach/Makefile: Likewise.
55404         * malloc/Makefile: Likewise.
55405         * misc/Makefile: Likewise.
55406         * iconv/Makefile: Likewise.
55407         * nscd/Makefile: Likewise.
55408         * hurd/Makefile: Likewise.
55409         * manual/Makefile: Likewise.
55410         * locale/Makefile: Likewise.
55411         * intl/Makefile: Likewise.
55412         * conform/Makefile: Likewise.
55413         * nss/Makefile: Likewise.
55414         * time/Makefile: Likewise.
55415         * soft-fp/Makefile: Likewise.
55416         * dirent/Makefile: Likewise.
55417         * gmon/Makefile: Likewise.
55418         * po/Makefile: Likewise.
55419         * rt/Makefile: Likewise.
55420         * socket/Makefile: Likewise.
55421         * math/Makefile: Likewise.
55422         * signal/Makefile: Likewise.
55423         * debug/Makefile: Likewise.
55424         * elf/Makefile: Likewise.
55425         * timezone/Makefile: Likewise.
55426         * stdlib/Makefile: Likewise.
55427         * iconvdata/Makefile: Likewise.
55428         * sunrpc/Makefile: Likewise.
55429         * io/Makefile: Likewise.
55430         * argp/Makefile: Likewise.
55431         * inet/Makefile: Likewise.
55432         * hesiod/Makefile: Likewise.
55433         * grp/Makefile: Likewise.
55434         * csu/Makefile: Likewise.
55435         * wctype/Makefile: Likewise.
55436         * crypt/Makefile: Likewise.
55437         * libio/Makefile: Likewise.
55438         * string/Makefile: Likewise.
55439         * nis/Makefile: Likewise.
55440         * resolv/Makefile: Likewise.
55441         * stdio-common/Makefile: Likewise.
55442         * wcsmbs/Makefile: Likewise.
55443         * dlfcn/Makefile: Likewise.
55444         * posix/Makefile: Likewise.
55446         [BZ #6959]
55447         * timezone/Makefile: Don't install timezone files, just the programs
55448         and scripts.
55450 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55452         * nss/databases.def: Add missing gshadow entry.
55454         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55456 2012-03-06  Marek Polacek  <polacek@redhat.com>
55458         [BZ #13726]
55459         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55460         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55461         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55462         * stdio-common/tst-long-dbl-fphex.c: New file.
55464 2012-03-06  David S. Miller  <davem@davemloft.net>
55466         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55467         (set_obp_int): New function.
55468         (get_obp_int): New function.
55469         (__get_clockfreq_via_dev_openprom): Likewise.
55470         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55471         Avoid unused variable warnings on 'val' and use builtin_expect.
55472         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55473         __builtin_expect.
55474         (INLINE_CLONE_SYSCALL): Likewise.
55476 2012-03-05  David S. Miller  <davem@davemloft.net>
55478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55480 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55485         only for |x| >= 40.
55486         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55488 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55490         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55491         Replace gettimeofday with __vdso_gettimeofday.
55493         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55494         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55495         __vdso_clock_gettime and __vdso_getcpu.
55497         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55498         time with __vdso_time.
55500 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55502         * manual/lang.texi (size_t): Note types to which size_t may be
55503         equivalent with the GNU C Library, but do not describe when
55504         differences between them are significant.
55506 2012-03-05  Andreas Jaeger  <aj@suse.de>
55508         * sysdeps/i386/fpu/libm-test-ulps: Update.
55510 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55512         [BZ #3976]
55513         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55514         (__ieee754_pow): Save and restore rounding mode and use
55515         round-to-nearest for main computations.
55516         * math/libm-test.inc (pow_test_tonearest): New function.
55517         (pow_test_towardzero): Likewise.
55518         (pow_test_downward): Likewise.
55519         (pow_test_upward): Likewise.
55520         (main): Call the new functions.
55521         * sysdeps/i386/fpu/libm-test-ulps: Update.
55522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55524         [BZ #3976]
55525         * math/libm-test.inc (cosh_test_tonearest): New function.
55526         (cosh_test_towardzero): Likewise.
55527         (cosh_test_downward): Likewise.
55528         (cosh_test_upward): Likewise.
55529         (sinh_test_tonearest): Likewise.
55530         (sinh_test_towardzero): Likewise.
55531         (sinh_test_downward): Likewise.
55532         (sinh_test_upward): Likewise.
55533         (main): Call the new functions.
55534         * sysdeps/i386/fpu/libm-test-ulps: Update.
55535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55537 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55539         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55540         default stack guard is set in last bytes.
55541         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55543 2012-03-05  Kees Cook  <keescook@chromium.org>
55545         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55547         [BZ #13656]
55548         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55549         possibly allocate from heap instead of stack.
55550         * stdio-common/bug-vfprintf-nargs.c: New file.
55551         * stdio-common/Makefile (tests): Add nargs overflow test.
55553 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55557 2012-03-03  Marek Polacek  <polacek@redhat.com>
55559         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55560         * math/math_private.h: Likewise.
55561         * stdlib/tst-strtod.c: Likewise.
55562         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55563         * sysdeps/x86_64/bits/atomic.h: Likewise.
55565 2012-03-02  David S. Miller  <davem@davemloft.net>
55567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55571         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55572         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55573         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55574         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55576 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55578         [BZ #13792]
55579         * manual/examples/README: New file, says the example source files
55580         can be used under GPL>=2.
55581         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55582         line containing just "*/".
55583         * manual/examples/add.c: Add copyright header (GPL>=2).
55584         * manual/examples/argp-ex1.c: Likewise.
55585         * manual/examples/argp-ex2.c: Likewise.
55586         * manual/examples/argp-ex3.c: Likewise.
55587         * manual/examples/argp-ex4.c: Likewise.
55588         * manual/examples/atexit.c: Likewise.
55589         * manual/examples/db.c: Likewise.
55590         * manual/examples/dir.c: Likewise.
55591         * manual/examples/dir2.c: Likewise.
55592         * manual/examples/execinfo.c: Likewise.
55593         * manual/examples/filecli.c: Likewise.
55594         * manual/examples/filesrv.c: Likewise.
55595         * manual/examples/fmtmsgexpl.c: Likewise.
55596         * manual/examples/genpass.c: Likewise.
55597         * manual/examples/inetcli.c: Likewise.
55598         * manual/examples/inetsrv.c: Likewise.
55599         * manual/examples/isockad.c: Likewise.
55600         * manual/examples/longopt.c: Likewise.
55601         * manual/examples/memopen.c: Likewise.
55602         * manual/examples/memstrm.c: Likewise.
55603         * manual/examples/mkfsock.c: Likewise.
55604         * manual/examples/mkisock.c: Likewise.
55605         * manual/examples/mygetpass.c: Likewise.
55606         * manual/examples/pipe.c: Likewise.
55607         * manual/examples/popen.c: Likewise.
55608         * manual/examples/rprintf.c: Likewise.
55609         * manual/examples/search.c: Likewise.
55610         * manual/examples/select.c: Likewise.
55611         * manual/examples/setjmp.c: Likewise.
55612         * manual/examples/sigh1.c: Likewise.
55613         * manual/examples/sigusr.c: Likewise.
55614         * manual/examples/stpcpy.c: Likewise.
55615         * manual/examples/strdupa.c: Likewise.
55616         * manual/examples/strftim.c: Likewise.
55617         * manual/examples/strncat.c: Likewise.
55618         * manual/examples/subopt.c: Likewise.
55619         * manual/examples/swapcontext.c: Likewise.
55620         * manual/examples/termios.c: Likewise.
55621         * manual/examples/testopt.c: Likewise.
55622         * manual/examples/testpass.c: Likewise.
55623         * manual/examples/timeval_subtract.c: Likewise.
55625         [BZ #13792]
55626         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55627         function to ...
55628         * manual/timeval_subtract.c.texi: ... here, new file.
55630 2012-03-02  David S. Miller  <davem@davemloft.net>
55632         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55634 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55636         [BZ #3976]
55637         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55638         (__sin): Save and restore rounding mode and use round-to-nearest
55639         for all computations.
55640         (__cos): Save and restore rounding mode and use round-to-nearest
55641         for all computations.
55642         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55643         <fenv.h>.
55644         (tan): Save and restore rounding mode and use round-to-nearest for
55645         all computations.
55646         * math/libm-test.inc (cos_test_tonearest): New function.
55647         (cos_test_towardzero): Likewise.
55648         (cos_test_downward): Likewise.
55649         (cos_test_upward): Likewise.
55650         (sin_test_tonearest): Likewise.
55651         (sin_test_towardzero): Likewise.
55652         (sin_test_downward): Likewise.
55653         (sin_test_upward): Likewise.
55654         (tan_test_tonearest): Likewise.
55655         (tan_test_towardzero): Likewise.
55656         (tan_test_downward): Likewise.
55657         (tan_test_upward): Likewise.
55658         (main): Call the new functions.
55659         * sysdeps/i386/fpu/libm-test-ulps: Update.
55660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55662         [BZ #10135]
55663         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55664         small n, then large n, before computing and testing k+n.
55665         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55666         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55667         Likewise.
55668         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55669         Likewise.
55670         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55671         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55672         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55673         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55674         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55676         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55677         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55678         * math/libm-test.inc (scalbn_test): Add more tests.
55679         (scalbln_test): Likewise.
55681         * manual/filesys.texi (mode_t): Describe constraints on size and
55682         signedness, not exact equivalence to a particular type.
55683         (ino_t): Likewise.
55684         (ino64_t): Likewise.
55685         (dev_t): Likewise.
55686         (nlink_t): Likewise.
55687         (blkcnt_t): Likewise.
55688         (blkcnt64_t): Likewise.
55689         * manual/llio.texi (off_t): Likewise.
55691         [BZ #3976]
55692         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55693         (__ieee754_exp): Save and restore rounding mode and use
55694         round-to-nearest for all computations.
55695         * math/libm-test.inc (exp_test_tonearest): New function.
55696         (exp_test_towardzero): Likewise.
55697         (exp_test_downward): Likewise.
55698         (exp_test_upward): Likewise.
55699         (main): Call the new functions.
55700         * sysdeps/i386/fpu/libm-test-ulps: Update.
55701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55703 2012-03-01  Chris Demetriou  <cgd@google.com>
55705         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55706         have predictable order.
55708 2012-03-01  David S. Miller  <davem@davemloft.net>
55710         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55712         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55713         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55714         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55715         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55717         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55718         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55719         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55721         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55722         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55723         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55724         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55725         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55729         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55730         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55731         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55733         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55734         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55735         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55736         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55737         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55738         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55739         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55740         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55741         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55742         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55743         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55744         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55746         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55747         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55749         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55750         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55751         * sysdeps/sparc/elf/configure: Regenerated.
55753 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55755         * configure.in (AS, LD): Require binutils 2.20 or later.
55756         * configure: Regenerated.
55757         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55758         as required minimum version.
55759         * INSTALL: Regenerated.
55761         [BZ #2541]
55762         [BZ #4108]
55763         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55764         before squaring exponent.
55765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55766         bottom long double and 27 bits of top long double before squaring
55767         exponent.
55768         * math/libm-test.inc (erfc_test): Add more tests.
55769         * sysdeps/i386/fpu/libm-test-ulps: Update.
55770         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55773 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55775         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55776         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55777         containing bit-fields.
55778         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55779         * soft-fp/single.h (_FP_UNION_S): Likewise.
55780         * soft-fp/double.h (_FP_UNION_D): Likewise.
55782 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55784         [BZ #13786]
55785         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55786         not include ../strcmp.S.
55787         [USE_AS_STRNCASECMP_L]: Likewise.
55788         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55789         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55790         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55791         (__strncasecmp_l_ia32): Define as alias to
55792         __strncasecmp_l_nonascii.
55794         [BZ #5794]
55795         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55796         * sysdeps/i386/fpu/libm-test-ulps: Update.
55797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55799         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55802 2012-02-29  Jeff Law  <law@redhat.com>
55804         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55805         out of bounds read.
55807 2012-02-29  Marek Polacek  <polacek@redhat.com>
55809         [BZ #13706]
55810         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55811         * elf/Makefile: Add rules to run tst-unused-dep.out.
55813 2012-02-28  David S. Miller  <davem@davemloft.net>
55815         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55816         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55817         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55818         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55819         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55820         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55822 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55824         * math/libm-test.inc (llround_test): Move one test from
55825         lround_test.  Use TEST_f_L in moved test.
55826         (lround_test): Move misplaced test to llround_test.  Add testcase
55827         from bug 2561.
55829 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55831         * sysdeps/x86_64/fpu/e_expf.S: New file.
55832         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55834 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55836         [BZ #13637]
55837         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55838         of remain_len that may cause incomplete multi-byte character and
55839         false match.
55840         * posix/bug-regex33.c: New file.
55841         * posix/Makefile (tests): Add bug-regex33.
55843 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55845         * manual/macros.texi: New file.
55846         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55847         * manual/libc.texinfo: Include macros.texi.
55848         * manual/creatute.texi: Likewise.
55849         * manual/install.texi: Likewise.
55850         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55851         @glibcadj{} in references to the GNU C Library.
55852         * manual/charset.texi: Likewise.
55853         * manual/conf.texi: Likewise.
55854         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55855         when not using those macros.
55856         * manual/creature.texi: Likewise.
55857         * manual/crypt.texi: Likewise.
55858         * manual/errno.texi: Likewise.
55859         * manual/filesys.texi: Likewise.
55860         * manual/header.texi: Likewise.
55861         * manual/install.texi: Likewise.
55862         * manual/intro.texi: Likewise.
55863         * manual/io.texi: Likewise.
55864         * manual/job.texi: Likewise.
55865         * manual/lang.texi: Likewise.
55866         * manual/libc.texiinfo: Likewise.
55867         * manual/llio.texi: Likewise.
55868         * manual/locale.texi: Likewise.
55869         * manual/maint.texi: Likewise.
55870         * manual/math.texi: Likewise.
55871         * manual/memory.texi: Likewise.
55872         * manual/message.texi: Likewise.
55873         * manual/nss.texi: Likewise.
55874         * manual/pattern.texi: Likewise.
55875         * manual/process.texi: Likewise.
55876         * manual/resource.texi: Likewise.
55877         * manual/search.texi: Likewise.
55878         * manual/setjmp.texi: Likewise.
55879         * manual/signal.texi: Likewise.
55880         * manual/socket.texi: Likewise.
55881         * manual/startup.texi: Likewise.
55882         * manual/stdio.texi: Likewise.
55883         * manual/string.texi: Likewise.
55884         * manual/sysinfo.texi: Likewise.
55885         * manual/syslog.texi: Likewise.
55886         * manual/terminal.texi: Likewise.
55887         * manual/time.texi: Likewise.
55888         * manual/users.texi: Likewise.
55889         * INSTALL: Regenerated.
55890         * NOTES: Regenerated.
55891         * sysdeps/gnu/errlist.c: Regenerated.
55893 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55895         * include/dirent.h: Include <dirstream.h> before
55896         <dirent/dirent.h>.
55898 2012-02-28  David S. Miller  <davem@davemloft.net>
55900         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55901         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55902         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55903         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55905 2012-02-27  David S. Miller  <davem@davemloft.net>
55907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55909         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55910         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55913         frame pointer instead of stack pointer relative arg slot.
55914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55915         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55916         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55918 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55920         [BZ #3992]
55921         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55923 2012-02-27  David S. Miller  <davem@davemloft.net>
55925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55929         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55930         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55931         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55932         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55934 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55936         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55937         later.  Allow versions 5-9.
55938         * configure: Regenerated.
55939         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55940         required minimum version and 4.6 as recommended version.  Do not
55941         mention bugs in GCC 2.7 and 2.8.
55942         * INSTALL: Regenerated.
55944 2012-02-27  David S. Miller  <davem@davemloft.net>
55946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55950         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55951         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55952         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55953         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55955         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55956         manipulate bits before adding and subtracting TWO112[sx].
55957         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55959 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55961         [BZ #13775]
55962         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55963         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55964         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55965         being in POSIX, because they are in 1003.1-2008.
55967         * rt/tst-aio.c: Include <fcntl.h>.
55968         * rt/tst-aio7.c: Likewise.
55969         * rt/tst-aio64.c: Likewise.
55971         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55973 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55975         * manual/install.texi (--with-headers): Describe headers as
55976         interface headers, not private headers.
55977         (Specific advice for GNU/Linux systems): Describe use of headers
55978         from "make headers_install", not private headers from older
55979         kernels.
55980         * INSTALL: Regenerated.
55981         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55982         Change to 2.6.19.
55983         * sysdeps/unix/sysv/linux/configure: Regenerated.
55985         * manual/llio.texi (fclean): Remove documentation.
55987         * manual/Makefile (libc-texi-generated): New variable.  Include
55988         version.texi.
55989         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55990         $(libc-texi-generated), not duplicated list of files.
55991         (version.texi, stamp-version): New rules.
55992         (realclean): Remove $(libc-texi-generated), not individual files
55993         from that list.  Do not remove dir-add.texinfo.
55994         * manual/libc.texinfo: Comment out uses of edition numbers and
55995         references to printed manual.  Remove last-updated dates.
55996         (EDITION): Comment out.
55997         (ISBN): Likewise.
55998         (VERSION, UPDATED): Remove.
55999         (version.texi): Include.
56001 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
56003         * sysdeps/posix/spawni.c: Include <signal.h>.
56004         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56005         * sysdeps/pthread/aio_fsync.c: Likewise.
56007 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
56009         * conform/Makefile (tests): Run only when not cross-compiling and
56010         when fast-check is not defined.
56012         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56013         * conform/data/limits.h-data: Fixes for POSIX2008.
56014         * conform/run-conformtest.sh: Run all tests.
56015         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56016         headers.
56017         * include/bits/dlfcn.h: Likewise.
56018         * include/langinfo.h: Likewise.
56019         * include/monetary.h: Likewise.
56020         * include/sys/poll.h: Likewise.
56022         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56023         for __USE_GNU.
56024         * posix/spawn.h: Define __need_sigset_t.
56025         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56026         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56027         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
56028         to get sigevent_t only.
56029         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56030         only for __USE_GNU.
56031         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56032         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56033         process_vm_writev only for __USE_GNU.
56034         * termios/termios.h: Declare tcgetsid also for POSIX2008.
56036         * conform/Makefile: For now ignore errors from run-conformtest.
56037         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
56038         POSIX to avoid namespace pollution.  Don't prepend headers.
56039         * conform/data/aio.h-data: Fixes for POSIX testing.
56040         * conform/data/fcntl.h-data: Likewise.
56041         * conform/data/glob.h-data: Likewise.
56042         * conform/data/grp.h-data: Likewise.
56043         * conform/data/pthread.h-data: Likewise.
56044         * conform/data/pwd.h-data: Likewise.
56045         * conform/data/signal.h-data: Likewise.
56046         * conform/data/spawn.h-data: Likewise.
56047         * conform/data/stdio.h-data: Likewise.
56048         * conform/data/stdlib.h-data: Likewise.
56049         * conform/data/stropts.h-data: Likewise.
56050         * conform/data/sys/mman.h-data: Likewise.
56051         * conform/data/sys/stat.h-data: Likewise.
56052         * conform/data/sys/types.h-data: Likewise.
56053         * conform/data/sys/wait.h-data: Likewise.
56054         * conform/data/time.h-data: Likewise.
56055         * conform/data/unistd.h-data: Likewise.
56056         * conform/data/utime.h-data: Likewise.
56058         * io/sys/stat.h: fchmod was always in POSIX.
56059         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56060         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56061         * rt/aio.h: Define __need_timespec before including <time.h>.
56062         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56063         struct.  Add forward declaration of pthread_attr_t and use it in
56064         sigevent.
56065         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56067         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56068         always remove CLK_TCK definition.
56070 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
56072         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56074 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
56076         * conform/run-conformtest.sh: New file.
56077         * conform/Makefile: Run run-conformtest for tests.
56078         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
56079         support.
56081         * conform/data/uchar.h-data: New file.
56082         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56083         * conform/data/arpa/inet.h-data: Likewise.
56084         * conform/data/assert.h-data: Likewise.
56085         * conform/data/complex.h-data: Likewise.
56086         * conform/data/cpio.h-data: Likewise.
56087         * conform/data/ctype.h-data: Likewise.
56088         * conform/data/dirent.h-data: Likewise.
56089         * conform/data/dlfcn.h-data: Likewise.
56090         * conform/data/errno.h-data: Likewise.
56091         * conform/data/fcntl.h-data: Likewise.
56092         * conform/data/float.h-data: Likewise.
56093         * conform/data/fmtmsg.h-data: Likewise.
56094         * conform/data/fnmatch.h-data: Likewise.
56095         * conform/data/ftw.h-data: Likewise.
56096         * conform/data/glob.h-data: Likewise.
56097         * conform/data/grp.h-data: Likewise.
56098         * conform/data/iconv.h-data: Likewise.
56099         * conform/data/inttypes.h-data: Likewise.
56100         * conform/data/langinfo.h-data: Likewise.
56101         * conform/data/libgen.h-data: Likewise.
56102         * conform/data/limits.h-data: Likewise.
56103         * conform/data/locale.h-data: Likewise.
56104         * conform/data/math.h-data: Likewise.
56105         * conform/data/monetary.h-data: Likewise.
56106         * conform/data/mqueue.h-data: Likewise.
56107         * conform/data/ndbm.h-data: Likewise.
56108         * conform/data/net/if.h-data: Likewise.
56109         * conform/data/netdb.h-data: Likewise.
56110         * conform/data/netinet/in.h-data: Likewise.
56111         * conform/data/nl_types.h-data: Likewise.
56112         * conform/data/poll.h-data: Likewise.
56113         * conform/data/pthread.h-data: Likewise.
56114         * conform/data/pwd.h-data: Likewise.
56115         * conform/data/regex.h-data: Likewise.
56116         * conform/data/sched.h-data: Likewise.
56117         * conform/data/search.h-data: Likewise.
56118         * conform/data/semaphore.h-data: Likewise.
56119         * conform/data/setjmp.h-data: Likewise.
56120         * conform/data/signal.h-data: Likewise.
56121         * conform/data/spawn.h-data: Likewise.
56122         * conform/data/stdarg.h-data: Likewise.
56123         * conform/data/stdio.h-data: Likewise.
56124         * conform/data/stdlib.h-data: Likewise.
56125         * conform/data/string.h-data: Likewise.
56126         * conform/data/strings.h-data: Likewise.
56127         * conform/data/stropts.h-data: Likewise.
56128         * conform/data/sys/ipc.h-data: Likewise.
56129         * conform/data/sys/mman.h-data: Likewise.
56130         * conform/data/sys/msg.h-data: Likewise.
56131         * conform/data/sys/resource.h-data: Likewise.
56132         * conform/data/sys/select.h-data: Likewise.
56133         * conform/data/sys/sem.h-data: Likewise.
56134         * conform/data/sys/shm.h-data: Likewise.
56135         * conform/data/sys/socket.h-data: Likewise.
56136         * conform/data/sys/stat.h-data: Likewise.
56137         * conform/data/sys/statvfs.h-data: Likewise.
56138         * conform/data/sys/time.h-data: Likewise.
56139         * conform/data/sys/timeb.h-data: Likewise.
56140         * conform/data/sys/times.h-data: Likewise.
56141         * conform/data/sys/types.h-data: Likewise.
56142         * conform/data/sys/uio.h-data: Likewise.
56143         * conform/data/sys/un.h-data: Likewise.
56144         * conform/data/sys/utsname.h-data: Likewise.
56145         * conform/data/sys/wait.h-data: Likewise.
56146         * conform/data/syslog.h-data: Likewise.
56147         * conform/data/tar.h-data: Likewise.
56148         * conform/data/termios.h-data: Likewise.
56149         * conform/data/utime.h-data: Likewise.
56150         * conform/data/utmpx.h-data: Likewise.
56151         * conform/data/varargs.h-data: Likewise.
56152         * conform/data/wchar.h-data: Likewise.
56153         * conform/data/wctype.h-data: Likewise.
56154         * conform/data/wordexp.h-data: Likewise.
56156         * include/stropts.h: New file.
56157         * include/uchar.h: New file.
56158         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56159         * include/assert.h: Likewise.
56160         * include/ctype.h: Likewise.
56161         * include/dirent.h: Likewise.
56162         * include/dlfcn.h: Likewise.
56163         * include/fcntl.h: Likewise.
56164         * include/fnmatch.h: Likewise.
56165         * include/glob.h: Likewise.
56166         * include/grp.h: Likewise.
56167         * include/libio.h: Likewise.
56168         * include/locale.h: Likewise.
56169         * include/math.h: Likewise.
56170         * include/net/if.h: Likewise.
56171         * include/netdb.h: Likewise.
56172         * include/netinet/in.h: Likewise.
56173         * include/pthread.h: Likewise.
56174         * include/pwd.h: Likewise.
56175         * include/regex.h: Likewise.
56176         * include/sched.h: Likewise.
56177         * include/search.h: Likewise.
56178         * include/setjmp.h: Likewise.
56179         * include/signal.h: Likewise.
56180         * include/stdio.h: Likewise.
56181         * include/stdlib.h: Likewise.
56182         * include/string.h: Likewise.
56183         * include/sys/cdefs.h: Likewise.
56184         * include/sys/mman.h: Likewise.
56185         * include/sys/msg.h: Likewise.
56186         * include/sys/resource.h: Likewise.
56187         * include/sys/select.h: Likewise.
56188         * include/sys/socket.h: Likewise.
56189         * include/sys/stat.h: Likewise.
56190         * include/sys/statvfs.h: Likewise.
56191         * include/sys/time.h: Likewise.
56192         * include/sys/times.h: Likewise.
56193         * include/sys/uio.h: Likewise.
56194         * include/sys/utsname.h: Likewise.
56195         * include/sys/wait.h: Likewise.
56196         * include/termios.h: Likewise.
56197         * include/time.h: Likewise.
56198         * include/ulimit.h: Likewise.
56199         * include/unistd.h: Likewise.
56200         * include/utime.h: Likewise.
56201         * include/wchar.h: Likewise.
56202         * include/wctype.h: Likewise.
56203         * include/wordexp.h: Likewise.
56205         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56207         * time/time.h: TIME_UTC must be a macro.
56208         Make timespec_get available for ISO C11 only as well.
56210 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56212         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56213         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56215 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56217         * configure.in: Use -o not -a in test for unsupported multi-arch.
56219 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56221         * manual/texinfo.tex: Update to version 2012-01-19.16.
56223 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56225         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56227 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56229         [BZ #13738]
56230         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56231         * manual/fdl-1.3.texi: New file.
56232         * manual/fdl-1.1.texi: File removed.
56234         [BZ #13738]
56235         * manual/libc.texinfo (FDL_VERSION): New @set.
56236         Use it for mention of FDL in cover text.
56237         (Documentation License): Use it in @include file name.
56239 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56240             Roland McGrath  <roland@hack.frob.com>
56242         [BZ #5461]
56243         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56244         (not LONG_LONG_MAX and LONG_LONG_MIN.
56245         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56246         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56247         name.
56248         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56250 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56252         [BZ #2547]
56253         [BZ #11365]
56254         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56255         manipulate bits before adding and subtracting TWO23[sx].
56256         * math/libm-test.inc (nearbyint_test): Add more tests.
56258 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56260         [BZ #2548]
56261         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56262         bits before adding and subtracting TWO23[sx].
56263         * math/libm-test.inc (rint_test): Add more tests.
56264         (rint_test_tonearest): Likewise.
56265         (rint_test_towardzero): Likewise.
56266         (rint_test_downward): Likewise.
56267         (rint_test_upward: Likewise.
56269 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56271         [BZ #10110]
56272         * include/stdc-predef.h: New file.  Extracted from features.h.
56273         * include/features.h: Include stdc-predef.h.
56274         * Makefile (headers): Add stdc-predef.h.
56275         * CONFORMANCE (Compiler limitations): Update.
56277 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56279         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56281 2012-02-21  David S. Miller  <davem@davemloft.net>
56283         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56284         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56286 2012-02-20  David S. Miller  <davem@davemloft.net>
56288         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56289         using a normal save/restore sequence, rather than allocating a
56290         dummy stack frame just to store a frame pointer and restore.
56291         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56293 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56295         * manual/install.texi: Fix stray word in line-wrapped comment.
56297 2012-02-20  David S. Miller  <davem@davemloft.net>
56299         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56300         both binutils and gcc support GOTDATA.
56302         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56303         "rd %pc" in the PIC register setup sequences.
56305         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56306         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56307         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56308         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56309         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56311         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56312         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56314         (SYSCALL_ERROR_HANDLER): Likewise.
56315         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56316         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56318         (SYSCALL_ERROR_HANDLER): Likewise.
56320         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56321         (HAVE_GCC_GOTDATA): New.
56322         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56323         relocation support in both binutils and gcc.
56324         * sysdeps/sparc/elf/configure: Regenerate.
56326         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56327         * sysdeps/sparc/sparc32/elf/configure: Delete.
56328         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56329         * sysdeps/sparc/sparc64/elf/configure: Delete.
56330         * sysdeps/sparc/elf/configure.in: New file.
56331         * sysdeps/sparc/elf/configure: Generate.
56333         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56334         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56335         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56336         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56337         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56339 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56341         * manual/install.texi: Do not mention specific glibc version
56342         numbers.
56343         * manual/libc.texinfo (VERSION, UPDATED): Update.
56344         (@copying): Use @copyright{} and range of years.
56346 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56348         [BZ #13695]
56349         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56350         [crti.S not in sysdirs] (generated): Do not append.
56351         [crti.S not in sysdirs] (omit-deps): Likewise.
56352         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56353         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56354         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56355         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56356         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56357         Likewise.
56358         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56359         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56360         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56361         * csu/defs.awk: Remove file.
56362         * sysdeps/generic/initfini.c: Likewise.
56363         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56364         variable.
56365         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56366         Likewise.
56368 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56370         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56371         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56372         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56373         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56374         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56375         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56376         <bits/epoll.h>.
56377         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56378         (__EPOLL_PACKED): Define to empty if not defined by
56379         <bits/epoll.h>.
56380         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56382         bits/epoll.h.
56384 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56386         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56387         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56388         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56389         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56390         <bits/timerfd.h>.
56391         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56393         bits/timerfd.h.
56395 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56397         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56398         in C locale.
56399         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56400         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56401         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56404 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56406         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56407         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56409 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56411         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56412         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56413         defined.
56414         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56415         Likewise.
56416         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56417         entry for 2.16.
56419 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56421         * math/w_acos.c: Use non-signaling floating-point comparisons.
56422         * math/w_acosf.c: Likewise.
56423         * math/w_acosh.c: Likewise.
56424         * math/w_acoshf.c: Likewise.
56425         * math/w_acoshl.c: Likewise.
56426         * math/w_acosl.c: Likewise.
56427         * math/w_asin.c: Likewise.
56428         * math/w_asinf.c: Likewise.
56429         * math/w_asinl.c: Likewise.
56430         * math/w_atanh.c: Likewise.
56431         * math/w_atanhf.c: Likewise.
56432         * math/w_atanhl.c: Likewise.
56433         * math/w_exp2.c: Likewise.
56434         * math/w_exp2f.c: Likewise.
56435         * math/w_exp2l.c: Likewise.
56436         * math/w_j0.c: Likewise.
56437         * math/w_j0f.c: Likewise.
56438         * math/w_j0l.c: Likewise.
56439         * math/w_j1.c: Likewise.
56440         * math/w_j1f.c: Likewise.
56441         * math/w_j1l.c: Likewise.
56442         * math/w_jn.c: Likewise.
56443         * math/w_jnf.c: Likewise.
56444         * math/w_log.c: Likewise.
56445         * math/w_log10.c: Likewise.
56446         * math/w_log10f.c: Likewise.
56447         * math/w_log10l.c: Likewise.
56448         * math/w_log2.c: Likewise.
56449         * math/w_log2f.c: Likewise.
56450         * math/w_log2l.c: Likewise.
56451         * math/w_logf.c: Likewise.
56452         * math/w_logl.c: Likewise.
56453         * math/w_sqrt.c: Likewise.
56454         * math/w_sqrtf.c: Likewise.
56455         * math/w_sqrtl.c: Likewise.
56456         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56457         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56458         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56459         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56460         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56462 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56464         [BZ #9739]
56465         * manual/string.texi (strnlen): Use correct parameter name in
56466         equivalent expression.
56468 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #11174]
56471         * manual/users.texi (seteuid): Consistently use neweuid for
56472         argument name.
56474 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56476         [BZ #13704]
56477         * manual/nss.texi (Services in the NSS configuration): Correct
56478         list of services in example configuration file.
56480 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56482         [BZ #11322]
56483         * manual/arith.texi: Remove statements about negative zero
56484         behaving identically to zero.
56486 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56488         [BZ #5993]
56489         * manual/install.texi: Do not document upgrading from libc5.
56491 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56493         [BZ #4596]
56494         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56496 2012-02-18  David S. Miller  <davem@davemloft.net>
56498         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56499         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56500         %o7 across the call.
56501         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56502         instead.
56503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56504         SETUP_PIC_REG_LEAF.
56505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56506         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56507         * sysdeps/sparc/crtn.S: Likewise.
56509 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56511         * aout/Makefile: Remove.
56513 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56515         [BZ #13058]
56516         * manual/examples/argp-ex1.c (main): Format definition in GNU
56517         style.
56518         * manual/examples/argp-ex2.c (main): Likewise.
56519         * manual/examples/argp-ex3.c (main): Likewise.
56520         * manual/examples/argp-ex4.c (main): Likewise.
56521         * manual/examples/longopt.c (main): Use new-style prototype
56522         definition.
56523         * manual/examples/strncat.c (main): Specify return type and use
56524         (void) for arguments.
56525         * manual/examples/subopt.c (main): Use char **argv argument.
56527 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56529         [BZ #5077]
56530         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56531         rounding modes.
56533 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56535         [BZ #6907]
56536         * manual/string.texi (strchr): Change when strchrnul is
56537         recommended.
56539 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56541         [BZ #174]
56542         * manual/locale.texi (setlocale): Document LOCPATH.
56544 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56546         [BZ #10210]
56547         * manual/process.texi (execle): Move @dots{} before last argument.
56549 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56551         [BZ #12047]
56552         * manual/charset.texi (Generic Charset Conversion): Fix typo
56553         (LC_TYPE -> LC_CTYPE).
56555 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56557         [BZ #5805]
56558         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56559         (scalbnf): Likewise.
56560         (scalbnl): Likewise.
56561         (scalbln): Likewise.
56562         (scalblnf): Likewise.
56563         (scalblnl): Likewise.
56564         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56565         (vwarnx): Likewise.
56566         (verr): Likewise.
56567         (verrx): Likewise.
56568         * manual/filesys.texi (telldir): Use braces around return type.
56569         * manual/llio.texi (mmap): Add space after comma.
56570         (mmap64): Likewise.
56571         * manual/math.texi (jn): Use @var{} on parameter names.
56572         (jnf): Likewise.
56573         (jnl): Likewise.
56574         (yn): Likewise.
56575         (ynf): Likewise.
56576         (ynl): Likewise.
56577         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56578         line.
56579         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56580         "...".
56581         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56582         (sched_get_priority_max): Likewise.
56583         * manual/signal.texi (sigvec): Add space after comma.
56584         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56585         names.
56586         (if_indextoname): Likewise.
56587         (if_freenameindex): Likewise.
56588         (sendto): Use ',' instead of '.' in prototype.
56589         * manual/startup.texi (syscall): Use @dots{} instead of literal
56590         "...".
56591         * manual/stdio.texi (__fpending): Separate initial words of
56592         paragraph from @deftypefun line.
56593         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56594         "...".
56595         (vsyslog): Use @var{} on parameter names.
56596         * manual/terminal.texi (stty): Use @var{} on parameter names.
56597         * manual/users.texi (getutmp): Use @var{} on parameter names.
56598         (getutmpx): Likewise.
56600 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56602         [BZ #6884]
56603         * manual/stdio.texi (fopen): Fix typos in description of
56604         ",ccs=STRING".
56606 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56608         [BZ #4026]
56609         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56610         get clock_id definition.
56612 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56614         [BZ #4822]
56615         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56616         (madvise): Cast every argument to void on its own.
56618 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56620         [BZ #9902]
56621         * manual/startup.texi (Exit Status): Fix typo.
56623 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56625         [BZ #10140]
56626         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56627         * manual/examples/argp-ex2.c: Likewise.
56628         * manual/examples/argp-ex3.c: Likewise.
56630 2012-02-16  Richard Henderson  <rth@redhat.com>
56632         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56633         * sysdeps/s390/s390-32/initfini.c: Remove.
56634         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56635         * sysdeps/s390/s390-64/initfini.c: Remove.
56637 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56639         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56640         compiler output for sysdeps/generic/initfini.c.
56641         * sysdeps/sh/elf/initfini.c: Remove file.
56643 2012-02-16  David S. Miller  <davem@davemloft.net>
56645         [BZ #11494]
56646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56648         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56649         * sysdeps/sparc/crti.S: New file.
56650         * sysdeps/sparc/crtn.S: New file.
56651         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56652         * sysdeps/sparc/sparc64/Makefile: Likewise.
56654 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56656         [BZ #3335]
56657         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56659 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56661         [BZ #4822]
56662         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56664         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56665         (write, read, close): Likewise.
56666         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56668 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56670         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56671         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56672         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56673         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56674         <bits/signalfd.h>.
56675         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56677         bits/signalfd.h.
56679 2012-02-14  Marek Polacek  <polacek@redhat.com>
56681         * sysdeps/x86_64/crti.S: New file.
56682         * sysdeps/x86_64/crtn.S: New file.
56683         * sysdeps/x86_64/elf/initfini.c: Remove file.
56685 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56687         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56688         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56689         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56690         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56691         <bits/inotify.h>.
56692         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56694         bits/inotify.h.
56696 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56698         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56699         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56700         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56701         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56702         <bits/eventfd.h>.
56703         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56705         bits/eventfd.h.
56707 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56709         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56710         __feraiseexcept instead of feraiseexcept.
56712         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56713         nanosleep invocations.
56714         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56715         strings, and add error checking for a nanosleep invocations.
56717 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56719         Replace FSF snail mail address with URLs, as per GNU coding standards.
56720         Most of the snail mail addresses were wrong anyway, and omitting
56721         them makes the source code easier to maintain.  Almost all of the
56722         changes are to license notices and to locale LC_IDENTIFICATION
56723         addresses, except for this one:
56724         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56725         not its snail mail address.
56727 2012-02-09  Richard Henderson  <rth@twiddle.net>
56729         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56730         of kernel-features.h.
56732         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56734 2012-02-08  Marek Polacek  <polacek@redhat.com>
56736         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56737         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56738         * sysdeps/gnu/_G_config.h: Likewise.
56739         * sysdeps/generic/_G_config.h: Likewise.
56741 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56743         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56744         tests.
56745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56747         * sysdeps/powerpc/powerpc32/crti.S: New file.
56748         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56749         * sysdeps/powerpc/powerpc64/crti.S: New file.
56750         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56752         * Makeconfig (have-initfini): Don't set.
56753         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56754         * configure.in (nopic_initfini): Don't substitute.
56755         * config.h.in (HAVE_INITFINI): Don't #undef.
56756         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56757         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56759 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56761         Support crti.S and crtn.S provided directly by architectures.
56762         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56763         [crti.S in sysdirs] (omit-deps): Likewise.
56764         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56765         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56766         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56767         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56768         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56769         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56770         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56771         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56772         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56773         compiler output for sysdeps/generic/initfini.c.
56774         * sysdeps/i386/elf/Makefile: Remove file.
56775         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56777 2012-02-07  Marek Polacek  <polacek@redhat.com>
56779         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56780         * sysdeps/gnu/_G_config.h: Likewise.
56781         * sysdeps/mach/hurd/_G_config.h: Likewise.
56783 2012-02-07  Marek Polacek  <polacek@redhat.com>
56785         * math/Makefile (tests): Add tst-CMPLX2.
56786         * math/tst-CMPLX2.c: New file.
56788 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56790         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56792         * math/libm-test.inc (jn_test): Add missing L suffix.
56794 2012-02-06  Marek Polacek  <polacek@redhat.com>
56796         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56797         * sysdeps/i386/fpu/e_powf.S: Likewise.
56798         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56799         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56800         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56801         * sysdeps/i386/fpu/e_pow.S: Likewise.
56802         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56804         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56805         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56806         * sysdeps/i386/fpu/e_log2.S: Likewise.
56807         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56808         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56809         * sysdeps/i386/fpu/e_powl.S: Likewise.
56810         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56811         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56812         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56813         * sysdeps/i386/fpu/e_logl.S: Likewise.
56814         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56815         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56816         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56817         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56818         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56819         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56820         * sysdeps/i386/fpu/e_log.S: Likewise.
56821         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56822         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56823         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56824         * sysdeps/i386/fpu/e_logf.S: Likewise.
56825         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56826         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56827         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56828         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56829         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56830         * sysdeps/i386/fpu/e_log10.S: Likewise.
56831         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56832         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56833         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56834         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56835         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56836         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56837         * sysdeps/i386/asm-syntax.h: Likewise.
56838         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56839         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56840         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56841         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56842         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56843         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56844         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56845         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56846         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56847         * sysdeps/powerpc/sysdep.h: Likewise.
56848         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56849         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56851 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56853         [BZ #411]
56854         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56856 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56858         * sysdeps/i386/sysdep.h: Include <features.h>.
56859         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56860         version.
56862 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56864         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56865         Define.
56866         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56867         LOAD_PIC_REG_STR.
56869 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56871         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56872         (SETUP_PIC_REG): Use GET_PC_THUNK.
56873         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56874         macro.
56876 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56878         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56879         for non-PIC compilation.
56880         (SETUP_PIC_REG): Add .p2align directive.
56881         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56882         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56883         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56884         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56885         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56886         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56887         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56888         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56889         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56890         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56891         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56892         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56893         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56894         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56895         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56896         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56897         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56898         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56899         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56900         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56901         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56902         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56903         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56904         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56906         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56907         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56908         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56909         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56910         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56911         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56912         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56913         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56914         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56915         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56916         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56917         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56918         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56919         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56920         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56921         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56923 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56925         * math/tst-CMPLX.c: Include <stdio.h>.
56927 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56929         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56930         float.
56931         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56932         * sysdeps/sparc/bits/mathdef.h: Likewise.
56934 2012-01-31  Marek Polacek  <polacek@redhat.com>
56936         * libio/libio.h: Don't define _PARAMS.
56937         * locale/programs/config.h: Don't define PARAMS.
56938         * stdlib/strtol_l.c: Likewise.
56939         (__strtol_l): Remove PARAMS from the prototype.
56941 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56943         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56944         names.  Just use the correct names.  Remove unnecessary wrapper
56945         functions.
56946         * malloc/arena.c: Likewise.
56947         * malloc/hooks.c: Likewise.
56949         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56950         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56951         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56953 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56955         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56956         into tail calls.
56957         (update_get_addr): New function.
56958         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56959         GET_ADDR_MODULE parameter.
56961 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56963         * crypt/cert.c: Remove __STDC__ conditionals.
56964         * crypt/crypt-entry.c: Likewise.
56965         * crypt/crypt_util.c: Likewise.
56966         * libio/filedoalloc.c: Likewise.
56967         * libio/fileops.c: Likewise.
56968         * libio/genops.c: Likewise.
56969         * libio/iofclose.c: Likewise.
56970         * libio/iofdopen.c: Likewise.
56971         * libio/iofopen.c: Likewise.
56972         * libio/iofopen64.c: Likewise.
56973         * libio/iogetdelim.c: Likewise.
56974         * libio/iopopen.c: Likewise.
56975         * libio/obprintf.c: Likewise.
56976         * libio/oldfileops.c: Likewise.
56977         * libio/oldiofclose.c: Likewise.
56978         * libio/oldiofdopen.c: Likewise.
56979         * libio/oldiofopen.c: Likewise.
56980         * libio/oldiopopen.c: Likewise.
56981         * libio/wfiledoalloc.c: Likewise.
56982         * libio/wgenops.c: Likewise.
56983         * locale/programs/xmalloc.c: Likewise.
56984         * misc/syslog.c: Likewise.
56985         * stdio-common/xbug.c: Likewise.
56986         * string/memchr.c: Likewise.
56987         * string/memcmp.c: Likewise.
56988         * string/memrchr.c: Likewise.
56989         * string/rawmemchr.c: Likewise.
56990         * sysdeps/posix/getcwd.c: Likewise.
56991         * time/strftime_l.c: Likewise.
56993 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56995         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56996         * config.make.in (config-cflags-sse2avx): Define.
56997         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56998         Fix typo.
57000 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
57002         * scripts/config.guess: Update from upstream config git repository.
57003         * scripts/config.sub: Likewise.
57005 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
57007         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57008         (EM_NUM): Update.
57009         (R_TILEPRO_*, R_TILEGX_*): New macros.
57011         * scripts/firstversions.awk: Fix bug in version range handling.
57013         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57015         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57017         * include/sys/epoll.h: New file.
57018         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57019         libc_hidden_def.
57021 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
57023         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57024         Avoid unnecessary __WORDSIZE == 64 test.
57025         (fmaxf): Use VEX format if possible.
57026         (fmax): Likewise.
57027         (fminf): Likewise.
57028         (fmin): Likewise.
57030         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57031         * math/math_private.h: Remove libc_fegetround* and
57032         libc_fesetround*.
57033         * sysdeps/i386/configure.in: Check for -msse2avx.
57034         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57035         also if SSE2AVX is defined.
57036         Remove libc_fegetround* and libc_fesetround*.
57037         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57038         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
57039         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57040         of HAS_YMM_USABLE.
57041         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57042         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57043         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57044         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57045         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57047         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57049 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57051         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57052         size is not set.
57053         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57055 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
57057         [BZ #13618]
57058         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57059         relocation.
57060         * Makeconfig (libm): Define.
57061         * elf/Makefile: Add rules to build and run tst-relsort1.
57062         * elf/tst-relsort1.c: New file.
57063         * elf/tst-relsort1mod1.c: New file.
57064         * elf/tst-relsort1mod2.c: New file.
57066 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
57068         * math/s_ldexp.c: Remove __STDC__ conditionals.
57069         * math/s_ldexpf.c: Likewise.
57070         * math/s_ldexpl.c: Likewise.
57071         * math/s_nextafter.c: Likewise.
57072         * math/s_nexttowardf.c: Likewise.
57073         * math/s_significand.c: Likewise.
57074         * math/s_significandf.c: Likewise.
57075         * math/s_significandl.c: Likewise.
57076         * math/w_jnl.c: Likewise.
57077         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57078         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57079         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57080         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57081         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57083         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57084         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57085         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57086         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57087         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57088         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57089         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57090         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57091         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57092         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57093         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57094         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57096         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57097         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57098         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57099         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57100         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57101         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57102         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57103         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57104         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57105         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57106         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57107         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57108         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57109         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57110         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57111         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57112         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57113         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57114         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57115         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57116         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57117         * sysdeps/ieee754/k_standard.c: Likewise.
57118         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57119         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57120         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57122         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57123         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57124         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57125         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57126         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57127         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57128         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57129         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57133         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57136         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57137         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57140         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57141         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57142         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57143         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57147         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57148         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57149         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57150         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57151         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57153         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57154         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57155         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57156         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57157         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57158         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57159         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57160         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57161         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57162         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57163         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57164         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57165         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57166         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57167         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57168         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57169         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57170         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57171         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57172         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57173         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57174         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57175         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57176         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57177         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57178         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57179         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57180         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57181         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57182         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57183         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57184         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57185         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57186         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57187         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57188         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57189         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57190         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57191         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57192         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57193         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57194         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57195         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57196         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57197         * sysdeps/ieee754/s_matherr.c: Likewise.
57198         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57199         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57201         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57203 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57205         * crypt/md5.h: Remove __STDC__ conditionals.
57206         * libio/libioP.h: Likewise.
57207         * locale/programs/config.h: Likewise.
57208         * sysdeps/generic/sysdep.h: Likewise.
57209         * sysdeps/i386/asm-syntax.h: Likewise.
57210         * sysdeps/s390/asm-syntax.h: Likewise.
57211         * sysdeps/unix/sysdep.h: Likewise.
57212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57215 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57217         * libio/libio.h: Remove __STDC__ conditionals.
57218         * malloc/obstack.h: Likewise.
57219         * math/complex.h: Likewise.
57220         * math/math.h: Likewise.
57221         * sysdeps/generic/_G_config.h: Likewise.
57222         * sysdeps/gnu/_G_config.h: Likewise.
57223         * sysdeps/mach/hurd/_G_config.h: Likewise.
57224         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57225         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57226         * sysdeps/sparc/bits/mathdef.h: Likewise.
57228 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57230         [BZ #13583]
57231         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57232         Clean up HAS_* macros.
57233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57234         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57235         possible.
57236         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57237         HAS_AVX.
57238         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57239         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57240         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57241         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57242         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57244 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57246         * elf/tst-unique3.cc (gets): Remove declaration.
57247         * elf/tst-unique3lib.cc (gets): Likewise.
57248         * elf/tst-unique3lib2.cc (gets): Likewise.
57249         * elf/tst-unique4.cc (gets): Likewise.
57251 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57253         * include/stdio.h: Add C++ protection.  Add gets declarations and
57254         definitions.
57255         * debug/tst-chk1.c: Don't declare gets here.
57256         * stdio-common/tst-gets.c: Likewise.
57258 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57260         * posix/glob: Remove directory.
57262 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57264         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57266 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57268         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57269         of the non-standard EPFNOSUPPORT.
57271 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57273         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57274         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57275         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57277 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57279         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57281 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57283         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57284         transient errors.
57285         * nscd/grpcache.c (cache_addgr): Likewise.
57286         * nscd/hstcache.c (cache_addhst): Likewise.
57287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57288         * nscd/pwdcache.c (cache_addpw): Likewise.
57289         * nscd/servicescache.c (cache_addserv): Likewise.
57291 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57293         * malloc/malloc.c: Various cleanups.
57294         * malloc/hooks.c: Likewise.
57296         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57297         * stdlib/bug-fmtmsg1.c: New file.
57299         * stdlib/fmtmsg.c (init): Add missing unlock.
57300         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57302 2012-01-12  Marek Polacek  <polacek@redhat.com>
57304         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57305         and _GNU_SOURCE.
57307 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57309         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57310         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57311         macro to ensure uniqueness of label name.
57312         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57313         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57315 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57317         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57319         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57320         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57324 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57326         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57328         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57329         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57330         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57332         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57334         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57335         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57336         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57339         * math/bits/math-finite.h: Add ldexp support.
57341 2012-01-10  Marek Polacek  <polacek@redhat.com>
57343         * locale/programs/localedef.h (show_archive_content): Add noreturn
57344         attribute.
57346 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57348         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57350 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57352         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57354         * io/Makefile (headers): Add bits/poll2.h.
57356 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57359         typo #include statement.
57361 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57363         * include/sys/cdefs.h: Define __attribute_alloc_size.
57364         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57365         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57366         * elf/pldd.c: Likewise.
57367         * iconv/iconv_charmap.c: Likewise.
57368         * iconv/iconvconfig.c: Likewise.
57369         * iconv/strtab.c: Likewise.
57370         * locale/programs/locale.c: Likewise.
57371         * locale/programs/localedef.h: Likewise.
57372         * locale/programs/simple-hash.c: Likewise.
57373         * nscd/nscd.h: Likewise.
57374         * nss/makedb.c: Likewise.
57375         * sysdeps/generic/ldconfig.h: Likewise.
57376         * locale/programs/localedef.c: Remove xmalloc prototype.
57377         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57379 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57381         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57382         appropriate.
57384 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57386         * math/Makefile (tests): Add tst-CMPLX.
57387         * math/tst-CMPLX.c: New file.
57389         * math/complex.h (CMPLXL): Fix typo.
57391         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57392         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57393         GLIBC_2.16.
57394         * debug/tst-chk1.c: Add poll and ppoll tests.
57395         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57396         * include/sys/poll.h: Add hidden proto for ppoll.
57397         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57398         * sysdeps/mach/hurd/ppoll.c: Likewise.
57399         * io/ppoll.c: Likewise.
57400         * debug/poll_chk.c: New file.
57401         * debug/ppoll_chk.c: New file.
57402         * include/bits/poll2.h: New file.
57403         * io/bits/poll2.h: New file.
57405         [BZ #1350]
57406         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57408         * configure.in: static is always set to yes.  Remove.
57409         * config.make.in: Don't set build-static.
57410         * Makeconfig: Remove use of build-static.
57411         * dlfcn/Makefile: Likewise.
57412         * elf/Makefile: Likewise.
57413         * math/Makefile: Likewise.
57414         * misc/Makefile: Likewise.
57415         * nptl/Makefile: Likewise.
57416         * sysdeps/mach/hurd/Makefile: Likewise.
57418         * configure.in: PWD_P is not used anymore.
57419         * config.make.in: Remove PWD_P entry.
57421         * configure.in: Remove last remnants of RANLIB.
57422         No need to check for signed size_t anymore.
57423         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57424         and IA-64.
57425         Remove __builtin_expect test because we require at least gcc 3.4.
57426         * aclocal.m4: Likewise.
57428         * wcsmbs/mbrtoc16.c: Implement using towc function.
57429         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57430         * wcsmbs/wcsmbsload.c: Likewise.
57431         * iconv/gconv_simple.c: Likewise.
57432         * iconv/gconv_int.h: Likewise.
57433         * iconv/gconv_builtin.h: Likewise.
57434         * iconv/iconv_prog.c: Remove CHAR16 handling.
57436         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57438         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57440         * configure.in: Remove --with-elf and --enable-bounded options.
57441         Dont set base_machine for ia64.  More non-ELF conditions removed.
57442         Remove testing and setting of leading underscore information.
57443         * config.make.in (build-bounded): Set to no.
57444         * config.h.in: Remove NO_UNDERSCORES entry.
57445         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57446         them.
57447         * csu/start.c: Remove !NO_UNDERSCORE code.
57448         * locale/localeinfo.h: Likewise.
57449         * sysdeps/generic/machine-gmon.h: Likewise.
57450         * sysdeps/generic/sysdep.h: Likewise.
57451         * sysdeps/i386/sysdep.h: Likewise.
57452         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57453         * sysdeps/mach/sysdep.h: Likewise.
57454         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57455         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57456         * sysdeps/sh/sysdep.h: Likewise.
57457         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57458         * sysdeps/unix/i386/sysdep.S: Likewise.
57459         * sysdeps/unix/sparc/start.c: Likewise.
57460         * sysdeps/unix/sparc/sysdep.S: Likewise.
57461         * sysdeps/unix/sparc/sysdep.h: Likewise.
57462         * sysdeps/unix/start.c: Likewise.
57463         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57464         * sysdeps/x86_64/sysdep.h: Likewise.
57466 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57468         [BZ #13553]
57469         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57470         for non-gcc.
57471         * argp/argp-fmtstream.h: Use const instead __const.
57472         * argp/argp.h: Likewise.
57473         * assert/assert.h: Likewise.
57474         * bits/fenv.h: Likewise.
57475         * bits/sched.h: Likewise.
57476         * bits/sigset.h: Likewise.
57477         * bits/sigthread.h: Likewise.
57478         * catgets/nl_types.h: Likewise.
57479         * conform/data/pthread.h-data: Likewise.
57480         * crypt/crypt-private.h: Likewise.
57481         * crypt/crypt.h: Likewise.
57482         * crypt/crypt_util.c: Likewise.
57483         * ctype/ctype.h: Likewise.
57484         * debug/execinfo.h: Likewise.
57485         * debug/mbsnrtowcs_chk.c: Likewise.
57486         * debug/mbsrtowcs_chk.c: Likewise.
57487         * debug/wcsnrtombs_chk.c: Likewise.
57488         * debug/wcsrtombs_chk.c: Likewise.
57489         * debug/wcstombs_chk.c: Likewise.
57490         * dirent/dirent.h: Likewise.
57491         * dlfcn/dlfcn.h: Likewise.
57492         * elf/neededtest4.c: Likewise.
57493         * grp/grp.h: Likewise.
57494         * gshadow/gshadow.h: Likewise.
57495         * iconv/gconv.h: Likewise.
57496         * iconv/gconv_int.h: Likewise.
57497         * iconv/gconv_simple.c: Likewise.
57498         * iconv/iconv.h: Likewise.
57499         * iconv/loop.c: Likewise.
57500         * iconv/skeleton.c: Likewise.
57501         * include/aio.h: Likewise.
57502         * include/aliases.h: Likewise.
57503         * include/argz.h: Likewise.
57504         * include/arpa/inet.h: Likewise.
57505         * include/assert.h: Likewise.
57506         * include/dirent.h: Likewise.
57507         * include/dlfcn.h: Likewise.
57508         * include/execinfo.h: Likewise.
57509         * include/fcntl.h: Likewise.
57510         * include/fenv.h: Likewise.
57511         * include/glob.h: Likewise.
57512         * include/grp.h: Likewise.
57513         * include/libintl.h: Likewise.
57514         * include/mntent.h: Likewise.
57515         * include/netdb.h: Likewise.
57516         * include/pwd.h: Likewise.
57517         * include/rpc/netdb.h: Likewise.
57518         * include/sched.h: Likewise.
57519         * include/search.h: Likewise.
57520         * include/shadow.h: Likewise.
57521         * include/signal.h: Likewise.
57522         * include/stdio.h: Likewise.
57523         * include/stdlib.h: Likewise.
57524         * include/string.h: Likewise.
57525         * include/sys/socket.h: Likewise.
57526         * include/sys/stat.h: Likewise.
57527         * include/sys/statfs.h: Likewise.
57528         * include/sys/statvfs.h: Likewise.
57529         * include/sys/syslog.h: Likewise.
57530         * include/sys/time.h: Likewise.
57531         * include/sys/uio.h: Likewise.
57532         * include/time.h: Likewise.
57533         * include/unistd.h: Likewise.
57534         * include/utmp.h: Likewise.
57535         * include/wchar.h: Likewise.
57536         * include/wctype.h: Likewise.
57537         * inet/aliases.h: Likewise.
57538         * inet/arpa/inet.h: Likewise.
57539         * inet/netinet/ether.h: Likewise.
57540         * inet/netinet/in.h: Likewise.
57541         * intl/libintl.h: Likewise.
57542         * io/bits/fcntl2.h: Likewise.
57543         * io/fcntl.h: Likewise.
57544         * io/ftw.h: Likewise.
57545         * io/sys/poll.h: Likewise.
57546         * io/sys/stat.h: Likewise.
57547         * io/sys/statfs.h: Likewise.
57548         * io/sys/statvfs.h: Likewise.
57549         * io/utime.h: Likewise.
57550         * libio/bits/stdio.h: Likewise.
57551         * libio/bits/stdio2.h: Likewise.
57552         * libio/libio.h: Likewise.
57553         * libio/libioP.h: Likewise.
57554         * libio/stdio.h: Likewise.
57555         * locale/lc-ctype.c: Likewise.
57556         * locale/locale.h: Likewise.
57557         * login/utmp.h: Likewise.
57558         * malloc/arena.c: Likewise.
57559         * malloc/malloc.c: Likewise.
57560         * malloc/malloc.h: Likewise.
57561         * malloc/mcheck.c: Likewise.
57562         * malloc/mtrace.c: Likewise.
57563         * math/bits/mathcalls.h: Likewise.
57564         * math/fenv.h: Likewise.
57565         * math/math_private.h: Likewise.
57566         * misc/bits/error.h: Likewise.
57567         * misc/bits/syslog.h: Likewise.
57568         * misc/err.h: Likewise.
57569         * misc/error.h: Likewise.
57570         * misc/fstab.h: Likewise.
57571         * misc/mntent.h: Likewise.
57572         * misc/regexp.h: Likewise.
57573         * misc/search.h: Likewise.
57574         * misc/sgtty.h: Likewise.
57575         * misc/sys/mman.h: Likewise.
57576         * misc/sys/syslog.h: Likewise.
57577         * misc/sys/uio.h: Likewise.
57578         * misc/sys/xattr.h: Likewise.
57579         * misc/ttyent.h: Likewise.
57580         * nis/rpcsvc/ypclnt.h: Likewise.
57581         * nss/nss.h: Likewise.
57582         * posix/bits/unistd.h: Likewise.
57583         * posix/fnmatch.h: Likewise.
57584         * posix/glob.h: Likewise.
57585         * posix/sched.h: Likewise.
57586         * posix/spawn.h: Likewise.
57587         * posix/sys/wait.h: Likewise.
57588         * posix/unistd.h: Likewise.
57589         * posix/wordexp.h: Likewise.
57590         * pwd/pwd.h: Likewise.
57591         * resolv/netdb.h: Likewise.
57592         * resource/sys/resource.h: Likewise.
57593         * rt/aio.h: Likewise.
57594         * rt/bits/mqueue2.h: Likewise.
57595         * rt/mqueue.h: Likewise.
57596         * shadow/shadow.h: Likewise.
57597         * signal/signal.h: Likewise.
57598         * socket/send.c: Likewise.
57599         * socket/sendto.c: Likewise.
57600         * socket/sys/socket.h: Likewise.
57601         * stdio-common/printf.h: Likewise.
57602         * stdlib/bits/stdlib.h: Likewise.
57603         * stdlib/fmtmsg.h: Likewise.
57604         * stdlib/monetary.h: Likewise.
57605         * stdlib/stdlib.h: Likewise.
57606         * stdlib/ucontext.h: Likewise.
57607         * streams/stropts.h: Likewise.
57608         * string/argz.h: Likewise.
57609         * string/bits/string2.h: Likewise.
57610         * string/string.h: Likewise.
57611         * string/strings.h: Likewise.
57612         * sunrpc/rpc/auth.h: Likewise.
57613         * sunrpc/rpc/auth_des.h: Likewise.
57614         * sunrpc/rpc/clnt.h: Likewise.
57615         * sunrpc/rpc/netdb.h: Likewise.
57616         * sunrpc/rpc/pmap_clnt.h: Likewise.
57617         * sunrpc/rpc/xdr.h: Likewise.
57618         * sysdeps/generic/inttypes.h: Likewise.
57619         * sysdeps/generic/net/if.h: Likewise.
57620         * sysdeps/generic/sys/swap.h: Likewise.
57621         * sysdeps/gnu/net/if.h: Likewise.
57622         * sysdeps/gnu/utmpx.h: Likewise.
57623         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57624         * sysdeps/i386/i486/bits/string.h: Likewise.
57625         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57626         * sysdeps/s390/bits/string.h: Likewise.
57627         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57628         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57629         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57630         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57631         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57632         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57633         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57634         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57635         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57636         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57637         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57638         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57639         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57640         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57641         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57642         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57643         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57644         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57645         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57646         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57647         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57648         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57649         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57650         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57651         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57652         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57653         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57654         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57655         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57656         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57657         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57658         * sysvipc/sys/ipc.h: Likewise.
57659         * sysvipc/sys/msg.h: Likewise.
57660         * sysvipc/sys/sem.h: Likewise.
57661         * sysvipc/sys/shm.h: Likewise.
57662         * termios/termios.h: Likewise.
57663         * time/sys/time.h: Likewise.
57664         * time/time.h: Likewise.
57665         * wcsmbs/bits/wchar2.h: Likewise.
57666         * wcsmbs/uchar.h: Likewise.
57667         * wcsmbs/wchar.h: Likewise.
57668         * wctype/wctype.h: Likewise.
57670         [BZ #13551]
57671         * Makeconfig: Remove all but ELF support including AIX support.
57672         * Makerules: Likewise.
57673         * config.h.in: Likewise.
57674         * config.make.in: Likewise.
57675         * configure: Likewise.
57676         * configure.in: Likewise.
57677         * csu/Makefile: Likewise.
57678         * csu/version.c: Likewise.
57679         * debug/Makefile: Likewise.
57680         * dlfcn/Makefile: Likewise.
57681         * elf/Makefile: Likewise.
57682         * extra-lib.mk: Likewise.
57683         * iconv/Makefile: Likewise.
57684         * include/libc-symbols.h: Likewise.
57685         * include/shlib-compat.h: Likewise.
57686         * resolv/Makefile: Likewise.
57687         * resolv/res_libc.c: Likewise.
57688         * rt/Makefile: Likewise.
57689         * sysdeps/i386/asm-syntax.h: Likewise.
57690         * sysdeps/i386/sysdep.h: Likewise.
57691         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57692         * sysdeps/mach/sysdep.h: Likewise.
57693         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57694         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57695         * sysdeps/s390/asm-syntax.h: Likewise.
57696         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57697         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57698         * sysdeps/sh/sysdep.h: Likewise.
57699         * sysdeps/unix/sparc/sysdep.h: Likewise.
57700         * sysdeps/wordsize-32/divdi3.c: Likewise.
57701         * sysdeps/x86_64/sysdep.h: Likewise.
57703         * argp/Versions: Remove _argp_unlock_xxx.
57705         [BZ #13559]
57706         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57707         * abilist/libBrokenLocale.abilist: Likewise.
57708         * abilist/libanl.abilist: Likewise.
57709         * abilist/libc.abilist: Likewise.
57710         * abilist/libcrypt.abilist: Likewise.
57711         * abilist/libdl.abilist: Likewise.
57712         * abilist/libm.abilist: Likewise.
57713         * abilist/libnsl.abilist: Likewise.
57714         * abilist/libpthread.abilist: Likewise.
57715         * abilist/libresolv.abilist: Likewise.
57716         * abilist/librt.abilist: Likewise.
57717         * abilist/libthread_db.abilist: Likewise.
57718         * abilist/libutil.abilist: Likewise.
57719         * abilist/libnss_db.abilist: New file.
57721         * scripts/abilist.awk: Add support for indirect functions.
57723         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57725         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57727         * shlib-versions: Remove entries for ports architectures.
57729         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57730         files in ports.
57731         * elf/stackguard-macros.h: Remove support for IA-64.
57732         * elf/tst-auditmod1.c: Likewise.
57733         * sysdeps/generic/ldsodefs.h: Likewise.
57735         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57736         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57737         configure files.
57739         [BZ #13552]
57740         * configure.in: Remove --enable-omitfp support.
57741         * FAQ.in: Adjust.
57742         * config.make.in: Likewise.
57743         * Makeconfig: Likewise.
57744         * manual/install.texi: Likewise.
57746         In case anyone cares, the IA-64 architecture could move to ports.
57747         * sysdeps/ia64/*: Removed.
57748         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57749         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57751         [BZ #13555]
57752         * configure.in: Remove entries for unsupported architectures.
57754         [BZ #13533]
57755         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57756         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57757         routines.
57758         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57759         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57760         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57761         fall back to using wcrtomb.
57762         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57763         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57764         renaming.
57765         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57766         * wcsmbs/tst-c16c32-1.c: New file.
57768         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57769         local variable.
57771         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57773         * elf/tst-unique3.cc: Add explicit declaration of gets.
57774         * elf/tst-unique3lib.cc: Likewise.
57775         * elf/tst-unique3lib2.cc: Likewise.
57776         * elf/tst-unique4.cc: Likewise.
57778         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57780 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57782         [BZ #13566]
57783         * assert/assert.h (static_assert): Don't define for C++.
57784         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57785         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57787 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57789         * iconv/loop.c (single loop): Fix assertion in storing of
57790         remaining bytes.
57792         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57794 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57796         * posix/getconf.c: Update copyright year.
57797         * nss/getent.c: Likewise.
57798         * nss/makedb.c: Likewise.
57799         * iconv/iconvconfig.c: Likewise.
57800         * iconv/iconv_prog.c: Likewise.
57801         * elf/ldconfig.c: Likewise.
57802         * elf/pldd.c: Likewise.
57803         * elf/sotruss.ksh: Likewise.
57804         * catgets/gencat.c: Likewise.
57805         * csu/version.c: Likewise.
57806         * elf/ldd.bash.in: Likewise.
57807         * elf/sprof.c (print_version): Likewise.
57808         * locale/programs/locale.c: Likewise.
57809         * locale/programs/localedef.c: Likewise.
57810         * login/programs/pt_chown.c: Likewise.
57811         * nscd/nscd.c (print_version): Likewise.
57812         * debug/xtrace.sh: Likewise.
57813         * malloc/memusage.sh: Likewise.
57814         * malloc/mtrace.pl: Likewise.
57815         * debug/catchsegv.sh: Likewise.
57817 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57819         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57820         pure attribute.
57822 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57824         [BZ #13533]
57825         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57826         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57827         transformations.
57828         * iconv/gconv_int.h: Likewise.
57829         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57830         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57831         from libc for GLIBC_2.16.
57832         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57833         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57834         * wcsmbs/uchar.h: Really define mbstate_t.
57835         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57836         * wcsmbs/c16rtomb.c: New file.
57837         * wcsmbs/mbrtoc16.c: New file.
57838         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57839         for C/POSIX locale.
57840         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57841         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57843         * wcsmbs/wchar.h: Add missing __restrict.
57845 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57847         [BZ #13532]
57848         * time/Makefile (routines): Add timespec_get.
57849         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57850         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57851         timespec for ISO C11.
57852         * time/timespec_get.c: New file.
57853         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57854         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57856         [BZ #13531]
57857         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57858         * stdlib/stdlib.h: Declare aligned_alloc.
57859         * Versions.def: Add GLIBC_2.16 for libc.
57860         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57862         [BZ 13527]
57863         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57864         ISO C11.
57866         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57867         code.
57869         [BZ #13528]
57870         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57872         [BZ #13529]
57873         * assert/assert.h (static_assert): Define.
57875         * version.h: Update for 2.16 development version.
57877         [BZ #13526]
57878         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57879         _ISOC11_SOURCE.
57881         * version.h (RELEASE): Bump for 2.15 release.
57882         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57884         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57885         Patch by Marek Polacek <mpolacek@redhat.com>.
57887         * bits/byteswap.h: Protect long long constants with __extension__.
57888         * sysdeps/i386/bits/byteswap.h: Likewise.
57889         * sysdeps/ia64/bits/byteswap.h: Likewise.
57890         * sysdeps/s390/bits/byteswap.h: Likewise.
57891         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57893 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57895         [BZ #13540]
57896         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57897         destination buffer.
57898         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57900 2011-12-23  Marek Polacek  <polacek@redhat.com>
57902         * elf/dl-addr.c (determine_info): Add inline keyword.
57903         * elf/tst-auditmod4b.c (check_avx): Likewise.
57904         * elf/tst-auditmod6b.c (check_avx): Likewise.
57905         * elf/tst-auditmod6c.c (check_avx): Likewise.
57906         * elf/tst-auditmod7b.c (check_avx): Likewise.
57908 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57910         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57911         !__SSE_MATH__.
57913 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57915         [BZ #13540]
57916         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57917         processing for last bytes.
57919 2011-08-06  Bruno Haible  <bruno@clisp.org>
57921         [BZ #13061]
57922         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57923         U+0385, not to U+1FEE.
57925         [BZ #13062]
57926         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57927         entry for U+00A5 U+0301.
57929 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57931         [BZ #13166]
57932         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57933         buffer for the output is too small.
57935         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57936         optimization.
57938         [BZ #13185]
57939         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57940         SSE flags if possible.
57942 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57944         [BZ #13540]
57945         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57946         processing for last bytes.
57948 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57950         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57951         (syscall-list-default-options, syscall-list-default-condition)
57952         (syscall-list-includes): Define.
57953         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57954         list of ABIs and options and #if conditions for each ABI.  Do not
57955         handle common syscalls between ABIs specially.
57956         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57957         Remove.
57958         (syscall-list-variants, syscall-list-32bit-options)
57959         (syscall-list-32bit-condition, syscall-list-64bit-options)
57960         (syscall-list-64bit-condition): Define.
57961         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57962         (syscall-list-variants, syscall-list-32bit-options)
57963         (syscall-list-32bit-condition, syscall-list-64bit-options)
57964         (syscall-list-64bit-condition): Define.
57965         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57966         Remove.
57967         (syscall-list-variants, syscall-list-32bit-options)
57968         (syscall-list-32bit-condition, syscall-list-64bit-options)
57969         (syscall-list-64bit-condition): Define.
57970         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57971         Remove.
57972         (syscall-list-variants, syscall-list-32bit-options)
57973         (syscall-list-32bit-condition, syscall-list-64bit-options)
57974         (syscall-list-64bit-condition): Define.
57976 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57978         * locale/iso-639.def: Add brx entry.
57980         [BZ #13328]
57981         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57982         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57984         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57985         __feraiseexcept_renamed.
57987 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57989         [BZ #13538]
57990         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57991         EPOLLET with unsigned values.
57992         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57993         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57995         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57996         to large cancellation.
57997         * math/s_cacoshf.c: Likewise.
57998         * math/s_cacoshl.c: Likewise.
58000 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
58002         [BZ #13305]
58003         [BZ #12786]
58004         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58005         * math/s_cacoshf.c: Likewise.
58006         * math/s_cacoshl.c: Likewise.
58008 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
58010         [BZ #13439]
58011         * iconv/gconv.h: Define __GCONV_SWAP.
58012         * iconvdata/unicode.c: The swap bit must be stored in __flags.
58013         * iconvdata/utf-16.c: Likewise.
58014         * iconvdata/utf-32.c: Likewise.
58016 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
58018         [BZ #13524]
58019         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58020         numerator after shifting it by one limb.
58022 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
58024         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58025         under [__USE_EXTERN_INLINES].
58027 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58029         [BZ #13446]
58030         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58032 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58034         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58035         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58036         optimized code.
58037         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58038         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58039         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58040         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58041         for strncasecmp/strncasecmp_l compilation.
58042         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58043         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58045 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
58047         [BZ #13484]
58048         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58049         of __asm__.
58051 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58053         [BZ #13506]
58054         * time/tzfile.c (__tzfile_read): Check values from file header.
58056 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58058         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58059         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58060         * powerpc/powerpc32/dl-start.S: Likewise.
58061         * powerpc/powerpc32/elf/start.S: Likewise.
58062         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58063         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58064         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58065         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58066         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58067         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58068         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58069         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58070         * powerpc/powerpc32/fpu/s_round.S: Likewise.
58071         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58072         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58073         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58074         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58075         * powerpc/powerpc32/memset.S: Likewise.
58076         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58077         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58078         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58079         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58080         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58081         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58082         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58083         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58084         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58085         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58086         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58087         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58088         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58090 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58092         * math/libm-test.inc: Added more nearbyint tests.
58093         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58094         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58095         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58096         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58098 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
58100         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58101         FD_CLOEXEC.
58103 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58105         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58106         Add wcscpy-ssse3 wcscpy-c.
58107         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58108         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58109         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58110         * sysdeps/x86_64/wcschr.S: New file.
58111         * sysdeps/x86_64/wcsrchr.S: New file.
58112         * string/test-strcmp.c: Remove checking of wcscmp function for
58113         wrong alignments.
58114         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58115         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58116         wcsrchr-sse2 wcsrchr-c.
58117         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58118         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58119         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58120         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58121         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58122         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58123         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58124         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58125         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58126         * wcsmbc/wcschr.c (WCSCHR): New macro.
58128 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58130         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58131         * wcsmbs/test-wcsrchr.c: New file.
58132         * string/test-strrchr.c: Add wcsrchr support.
58133         (WIDE): New macro.
58134         * wcsmbs/test-wcscpy.c: New file.
58135         * string/test-strcpy.c: Add wcscpy support.
58136         (WIDE): New macro.
58138 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58140         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58141         the inner loop.
58143 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58145         [BZ #13472]
58146         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58148 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58150         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58151         Minor optimizations.
58153         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58154         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58155         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58157 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58159         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58160         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58161         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58162         for gcc to avoid warnings.
58163         * inet/Makefile (tests): Add tst-checks.
58164         * inet/tst-checks.c: New file.
58166         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58167         warning.
58169         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58170         __wmemcmp_sse2.
58172         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58173         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58175         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58177 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58179         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58180         problem.
58182         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58184 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58186         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58187         conditional on GCC version.
58188         (__arch_compare_and_exchange_val_8_acq)
58189         (__arch_compare_and_exchange_val_16_acq)
58190         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58191         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58192         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58194 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58196         * sysdeps/sh/backtrace.c: New file.
58198 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58200         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58201         parenthesis.
58203 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58205         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58206         falling back to utime.
58208 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58210         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58211         expectations for float.
58213 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58215         * locale/weight.h (findidx): Add parameter len.
58216         * locale/weightwc.h (findidx): Likewise.
58217         * posix/fnmatch_loop.c (FCT): Adjust caller.
58218         * posix/regcomp.c (build_equiv_class): Likewise.
58219         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58220         * posix/regexec.c (check_node_accept_bytes): Likewise.
58221         * string/strcoll_l.c (STRCOLL): Likewise.
58222         * string/strxfrm_l.c (STRXFRM): Likewise.
58224 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58226         * Makefile.in: Remove CVSOPT handling.
58227         * configure.in: Remove use of AC_REVISION.
58228         * iconvdata/Makefile (distribute): No need to filter out CVS.
58229         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58230         handling.
58232 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58234         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58235         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58236         [USE_AS_STRNCASECMP_L]: Likewise.
58237         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58238         NO_TLS_DIRECT_SEG_REFS.
58239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58240         Fix argument offsets for non-PIC.
58241         [USE_AS_STRNCASECMP_L]: Likewise.
58242         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58243         NO_TLS_DIRECT_SEG_REFS.
58245 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58247         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58248         O_CLOEXEC.
58249         * locale/loadlocale.c (_nl_load_locale): Likewise.
58251 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58253         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58254         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58255         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58256         (SYSCALL_GETTIME): Set errno on error.
58258         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58259         count references to noai6ai_cached.
58261 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58263         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58265         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58266         FD_CLOEXEC for /proc/self/maps.
58268         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58269         FD_CLOEXEC for /proc/meminfo.
58271         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58272         gai.conf.
58274         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58275         FD_CLOEXEC for given file.
58277         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58279         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58280         FD_CLOEXEC for /etc/hosts.
58281         (_gethtent): Likewise.
58283         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58285         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58286         cancellation and set FD_CLOEXEC for /etc/netgroup.
58288         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58289         reading /etc/publickey.
58291         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58292         allow cancellation when reading /etc/group.
58294         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58295         cancellation.
58296         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58298         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58299         when using data file.
58301         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58303         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58304         (write_nis_obj): Use "c" and "e" in fopen.
58306         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58308         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58310         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58312         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58314         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58315         locale.alias.
58317         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58319         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58321         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58323         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58324         file parsing and set FD_CLOEXEC.
58326 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58328         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58330 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58332         * malloc/arena.c (arena_get2): Don't call reused_arena when
58333         _int_new_arena failed.
58335 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58337         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58338         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58339         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58340         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58341         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58342         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58343         to compile strcasecmp and strncasecmp.
58344         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58345         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58347         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58349 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58351         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58352         locale-defines.sym to gen-as-const-headers.
58353         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58354         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58356         to compile strcasecmp and strncasecmp.
58357         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58358         strcasecmp_l and strncasecmp_l.
58359         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58360         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58361         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58362         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58363         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58364         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58365         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58366         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58367         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58368         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58369         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58371 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58373         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58374         result of SYSDEP_GETTIME_CPU to retval.
58375         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58376         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58378         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58379         variable.
58381         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58382         mantissa words.
58383         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58385         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58386         from unused variable.
58388         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58389         DWARF definitions.
58390         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58391         for assembling.
58393         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58394         over namespaces.
58396         * sunrpc/rpc_prot.c (rejected): Fix case value.
58398         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58399         unsigned long long int to avoid warnings in shift.
58401         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58402         of use of trans.
58403         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58404         variable tmp.
58406         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58407         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58408         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58410         * nis/nis_table.c (nis_list): Use variable of correct type for
58411         result of __follow_path call.
58413 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58415         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58416         of math functions ceil, trunc, floor, round, and sqrt, when
58417         avaliable on the platform.
58418         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58419         name clash.
58420         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58421         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58422         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58424 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58426         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58427         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58429 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58431         * include/unistd.h: Fix __readlink return type.
58432         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58434 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58436         * stdlib/ucontext.h: Undo last change for makecontext.
58438 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58440         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58442         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58443         * setjmp/setjmp.h: Mark functions as non-leaf.
58444         * setjmp/bits/setjmp2.h: Likewise.
58445         * stdlib/ucontext.h: Likewise.
58447 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58449         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58450         (reused_arena): Don't check arena limit.
58451         (arena_get2): Atomically check arena limit.
58453 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58455         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58456         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58458         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58459         instructions.
58461 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58463         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58464         handler when locking.
58466         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58467         Fix size of allocated buffer.
58469 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58471         [BZ #10103]
58472         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58473         declarations for long double functions.
58474         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58476         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58478 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58480         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58481         installed.
58483         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58484         is disabled.
58486 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58488         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58490 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58492         * include/alloca.h (stackinfo_alloca_round): Define.
58493         (extend_alloca): Use it.
58494         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58495         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58496         here.
58498         * scripts/check-local-headers.sh: Ignore libaudit.h.
58500         * nscd/Makefile (extra-objs): Make recursively expanded.
58502 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58504         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58505         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58507         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58508         * posix/tst-rfc3484-2.c: Likewise.
58509         * posix/tst-rfc3484-3.c: Likewise.
58511         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58512         process_vm_writev.
58513         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58514         process_vm_writev.
58515         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58516         process_vm_writev from libc using GLIBC_2.15 version.
58518         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58520 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58522         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58523         stack usage.
58525 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58527         [BZ #13367]
58528         * nss/getent.c (initgroups_keys): Show error message in case no group
58529         names are given.
58531         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58532         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58533         __bump_nl_timestamp.
58534         * nscd/connections (nscd_init): When host database is served open
58535         netlink socket and request notification about configuration changes.
58536         (main_loop_poll): Track netlink file descriptor and bump timestamp
58537         in case data becomes available.
58538         (main_loop_epoll): Likewise.
58539         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58540         (database_pers_head): Add extra_data fileds.
58541         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58542         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58543         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58544         Adjust caller.
58545         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58546         in6ai data, call __free_in6ai.
58547         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58548         Add -DHAVE_NETLINK.
58549         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58550         interface information.  Reuse previous data if netlink timestamp
58551         is not changed.
58552         (__bump_nl_timestamp): New function.
58553         (__free_in6ai): New function.
58555 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58557         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58558         close_not_cancel_no_status here.
58559         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58561 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58563         [BZ #13276]
58564         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58565         return value.
58567         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58568         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58569         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58571 2011-07-03  Andreas Jaeger  <aj@suse.de>
58573         [BZ #10709]
58574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58575         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58576         * math/libm-test.inc (sin_test): Add test case.
58578 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58580         [BZ #13337]
58581         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58582         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58584         * elf/chroot_canon.c (chroot_canon): Cleanups.
58586         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58588         [BZ #13335]
58589         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58590         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58592         * string/test-strchr.c: Make usable for strchrnul testing.
58593         * string/test-strchrnul.c: New file.
58594         * string/Makefile (strop-tests): Add strchrnul.
58596         * po/it.po: Update from translation team.
58597         * po/es.po: Likewise.
58599 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58601         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58602         the three constants needed as parameters.  Drop the others.
58603         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58604         __m128i_strloadu_tolower.
58605         Create and initialize variable zero and use it in all the places
58606         where _mm_setzero_si128 was used.
58608         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58609         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58610         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58611         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58612         anymore.
58613         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58614         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58615         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58616         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58617         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58618         __mpranred, __mptan.
58619         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58620         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58621         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58622         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58623         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58624         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58625         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58626         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58627         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58629 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58631         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58632         redefine if SHARED.
58633         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58635         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58636         wide char related routines to wcsmbs subdir.
58638 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58640         [BZ #13344]
58641         * misc/sys/cdefs.h (__THROWNL): Define.
58642         * posix/unistd.h: Use __THREADNL instead of __THREAD
58643         for memory synchronization functions.
58645 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58647         [BZ #13349]
58648         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58649         doesn't exist.
58650         * manual/stdio.texi (Obstack Streams): Node removed.
58652 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58654         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58655         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58656         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58658         * math/math_private.h (math_force_eval): Allow non-addressable
58659         arguments.
58660         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58662 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58664         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58665         file is not needed.
58667         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58668         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58669         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58670         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58671         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58672         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58673         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58674         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58675         Add AVX variants.
58676         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58677         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58678         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58679         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58680         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58681         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58682         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58683         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58684         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58685         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58686         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58687         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58688         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58689         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58690         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58691         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58692         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58693         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58694         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58696         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58697         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58699         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58700         place.  Use VEX encoding when compiling for AVX.
58702 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58704         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58705         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58707         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58709 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58711         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58712         useless if() expression.
58713         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58714         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58715         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58716         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58717         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58718         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58719         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58720         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58721         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58722         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58723         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58724         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58725         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58726         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58727         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58728         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58729         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58730         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58731         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58733         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58735 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58737         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58738         condition.
58739         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58741 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58743         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58744         .text section.  Avoid duplicate constants.
58745         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58751         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58752         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58753         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58754         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58755         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58756         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58757         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58758         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58759         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58760         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58761         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58762         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58765         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58766         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58768         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58769         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58770         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58771         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58772         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58773         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58774         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58775         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58776         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58777         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58778         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58779         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58780         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58781         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58782         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58783         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58784         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58785         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58786         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58787         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58788         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58789         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58791 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58793         * sysdeps/x86_64/dla.h: Move to ...
58794         * sysdeps/x86_64/fpu/dla.h: ...here.
58795         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58796         situations.  Use __builtin_fma only for gcc 4.6 and up.
58798         * config.make.in: Add have-mfma4 entry.
58799         * configure.in: Substitute libc_cv_cc_fma4.
58800         * math/Makefile (dbl-only-routines): Add sincostab.
58801         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58802         Use __sincostab not sincos.
58803         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58804         name is a macro.
58805         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58808         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58809         using __copysign.
58810         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58811         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58812         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58813         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58814         and __inv.
58815         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58816         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58817         __copysign.
58818         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58819         define aliases when function name is a macro.
58820         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58821         sysdeps/ieee754/dbl-64/sincos.tbl.
58822         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58823         fma4-enabled routines.
58824         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58825         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58826         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58827         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58828         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58829         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58830         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58831         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58832         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58833         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58834         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58835         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58836         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58837         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58839         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58840         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58841         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58842         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58843         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58844         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58845         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58847         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58848         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58849         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58850         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58851         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58852         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58853         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58855         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58856         rename.
58857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58858         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58860         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58861         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58862         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58863         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58864         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58866 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58868         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58870 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58872         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58874         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58875         prediction.
58876         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58878         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58879         Remove unused variable magic_bits.
58880         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58882         * string/strnlen.c: Define and use STRNLEN macro.
58883         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58884         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58885         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58886         * wcsmbs/wcslen.c: Define and use WCSLEN.
58887         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58888         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58889         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58890         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58891         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58892         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58893         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58895 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58898         strnlen-sse2-no-bsf.
58899         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58900         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58901         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58902         Add strnlen support.
58903         (USE_AS_STRNLEN): New macro.
58904         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58905         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58906         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58907         * sysdeps/x86_64/wcslen.S: New file.
58909 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58911         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58912         XMM-moves are used for copying on small sizes.
58914 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58916         * wcsmbs/Makefile (strop-tests): Add wcschr.
58917         * wcsmbs/test-wcschr.c: New file.
58918         * string/test-strchr.c: Update.
58919         Add wcschr support.
58920         (WIDE): New macro.
58922 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58924         * wcsmbs/Makefile (strop-tests): Add wcslen.
58925         * wcsmbs/test-wcslen.c: New file.
58926         * string/test-strlen.c: Update.
58927         Add wcslen support.
58928         (WIDE): New macro.
58930 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58932         * po/it.po: Update from translation team.
58934 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58936         * sysdeps/x86_64/wcscmp.S: Update.
58937         Fix wrong comparison semantics.
58938         wcscmp shall use signed comparison not unsigned.
58939         Don't use substraction to avoid overflow bug.
58940         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58941         * wcsmbc/wcscmp.c: Likewise.
58942         * string/test-strcmp.c: Likewise.
58943         Add new tests to check cases with negative values.
58945 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58947         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58948         * sysdeps/x86_64/dla.h: ...here.  New file.
58949         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58950         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58952         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58955         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58957         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58959 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58962         __ynl_finite aliases.
58964 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58968         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58969         define DLA_FMA.
58970         [DLA_FMA] (EMULV): Use DLA_FMA.
58971         [DLA_FMA] (MUL12): Use EMULV.
58972         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58973         that are not needed.
58974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58982 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58984         * math/s_nan.c: Undef __nan.
58985         * math/s_nanf.c: Undef __nanf.
58986         * math/s_nanl.c: Undef __nanl.
58987         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58988         "math_private.h".
58990 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58992         * math/s_catan.c: Add branch predictions.
58993         * math/s_catanf.c: Likewise.
58994         * math/s_catanh.c: Likewise.
58995         * math/s_catanhf.c: Likewise.
58996         * math/s_catanhl.c: Likewise.
58997         * math/s_catanl.c: Likewise.
58998         * math/s_cexp.c: Likewise.
58999         * math/s_cexpf.c: Likewise.
59000         * math/s_cexpl.c: Likewise.
59001         * math/s_clog.c: Likewise.
59002         * math/s_clog10.c: Likewise.
59003         * math/s_clog10f.c: Likewise.
59004         * math/s_clog10l.c: Likewise.
59005         * math/s_clogf.c: Likewise.
59006         * math/s_clogl.c: Likewise.
59007         * math/s_csqrt.c: Likewise.
59008         * math/s_csqrtf.c: Likewise.
59009         * math/s_csqrtl.c: Likewise.
59010         * math/s_ctanf.c: Likewise.
59011         * math/s_ctanh.c: Likewise.
59012         * math/s_ctanhf.c: Likewise.
59013         * math/s_ctanhl.c: Likewise.
59014         * math/s_ctanl.c: Likewise.
59016         * math/math_private.h: Define __nan, __nanf, __nanl.
59017         * math/s_cacosh.c: Include <math_private.h>.
59018         * math/s_cacoshl.c: Likewise.
59019         * math/s_casinh.c: Likewise.
59020         * math/s_casinhf.c: Likewise.
59021         * math/s_casinhl.c: Likewise.
59022         * math/s_ccos.c: Rely entire on ccosh.
59023         * math/s_ccosf.c: Rely entire on ccoshf.
59024         * math/s_ccosl.c: Rely entirely on ccoshl.
59025         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
59026         Remove tests for FE_INVALID.
59027         * math/s_ccoshf.c: Likewise.
59028         * math/s_ccoshl.c: Likewise.
59029         * math/s_csin.c: Likewise.
59030         * math/s_csinf.c: Likewise.
59031         * math/s_csinh.c Likewise.
59032         * math/s_csinhf.c: Likewise.
59033         * math/s_csinhl.c: Likewise.
59034         * math/s_csinl.c: Likewise.
59035         * math/s_ctan.c: Likewise.
59036         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59037         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59038         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59040 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
59042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59043         compilation problems.
59045         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59046         __builtin_expect.
59048 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
59050         * sysdeps/i386/configure.in: Test for -mfma4 option.
59051         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59052         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59053         COMMON_CPUID_INDEX_80000001.
59054         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59055         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59056         use it if FMA3 is not supported.
59057         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59059         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59060         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59062 2011-10-20  Andreas Schwab  <schwab@redhat.com>
59064         [BZ #12892]
59065         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59066         it would create a cycle with a link time dependency.
59068 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
59070         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59071         instruction.
59072         * string/Makefile (strop-tests): Add rawmemchr.
59073         * string/test-rawmemchr.c: New file.
59075         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59076         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
59077         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
59078         when compiling str{,n}casecmp and when AVX is available.  Hook up
59079         new optimized code in initializers.
59081 2011-10-19  Andreas Schwab  <schwab@redhat.com>
59083         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59084         __feraiseexcept instead of feraiseexcept.
59086 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
59088         * math/math_private.h: Define defaults for libc_fetestexcept and
59089         libc_feupdateenv.
59090         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59091         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59092         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59093         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59094         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59095         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59096         libc_fetestexcept and libc_feupdateenv.
59098         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59099         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59100         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59101         * sysdeps/x86_64/fpu/math_private.h: Define special version of
59102         libc_feholdexcept_setround.
59104         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59105         Add s_nearbyint-c and s_nearbyintf-c.
59106         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59107         nearbyintf inlines.
59108         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59109         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59110         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59111         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59113         * math/math_private.h: Define defaults for libc_fegetround,
59114         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59115         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59116         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59117         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59118         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59119         standard functions.
59120         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59121         Remove comments and hacks for old compiler versions.
59122         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59123         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59124         libc_feholdexceptl.
59126 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59128         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59129         (__feraiseexcept_renamed): Add __NTH.
59130         (feraiseexcept): Add __NTH.  Rename local variables to fix
59131         namespace violations.
59133 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59135         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59137         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59139         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59140         recently added interfaces.
59141         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59143         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59144         about macro parameter expansion.
59146         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59147         __NO_MATH_INLINES is defined.  Cleanups.
59149         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59150         and __floorf is target has SSE4.1.
59151         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59152         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59153         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59154         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59156         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59157         name.
59158         (floorf): Likewise.
59160         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59162 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59164         * misc/sys/cdefs.h: Fix last change.
59166         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59167         database lookup.
59169 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59171         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59173         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59174         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59175         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59176         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59177         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59178         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59180         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59181         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59182         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59183         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59184         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59185         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59186         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59187         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59188         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59189         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59190         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59191         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59192         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59193         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59194         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59196         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59197         ceil, ceilf, floor, floorf.
59199         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59200         Perform IRELATIVE relocations last.
59202         * elf/do-rel.h: Add another parameter nrelative, replacing the
59203         local variable with the same name.  Change name of the function
59204         to end in Rel or Rela (uppercase).
59205         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59206         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59207         elf_dynamic_do_##reloc function.
59209 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59211         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59212         is sufficient, at least on modern CPUs.
59214         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59216         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59217         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59219         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59220         __expl_finite.
59221         * math/bits/math-finite.h: Add entries for exp.
59222         * math/e_expl.c: Add __*_finite alias.
59223         * sysdeps/i386/fpu/e_exp.S: Likewise.
59224         * sysdeps/i386/fpu/e_expf.S: Likewise.
59225         * sysdeps/i386/fpu/e_expl.c: Likewise.
59226         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59227         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59228         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59229         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59230         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59231         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59232         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59234         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59235         is sufficient, at least on modern CPUs.
59237         * ctype/ctype-info.c (__ctype_init): Define.
59238         * include/ctype.h (__ctype_init): Declare.
59239         (__ctype_b_loc): The variable is always initialized.
59240         (__ctype_toupper_loc): Likewise.
59241         (__ctype_tolower_loc): Likewise.
59242         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59243         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59245 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59247         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59249         * configure.in: Also look in $cxxmachine/include for C++ system
59250         headers.
59252 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59254         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59255         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59256         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59257         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59258         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59259         (USE_AS_WMEMCMP): New macro.
59260         Fixing indents.
59261         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59262         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59263         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59264         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59266         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59267         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59268         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59269         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59270         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59271         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59272         (USE_AS_WMEMCMP): New macro.
59273         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59274         * sysdeps/string/test-memcmp.c: Update.
59275         Fix simple_wmemcmp.
59276         Add new tests.
59277         * wcsmbs/wmemcmp.c: Update.
59278         (WMEMCMP): New macro.
59279         Fix overflow bug.
59281 2011-10-12  Andreas Jaeger  <aj@suse.de>
59283         [BZ #13268]
59284         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59286 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59288         * libio/iofwide.c (do_length): Avoid warning.
59290         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59292 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59294         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59296         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59297         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59298         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59299         * sysdeps/i386/i686/fpu/e_log.S: New file.
59300         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59301         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59303         * ctype/ctype.h: Add support for inlined isXXX functions when
59304         compiling C++ code.
59306 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59308         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59310         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59312 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59314         [BZ #13291]
59315         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59317 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59319         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59320         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59321         feraiseexcept.
59323         * sysdeps/x86_64/memrchr.S: Check for zero size.
59325         * string/stratcliff.c: Add memrchr tests.
59327 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59330         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59331         rawmemchr-sse2 rawmemchr-sse2-bsf.
59332         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59333         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59334         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59335         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59336         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59337         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59338         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59339         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59340         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59341         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59342         * string/memrchr.c (MEMRCHR): New macro.
59344 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59346         Add integration with gcc's -ffinite-math-only and optimize wrapper
59347         functions in libm.
59348         * Versions.def: Define GLIBC_2.15 version for libm.
59349         * math/Makefile (headers): Add bits/math-finite.h.
59350         * math/bits/math-finite.h: New file.
59351         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59352         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59353         * math/e_acoshl.c: Add __*_finite alias.
59354         * math/e_acosl.c: Likewise.
59355         * math/e_asinl.c: Likewise.
59356         * math/e_atan2l.c: Likewise.
59357         * math/e_atanhl.c: Likewise.
59358         * math/e_coshl.c: Likewise.
59359         * math/e_exp10.c: Likewise.
59360         * math/e_exp10f.c: Likewise.
59361         * math/e_exp10l.c: Likewise.
59362         * math/e_exp2l.c: Likewise.
59363         * math/e_fmodl.c: Likewise.
59364         * math/e_gammal_r.c: Likewise.
59365         * math/e_hypotl.c: Likewise.
59366         * math/e_j0l.c: Likewise.
59367         * math/e_j1l.c: Likewise.
59368         * math/e_jnl.c: Likewise.
59369         * math/e_lgammal_r.c: Likewise.
59370         * math/e_log10l.c: Likewise.
59371         * math/e_log2l.c: Likewise.
59372         * math/e_logl.c: Likewise.
59373         * math/e_powl.c: Likewise.
59374         * math/e_sinhl.c: Likewise.
59375         * math/e_sqrtl.c: Likewise.
59376         * math/e_scalb.c: Completely rewritten and optimized.
59377         * math/e_scalbf.c: Likewise.
59378         * math/e_scalbl.c: Likewise.
59379         * math/w_acos.c: Likewise.
59380         * math/w_acosf.c: Likewise.
59381         * math/w_acosl.c: Likewise.
59382         * math/w_acosh.c: Likewise.
59383         * math/w_acoshf.c: Likewise.
59384         * math/w_acoshl.c: Likewise.
59385         * math/w_asin.c: Likewise.
59386         * math/w_asinf.c: Likewise.
59387         * math/w_asinl.c: Likewise.
59388         * math/w_atan2.c: Likewise.
59389         * math/w_atan2f.c: Likewise.
59390         * math/w_atan2l.c: Likewise.
59391         * math/w_atanh.c: Likewise.
59392         * math/w_atanhf.c: Likewise.
59393         * math/w_atanhl.c: Likewise.
59394         * math/w_exp10.c: Likewise.
59395         * math/w_exp10f.c: Likewise.
59396         * math/w_exp10l.c: Likewise.
59397         * math/w_fmod.c: Likewise.
59398         * math/w_fmodf.c: Likewise.
59399         * math/w_fmodl.c: Likewise.
59400         * math/w_j0.c: Likewise.
59401         * math/w_j0f.c: Likewise.
59402         * math/w_j0l.c: Likewise.
59403         * math/w_j1.c: Likewise.
59404         * math/w_j1f.c: Likewise.
59405         * math/w_j1l.c: Likewise.
59406         * math/w_jn.c: Likewise.
59407         * math/w_jnf.c: Likewise.
59408         * math/w_log.c: Likewise.
59409         * math/w_logf.c: Likewise.
59410         * math/w_logl.c: Likewise.
59411         * math/w_log10.c: Likewise.
59412         * math/w_log10f.c: Likewise.
59413         * math/w_log10l.c: Likewise.
59414         * math/w_log2.c: Likewise.
59415         * math/w_log2f.c: Likewise.
59416         * math/w_log2l.c: Likewise.
59417         * math/w_pow.c: Likewise.
59418         * math/w_powf.c: Likewise.
59419         * math/w_powl.c: Likewise.
59420         * math/w_remainder.c: Likewise.
59421         * math/w_remainderf.c: Likewise.
59422         * math/w_remainderl.c: Likewise.
59423         * math/w_scalb.c: Likewise.
59424         * math/w_scalbf.c: Likewise.
59425         * math/w_scalbl.c: Likewise.
59426         * math/w_sqrt.c: Likewise.
59427         * math/w_sqrtf.c: Likewise.
59428         * math/w_sqrtl.c: Likewise.
59429         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59430         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59431         used.
59432         * math/math_private.h: Declare __kernel_standard_f.
59433         * math/w_cosh.c: Remove cruft and optimize a bit.
59434         * math/w_coshf.c: Likewise.
59435         * math/w_coshl.c: Likewise.
59436         * math/w_exp2.c: Likewise.
59437         * math/w_exp2f.c: Likewise.
59438         * math/w_exp2l.c: Likewise.
59439         * math/w_hypot.c: Likewise.
59440         * math/w_hypotf.c: Likewise.
59441         * math/w_hypotl.c: Likewise.
59442         * math/w_lgamma.c: Likewise.
59443         * math/w_lgamma_r.c: Likewise.
59444         * math/w_lgammaf.c: Likewise.
59445         * math/w_lgammaf_r.c: Likewise.
59446         * math/w_lgammal.c: Likewise.
59447         * math/w_lgammal_r.c: Likewise.
59448         * math/w_sinh.c: Likewise.
59449         * math/w_sinhf.c: Likewise.
59450         * math/w_sinhl.c: Likewise.
59451         * math/w_tgamma.c: Likewise.
59452         * math/w_tgammaf.c: Likewise.
59453         * math/w_tgammal.c: Likewise.
59454         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59455         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59456         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59457         Minor optimizations.  Pretty printing.  Remove cruft.
59458         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59459         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59460         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59461         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59462         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59463         * sysdeps/i386/fpu/e_asin.S: Likewise.
59464         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59465         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59466         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59467         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59468         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59469         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59470         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59471         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59472         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59473         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59474         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59475         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59476         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59477         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59478         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59479         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59480         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59481         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59482         * sysdeps/i386/fpu/e_log.S: Likewise.
59483         * sysdeps/i386/fpu/e_log10.S: Likewise.
59484         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59485         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59486         * sysdeps/i386/fpu/e_log2.S: Likewise.
59487         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59488         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59489         * sysdeps/i386/fpu/e_logf.S: Likewise.
59490         * sysdeps/i386/fpu/e_logl.S: Likewise.
59491         * sysdeps/i386/fpu/e_pow.S: Likewise.
59492         * sysdeps/i386/fpu/e_powf.S: Likewise.
59493         * sysdeps/i386/fpu/e_powl.S: Likewise.
59494         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59495         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59496         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59497         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59498         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59499         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59500         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59501         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59502         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59503         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59504         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59506         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59507         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59508         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59509         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59510         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59511         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59512         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59513         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59514         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59516         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59517         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59519         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59520         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59523         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59524         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59525         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59526         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59527         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59528         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59529         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59530         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59531         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59532         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59533         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59534         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59535         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59536         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59537         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59538         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59539         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59540         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59541         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59542         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59543         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59544         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59545         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59546         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59547         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59548         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59549         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59550         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59551         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59552         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59553         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59554         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59556         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59557         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59558         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59559         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59560         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59561         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59562         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59563         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59564         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59565         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59567         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59568         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59569         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59570         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59571         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59572         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59573         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59574         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59575         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59577         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59578         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59579         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59580         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59581         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59582         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59583         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59584         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59585         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59586         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59587         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59588         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59589         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59590         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59591         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59592         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59593         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59594         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59595         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59596         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59597         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59598         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59599         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59600         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59601         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59602         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59603         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59604         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59605         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59606         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59607         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59608         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59609         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59610         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59611         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59612         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59613         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59614         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59615         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59616         (__isnanf): Likewise.
59617         (__isinf_ns): Likewise.
59618         (__isinf_nsf): Likewise.
59619         (__finite): Likewise.
59620         (__finitef): Likewise.
59621         (__ieee754_sqrt): Define as macro.
59622         (__ieee754_sqrtf): Define as macro.
59623         (__ieee754_sqrtl): Define as macro.
59624         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59625         inlined copy.
59626         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59627         __FINITE_MATH_ONLY__ consistent.
59628         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59630 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59632         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59633         of rawmemchr.
59635         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59637 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59639         * po/ja.po: Update from translation team.
59641 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59643         * locale/programs/locarchive.c (prepare_address_space): New function.
59644         (create_archive, enlarge_archive, open_archive): Use it.
59646         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59647         inside [SHARED], where it is used.
59649         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59651         * nss/getent.c (netgroup_keys): Remove unused variable.
59652         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59654 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59656         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59657         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59658         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59659         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59660         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59661         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59662         * math/Makefile (libm-calls): Add s_isinf_ns.
59663         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59664         * math/multc3.c: Likewise.
59665         * math/s_casin.c: Likewise.
59666         * math/s_casinf.c: Likewise.
59667         * math/s_casinl.c: Likewise.
59668         * math/s_ccos.c: Likewise.
59669         * math/s_ccosf.c: Likewise.
59670         * math/s_ccosl.c: Likewise.
59671         * math/s_ctan.c: Likewise.
59672         * math/s_ctanf.c: Likewise.
59673         * math/s_ctanh.c: Likewise.
59674         * math/s_ctanhf.c: Likewise.
59675         * math/s_ctanhl.c: Likewise.
59676         * math/s_ctanl.c: Likewise.
59677         * math/w_fmod.c: Likewise.
59678         * math/w_fmodf.c: Likewise.
59679         * math/w_fmodl.c: Likewise.
59680         * math/w_remainder.c: Likewise.
59681         * math/w_remainderf.c: Likewise.
59682         * math/w_remainderl.c: Likewise.
59683         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59684         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59685         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59686         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59687         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59688         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59689         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59690         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59692         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59693         of the number.
59694         * stdio-common/printf_fphex.c: Likewise.
59695         * stdio-common/printf_size.c: Likewise.
59697         * math/e_exp10.c: Include math_private.h using <...> not "...".
59698         * math/e_exp10f.c: Likewise.
59699         * math/e_exp10l.c: Likewise.
59700         * math/e_exp2l.c: Likewise.
59701         * math/e_j0l.c: Likewise.
59702         * math/e_j1l.c: Likewise.
59703         * math/e_jnl.c: Likewise.
59704         * math/e_lgammal_r.c: Likewise.
59705         * math/e_rem_pio2l.c: Likewise.
59706         * math/e_scalb.c: Likewise.
59707         * math/e_scalbf.c: Likewise.
59708         * math/e_scalbl.c: Likewise.
59709         * math/k_cosl.c: Likewise.
59710         * math/k_sinl.c: Likewise.
59711         * math/k_tanl.c: Likewise.
59712         * math/s_cacoshf.c: Likewise.
59713         * math/s_catan.c: Likewise.
59714         * math/s_catanf.c: Likewise.
59715         * math/s_catanh.c: Likewise.
59716         * math/s_catanhf.c: Likewise.
59717         * math/s_catanhl.c: Likewise.
59718         * math/s_catanl.c: Likewise.
59719         * math/s_ccosh.c: Likewise.
59720         * math/s_ccoshf.c: Likewise.
59721         * math/s_ccoshl.c: Likewise.
59722         * math/s_cexp.c: Likewise.
59723         * math/s_cexpf.c: Likewise.
59724         * math/s_cexpl.c: Likewise.
59725         * math/s_clog.c: Likewise.
59726         * math/s_clog10.c: Likewise.
59727         * math/s_clog10f.c: Likewise.
59728         * math/s_clog10l.c: Likewise.
59729         * math/s_clogf.c: Likewise.
59730         * math/s_clogl.c: Likewise.
59731         * math/s_csin.c: Likewise.
59732         * math/s_csinf.c: Likewise.
59733         * math/s_csinh.c: Likewise.
59734         * math/s_csinhf.c: Likewise.
59735         * math/s_csinhl.c: Likewise.
59736         * math/s_csinl.c: Likewise.
59737         * math/s_csqrt.c: Likewise.
59738         * math/s_csqrtf.c: Likewise.
59739         * math/s_csqrtl.c: Likewise.
59740         * math/s_ctan.c: Likewise.
59741         * math/s_ctanf.c: Likewise.
59742         * math/s_ctanh.c: Likewise.
59743         * math/s_ctanhf.c: Likewise.
59744         * math/s_ctanhl.c: Likewise.
59745         * math/s_ctanl.c: Likewise.
59746         * math/s_ldexp.c: Likewise.
59747         * math/s_ldexpf.c: Likewise.
59748         * math/s_ldexpl.c: Likewise.
59749         * math/s_significand.c: Likewise.
59750         * math/s_significandf.c: Likewise.
59751         * math/s_significandl.c: Likewise.
59752         * math/w_acos.c: Likewise.
59753         * math/w_acosf.c: Likewise.
59754         * math/w_acosh.c: Likewise.
59755         * math/w_acoshf.c: Likewise.
59756         * math/w_acoshl.c: Likewise.
59757         * math/w_acosl.c: Likewise.
59758         * math/w_asin.c: Likewise.
59759         * math/w_asinf.c: Likewise.
59760         * math/w_asinl.c: Likewise.
59761         * math/w_atan2.c: Likewise.
59762         * math/w_atan2f.c: Likewise.
59763         * math/w_atan2l.c: Likewise.
59764         * math/w_atanh.c: Likewise.
59765         * math/w_atanhf.c: Likewise.
59766         * math/w_atanhl.c: Likewise.
59767         * math/w_cosh.c: Likewise.
59768         * math/w_coshf.c: Likewise.
59769         * math/w_coshl.c: Likewise.
59770         * math/w_dremf.c: Likewise.
59771         * math/w_exp10.c: Likewise.
59772         * math/w_exp10f.c: Likewise.
59773         * math/w_exp10l.c: Likewise.
59774         * math/w_exp2.c: Likewise.
59775         * math/w_exp2f.c: Likewise.
59776         * math/w_fmod.c: Likewise.
59777         * math/w_fmodf.c: Likewise.
59778         * math/w_fmodl.c: Likewise.
59779         * math/w_hypot.c: Likewise.
59780         * math/w_hypotf.c: Likewise.
59781         * math/w_hypotl.c: Likewise.
59782         * math/w_j0.c: Likewise.
59783         * math/w_j0f.c: Likewise.
59784         * math/w_j0l.c: Likewise.
59785         * math/w_j1.c: Likewise.
59786         * math/w_j1f.c: Likewise.
59787         * math/w_j1l.c: Likewise.
59788         * math/w_jn.c: Likewise.
59789         * math/w_jnf.c: Likewise.
59790         * math/w_jnl.c: Likewise.
59791         * math/w_lgamma.c: Likewise.
59792         * math/w_lgamma_r.c: Likewise.
59793         * math/w_lgammaf.c: Likewise.
59794         * math/w_lgammaf_r.c: Likewise.
59795         * math/w_lgammal.c: Likewise.
59796         * math/w_lgammal_r.c: Likewise.
59797         * math/w_log.c: Likewise.
59798         * math/w_log10.c: Likewise.
59799         * math/w_log10f.c: Likewise.
59800         * math/w_log10l.c: Likewise.
59801         * math/w_log2.c: Likewise.
59802         * math/w_log2f.c: Likewise.
59803         * math/w_log2l.c: Likewise.
59804         * math/w_logf.c: Likewise.
59805         * math/w_logl.c: Likewise.
59806         * math/w_pow.c: Likewise.
59807         * math/w_powf.c: Likewise.
59808         * math/w_powl.c: Likewise.
59809         * math/w_remainder.c: Likewise.
59810         * math/w_remainderf.c: Likewise.
59811         * math/w_remainderl.c: Likewise.
59812         * math/w_scalb.c: Likewise.
59813         * math/w_scalbf.c: Likewise.
59814         * math/w_scalbl.c: Likewise.
59815         * math/w_sinh.c: Likewise.
59816         * math/w_sinhf.c: Likewise.
59817         * math/w_sinhl.c: Likewise.
59818         * math/w_sqrt.c: Likewise.
59819         * math/w_sqrtf.c: Likewise.
59820         * math/w_sqrtl.c: Likewise.
59821         * math/w_tgamma.c: Likewise.
59822         * math/w_tgammaf.c: Likewise.
59823         * math/w_tgammal.c: Likewise.
59825         * po/ja.po: Update from translation team.
59827 2011-09-29  Andreas Jaeger  <aj@suse.de>
59829         [BZ #13179]
59830         * sunrpc/netname.c (netname2host): Fix logic.
59832         [BZ #6779]
59833         [BZ #6783]
59834         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59835         correctly.
59836         * math/w_remainder.c (__remainder): Likewise.
59837         * math/w_remainderf.c (__remainderf): Likewise.
59838         * math/libm-test.inc (remainder_test): Add test cases.
59840 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59842         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59843         sdiv_qrnnd.
59845 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59847         * string/test-memcmp.c: Avoid unncessary #defines.
59848         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59850 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59852         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59853         Use new sse2 version for core i3 - i7 as it's faster
59854         than sse42 version.
59855         (bit_Prefer_PMINUB_for_stringop): New.
59856         * sysdeps/x86_64/rawmemchr.S: Update.
59857         Replace with faster SSE2 version.
59858         * sysdeps/x86_64/memrchr.S: New file.
59859         * sysdeps/x86_64/memchr.S: Update.
59860         Replace with faster SSE2 version.
59862 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59864         * elf/dl-load.c (lose): Add cast to avoid warning.
59866 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59868         * po/ca.po: Update from translation team.
59870         * inet/getnetgrent_r.c: Hook up nscd.
59871         * nscd/Makefile (routines): Add nscd_netgroup.
59872         (nscd-modules): Add netgroupcache.
59873         (CFLAGS-netgroupcache.c): Define.
59874         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59875         (cache_search): Add const to second parameter.
59876         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59877         INNETGR.
59878         (dbs): Add netgrdb entry.
59879         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59880         (verify_persistent_db): Handle netgrdb.
59881         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59882         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59883         GETFDNETGR.
59884         (netgroup_response_header): Define.
59885         (innetgroup_response_header): Define.
59886         (datahead): Add netgroup_response_header and innetgroup_response_header
59887         elements.
59888         * nscd/nscd.conf: Add entries for netgroup cache.
59889         * nscd/nscd.h (dbtype): Add netgrdb.
59890         (_PATH_NSCD_NETGROUP_DB): Define.
59891         (netgroup_iov_disabled): Declare.
59892         (xmalloc, xcalloc, xrealloc): Move declarations here.
59893         (cache_search): Adjust prototype.
59894         Add netgroup-related prototypes.
59895         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59896         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59897         (__nscd_innetgr): Declare.
59898         * nscd/selinux.c (perms): Use access_vector_t as element type and
59899         add netgroup-related initializers.
59900         * nscd/netgroupcache.c: New file.
59901         * nscd/nscd_netgroup.c: New file.
59902         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59903         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59904         For four parameters use innetgr.
59905         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59906         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59907         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59908         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59910         * nscd/connections.c (register_traced_file): Don't register file
59911         for disabled databases.
59913 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59915         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59917         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59918         from tree and freeing node.
59920 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59922         * nss/nsswitch.c (__nss_database_lookup): Handle
59923         nss_parse_service_list out of memory case.
59925 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59927         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59928         out of memory case.
59930 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59932         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59933         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59934         pass it down.
59935         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59936         elf_machine_rela, elf_machine_lazy_rel.
59937         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59938         (ELF_DYNAMIC_DO_REL): Likewise.
59939         (ELF_DYNAMIC_DO_RELA): Likewise.
59940         (ELF_DYNAMIC_RELOCATE): Likewise.
59941         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59942         to ELF_DYNAMIC_DO_REL.
59943         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59944         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59945         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59946         elf_machine_rela.
59947         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59948         skip_ifunc, don't call ifunc function if non-zero.
59949         (elf_machine_rela): Likewise.
59950         (elf_machine_lazy_rel): Likewise.
59951         (elf_machine_lazy_rela): Likewise.
59952         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59953         (elf_machine_lazy_rel): Likewise.
59954         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59955         Likewise.
59956         (elf_machine_lazy_rel): Likewise.
59957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59958         Likewise.
59959         (elf_machine_lazy_rel): Likewise.
59960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59961         (elf_machine_lazy_rel): Likewise.
59962         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59963         (elf_machine_lazy_rel): Likewise.
59964         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59965         (elf_machine_lazy_rel): Likewise.
59966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59967         (elf_machine_lazy_rel): Likewise.
59968         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59969         (elf_machine_lazy_rel): Likewise.
59970         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59971         (elf_machine_lazy_rel): Likewise.
59973 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59975         * nss/nss_files/files-init.c (_nss_files_init): Use static
59976         initialization for all the *_traced_file variables.
59978 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59980         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59982 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59984         [BZ #13226]
59985         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59987 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59989         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59990         Reread the line before reparsing it.
59992 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59994         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59996 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59997             Maxim Kuvyrkov  <maxim@codesourcery.com>
59998             Joseph Myers  <joseph@codesourcery.com>
60000         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60001         if needed for __stack_chk_guard.
60003 2011-09-19  Roland McGrath  <roland@hack.frob.com>
60005         * sysdeps/posix/spawni.c (script_execute): Always define it.
60006         It will be optimized away if unused.
60007         (maybe_script_execute): New function.
60008         (__spawni): Call it.
60010         * Makerules: Don't include tls.make.
60011         (config-tls): Always set to thread.
60012         * tls.make.c: File removed.
60014 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
60016         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60017         * config.make.in (CPPFLAGS-config): New substituted variable.
60019 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60021         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60023         [BZ #13192]
60024         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60025         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60027 2011-09-15  Roland McGrath  <roland@hack.frob.com>
60029         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60030         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60031         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60032         (CALL_FAIL): Likewise.
60033         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60034         (CALL_FAIL): Macro removed.
60035         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60037 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60039         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60040         for __FINITE_MATH_ONLY__ == 1.
60042 2011-09-15  Andreas Schwab  <schwab@redhat.com>
60044         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60045         __ieee754_sqrt instead of sqrt.
60046         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60047         __ieee754_sqrtf instead of sqrtf.
60048         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60049         __floorf instead of floorf.
60050         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60051         __floorf, __truncf instead of floorf, truncf.
60053 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
60055         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60057         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60058         __extern_always_inline.
60059         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60060         32-bit.
60062 2011-09-14  Andreas Schwab  <schwab@redhat.com>
60064         * elf/rtld.c (dl_main): Also relocate in dependency order when
60065         doing symbol dependency testing.
60067 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
60069         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60070         Always define `refsym'.
60072 2011-09-13  Andreas Schwab  <schwab@redhat.com>
60074         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60075         (__FD_ELT): Renamed from __FDELT.
60076         * misc/bits/select2.h (__FD_ELT): Likewise.
60077         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60078         __FD_MASK instead of __FDELT, __FDMASK.
60079         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60080         Likewise.
60081         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60082         Likewise.
60084         * elf/Makefile (gen-ldd): Fix pattern.
60086         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60087         (init_tls): Likewise.
60089 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
60091         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60093 2011-09-12  Andreas Schwab  <schwab@redhat.com>
60095         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60096         `struct cmsghdr *' instead of `void *'.
60097         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60098         Likewise.
60100 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
60102         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60103         if non-absolute.
60104         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60105         ldd_rewrite_script.
60107 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
60109         * configure.in: Remove --with-tls option.
60110         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60111         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60112         out in case it is missing.
60113         * sysdeps/ia64/elf/configure.in: Likewise.
60114         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60115         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60116         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60117         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60118         * sysdeps/sh/elf/configure.in: Likewise.
60119         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60120         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60121         * sysdeps/x86_64/elf/configure.in: Likewise.
60122         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60123         * sysdeps/mach/hurd/tls.h: Likewise.
60125         [BZ #13067]
60126         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60128         [BZ #13090]
60129         * configure.in: Fix use of AC_INIT.
60131         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60133 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60135         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60136         __set_errno.
60137         * malloc/hooks.c: Likewise.
60139         [BZ #11929]
60140         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60141         variables statically.
60142         (narenas): Initialize.
60143         (list_lock): Initialize.
60144         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60145         initializtion of main_arena and list_lock.  Small cleanups.
60146         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60147         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60148         Add initializers to main_arena and mp_.
60149         (malloc_state): Remove pagesize member.  Change all users to use
60150         GLRO(dl_pagesize).
60152         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60153         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60154         is always initialized.
60156         * malloc/malloc.c: Removed unused configurations and dead code.
60157         * malloc/arena.c: Likewise.
60158         * malloc/hooks.c: Likewise.
60159         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60161         * include/tls.h: Removed.  USE___THREAD must always be defined.
60162         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60163         * elf/dl-libc.c: Likewise.
60164         * elf/dl-tsd.c: Likewise.
60165         * include/errno.h: Likewise.
60166         * include/netdb.h: Likewise.
60167         * include/resolv.h: Likewise.
60168         * inet/herrno-loc.c: Likewise.
60169         * inet/herrno.c: Likewise.
60170         * malloc/arena.c: Likewise.
60171         * malloc/hooks.c: Likewise.
60172         * malloc/malloc.c: Likewise.
60173         * resolv/res-state.c: Likewise.
60174         * resolv/res_libc.c: Likewise.
60175         * sysdeps/i386/dl-machine.h: Likewise.
60176         * sysdeps/ia64/dl-machine.h: Likewise.
60177         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60178         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60179         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60180         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60181         * sysdeps/sh/dl-machine.h: Likewise.
60182         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60183         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60184         * sysdeps/unix/i386/sysdep.S: Likewise.
60185         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60186         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60187         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60188         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60190         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60191         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60193         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60195         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60196         * sysdeps/x86_64/dl-machine.h: Likewise.
60197         * tls.make.c: Likewise.
60199         * configure.in: Remove --with-__thread option.  Make tests for
60200         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60201         tls_model attribute fail if no support is available.  Remove
60202         USE_IN_LIBIO.
60203         * Makeconfig: Adjust for dropped configure option.  All features are
60204         now mandatory.
60205         * Makerules: Likewise.
60206         * Versions.def: Likewise.
60207         * argp/argp-fmtstream.c: Likewise.
60208         * argp/argp-fmtstream.h: Likewise.
60209         * argp/argp-help.c: Likewise.
60210         * assert/assert.c: Likewise.
60211         * config.h.in: Likewise.
60212         * config.make.in: Likewise.
60213         * configure: Likewise.
60214         * configure.in: Likewise.
60215         * csu/Versions: Likewise.
60216         * csu/init.c: Likewise.
60217         * elf/tst-audit2.c: Likewise.
60218         * elf/tst-tls10.c: Likewise.
60219         * elf/tst-tls10.h: Likewise.
60220         * elf/tst-tls11.c: Likewise.
60221         * elf/tst-tls12.c: Likewise.
60222         * elf/tst-tls14.c: Likewise.
60223         * elf/tst-tlsmod11.c: Likewise.
60224         * elf/tst-tlsmod12.c: Likewise.
60225         * elf/tst-tlsmod13.c: Likewise.
60226         * elf/tst-tlsmod13a.c: Likewise.
60227         * elf/tst-tlsmod14a.c: Likewise.
60228         * elf/tst-tlsmod15b.c: Likewise.
60229         * elf/tst-tlsmod16a.c: Likewise.
60230         * elf/tst-tlsmod16b.c: Likewise.
60231         * elf/tst-tlsmod7.c: Likewise.
60232         * elf/tst-tlsmod8.c: Likewise.
60233         * elf/tst-tlsmod9.c: Likewise.
60234         * gmon/gmon.c: Likewise.
60235         * grp/fgetgrent_r.c: Likewise.
60236         * grp/putgrent.c: Likewise.
60237         * hurd/fopenport.c: Likewise.
60238         * include/libc-symbols.h: Likewise.
60239         * include/tls.h: Likewise.
60240         * intl/gettextP.h: Likewise.
60241         * intl/loadinfo.h: Likewise.
60242         * locale/global-locale.c: Likewise.
60243         * locale/localeinfo.h: Likewise.
60244         * mach/devstream.c: Likewise.
60245         * malloc/arena.c: Likewise.
60246         * malloc/set-freeres.c: Likewise.
60247         * misc/err.c: Likewise.
60248         * misc/getttyent.c: Likewise.
60249         * misc/mntent_r.c: Likewise.
60250         * posix/getopt.c: Likewise.
60251         * posix/wordexp.c: Likewise.
60252         * pwd/fgetpwent_r.c: Likewise.
60253         * resolv/Versions: Likewise.
60254         * resolv/res_hconf.c: Likewise.
60255         * shadow/fgetspent_r.c: Likewise.
60256         * shadow/putspent.c: Likewise.
60257         * stdio-common/printf_fphex.c: Likewise.
60258         * stdio-common/tmpfile.c: Likewise.
60259         * stdlib/abort.c: Likewise.
60260         * stdlib/fmtmsg.c: Likewise.
60261         * sunrpc/auth_unix.c: Likewise.
60262         * sunrpc/clnt_perr.c: Likewise.
60263         * sunrpc/clnt_tcp.c: Likewise.
60264         * sunrpc/clnt_udp.c: Likewise.
60265         * sunrpc/clnt_unix.c: Likewise.
60266         * sunrpc/openchild.c: Likewise.
60267         * sunrpc/svc_simple.c: Likewise.
60268         * sunrpc/svc_tcp.c: Likewise.
60269         * sunrpc/svc_udp.c: Likewise.
60270         * sunrpc/svc_unix.c: Likewise.
60271         * sunrpc/xdr.c: Likewise.
60272         * sunrpc/xdr_array.c: Likewise.
60273         * sunrpc/xdr_rec.c: Likewise.
60274         * sunrpc/xdr_ref.c: Likewise.
60275         * sunrpc/xdr_stdio.c: Likewise.
60277 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60279         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60281 2011-07-03  Andreas Jaeger  <aj@suse.de>
60283         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60284         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60285         regenerate with gen-libm-tests.pl.
60287 2010-05-12  Petr Baudis  <pasky@suse.cz>
60289         [BZ #11589]
60290         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60291         around j0() zero points by switching to j1().
60292         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60293         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60294         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60295         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60297 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60299         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60300         instead of 0.
60301         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60302         instead of 0.
60303         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60304         Patch in part by Pavel Roskin <proski@gnu.org>.
60306         [BZ #13138]
60307         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60308         realloc.
60309         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60310         Free memory block if necessary.
60312         [BZ #12847]
60313         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60314         be NULL.  Don't lock in this case.
60316 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60318         * elf/elf.h (ELFOSABI_GNU): New macro.
60319         (ELFOSABI_LINUX): Define to that.
60321 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60323         * string/strncat.c (strncat): Undef the symbol in case it has been
60324         defined in bits/string.h.
60326 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60328         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60330         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60331         link map.
60333 2011-08-17  Andreas Jaeger  <aj@suse.de>
60335         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60337 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60338             Ian Lance Taylor  <iant@google.com>
60340         * math/libm-test.inc (lround_test): New testcase.
60341         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60343 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60345         * Makefile: Remove support for automatic cvs check-ins.
60346         * Makerules: Likewise.
60347         * config.make.in: Likewise.
60348         * configure.in: Likewise.
60349         * intl/Makefile: Likewise.
60350         * locale/Makefile: Likewise.
60351         * po/Makefile: Likewise.
60352         * posix/Makefile: Likewise.
60353         * sysdeps/gnu/Makefile: Likewise.
60354         * sysdeps/mach/hurd/Makefile: Likewise.
60355         * sysdeps/sparc/sparc32/Makefile: Likewise.
60357         [BZ #13118]
60358         * posix/Makefile (bug-regex32-ENV): Define.
60359         Patch by John Stanley <jpsinthemix@verizon.net>.
60361         * misc/Makefile (headers): Add bits/select2.h.
60362         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60363         * misc/bits/select2.h: New file.
60364         * include/bits/select2.h: New file.
60365         * debug/Makefile (routines): Add fdelt_chk.
60366         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60367         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60368         FD_ISSET.
60369         * debug/fdelt_chk.c: New file.
60371         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60372         * wcsmbs/test-wmemcmp.c: Likewise.
60373         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60374         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60376 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60378         * string/Makefile (strop-tests): Add memcmp.
60379         * string/test-wmemcmp.c: New file.
60380         * string/test-memcmp.c: Add wmemcmp support.
60382 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60384         [BZ #13153]
60385         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60386         2011-07-19 change.
60388         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60389         garbage value in a __mach_port_mod_refs call in the cases of the
60390         task-self and thread-self ports.
60392 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60394         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60396 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60398         * elf/dl-load.c (lose): Check for non-null L.
60400 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60402         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60404         * elf/dl-libc.c (dlerror_run): Pass back error code from
60405         dl_catch_error.
60407         [BZ #13123]
60408         * elf/dl-load.c (lose): Free l_origin if it is valid.
60410         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60411         names.
60412         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60414         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60415         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60416         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60417         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60419 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60421         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60422         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60423         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60424         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60425         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60426         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60427         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60428         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60429         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60430         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60432 2011-08-15  Alan Modra  <amodra@gmail.com>
60434         [BZ #13092]
60435         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60436         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60437         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60438         ppc_mcount to static-only-routines.
60439         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60440         __mcount_internal.
60441         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60442         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60444 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60446         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60447         for finite and infinity parameters.
60449 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60451         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60452         and add nop instructions for throughput optimization.
60453         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60455 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60457         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60458         aligned copy for power7 with vector-scalar instructions.
60459         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60461 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60463         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60464         AVX check.
60466 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60468         [BZ #13144]
60469         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60470         last change.
60472 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60474         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60475         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60476         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60477         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60478         clock_gettime.
60480 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60482         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60483         Forgot to demangle the pointer.
60485         * sysdeps/i386/sysdep.h: Define atom_text_section.
60486         * sysdeps/x86_64/sysdep.h: Likewise.
60487         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60488         section with atom_text_section.
60489         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60490         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60491         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60492         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60493         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60495         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60496         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60497         already be defined.  Change to take two parameters and don't assign
60498         result to variable.  Adjust all users.
60499         Define INTERNAL_GETTIME if not already defined.
60500         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60501         call.
60502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60503         HAVE_CLOCK_GETTIME_VSYSCALL.
60504         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60506         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60507         gettimeofday vsyscall, just use time.
60509 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60511         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60512         <errno.h>.
60514 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60516         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60517         syscall on x86-64.
60518         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60519         syscall.
60520         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60521         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60522         syscall if possible.
60524 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60526         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60527         e_ident.  Don't pass to find_mapsXX.
60528         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60530 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60533         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60534         * sysdeps/x86_64/multiarch/strchr.S: Update.
60535         Check bit_slow_BSF bit.
60536         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60537         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60538         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60540 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60542         [BZ #13134]
60543         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60544         before glibc 2.15.
60545         (tryshell): Define.
60546         (__spawni): Change last parameter to be flag.  Test
60547         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60548         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60549         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60550         * posix/spawni.c: Likewise.
60551         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60552         * posix/spawnp.c: Likewise.  Change normal version to use
60553         SPAWN_XFLAGS_USE_PATH.
60554         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60555         SPAWN_XFLAGS_TRY_SHELL.
60557         [BZ #13150]
60558         * posix/glob.h: Remove gcc 1.x support.
60560         [BZ #13068]
60561         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60563 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60566         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60567         strrchr-sse2-bsf
60568         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60569         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60570         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60571         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60572         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60573         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60575 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60577         * sysdeps/x86_64/wcscmp.S: New file.
60579         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60580         wcscmp-c wcscmp-sse2
60581         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60582         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60583         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60584         * wcsmbs/wcscmp.c: Allow renaming.
60586 2011-09-05  David S. Miller  <davem@davemloft.net>
60588         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60589         stack slot, rather than the struct return pointer slot.
60590         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60591         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60593         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60595 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60597         * po/ja.po: Update from translation team.
60599         [BZ #13144]
60600         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60601         kernel in 64-bit binaries.
60603 2011-09-01  David S. Miller  <davem@davemloft.net>
60605         * elf/elf.h (HWCAP_SPARC_*): Move to..
60606         * sysdeps/sparc/sysdep.h: this new file and add new values.
60607         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60608         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60609         _DL_HWCAP_COUNT to 24.
60610         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60611         entries.
60612         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60613         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60614         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60616         instead of magic constants.
60617         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60619 2011-08-31  David S. Miller  <davem@davemloft.net>
60621         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60623         Reimplement to do errno handling inline.
60624         (SYSCALL_ERROR_HANDLER): New macro.
60625         (__SYSCALL_STRING): Do not do errno handling in asm.
60626         (__CLONE_SYSCALL_STRING): Delete.
60627         (__INTERNAL_SYSCALL_STRING): Delete.
60628         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60629         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60630         (PSEUDO): Reimplement to do errno handling inline.
60631         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60632         (SYSCALL_ERROR_HANDLER): New macro.
60633         (__SYSCALL_STRING): Do not do errno handling in asm.
60634         (__CLONE_SYSCALL_STRING): Delete.
60635         (__INTERNAL_SYSCALL_STRING): Delete.
60636         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60637         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60638         i386.
60639         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60640         (inline_syscall*): Add 'err' argument.
60641         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60642         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60643         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60644         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60646         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60647         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60649 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60651         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60653 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60655         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60656         directive.
60658 2011-08-24  David S. Miller  <davem@davemloft.net>
60660         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60662 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60664         * elf/Makefile: Add rules to build and run unload8 test.
60665         * elf/unload8.c: New file.
60666         * elf/unload8mod1.c: New file.
60667         * elf/unload8mod1x.c: New file.
60668         * elf/unload8mod2.c: New file.
60669         * elf/unload8mod3.c: New file.
60671         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60672         it wasn't used.
60674 2011-08-23  David S. Miller  <davem@davemloft.net>
60676         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60677         subtract stack bias.
60678         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60679         %sp not %fp in calculations.
60680         (_JMPBUF_UNWINDS_ADJ): Likewise.
60682         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60683         (aio_suspend): Call it to force an exception region around the
60684         AIO_MISC_WAIT() invocation.
60686 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60688         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60689         backslash.
60691 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60693         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60694         protection macro.
60695         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60696         and <dl-machine.h>.
60697         (Elf64_FuncDesc): Remove.
60699 2011-08-22  David S. Miller  <davem@davemloft.net>
60701         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60702         sigaltstack check, add missing cfi directives.
60703         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60704         missing cfi directives, and sigaltstack handling.
60706 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60708         [BZ #11724]
60709         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60710         object is seen twice.
60711         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60713         * elf/Makefile (distribute): Add tst-initorder2.c.
60714         (tests): Add tst-initorder2.
60715         (modules-names): Add tst-initorder2a tst-initorder2b
60716         tst-initorder2c tst-initorder2d.  Add rules to build them.
60717         ($(objpfx)tst-initorder2.out): New rule.
60718         * elf/tst-initorder2.c: New file.
60719         * elf/tst-initorder2.exp: New file.
60721 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60723         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60725         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60726         dependencies back to end of function.
60728         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60729         $(elfobjdir)/ld.so.
60731 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60733         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60734         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60735         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60736         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60737         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60738         of __vdso_gettimeofday.
60739         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60740         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60741         attribute_hidden.
60742         (_libc_vdso_platform_setup): Remove initialization of
60743         __vdso_gettimeofday and __vdso_time.
60745 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60747         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60748         and fgetc_unlocked.
60749         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60750         getc_unlocked.
60752         * elf/dl-open.c (add_to_global): Report additions to the global scope
60753         for LD_DEBUG=scopes.
60754         (dl_open_worker): Also print scope of newly loaded dependencies.
60755         (_dl_show_scope): Indicate if there is no scope.
60757         [BZ #13114]
60758         * stdio-common/Makefile (tests): Add bug24.
60759         * stdio-common/bug24.c: New file.
60761 2011-08-19  Andreas Jaeger  <aj@suse.de>
60763         [BZ #13114]
60764         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60765         non-existant file when using close-on-exec mode.
60767 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60769         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60770         the very first instruction.
60772         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60773         the CFI state in the end.
60774         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60775         inclusion of dl-trampoline.h.
60776         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60778 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60780         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60781         expectations for long double.
60783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60784         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60786 2011-08-14  David S. Miller  <davem@davemloft.net>
60788         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60789         artificual limit depends upon the system page size.
60791 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60793         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60794         * resolv/Makefile: Define CFLAGS-libresolv.
60796 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60798         * nss/makedb.c (compute_tables): Make variables used in nested
60799         function static.
60801 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60803         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60804         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60805         if buffer was too small.
60807         * elf/pldd.c (main): Attach to all threads in the process.
60808         Rewrite /proc handling to use *at functions.
60810 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60812         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60813         specifies first scope to show.
60814         (dl_open_worker): Update callers.  Move printing scope of new
60815         object to before the relocation.
60816         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60817         * sysdeps/generic/ldsodefs.h: Update declaration.
60819         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60820         string for the scope number.
60822 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60824         * nscd/servicescache.c (cache_addserv): Make sure written is always
60825         initialized.
60827 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60829         * sysdeps/i386/i486/bits/atomic.h
60830         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60831         statement expression, so as to suppress "set but not used" warning.
60832         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60834         * string/strncat.c (STRNCAT): Use prototype definition.
60836         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60837         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60838         -Iprograms here.
60839         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60840         (localedef-modules): Add localedef.
60841         (locale-modules): Add locale.
60843         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60844         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60845         to avoid a warning.
60847 2011-08-14  David S. Miller  <davem@davemloft.net>
60849         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60850         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60852 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60854         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60855         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60856         * elf/rtld.c (dl_main): Set l_name of vDSO.
60857         Call _dl_show_scope when DL_DEBUG_SCOPES.
60858         (process_dl_debug): Recognize scopes flag and also set it for all.
60859         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60860         Declare _dl_show_scope.
60862         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60863         (do_dlopen): Pass caller_dlopen to dl_open.
60864         (__libc_dlopen_mode): Initialize caller_dlopen.
60866         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60867         of libc.  Make tolower call locale-independent.  Optimize a bit by
60868         using isdigit instead of isalnum.
60869         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60871 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60873         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60874         was a dependency or dynamically loaded.
60876 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60878         * intl/l10nflist.c: Allow architecture-specific pop function.
60879         * sysdeps/x86_64/l10nflist.c: New file.
60881         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60882         classification.
60884 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60886         * include/dirent.h: Add libc_hidden_proto for scandirat and
60887         scandirat64.  Don't declare __scandirat64.
60888         * dirent/scandirat.c: Add libc_hidden_def.
60889         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60890         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60892 2011-08-10  David S. Miller  <davem@davemloft.net>
60894         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60895         enum.
60896         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60898         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60900 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60902         * Versions.def [libc]: Add GLIBC_2.15.
60903         * dirent/Makefile (routines): Add scandirat and scandirat64.
60904         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60905         GLIBC_2.15.
60906         * dirent/dirent.h: Declare scandirat and scandirat64.
60907         * dirent/scandirat.c: New file.
60908         * dirent/scandirat64.c: New file.
60909         * sysdeps/wordsize-64/scandirat.c: New file.
60910         * sysdeps/wordsize-64/scandirat64.c: New file.
60911         * dirent/opendir.c: Define opendirat.
60912         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60913         using scandirat.
60914         * dirent/scandir64.c: Adjust for scandir.c change.
60915         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60916         __scandirat64, and __scandir_cancel_handler.
60917         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60918         additional parameter and use openat instead of open (outside of ld.so).
60919         Add new __opendir as wrapper around __opendirat.
60920         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60921         here without requiring old scandirat implementation.
60923 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60925         * dirent/scandir.c (cancel_handler): Renamed to
60926         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60927         defined.  Adjust users.
60928         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60929         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60931 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60933         * string/test-string.h (IMPL): Use __STRING to expand name and then
60934         stringify it.
60936         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60937         of cleanups.
60939 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60941         * string/Makefile: Update.
60942         (strop-tests): Append strncat.
60943         * string/test-wcscmp.c: New file.
60944         New comprehensive test for wcscmp.
60945         * string/test-strcmp.c: Update.
60946         (WIDE): New define.
60948 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60950         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60951         line.
60953 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60956         encoding to ACE if AI_IDN.
60958 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60960         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60961         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60963 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60965         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60966         Fix overflow bug in strncat.
60967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60969         * string/test-strncat.c: Update.
60970         Add new tests for checking overflow bugs.
60972 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60975         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60976         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60977         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60978         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60979         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60980         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60981         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60982         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60985         (USE_AS_STRCAT): Define.
60986         Add strcat and strncat support.
60987         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60989 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60991         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60992         __n bigger than INT_MAX+1.
60993         (__strncmp_g): Likewise.
60995 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60997         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60998         * libio/stido.h: Likewise.
61000         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61001         (AF_NFC): Define.
61002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61003         (AF_NFC): Define.
61005         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61006         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61007         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61008         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61011         [BZ #13021]
61012         * scripts/test-installation.pl: Don't expect libnss_test1 to be
61013         installed.
61015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61016         typo.
61017         (_dl_x86_64_save_sse): Likewise.
61019 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
61021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61022         OSXSAVE.
61023         (_dl_x86_64_save_sse): Likewise.
61025         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61027         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61029 2011-07-21  Andreas Schwab  <schwab@redhat.com>
61031         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61032         change.
61033         (_dl_x86_64_save_sse): Use correct AVX check.
61035 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61037         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61038         bug in strncpy/strncat.
61039         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61041 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
61043         * string/tester.c (test_strcat): Add tests for different alignments
61044         of source and destination.
61045         (test_strncat): Likewise.
61047 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61049         [BZ #12852]
61050         * posix/glob.c (glob): Check passed in values before using them in
61051         expressions to avoid some overflows.
61052         (glob_in_dir): Likewise.
61054         [BZ #13007]
61055         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61056         check for AVX enablement so that we don't crash with old kernels and
61057         new hardware.
61058         * elf/tst-audit4.c: Add same checks here.
61059         * elf/tst-audit6.c: Likewise.
61061         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61063 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
61065         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61067 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61069         * po/cs.po: Update from translation team.
61070         * po/bg.po: Likewise.
61072 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
61074         * misc/sys/cdefs.h: Add support for const attribute.
61075         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61076         to gnu_dev_{major,minor,makedev} functions.
61078 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
61080         * intl/dcigettext.c (get_output_charset): Add missing bracket.
61082 2011-07-20  Andreas Schwab  <schwab@redhat.com>
61084         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61085         strlen results.
61087 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61090         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61091         register in order to avoid conflicts with the soft frame pointer
61092         being held in r11 when necessary.
61093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61094         (INTERNAL_VSYSCALL_NCS): Likewise.
61096 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
61098         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61099         * elf/dl-fini.c (_dl_fini): Adjust caller.
61100         * elf/dl-close.c (_dl_close_worker): Likewise.
61101         * sysdeps/generic/ldsodefs.h: Adjust declaration.
61103 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61105         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61106         "aux_cache->nlibs < 0".
61108         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61109         in the reload-count case.
61111 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61114         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61115         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61116         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61117         * sysdeps/x86_64/multiarch/strcat.S: New file.
61118         * sysdeps/x86_64/multiarch/strncat.S: New file.
61119         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61120         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61121         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61122         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61123         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61124         (USE_AS_STRCAT): Define.
61125         Add strcat and strncat support.
61126         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61127         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61128         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61129         * string/strncat.c: Update.
61130         (USE_AS_STRNCAT): Define.
61131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61132         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61133         and i7.
61134         * sysdeps/x86_64/multiarch/init-arch.h
61135         (bit_Prefer_PMINUB_for_stringop): New.
61136         (index_Prefer_PMINUB_for_stringop): Likewise.
61137         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61138         bit_Prefer_PMINUB_for_stringop.
61140 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61142         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61143         buffer64.
61144         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61145         of casting of buffer.
61146         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61147         buffer32 and buffer64.
61148         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61149         writes instead of casting of buffer.
61150         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61151         buffer32.
61152         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61153         casting of buffer.
61155 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61157         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61159 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61161         * nscd/nscd.c (termination_handler): Don't do anything for a database
61162         if it has not yet been initialized.
61164 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61166         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61168 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61170         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61172 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61174         * po/nl.po: Update from translation team.
61175         * po/sv.po: Likewise.
61177 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61179         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61180         now disallowed by GCC.
61182         * configure.in (use-default-link): Default to yes if a test -shared
61183         link meets our qualifications.
61184         * configure: Regenerated.
61186         * config.make.in (output-format): New variable.
61187         * configure.in: Check for ld --print-output-format support.
61188         * configure: Regenerated.
61189         * Makerules ($(common-objpfx)format.lds)
61190         [$(output-format) != unknown]: Just use $(output-format),
61191         instead of the linker-script munging.
61193 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61195         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61196         of $(common-objpfx)shlib.lds.
61197         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61199         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61200         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61202         * configure.in (-z relro check): Adjust test code to add a large
61203         writable data section after it.
61204         * configure: Regenerated.
61206 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61208         * configure.in (-z relro check): Fix test code to make the variable
61209         truly const.
61210         * configure: Regenerated.
61212 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61214         * nscd/nscd.h (struct traced_file): Define.
61215         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61216         elements.  Add traced_files.
61217         (inotify_fd): Declare.
61218         (register_traced_file): Declare.
61219         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61220         (inotify_fd): Export.
61221         (resolv_conf_descr): Remove.
61222         (nscd_init): Move inotify descriptor creation to main.
61223         Don't register files for notification here.
61224         (register_traced_file): New function.
61225         (invalidate_cache): Don't use reset_res to determine whether to call
61226         res_init, go through the list of registered files.
61227         (main_loop_poll): The inotify descriptors are now stored in the
61228         structures for the traced files.
61229         (main_loop_epoll): Likewise
61230         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61231         to __nss_disable_nscd.
61232         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61233         for a database anymore.  Check the records for all the registered
61234         files instead.
61235         * nss/Makefile (libnss_files-routines): Add files-init.
61236         (libnss_db-routines): Add db-init.
61237         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61238         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61239         * nss/nss_db/db-init.c: New file.
61240         * nss/nss_files/files-init.c: New file.
61241         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61242         __nss_lookup_function.
61243         (__nss_lookup_function): Call nss_load_library.
61244         (nss_load_all_libraries): New function.
61245         (__nss_disable_nscd): Take parameter with callback function for files
61246         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61247         used for the cached services.
61248         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61249         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61250         options for features to all the files in nscd.
61252         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61254 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61256         * csu/elf-init.c (__libc_csu_init): Comment typo.
61258 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61260         * po/pl.po: Update from translation team.
61261         * po/ja.po: Likewise.
61262         * po/ru.po: Likewise.
61263         * po/ko.po: Likewise.
61264         * po/fr.po: Likewise.
61266 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61268         * configure.in (.ctors/.dtors header and trailer check):
61269         Use an empirical test on a built program.
61270         * configure: Regenerated.
61272         * configure.in (-z relro check): Use an empirical test on a built DSO.
61273         Detect, but do not require, on ia64.
61274         * configure: Regenerated.
61276         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61277         Update tests that use readelf to use $READELF instead.
61278         * configure: Regenerated.
61280 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61282         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61283         if the result is not used.
61285 2011-07-05  Andreas Jaeger  <aj@suse.de>
61287         [BZ#9696]
61288         * stdlib/tst-strtod.c: Add testcase.
61290 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61292         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61293         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61294         The latter has a higher limit.  Take additional parameter to pass to
61295         the new function.
61296         (__pathconf): Pass file to __statfs_link_max.
61297         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61298         __statfs_link_max.
61299         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61300         __statfs_link_max.
61302         [BZ #12868]
61303         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61304         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61305         Handle Lustre.
61306         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61307         (__statfs_filesize_max): Likewise.
61308         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61310 2011-07-05  Andreas Jaeger  <aj@suse.de>
61312         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61314 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61316         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61317         `status' variable.
61318         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61319         Likewise.
61321 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61323         * Makefile (strop-tests): Add strncat.
61324         * string/test-strncat.c: New file.
61326 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61328         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61330 2011-06-21  Andreas Jaeger  <aj@suse.de>
61332         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61333         Copy rule from iconvdata/Makefile.
61335 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61337         [BZ #12922]
61338         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61339         but no long options are defined, just return 'W'.
61341 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61343         [BZ #9696]
61344         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61346 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61348         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61349         netgroups to read.
61350         (innetgr): Likewise.
61352 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61354         * config.make.in (install_root): Default to $(DESTDIR).
61356 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61358         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61360 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61362         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61364         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61365         containing directory rather than embedding absolute directory names.
61367         * scripts/check-local-headers.sh: Rewritten using awk.
61368         Match by word, not by line.  Print error messages for matches.
61369         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61371         * Makerules [shlib-lds-flags empty]:
61372         ($(common-objpfx)libc_pic.opts): New target.
61373         ($(common-objpfx)libc_pic.os.clean): New target.
61374         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61376         * config.make.in (OBJCOPY): New variable.
61377         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61378         * configure: Regenerated.
61380         * config.make.in (use-default-link): New variable.
61381         * configure.in (use_default_link): Grok --with-default-link to set it.
61382         * configure: Regenerated.
61383         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61384         (shlib-lds, shlib-lds-flags): Define to empty.
61386         * Makerules (shlib-lds): New variable.
61387         (shlib-lds-flags): New variable.
61388         (build-shlib, build-moduile, build-module-asneeded): Use it.
61389         ($(common-objpfx)libc.so): Use $(shlib-lds).
61390         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61391         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61393         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61394         DT_FLAGS/DT_FLAGS_1 with zero flags.
61396         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61397         linker script munging.
61399 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61401         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61402         as 128-bit value.
61403         * crypt/sha512.c (sha512_process_block): Perform total addition using
61404         128-bit if possible.
61405         (__sha512_finish_ctx): Likewise.
61406         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61407         as 64-bit value.
61408         * crypt/sha256.c (SWAP64): Define.
61409         (sha256_process_block): Perform total addition using 64-bit if
61410         possible.
61411         (__sha256_finish_ctx): Likewise.
61413 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61415         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61416         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61417         * nscd/hstcache.c (cache_addhst): Likewise.
61418         * nscd/grpcache.c (cache_addgr): Likewise.
61419         * nscd/aicache.c (addhstaiX): Likewise
61420         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61422 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61424         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61426         * nscd/hstcache.c (cache_addhst): Likewise.
61427         * nscd/grpcache.c (cache_addgr): Likewise.
61428         * nscd/aicache.c (addhstaiX): Likewise
61430 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61432         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61433         domain only when needed.
61435 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61438         is always restored.
61440 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61442         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61443         are re-adding the entry.
61444         * nscd/servicescache.c (cache_addserv): Likewise.
61446 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61448         * sysdeps/generic/dl-irel.h: fix protection against multiple
61449         inclusions.
61450         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61452 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61454         [BZ #12935]
61455         * malloc/memusage.sh: Fix quoting in message.
61456         * debug/xtrace.sh: Likewise.
61458         * configure.in: Remove support for --experimental-malloc option, make
61459         it the default.
61460         * config.make.in: Likewise.
61461         * malloc/Makefile: Likewise.
61463 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61465         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61466         two-byte characters.
61468 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61470         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61471         AC_CACHE_CHECK invocation.
61472         * configure: Regenerated.
61474         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61476 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61478         [BZ #12350]
61479         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61480         bit from old_res_options.
61482         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61484         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61485         value type for setfct.
61487 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61490         __gettimeofday instead of gettimeofday.
61492 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61494         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61496 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61498         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61500         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61501         info.
61503 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61506         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61507         strcpy-sse2-unaligned strncpy-sse2-unaligned
61508         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61509         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61510         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61511         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61512         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61513         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61514         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61515         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61516         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61517         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61518         (STRCPY): Support SSE2 and SSSE3 versions.
61520 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61522         [BZ #12874]
61523         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61524         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61525         kernels which artificially limit size of requests.
61527 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61530         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61531         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61532         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61533         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61534         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61535         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61536         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61537         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61538         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61539         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61540         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61541         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61542         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61543         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61545         Enable unaligned load optimization for Intel Core i3, i5 and i7
61546         processors.
61547         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61548         Define.
61549         (index_Fast_Unaligned_Load): Define.
61550         (HAS_FAST_UNALIGNED_LOAD): Define.
61552 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61554         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61556 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61558         [BZ #12907]
61559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61560         until it is clear that the information is realy needed.
61561         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61563 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61567 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61569         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61570         /sys/devices/system/cpu/online if it is usable.
61572         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61573         reading the information from the /proc filesystem to once a second.
61575 2011-06-21  Andreas Jaeger  <aj@suse.de>
61577         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61578         NULL after inclusion of kernel headers.
61580 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61582         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61583         calls to internal_setent.
61585         [BZ #12885]
61586         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61587         addresses using gethostbyname4_r ignore IPv4 addresses.
61589         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61590         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61592         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61594 2011-06-20  David S. Miller  <davem@davemloft.net>
61596         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61597         inclusions.
61598         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61600         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61601         (elf_irel): Use it.
61602         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61603         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61604         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61605         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61606         * sysdeps/x86_64/dl-irel.h: Likewise.
61608         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61609         * elf/dl-sym.c: Likewise.
61611 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61613         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61614         need to dereference resplen2.
61616 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61618         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61620 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61622         * Makeconfig: Define vardbdir and inst_vardbdir.
61623         * nss/Makefile: Add rules to install db-Makefile.
61625         * nss/nss_db/db-XXX.c: Cleanup.
61627         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61628         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61629         GLIBC_PRIVATE.
61630         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61631         * nss/makedb.c: Implement -g option to specify that value strings
61632         are generated and should not be added to table iterated over for
61633         get*ent calls.
61634         * nss/nss_db/db-initgroups.c: New file.
61636         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61637         interface.
61639         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61640         (internal_getgrouplist): Adjust to name change.
61641         Update use_initgroups_entry if this is not the first call.
61642         * nss/databases.def: Add initgroups entry.
61644         * nss/makedb.c (compute_tables): Check result of multiple hash table
61645         sizes to minimize maximum chain length.
61647 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61649         * Versions.def: Add entry for libnss_db.
61650         * shlib-versions: Likewise.
61651         * nss/Makefile: Add rules to build libnss_db.
61652         * nss/Versions: Add libnss_db information.  Organize libnss_files
61653         entries better.
61654         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61655         makedb progra.  Some minor improvements to generate smaller files.
61656         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61657         here from...
61658         * nss/makedb.c: ...here.
61659         Improve database format to be smaller and require less memory at
61660         runtime.
61661         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61662         db anymore.
61663         * nss/nss_db/db-netgrp.c: Likewise.
61664         * nss/nss_db/db-open.c: Likewise.
61665         * nss/nss_files/flies-XXX.x: Adjust comments.
61666         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61667         * nss/nss_files/files-grp.c: Likewise.
61668         * nss/nss_files/files-hosts.c: Likewise.
61669         * nss/nss_files/files-network.c: Likewise.
61670         * nss/nss_files/files-proto.c: Likewise.
61671         * nss/nss_files/files-pwd.c: Likewise.
61672         * nss/nss_files/files-rpc.c: Likewise.
61673         * nss/nss_files/files-service.c: Likewise.
61674         * nss/nss_files/files-sgrp.c: Likewise.
61675         * nss/nss_files/files-spwd.c: Likewise.
61676         * nss/nss_db/db-alias.c: Removed.
61677         * nss/nss_db/dummy-db.h: Removed.
61679 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61681         * nss/makedb.c: Rewritten to not use database library.
61682         * nss/Makefile: Update to build new makedb program.
61684 2011-06-14  Andreas Jaeger  <aj@suse.de>
61686         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61687         memset declaration.
61689 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61692         tmpbuf.
61694 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61696         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61697         * elf/Makefile ($(objpfx)ld.so): Likewise.
61699         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61700         Don't list ld.so twice in dependencies.
61702         * posix/bug-regex31.c: Include <stdlib.h>.
61704         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61706         * nis/nss_compat/compat-spwd.c
61707         (getspent_next_nss_netgr): Remove unused variable.
61708         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61710         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61711         nonmembers" output to use the right array.
61713         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61715         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61717         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61718         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61719         * catgets/gencat.c (read_input_file): Likewise.
61720         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61722         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61723         variable definition inside #if's controlling its use.
61725         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61727         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61729         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61731         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61732         unreachable code.
61734         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61736         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61737         * configure: Regenerated.
61739         * Makerules: Revert last change.
61740         * elf/Makefile: Likewise.
61742 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61744         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61745         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61746         (reloc-link): Likewise.
61748 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61750         * elf/Makefile: Add rules to build pldd.
61751         * elf/pldd.c: New file.
61752         * elf/pldd-xx.c: New file.
61754 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61756         * version.h: Update for 2.15 development version.
61758 2011-06-07  David S. Miller  <davem@davemloft.net>
61760         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61761         ifuncs.
61762         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61763         elf_machine_lazy_rel): Likewise.
61764         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61766         elf_machine_lazy_rel): Likewise.
61767         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61768         dl_hwcap via passed in argument.
61769         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61770         Likewise.
61772 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61774         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61776 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61778         [BZ #12849]
61779         * manual/fdl-1.1.texi: New file, verbatim from:
61780         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61781         * manual/lgpl-2.1.texi: New file, verbatim from:
61782         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61783         * manual/Makefile (licenses): New variable, list those new file names.
61784         (texis): Use it.
61785         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61787         * manual/fdl.texi: File removed.
61788         * manual/lesser.texi: File removed.
61789         * manual/libc.texinfo (Copying, Documentation License):
61790         Use new @include file names, put @appendix directive before @include.
61792 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61794         [BZ #12841]
61795         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61796         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61797         (mq_open): Add __NTH.
61799 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61802         Assume Intel Core i3/i5/i7 processor if AVX is available.
61804 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61806         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61807         typo.
61809 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61811         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61812         memory.  Use alloca_account.  Fix memory leak when retrying.
61814 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61816         * version.h (RELEASE): Bump for 2.14 release.
61817         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61819         * config.make.in (RANLIB): Remove entry.
61821 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61823         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61824         (libc.pot): Work around missing support for .ksh extension in xgettext.
61826         [BZ #12684]
61827         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61828         if both request failed.
61829         (send_dg): In case of server errors clear resplen or *resplen2.
61831         [BZ #12454]
61832         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61833         when there are multiple maps.
61834         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61835         (_dl_fini): Remove test here.
61837         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61839 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61841         [BZ #12350]
61842         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61843         bit from old_res_options.
61844         (gaih_inet): Likewise.
61846         [BZ #11099]
61847         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61848         as signed.
61850         * resolv/res_init.c (res_setoptions): Make the code more compact.
61852         [BZ #11558]
61853         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61854         set RES_USEVC.
61856         [BZ #11634]
61857         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61859         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61861         [BZ #11781]
61862         * malloc/malloc.h: Declare malloc hook variables as volatile.
61864         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61865         in last patch.
61867         [BZ #11799]
61868         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61869         raise in the comment.
61870         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61871         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61872         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61874 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61876         [BZ #12811]
61877         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61878         grow the buffers more if it already has to be sufficient.
61879         (build_wcs_upper_buffer): Likewise.
61880         * posix/regexec.c (check_matching): Likewise.
61881         (clean_state_log_if_needed): Likewise.
61882         (extend_buffers): Don't enlarge buffers beyond size of the input
61883         buffer.
61884         Patches mostly by Emil Wojak <emil@wojak.eu>.
61885         * posix/bug-regex32.c: New file.
61886         * posix/Makefile (tests): Add bug-regex32.
61888         * locale/findlocale.c (_nl_find_locale): Return right away if
61889         _nl_explode_name failed.
61890         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61892         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61894         * debug/xtrace.sh: Unify messages.
61895         * malloc/memusage.sh: Likewise.
61897         [BZ #12813]
61898         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61899         time symbol from vDSO.  Substitute with vsyscall if not available.
61900         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61901         __vdso_time.
61903         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61904         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61905         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61906         Add sendmmsg and internal_sendmmsg.
61907         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61908         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61909         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61911         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61912         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61913         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61915 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61917         [BZ #12813]
61918         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61919         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61920         available.
61921         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61922         __vdso_getcpu.
61924         [BZ #12814]
61925         * iconvdata/Makefile (tests): Add bug-iconv9.
61926         * iconvdata/bug-iconv9.c: New file.
61928 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61930         [BZ #12814]
61931         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61933 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61935         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61936         (struct user_regs_struct): Change intcs field back to cs.
61938 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61940         * po/ja.po: Update from translation team.
61942 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61944         [BZ #12795]
61945         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61946         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61948 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61950         * stdlib/longlong.h: Update from GCC.
61952 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61954         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61955         parameter name.
61956         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61957         Add parameter name.
61958         (__sysconf): Pass it down.
61960 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61962         [BZ #12671]
61963         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61964         some situations.
61965         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61966         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61967         add in in __libc_use_alloca calls.  Adjust callers.
61968         (glob): Use malloc in some situations.
61970         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61971         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61972         pltexit.
61974 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61976         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61977         and CLOCK_BOOTTIME_ALARM.
61979         [BZ #12782]
61980         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61981         is returned.
61983         * string/_strerror.c (__strerror_r): Print negative errors as signed
61984         numbers.
61986         [BZ #12777]
61987         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61988         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61989         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61991         * configure.in: Fix typo in redirection and correct removal of test
61992         files in two cases.
61994         [BZ #12788]
61995         * locale/setlocale.c (new_composite_name): Fix test to check for
61996         identical name of all categories.
61998         [BZ #12792]
61999         * libio/filedoalloc.c (local_isatty): New function.
62000         (_IO_file_doallocate): Use local_isatty.
62001         * stdio-common/perror.c (perror): In case a new stream is used
62002         forward the stream error.
62003         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62004         error flag.
62006 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
62008         [BZ #11869]
62009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62010         alloca.
62011         * include/alloca.h (extend_alloca_account): Define.
62013         [BZ #11857]
62014         * posix/regex.h: Fix comments with documentation of user-accessible
62015         fields after compilation and describe correct free'ing of pattern
62016         after re_compile_pattern.
62017         Patch by Reuben Thomas <rrt@sc3d.org>.
62019 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
62021         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62022         and -mno-altivec to prevent the compiler from using Altivec and/or
62023         VSX instructions when the corresponding registers are not available.
62025 2011-05-19  Andreas Schwab  <schwab@redhat.com>
62027         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62029 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
62031         * libio/freopen.c (freopen): Use __dup2, not dup2.
62032         * libio/freopen64.c (freopen64): Likewise.
62034 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62036         [BZ #12775]
62037         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62038         * math/Makefile (tests): Add test-powl.
62039         (CFLAGS-test-powl.c): Define.
62040         * math/test-powl.c: New file.
62042 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62044         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62046 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
62048         [BZ #11837]
62049         * iconvdata/gb18030.c: Update to GB18020-2005.
62051 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
62053         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62054         RE_SYNTAX_POSIX_AWK): Update to match recent development.
62055         Patch by Aharon Robbins <arnold@skeeve.com>.
62057         [BZ #11892]
62058         * stdlib/putenv.c (putenv): Don't always create copy of the variable
62059         on the stack.
62061         [BZ #11895]
62062         * misc/pselect.c (__pselect): Handle timeout value errors hidden
62063         through underflows.
62065         [BZ #12766]
62066         * misc/error.c (error_at_line): Ensure file_name and old_file_name
62067         point to strings before performing equality test for error_one_per_line
62068         mode.
62070         [BZ #11697]
62071         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62073         [BZ #11820]
62074         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62075         (struct user_fpregs_struct): Avoid __uint*_t types.
62077         [BZ #6420]
62078         * malloc/mtrace.c (tr_where): Add additional parameter to point to
62079         symbol info.  Use it instead of calling _dl_addr locally.
62080         (lock_and_info): New function.
62081         (tr_freehook): Call lock_and_info and pass symbol info as additional
62082         parameter to tr_where.
62083         (tr_mallochook): Likewise.
62084         (tr_reallochook): Likewise.
62085         (tr_memalignhook): Likewise.
62087         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
62088         used and couldn't be at all thread-safe.
62090 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
62092         * libio/freopen.c (freopen): Don't close old file descriptor
62093         before the new one is opened.  Instead dup the new file descriptor
62094         to the old one after the new stream is created.
62095         * libio/freopen64.c (freopen64): Likewise.
62096         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62097         * libio/fileops.c (_IO_new_file_close_it): Handle new
62098         _IO_FLAGS2_NOCLOSE flag.
62099         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62100         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62101         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62102         _IO_FLAGS2_NOCLOSE flag.
62103         * include/unistd.h: Add hidden_proto for dup3.
62104         Define __have_dup3.
62105         * io/dup3.c: Define hidden symbol.
62106         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62108         [BZ #7101]
62109         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62110         when an incomplete long option is used.
62111         * posix/tst-getopt_long1.c: New file.
62112         * posix/Makefile (tests): Add tst-getopt_long1.
62114         [BZ #10138]
62115         * scripts/config.guess: Update from autoconf-2.68.
62116         * scripts/config.sub: Likewise.
62118         [BZ #10157]
62119         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62120         tests into ...
62121         (has_cpuclock): ...this.  New function.
62122         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62123         macro here based on has_cpuclock code.
62125         [BZ #10149]
62126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62127         First byte (not low byte) is now always NUL.
62128         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62130         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62131         Use non-cancelable interfaces.
62133         [BZ #9809]
62134         * locale/iso-639.def: Add entry for Sorani.
62136         [BZ #11901]
62137         * include/stdlib.h: Move include protection to the right place.
62138         Define abort_msg_s.  Declare __abort_msg with it.
62139         * stdlib/abort.c (__abort_msg): Adjust type.
62140         * assert/assert.c (__assert_fail_base): New function.  Majority
62141         of code from __assert_fail.  Allocate memory for __abort_msg with
62142         mmap.
62143         (__assert_fail): Now call __assert_fail_base.
62144         * assert/assert-perr.c: Remove bulk of implementation.  Use
62145         __assert_fail_base.
62146         * include/assert.hL Declare __assert_fail_base.
62147         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62148         mmap.
62149         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62151 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62153         [BZ #11952]
62154         [BZ #12453]
62155         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62156         until all modules are registered in the DTV.
62157         * elf/Makefile: Add rules to build and run tst-tls19.
62158         * elf/tst-tls19.c: New file.
62159         * elf/tst-tls19mod1.c: New file.
62160         * elf/tst-tls19mod2.c: New file.
62161         * elf/tst-tls19mod3.c: New file.
62162         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62164         [BZ #12083]
62165         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62166         correctly.
62168         [BZ #12601]
62169         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62170         two-byte sequence errors.
62171         * iconvdata/Makefile (tests): Add bug-iconv8.
62172         * iconvdata/bug-iconv8.c: New file.
62174         [BZ #12626]
62175         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62176         buf2 definition.
62178         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62180         [BZ #12432]
62181         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62182         (dummy_getcfa): New function.
62183         (init): Get _Unwind_GetCFA address, use dummy if not found.
62184         (backtrace_helper): In recursion check, also check whether CFA changes.
62185         (__backtrace): Completely initialize arg.
62187         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62188         storing incomplete byte sequence in state object.  Avoid testing for
62189         guaranteed too small input if we know there is enough data available.
62191 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62193         * Makeconfig (+link-pie): Indent.
62194         * Rules (binaries-pie): Define if $(have-fpie) and
62195         $(build-shared).
62196         (binaries-shared): Also filter out $(binaries-pie).
62197         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62198         * nscd/Makefile (others-pie): Add nscd.
62199         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62200         ($(objpfx)nscd): Remove command override.
62201         * login/Makefile (others-pie): Add pt_chown.
62202         ($(objpfx)pt_chown): Remove command override.
62203         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62204         remove command overrides.
62206 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62208         * libio/tst_putwc.c: Fix error messages.
62210         [BZ #12724]
62211         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62212         currently writing and seek to current position when not.
62213         * libio/Makefile (tests): Add bug-fclose1.
62214         * libio/bug-fclose1.c: New file.
62216 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62218         [BZ #12511]
62219         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62220         don't set DF_1_NODELETE here.
62221         (do_lookup_x): When entering new entry test for copy relocation
62222         and if necessary set DF_1_NODELETE flag.
62223         * elf/tst-unique4.cc: New file.
62224         * elf/tst-unique4.h: New file.
62225         * elf/tst-unique4lib.cc: New file.
62226         * elf/Makefile: Add rules to build and run tst-unique4.
62227         Patch by Piotr Bury <pbury@goahead.com>.
62229 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62231         [BZ #12052]
62232         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62234         [BZ #12625]
62235         * misc/mntent_r.c (addmntent): Flush the stream after the output
62237         [BZ #12393]
62238         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62239         (is_trusted_path_normalize): Skip initial colon.  Append slash
62240         to empty buffer.  Duplicate is_trusted_path code but allow
62241         constructed patch to be prefix.
62242         (is_dst): Allow $ORIGIN followed by /.
62243         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62244         Correct testing of result of is_trusted_path_normalize
62245         (decompose_rpath): Fix warning.
62247 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62249         [BZ #11257]
62250         * grp/initgroups.c (internal_getgrouplist): When we found the service
62251         list through the initgroups entry in nsswitch.conf do not always
62252         continue on a successful lookup.  Don't always use the
62253         __nss_group_database value if it is set.
62254         * nss/nsswitch.conf (initgroups): Change action for successful db
62255         lookup to continue for compatibility.
62257 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62259         [BZ #11532]
62260         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62261         and CP774 modules.
62262         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62263         and CP774 modules.
62264         * iconvdata/tst-tables.sh: Likewise.
62265         * iconvdata/cp770.c: New file.
62266         * iconvdata/cp771.c: New file.
62267         * iconvdata/cp772.c: New file.
62268         * iconvdata/cp773.c: New file.
62269         * iconvdata/cp774.c: New file.
62270         * iconvdata/testdata/CP770: New file.
62271         * iconvdata/testdata/CP770..UTF8: New file.
62272         * iconvdata/testdata/CP771: New file.
62273         * iconvdata/testdata/CP771..UTF8: New file.
62274         * iconvdata/testdata/CP772: New file.
62275         * iconvdata/testdata/CP772..UTF8: New file.
62276         * iconvdata/testdata/CP773: New file.
62277         * iconvdata/testdata/CP773..UTF8: New file.
62278         * iconvdata/testdata/CP774: New file.
62279         * iconvdata/testdata/CP774..UTF8: New file.
62281         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62282         END CHARMAP line.
62283         * iconvdata/gen-8bit-gap.sh: Likewise.
62284         * iconvdata/gen-8bit.sh: Likewise.
62286         * locale/iso-639.def: Add ary entry.
62288         [BZ #11258]
62289         * locale/C-translit.h.in: Add U20A1 transliteration.
62291         [BZ #12178]
62292         * locale/iso-639.def: Add wae entry.
62293         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62295         [BZ #12545]
62296         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62297         for n.
62299         [BZ #12711]
62300         * locale/C-translit.h.in: Add entry for U20B9.
62301         Patch by pravin.d.s@gmail.com.
62303 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62305         [BZ #12713]
62306         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62307         ENAMETOOLONG use generic getcwd.
62308         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62309         in rtld.  Use *stat64.
62310         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62311         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62312         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62313         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62314         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62315         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62316         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62317         __fstatat64 macros.
62318         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62319         * dirent/rewinddir.c: Add libc_hidden_def.
62320         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62321         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62323         * include/dirent.h (__alloc_dir): Add flags parameter.
62324         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62325         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62326         __alloc_dir.
62327         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62328         from fdopendir if O_CLOEXEC is already set.
62330 2011-03-15  Alan Modra  <amodra@gmail.com>
62332         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62333         l_tls_firstbyte_offset non-zero.  Save padding offset in
62334         l_tls_firstbyte_offset for later use.
62335         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62336         freeing static tls block.
62338 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62340         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62341         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62342         being defined by the kernel headers.
62344 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62346         [BZ #12734]
62347         * resolv/resolv.h: Define RES_NOTLDQUERY.
62348         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62349         no-tld-query and set RES_NOTLDQUERY.
62350         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62351         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62352         modern BIND to search name as TLD unless forbidden.
62354 2011-05-07  Petr Baudis  <pasky@suse.cz>
62355             Ulrich Drepper  <drepper@gmail.com>
62357         [BZ #12393]
62358         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62359         (is_trusted_path): ...to here.
62360         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62361         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62362         using is_trusted_path_normalize() in setuid scripts.
62364 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62366         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62367         __BEGIN/__END_DECLS.
62369 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62372         NSS_STATUS_NOTFOUND if no record was found.
62374 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62376         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62377         (headers-not-in-tirpc): Remove rpc/netdb.h
62378         * resolv/netdb.h: Revert last change.
62380 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62382         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62383         circular dependency between libgcc.a and libc.a.
62385 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62387         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62388         * nis/Makefile: Don't install rpcsvc/*.
62389         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62390         instead of <rpc/types.h>.
62391         (MAXHOSTNAMELEN): Define.
62393 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62395         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62397 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62399         [BZ #12714]
62400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62401         gethostbyname4_r when IPv6 results are possible.
62403 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62405         [BZ #12723]
62406         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62407         _PC_PIPE_BUF handling.
62409 2011-04-30  Bruno Haible  <bruno@clisp.org>
62411         [BZ #12717]
62412         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62413         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62414         to 'int'.
62415         * inet/getnameinfo.c (getnameinfo): Likewise.
62417 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62419         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62420         to groups setting in database lookup.
62421         * nss/nsswitch.conf: Add initgroups entry.
62423 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62425         [BZ #12685]
62426         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62427         mode string.
62428         Patch by Eric Blake <eblake@redhat.com>.
62430 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62432         * sunrpc/Makefile (need-export-routines): Add svc_run.
62433         (routines): Remove svc_run.
62434         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62435         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62436         * sunrpc/svc_run.c (svc_run): Likewise.
62437         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62439 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62442         problem in reallocation in last patch.
62444 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62446         * sunrpc/Makefile: Move inclusion of Rules.
62448 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62450         * nss/nss_files/files-initgroups.c: New file.
62451         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62452         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62453         _nss_files_initgroups_dyn.
62455 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62457         * elf/elf.h (R_ARM_IRELATIVE): Define.
62459 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62461         * po/ru.po: Update from translation team.
62463 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62465         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62466         dependencies.
62468 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62470         [BZ #12653]
62471         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62472         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62473         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62474         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62477 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62479         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62480         differing bytes.
62481         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62482         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62483         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62485 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62487         [BZ #12420]
62488         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62489         storing it.
62490         * stdlib/bug-getcontext.c: New file.
62491         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62493 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62495         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62496         instructions into .machine "z9-109".
62497         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62498         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62500 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62502         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62503         between environment variables and auxiliary vector.
62505 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62507         * Makefile: Add rules to build linkobj/libc.so.
62508         * include/libc-symbols.h: Define libc_hidden_nolink.
62509         * include/rpc/auth.h: Mark functions which are to be hidden.
62510         * include/rpc/auth_des.h: Likewise.
62511         * include/rpc/auth_unix.h: Likewise.
62512         * include/rpc/clnt.h: Likewise.
62513         * include/rpc/des_crypt.h: Likewise.
62514         * include/rpc/key_prot.h: Likewise.
62515         * include/rpc/pmap_clnt.h: Likewise.
62516         * include/rpc/pmap_prot.h: Likewise.
62517         * include/rpc/pmap_rmt.h: Likewise.
62518         * include/rpc/rpc_msg.h: Likewise.
62519         * include/rpc/svc.h: Likewise.
62520         * include/rpc/svc_auth.h: Likewise.
62521         * include/rpc/xdr.h: Likewise.
62522         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62523         * nss/Makefile: Likewise.
62524         * sunrpc/Makefile: Don't install headers.  Build library with normal
62525         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62526         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62527         for the compat linking library.  Remove use of INTDEF/INTUSE.
62528         * sunrpc/auth_none.c: Likewise.
62529         * sunrpc/auth_unix.c: Likewise.
62530         * sunrpc/authdes_prot.c: Likewise.
62531         * sunrpc/authuxprot.c: Likewise.
62532         * sunrpc/clnt_gen.c: Likewise.
62533         * sunrpc/clnt_perr.c: Likewise.
62534         * sunrpc/clnt_raw.c: Likewise.
62535         * sunrpc/clnt_simp.c: Likewise.
62536         * sunrpc/clnt_tcp.c: Likewise.
62537         * sunrpc/clnt_udp.c: Likewise.
62538         * sunrpc/clnt_unix.c: Likewise.
62539         * sunrpc/des_crypt.c: Likewise.
62540         * sunrpc/des_soft.c: Likewise.
62541         * sunrpc/get_myaddr.c: Likewise.
62542         * sunrpc/key_call.c: Likewise.
62543         * sunrpc/key_prot.c: Likewise.
62544         * sunrpc/netname.c: Likewise.
62545         * sunrpc/pm_getmaps.c: Likewise.
62546         * sunrpc/pm_getport.c: Likewise.
62547         * sunrpc/pmap_clnt.c: Likewise.
62548         * sunrpc/pmap_prot.c: Likewise.
62549         * sunrpc/pmap_prot2.c: Likewise.
62550         * sunrpc/pmap_rmt.c: Likewise.
62551         * sunrpc/publickey.c: Likewise.
62552         * sunrpc/rpc_cmsg.c: Likewise.
62553         * sunrpc/rpc_common.c: Likewise.
62554         * sunrpc/rpc_dtable.c: Likewise.
62555         * sunrpc/rpc_prot.c: Likewise.
62556         * sunrpc/rpc_thread.c: Likewise.
62557         * sunrpc/rtime.c: Likewise.
62558         * sunrpc/svc.c: Likewise.
62559         * sunrpc/svc_auth.c: Likewise.
62560         * sunrpc/svc_authux.c: Likewise.
62561         * sunrpc/svc_raw.c: Likewise.
62562         * sunrpc/svc_run.c: Likewise.
62563         * sunrpc/svc_simple.c: Likewise.
62564         * sunrpc/svc_tcp.c: Likewise.
62565         * sunrpc/svc_udp.c: Likewise.
62566         * sunrpc/svc_unix.c: Likewise.
62567         * sunrpc/svcauth_des.c: Likewise.
62568         * sunrpc/xcrypt.c: Likewise.
62569         * sunrpc/xdr.c: Likewise.
62570         * sunrpc/xdr_array.c: Likewise.
62571         * sunrpc/xdr_float.c: Likewise.
62572         * sunrpc/xdr_intXX_t.c: Likewise.
62573         * sunrpc/xdr_mem.c: Likewise.
62574         * sunrpc/xdr_rec.c: Likewise.
62575         * sunrpc/xdr_ref.c: Likewise.
62576         * sunrpc/xdr_sizeof.c: Likewise.
62577         * sunrpc/xdr_stdio.c: Likewise.
62579 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62581         [BZ #12650]
62582         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62583         * sysdeps/ia64/dl-tls.h: Likewise.
62584         * sysdeps/powerpc/dl-tls.h: Likewise.
62585         * sysdeps/s390/dl-tls.h: Likewise.
62586         * sysdeps/sh/dl-tls.h: Likewise.
62587         * sysdeps/sparc/dl-tls.h: Likewise.
62588         * sysdeps/x86_64/dl-tls.h: Likewise.
62589         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62591 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62593         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62594         rpath element also skip the following colon.
62595         (expand_dynamic_string_token): Add is_path parameter and pass
62596         down to DL_DST_REQUIRED and _dl_dst_substitute.
62597         (decompose_rpath): Call expand_dynamic_string_token with
62598         non-zero is_path.  Ignore empty rpaths.
62599         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62600         with zero is_path.
62602 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62605         Make cancelable.
62607 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62609         [BZ #12655]
62610         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62611         Patch by Filipe David Manana <fdmanana@apache.org>.
62613 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62615         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62616         Maintain aligned stack.
62617         (CHECK_RSP): Remove unused macro.
62619 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62621         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62622         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62624 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62626         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62628         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62630 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62632         [BZ #12518]
62633         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62634         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62635         * sysdeps/x86_64/memmove.c: New file.
62636         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62637         (memcpy): Renamed to ...
62638         (__new_memcpy): This.
62639         (memcpy): Provide GLIBC_2_14 memcpy.
62640         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62641         (memcpy): Provide GLIBC_2_2_5 memcpy.
62643 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62645         [BZ #12631]
62646         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62648 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62650         * misc/syncfs.c: New file.
62651         * misc/Makefile (routines): Add syncfs.
62652         * posix/unistd.h: Declare syncfs.
62653         * sysdeps/unix/syscalls.list: Add syncfs.
62655 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62657         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62658         open_by_handle_at.
62659         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62660         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62661         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62662         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62663         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62664         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62665         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62667 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62669         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62670         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62671         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62673         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62675         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62677         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62678         sync_file_range.c with -fexceptions.
62679         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62680         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62681         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62682         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62683         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62684         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62686         sync_file_range as cancellation point
62687         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62688         now a wrapper around __call_sync_file_range with cancellation handling.
62689         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62690         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62691         function name to __call_sync_file_range.
62692         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62693         Add call_sync_file_range.
62695 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62698         bits/timex.h.
62700 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62702         * iconv/iconv.h: Fix typo in comment.
62703         * io/fcntl.h: Likewise.
62704         * libio/stdio.h: Likewise.
62705         * posix/spawn.h: Likewise.
62706         * posix/unistd.h: Likewise.
62707         * stdlib/stdlib.h: Likewise.
62708         * time/time.h: Likewise.
62709         * wcsmbs/wchar.h: Likewise.
62711         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62712         open_by_handle): Add.
62713         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62714         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62715         Augment a few comments.
62716         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62718         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62719         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62720         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62721         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62722         open_by_handle.
62724         * io/fcntl.h (AT_EMPTY_PATH): Define.
62726 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62728         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62729         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62730         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62731         to...
62732         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62733         * Versions.def: Add GLIBC_2.14.
62734         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62735         Export.
62737 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62739         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62740         round counter.
62741         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62743 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62745         [BZ #12597]
62746         * string/test-strncmp.c (do_page_test): New function.
62747         (check2): Likewise.
62748         (test_main): Call check2.
62749         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62751 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62753         [BZ #12587]
62754         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62755         Handle cache information in CPU leaf 4.
62756         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62758 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62760         [BZ #12583]
62761         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62762         character representation.
62763         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62765 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62767         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62768         END(__isnan) to END(__isnanf) to match function entry point/label
62769         EALIGN(__isnanf,...).
62771 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62773         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62775 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62777         [BZ #12510]
62778         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62779         copy from the symbol referenced in the relocation to initialize the
62780         used variable.
62781         Patch by Piotr Bury <pbury@goahead.com>.
62782         * elf/Makefile: Add rules to build and tst-unique3.
62783         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62784         * elf/tst-unique3.cc: New file.
62785         * elf/tst-unique3.h: New file.
62786         * elf/tst-unique3lib.cc: New file.
62787         * elf/tst-unique3lib2.cc: New file.
62789         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62791 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62793         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62794         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62795         to _start.
62797 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62799         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62800         to-be-loaded object along a path to loader is ld.so.
62802 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62803             Ulrich Drepper  <drepper@gmail.com>
62805         * sysdeps/x86_64/memset.S: After aligning destination, code
62806         branches to different locations depending on the value of
62807         misalignment, when multiarch is enabled. Fix this.
62809 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62811         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62812         Set _x86_64_preferred_memory_instruction for AMD processsors.
62813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62814         Set bit_Prefer_SSE_for_memop for AMD processors.
62816 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62818         * libio/fmemopen.c (fmemopen): Optimize a bit.
62820 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62822         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62824 2011-03-03  Roland McGrath  <roland@redhat.com>
62826         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62828 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62830         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62831         __bzero_ultra1 instead of __memset_ultra1.
62833 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62834             Ulrich Drepper  <drepper@gmail.com>
62836         [BZ #12509]
62837         * include/link.h (struct link_map): Add l_orig_initfini.
62838         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62839         returning unsuccessfully.
62840         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62841         close of a file loaded at startup, restore the original l_initfini
62842         list.
62843         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62844         list, store the pointer.
62845         * elf/Makefile ($(objpfx)noload-mem): New rule.
62846         (noload-ENV): Define.
62847         (tests): Add $(objpfx)noload-mem.
62848         * elf/noload.c: Include <memcheck.h>.
62849         (main): Call mtrace.  Close all opened handles.
62851 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62853         [BZ #12454]
62854         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62855         dependencies are missing.
62857 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62859         Fix __if_freereq crash: Unlike the generic version which uses free,
62860         Hurd needs munmap.
62861         * sysdeps/mach/hurd/ifreq.h: New file.
62863 2011-01-27  Petr Baudis  <pasky@suse.cz>
62864             Ulrich Drepper  <drepper@gmail.com>
62866         [BZ 12445]#
62867         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62868         to extend_alloca().
62869         * stdio-common/bug23.c: New file.
62870         * stdio-common/Makefile (tests): Add bug23.
62872 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62873             Ulrich Drepper  <drepper@gmail.com>
62875         [BZ #12489]
62876         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62877         before performing relro protection.  At old place add assertion
62878         to make sure nothing changed.
62880 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62881             Glauber de Oliveira Costa  <glommer@gmail.com>
62883         * elf/elf.h: Add new ARM TLS relocs.
62885 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62888         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62889         cast from r3.
62890         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62891         'tests' variable.
62892         * sysdeps/wordsize-64/tst-writev.c: New file.
62894 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62896         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62897         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62898         insns in _dl_start to prevent a TOC reference before relocs are
62899         resolved.
62901 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62903         [BZ #12469]
62904         * Makeconfig: Remove RANLIB definition.
62905         * Makerules: Don't use RANLIB.
62906         * aclocal.m4: Remove ranlib test.
62907         * configure.in: No need to check for ranlib.
62908         * elf/rtld-Rules: Don't use RANLIB.
62910 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62912         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62913         protection macro.
62914         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62915         inclusion protection macro.
62917         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62918         SIGRTMIN and SIGRTMAX and print information in that case only when
62919         SIGRTMIN is defined.
62921 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62923         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62924         arginfo fn returning -1.
62926         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62927         and thousands string is zero terminated.
62929 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62931         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62932         sysdeps/unix/sysv/linux/bits/socket.h.
62934 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62936         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62937         (__CPU_COUNT): Remove old macros.
62938         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62939         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62940         (__CPU_ALLOC, __CPU_FREE): Add macros.
62941         (__sched_cpualloc, __sched_cpufree): Add declarations.
62943 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62945         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62946         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62947         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62948         (readdhstai): Return value of addhstaiX call.
62949         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62950         (addgrbyX): Return value returned by cache_addgr.
62951         (readdgrbyname): Return value returned by addgrbyX.
62952         (readdgrbygid): Likewise.
62953         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62954         (addpwbyX): Return value returned by cache_addpw.
62955         (readdpwbyname): Return value returned by addhstbyX.
62956         (readdpwbyuid): Likewise.
62957         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62958         (addservbyX): Return value returned by cache_addserv.
62959         (readdservbyname): Return value returned by addservbyX:
62960         (readdservbyport): Likewise.
62961         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62962         (addhstbyX): Return value returned by cache_addhst.
62963         (readdhstbyname): Return value returned by addhstbyX.
62964         (readdhstbyaddr): Likewise.
62965         (readdhstbynamev6): Likewise.
62966         (readdhstbyaddrv6): Likewise.
62967         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62968         (readdinitgroups): Return value returned by addinitgroupsX.
62969         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62970         (prune_cache): Keep track of timeout value of re-added entries.
62971         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62972         * nscd/nscd.h: Adjust prototypes of readd* functions.
62974 2011-02-04  Roland McGrath  <roland@redhat.com>
62976         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62977         (nis_stats): Likewise.
62978         * nis/nis_modify.c (nis_modify): Likewise.
62979         * nis/nis_remove.c (nis_remove): Likewise.
62980         * nis/nis_add.c (nis_add): Likewise.
62982         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62984         * posix/fnmatch_loop.c: Add some consts.
62986         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62988 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62990         [BZ #12460]
62991         * config.make.in (config-cflags-novzeroupper): Define.
62992         * configure.in: Substitute libc_cv_cc_novzeroupper.
62993         * elf/Makefile (AVX-CFLAGS): Define.
62994         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62995         (CFLAGS-tst-auditmod4a.c): Likewise.
62996         (CFLAGS-tst-auditmod4b.c): Likewise.
62997         (CFLAGS-tst-auditmod6b.c): Likewise.
62998         (CFLAGS-tst-auditmod6c.c): Likewise.
62999         (CFLAGS-tst-auditmod7b.c): Likewise.
63000         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63002 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
63004         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63005         function to the callback.
63006         Patch partly by Jiri Olsa <jolsa@redhat.com>.
63008 2011-02-02  Andreas Schwab  <schwab@redhat.com>
63010         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63011         of errno.
63013 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
63015         [BZ #11724]
63016         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63017         of constructors.
63018         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63019         of destructors.
63020         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63022         [BZ #11724]
63023         * elf/Makefile: Add rules to build and run new test.
63024         * elf/tst-initorder.c: New file.
63025         * elf/tst-initorder.exp: New file.
63026         * elf/tst-initordera1.c: New file.
63027         * elf/tst-initordera2.c: New file.
63028         * elf/tst-initordera3.c: New file.
63029         * elf/tst-initordera4.c: New file.
63030         * elf/tst-initorderb1.c: New file.
63031         * elf/tst-initorderb2.c: New file.
63032         * elf/tst-order-a1.c: New file.
63033         * elf/tst-order-a2.c: New file.
63034         * elf/tst-order-a3.c: New file.
63035         * elf/tst-order-a4.c: New file.
63036         * elf/tst-order-b1.c: New file.
63037         * elf/tst-order-b2.c: New file.
63038         * elf/tst-order-main.c: New file.
63039         New test case by George Gensure <werkt0@gmail.com>.
63041 2010-10-01  Andreas Schwab  <schwab@redhat.com>
63043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63044         decoding ACE if AI_CANONIDN.
63046 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
63048         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63050 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
63052         * version.h (RELEASE): Bump for 2.13 release.
63053         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63055         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63057         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63058         MADV_NOHUGEPAGE.
63059         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63060         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63061         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63062         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63063         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63064         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63066         * posix/getconf.c: Update copyright year.
63067         * catgets/gencat.c: Likewise.
63068         * csu/version.c: Likewise.
63069         * debug/catchsegv.sh: Likewise.
63070         * debug/xtrace.sh: Likewise.
63071         * elf/ldconfig.c: Likewise.
63072         * elf/ldd.bash.in: Likewise.
63073         * elf/sprof.c (print_version): Likewise.
63074         * iconv/iconv_prog.c: Likewise.
63075         * iconv/iconvconfig.c: Likewise.
63076         * locale/programs/locale.c: Likewise.
63077         * locale/programs/localedef.c: Likewise.
63078         * malloc/memusage.sh: Likewise.
63079         * malloc/mtrace.pl: Likewise.
63080         * nscd/nscd.c (print_version): Likewise.
63081         * nss/getent.c: Likewise.
63083         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63084         PF_CAIF, and PF_ALG.
63085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63087 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
63089         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63090         (modules-names): Use them.
63091         (ifunc-test-modules, ifunc-pie-tests): Define.
63092         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63093         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63094         (test-extras): Likewise.
63095         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63096         $(compile-command.c).
63097         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63098         (all-built-dso): Define.
63099         (check-textrel.out, check-execstack.out): Depend on it.
63101         * configure.in: Don't override --enable-multi-arch.
63103 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
63105         [BZ #6812]
63106         * nscd/hstcache.c (tryagain): Define.
63107         (cache_addhst): Return tryagain not notfound for temporary errors.
63108         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63109         failed.
63111 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63113         [BZ #10563]
63114         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63115         to make the syscall.
63116         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63118         [BZ #12378]
63119         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63120         and fall back to matching as normal character if the string ends before
63121         the matching ']' is found.  This is what POSIX requires.
63122         * posix/testfnm.c: Adjust test result.
63123         * posix/globtest.sh: Adjust test result.  Add new test.
63124         * posix/tst-fnmatch.input: Likewise.
63125         * posix/tst-fnmatch2.c: Add new test.
63127 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63129         * elf/Makefile (check-execstack): Revert last change.  Depend on
63130         check-execstack.h.
63131         (check-execstack.h): New target.
63132         (generated): Add check-execstack.h.
63133         * elf/check-execstack.c: Include "check-execstack.h".
63134         (main): Revert last change.
63135         (handle_file): Return zero if GNU_STACK is absent and
63136         DEFAULT_STACK_PERMS doesn't include PF_X.
63138 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63140         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63141         in child fails because the descriptor is already closed.
63142         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63143         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63144         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63146         [BZ #12397]
63147         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63148         syscall.
63150         [BZ #10484]
63151         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63152         temporary buffer used to handle multi lookups locally.
63153         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63155 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63157         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63158         loader is ld.so.
63160 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63162         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63163         alignment for SSE2.
63165 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63167         [BZ #12394]
63168         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63169         characters.  When rounding increased number of integer digits recompute
63170         number of groups.
63171         * stdio-common/tst-grouping.c: New file.
63172         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63174 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63176         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63177         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63179         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63180         void.
63181         * bits/select.h: Likewise.
63183 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63185         * po/ja.po: Update from translation team.
63187 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63189         [BZ #11155]
63190         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63191         implementation just like for lxstat, fxstatat, et al.
63193 2010-12-27  Jim Meyering  <meyering@redhat.com>
63195         [BZ #12348]
63196         * posix/regexec.c (build_trtable): Return failure indication upon
63197         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63199 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63201         [BZ #12201]
63202         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63203         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63204         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63205         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63207         [BZ #12207]
63208         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63210         [BZ #12204]
63211         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63212         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63214 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63216         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63217         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63218         script has SORT_BY_INIT_PRIORITY.
63219         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63220         NO_CTORS_DTORS_SECTIONS is defined.
63221         * elf/soinit.c: Likewise.
63222         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63223         NO_CTORS_DTORS_SECTIONS is defined.
63224         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63225         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63226         * sysdeps/sh/init-first.c: Likewise.
63227         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63229 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63231         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63232         always use the slow path.
63234 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63236         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63237         similar rule which adds the sysdep directories to the header search in
63238         order to pick up the correct platform stackinfo.h.
63239         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63240         perform test if it is, otherwise return successfully without testing.
63241         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63242         DEFAULT_STACK_PERMS define in stackinfo.h.
63243         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63244         defined in stackinfo.h.
63245         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63246         DEFAULT_STACK_PERMS defined in stackinfo.h.
63247         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63248         * sysdeps/ia64/stackinfo.h: Likewise.
63249         * sysdeps/s390/stackinfo.h: Likewise.
63250         * sysdeps/sh/stackinfo.h: Likewise.
63251         * sysdeps/sparc/stackinfo.h: Likewise.
63252         * sysdeps/x86_64/stackinfo.h: Likewise.
63253         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63254         PF_X for powerpc64.  Retain PF_X for powerpc32.
63256 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63258         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63259         accurately.
63260         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63261         GETDENTS_64BIT_ALIGNED.
63263 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63265         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63267 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63269         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63270         _GNU_SOURCE.
63272         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63273         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63274         Remove __restrict.
63275         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63276         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63278 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63280         [BZ #11655]
63281         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63282         are initialized.
63284 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63286         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63288 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63290         * po/it.po: Update from translation team.
63292 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63295         unused codes.
63297 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63299         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63301 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63303         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63304         specially.
63305         (gaih_getanswer_slice): Likewise.
63307 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63311 2010-05-31  Petr Baudis  <pasky@suse.cz>
63313         [BZ #11149]
63314         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63315         silently even in the chroot mode.
63317 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63319         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63320         last patch a bit.  Pretty printing
63322 2010-05-31  Petr Baudis <pasky@suse.cz>
63324         [BZ #10085]
63325         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63326         initialization of skip_initgroups_dyn.
63328 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63330         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63331         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63333 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63335         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63337 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63339         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63340         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63341         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63342         ($(objpfx)tst-fnmatch-mem): New rule.
63343         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63344         * posix/tst-fnmatch.c (main): Call mtrace.
63346 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63349         Support Intel processor model 6 and model 0x2c.
63351 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63353         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63354           signed comparison.
63356 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63358         [BZ #12205]
63359         * string/test-strncasecmp.c (check_result): New function.
63360         (do_one_test): Use it.
63361         (check1): New function.
63362         (test_main): Use it.
63363         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63364         Support strcasecmp and strncasecmp.
63366 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63368         [BZ #12194]
63369         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63370         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63372 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63374         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63375         IFUNC support.
63376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63377         memset-x86-64.
63378         * sysdeps/x86_64/multiarch/bzero.S: New file.
63379         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63380         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63381         * sysdeps/x86_64/multiarch/memset.S: New file.
63382         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63384         Set bit_Prefer_SSE_for_memop for Intel processors.
63385         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63386         Define.
63387         (index_Prefer_SSE_for_memop): Define.
63388         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63390 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63392         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63393         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63395 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63397         [BZ #12191]
63398         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63399         (__x86_64_raw_data_cache_size_half): Likewise.
63400         (__x86_64_raw_shared_cache_size): Likewise.
63401         (__x86_64_raw_shared_cache_size_half): Likewise.
63403         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63404         (__x86_64_raw_data_cache_size_half): Likewise.
63405         (__x86_64_raw_shared_cache_size): Likewise.
63406         (__x86_64_raw_shared_cache_size_half): Likewise.
63407         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63408         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63409         and __x86_64_raw_shared_cache_size_half.  Round
63410         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63411         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63412         to multiple of 256 bytes.
63414 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63416         [BZ #12167]
63417         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63418         of inacessible symlinks.  Verify result of symlink before returning it.
63419         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63420         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63422 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63424         * math/math.h (isinf): Fix typo in comment.
63426 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63428         * po/da.po: Update from translation team.
63430 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63432         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63433         is added to the list.
63435 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63436             Ulrich Drepper  <drepper@gmail.com>
63438         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63439         the global list here.  Move code to...
63440         (_dl_add_to_namespace_list): ...here.  New function.
63441         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63442         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63443         * elf/dl-load.c (lose): Don't remove the element from the list.
63444         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63445         (_dl_map_object): Likewise.
63447 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63449         [BZ #12159]
63450         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63451         into all bytes of SSE register.
63452         Patch by Richard Li <richardpku@gmail.com>.
63454 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63456         [BZ #12140]
63457         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63458         perturbing.
63460 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63462         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63463         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63464         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63465         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63467         submachine.
63468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63470 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63472         * include/dlfcn.h (__RTLD_SECURE): Define.
63473         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63474         mode & __RTLD_SECURE instead.
63475         (open_path): Rename preloaded parameter to secure.
63476         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63477         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63478         * elf/dl-deps.c (openaux): Likewise.
63479         * elf/rtld.c (struct map_args): Remove is_preloaded.
63480         (map_doit): Don't use it.
63481         (dl_main): Likewise.
63482         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63483         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63485 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63487         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63488         (sysd-rules-targets): Remove duplicates.
63489         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63490         rtld-%.$o dependency.
63492 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63494         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63495         _dl_map_object do it.
63497 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63499         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63500         fast fma builtins, define the macros in the C99 standard.
63501         (FP_FAST_FMAF): Likewise.
63502         (FP_FAST_FMAL): Likewise.
63503         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63505         * bits/mathdef.h: Update copyright year.
63506         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63508 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63510         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63511         builtins, define the macros in the C99 standard.
63512         (FP_FAST_FMAF): Likewise.
63513         (FP_FAST_FMAL): Likewise.
63514         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63515         multiply/add.
63516         (FP_FAST_FMAF): Likewise.
63518 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63520         [BZ #3268]
63521         * math/libm-test.inc (fma_test): Some new testcases.
63522         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63523         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63524         y and infinite z.  Do multiplication by C already in long double.
63525         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63527         y and infinite z.  Do bitwise or of inexact bit into u.d.
63528         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63529         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63530         * sysdeps/i386/fpu/s_fma.S: Removed.
63531         * sysdeps/i386/fpu/s_fmal.S: Removed.
63533 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63535         [BZ #3268]
63536         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63538         computation is not scheduled after fetestexcept.  Fix value
63539         of minimum denormal long double.
63541 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63543         [BZ #3268]
63544         * math/libm-test.inc (fma_test): Add some more tests.
63545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63546         correctly.
63548 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63550         * scripts/data/localplt-s390-linux-gnu.data: New file.
63551         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63553 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63555         [BZ #3268]
63556         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63557         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63558         instead of dbl-64.
63559         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63560         inlines.
63561         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63563         if one of x and y is very large and the other is subnormal.
63564         * sysdeps/s390/fpu/s_fmaf.c: New file.
63565         * sysdeps/s390/fpu/s_fma.c: New file.
63566         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63567         * sysdeps/powerpc/fpu/s_fma.S: New file.
63568         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63569         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63570         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63572 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63574         [BZ #3268]
63575         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63576         fma tests.
63577         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63578         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63579         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63580         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63581         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63582         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63583         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63585 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63587         [BZ #12078]
63588         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63589         * posix/bug-regex31.input: Add test case.
63591 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63593         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63594         * posix/bug-regex31.input: New file.
63596         [BZ #12078]
63597         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63598         (parse_sub_exp): Fix last change, use postorder.
63600         * posix/bug-regex31.c: New file.
63601         * posix/Makefile: Add rules to build and run bug-regex31.
63603         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63605         [BZ #12078]
63606         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63608         [BZ #12108]
63609         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63610         to have entries in sys_siglist.
63612         [BZ #12093]
63613         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63614         be NULL.
63616 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63618         [BZ #3268]
63619         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63620         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63621         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63622         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63623         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63624         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63625         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63626         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63627         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63628         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63629         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63630         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63631         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63632         * math/ftestexcept.c (fetestexcept): Likewise.
63633         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63634         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63635         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63636         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63637         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63638         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63639         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63641 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63643         [BZ #12107]
63644         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63645         newline.
63647 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63649         * string/bug-strstr1.c: New file.
63650         * string/Makefile: Add rules to build and run bug-strstr1.
63652 2010-10-05  Eric Blake  <eblake@redhat.com>
63654         [BZ #12092]
63655         * string/str-two-way.h (two_way_long_needle): Always clear memory
63656         when skipping input due to the shift table.
63658 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63660         [BZ #12005]
63661         * malloc/mcheck.c: Handle large requests.
63663         [BZ #12077]
63664         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63665         for strncmp and strncasecmp.
63666         * string/stratcliff.c: Add tests for strcmp and strncmp.
63667         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63669 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63671         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63672         __set_fpscr.
63674 2010-09-30  Andreas Jaeger  <aj@suse.de>
63676         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63677         (CGROUP_SUPER_MAGIC): Define.
63678         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63679         Handle btrfs and cgroup file systems.
63680         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63681         Likewise.
63683 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63685         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63686         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63688 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63690         [BZ #12067]
63691         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63692         trying to locate the ELF header.
63694 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63696         [BZ #11611]
63697         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63698         Mask out sign-bit copies when constructing f_fsid.
63700 2010-09-24  Petr Baudis <pasky@suse.cz>
63702         * debug/stack_chk_fail_local.c: Add missing licence exception.
63703         * debug/warning-nop.c: Likewise.
63705 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63707         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63708         implementing getdents64 using getdents syscall, set d_type if
63709         __ASSUME_GETDENTS32_D_TYPE.
63711 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63713         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63714         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63716 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63718         [BZ #12037]
63719         * posix/unistd.h: Undo change of feature selection for ftruncate from
63720         2010-01-11.
63722 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63724         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63725         detection.
63727 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63729         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63730         fanotify_mark.
63731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63733 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63735         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63736         variables after CHECK_SP call.
63737         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63739 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63740             Ulrich Drepper  <drepper@redhat.com>
63742         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63743         re-relocationg ld.so.
63744         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63745         _dl_init_paths call.
63746         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63747         here anymore.
63749 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63751         * resolv/res_init.c (__res_vinit): Count the default server we added.
63753 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63754             Ulrich Drepper  <drepper@redhat.com>
63756         [BZ #11968]
63757         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63758         (____longjmp_chk): Use %ebx for saving value across system call.
63759         Add unwind info.
63761 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63763         * manual/Makefile: Don't mix pattern rules with normal rules.
63765 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63767         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63768         operation.
63769         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63770         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63771         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63772         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63773         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63774         Likewise.
63776 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63778         [BZ #11979]
63779         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63780         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63782 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63784         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63785         * sysdeps/x86_64/addmul_1.S: Likewise.
63786         * sysdeps/x86_64/lshift.S: Likewise.
63787         * sysdeps/x86_64/mul_1.S: Likewise.
63788         * sysdeps/x86_64/rshift.S: Likewise.
63789         * sysdeps/x86_64/sub_n.S: Likewise.
63790         * sysdeps/x86_64/submul_1.S: Likewise.
63792 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63794         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63795         Define __sched_param instead of SCHED_* and sched_param when
63796         <bits/sched.h> is included with __need_schedparam defined.
63797         * bits/sched.h [__need_schedparam]
63798         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63799         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63800         (__defined_schedparam): Define to 1.
63801         (__sched_param): New structure, identical to sched_param.
63802         (__need_schedparam): Undefine.
63804 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63806         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63807         (epoll_create1): Declare.
63809         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63811 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63813         [BZ #7066]
63814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63815         shifting retval into place.
63817 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63819         * nis/rpcsvc/nis.h: Update copyright notice.
63820         * nis/rpcsvc/nis.x: Likewise.
63821         * nis/rpcsvc/nis_callback.h: Likewise.
63822         * nis/rpcsvc/nis_callback.x: Likewise.
63823         * nis/rpcsvc/nis_object.x: Likewise.
63824         * nis/rpcsvc/nis_tags.h: Likewise.
63825         * nis/rpcsvc/yp.h: Likewise.
63826         * nis/rpcsvc/yp.x: Likewise.
63827         * nis/rpcsvc/ypupd.h: Likewise.
63828         * nis/yp_xdr.c: Likewise.
63829         * nis/ypupdate_xdr.c: Likewise.
63831         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63832         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63833         (pmap_getport): Use __libc_rpc_getport.
63834         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63835         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63836         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63838 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63841         fanotify_mark.
63843 2010-08-27  Roland McGrath  <roland@redhat.com>
63845         * sysdeps/i386/i686/multiarch/Makefile
63846         (CFLAGS-varshift.c): New variable.
63848 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63850         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63851         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63853         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63855         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63857 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63859         * sysdeps/x86_64/strlen.S: Unroll the loop.
63860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63861         strlen-sse2 strlen-sse2-bsf.
63862         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63863         __strlen_no_bsf if bit_Slow_BSF is set.
63864         (__strlen_sse42): Removed.
63865         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63866         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63868 2010-08-25  Roland McGrath  <roland@redhat.com>
63870         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63871         * sysdeps/x86_64/multiarch/varshift.c: New file.
63872         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63873         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63874         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63875         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63877 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63880         strlen-sse2 strlen-sse2-bsf.
63881         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63882         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63883         (__strlen_sse2): Removed.
63884         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63885         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63887         bit_Slow_BSF for Atom.
63888         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63889         (index_Slow_BSF): Define.
63890         (HAS_SLOW_BSF): Define.
63892 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63894         [BZ #10851]
63895         * resolv/res_init.c (__res_vinit): When no server address at all
63896         is given default to loopback.
63898 2010-08-24  Roland McGrath  <roland@redhat.com>
63900         * configure.in: Remove config-name.h generation.
63901         * configure: Regenerated.
63902         * config-name.in: File removed.
63903         * scripts/config-uname.sh: New file.
63904         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63905         ($(objdir)config-name.h): New target.
63907         * sunrpc/rpc_parse.h: Avoid nested comment.
63909 2010-08-24  Richard Henderson  <rth@redhat.com>
63910             Ulrich Drepper  <drepper@redhat.com>
63911             H.J. Lu  <hongjiu.lu@intel.com>
63913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63915         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63916         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63917         _mm_alignr_epi8 with _mm_loadu_si128.
63918         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63919         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63920         (__m128i_shift_right): Removed.
63921         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63922         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63923         * sysdeps/x86_64/multiarch/varshift.h: New file.
63924         * sysdeps/x86_64/multiarch/varshift.S: New file.
63926 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63928         * configure.in: Move assembler checks to before sysdep dir checking.
63930 2010-08-20  Petr Baudis  <pasky@suse.cz>
63932         * LICENSES: Sync the sunrpc license.
63934 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63936         * sunrpc/auth_des.c: Update copyright notice once again.
63937         * sunrpc/auth_none.c: Likewise.
63938         * sunrpc/auth_unix.c: Likewise.
63939         * sunrpc/authdes_prot.c: Likewise.
63940         * sunrpc/authuxprot.c: Likewise.
63941         * sunrpc/bindrsvprt.c: Likewise.
63942         * sunrpc/clnt_gen.c: Likewise.
63943         * sunrpc/clnt_perr.c: Likewise.
63944         * sunrpc/clnt_raw.c: Likewise.
63945         * sunrpc/clnt_simp.c: Likewise.
63946         * sunrpc/clnt_tcp.c: Likewise.
63947         * sunrpc/clnt_udp.c: Likewise.
63948         * sunrpc/clnt_unix.c: Likewise.
63949         * sunrpc/des_crypt.c: Likewise.
63950         * sunrpc/des_soft.c: Likewise.
63951         * sunrpc/get_myaddr.c: Likewise.
63952         * sunrpc/getrpcport.c: Likewise.
63953         * sunrpc/key_call.c: Likewise.
63954         * sunrpc/key_prot.c: Likewise.
63955         * sunrpc/openchild.c: Likewise.
63956         * sunrpc/pm_getmaps.c: Likewise.
63957         * sunrpc/pm_getport.c: Likewise.
63958         * sunrpc/pmap_clnt.c: Likewise.
63959         * sunrpc/pmap_prot.c: Likewise.
63960         * sunrpc/pmap_prot2.c: Likewise.
63961         * sunrpc/pmap_rmt.c: Likewise.
63962         * sunrpc/rpc/auth.h: Likewise.
63963         * sunrpc/rpc/auth_unix.h: Likewise.
63964         * sunrpc/rpc/clnt.h: Likewise.
63965         * sunrpc/rpc/des_crypt.h: Likewise.
63966         * sunrpc/rpc/key_prot.h: Likewise.
63967         * sunrpc/rpc/netdb.h: Likewise.
63968         * sunrpc/rpc/pmap_clnt.h: Likewise.
63969         * sunrpc/rpc/pmap_prot.h: Likewise.
63970         * sunrpc/rpc/pmap_rmt.h: Likewise.
63971         * sunrpc/rpc/rpc.h: Likewise.
63972         * sunrpc/rpc/rpc_des.h: Likewise.
63973         * sunrpc/rpc/rpc_msg.h: Likewise.
63974         * sunrpc/rpc/svc.h: Likewise.
63975         * sunrpc/rpc/svc_auth.h: Likewise.
63976         * sunrpc/rpc/types.h: Likewise.
63977         * sunrpc/rpc/xdr.h: Likewise.
63978         * sunrpc/rpc_clntout.c: Likewise.
63979         * sunrpc/rpc_cmsg.c: Likewise.
63980         * sunrpc/rpc_common.c: Likewise.
63981         * sunrpc/rpc_cout.c: Likewise.
63982         * sunrpc/rpc_dtable.c: Likewise.
63983         * sunrpc/rpc_hout.c: Likewise.
63984         * sunrpc/rpc_main.c: Likewise.
63985         * sunrpc/rpc_parse.c: Likewise.
63986         * sunrpc/rpc_parse.h: Likewise.
63987         * sunrpc/rpc_prot.c: Likewise.
63988         * sunrpc/rpc_sample.c: Likewise.
63989         * sunrpc/rpc_scan.c: Likewise.
63990         * sunrpc/rpc_scan.h: Likewise.
63991         * sunrpc/rpc_svcout.c: Likewise.
63992         * sunrpc/rpc_tblout.c: Likewise.
63993         * sunrpc/rpc_util.c: Likewise.
63994         * sunrpc/rpc_util.h: Likewise.
63995         * sunrpc/rpcinfo.c: Likewise.
63996         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63997         * sunrpc/rpcsvc/key_prot.x: Likewise.
63998         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63999         * sunrpc/rpcsvc/mount.x: Likewise.
64000         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64001         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64002         * sunrpc/rpcsvc/rex.x: Likewise.
64003         * sunrpc/rpcsvc/rstat.x: Likewise.
64004         * sunrpc/rpcsvc/rusers.x: Likewise.
64005         * sunrpc/rpcsvc/sm_inter.x: Likewise.
64006         * sunrpc/rpcsvc/spray.x: Likewise.
64007         * sunrpc/rpcsvc/yppasswd.x: Likewise.
64008         * sunrpc/rtime.c: Likewise.
64009         * sunrpc/svc.c: Likewise.
64010         * sunrpc/svc_auth.c: Likewise.
64011         * sunrpc/svc_authux.c: Likewise.
64012         * sunrpc/svc_raw.c: Likewise.
64013         * sunrpc/svc_run.c: Likewise.
64014         * sunrpc/svc_simple.c: Likewise.
64015         * sunrpc/svc_tcp.c: Likewise.
64016         * sunrpc/svc_udp.c: Likewise.
64017         * sunrpc/svc_unix.c: Likewise.
64018         * sunrpc/svcauth_des.c: Likewise.
64019         * sunrpc/xcrypt.c: Likewise.
64020         * sunrpc/xdr.c: Likewise.
64021         * sunrpc/xdr_array.c: Likewise.
64022         * sunrpc/xdr_float.c: Likewise.
64023         * sunrpc/xdr_mem.c: Likewise.
64024         * sunrpc/xdr_rec.c: Likewise.
64025         * sunrpc/xdr_ref.c: Likewise.
64026         * sunrpc/xdr_sizeof.c: Likewise.
64027         * sunrpc/xdr_stdio.c: Likewise.
64029         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64030         handling.
64032 2010-08-19  Andreas Schwab  <schwab@redhat.com>
64034         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64036 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
64038         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64039         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64040         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64041         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64042         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64043         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64044         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64045         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64046         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64047         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64048         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64049         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64050         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64051         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64053 2010-07-26  Anton Blanchard  <anton@samba.org>
64055         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64056         * malloc/arena.c (heap_trim): Likewise.
64058 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
64060         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64061         here.  Not...
64062         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64063         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64065 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64067         * sysdeps/i386/elf/Makefile: New file.
64069 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64071         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64072         from fanotify_init.
64073         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64074         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64076 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
64078         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64079         of strncasecmp_l.
64080         * sysdeps/multiarch/strcmp.S: Likewise.
64082 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
64084         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64085         strncase_l-nonascii.
64086         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64087         Add strncase_l-ssse3.
64088         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64089         * sysdeps/x86_64/strcmp.S: Likewise.
64090         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64091         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64092         * sysdeps/x86_64/strncase.S: New file.
64093         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64094         * sysdeps/x86_64/strncase_l.S: New file.
64095         * string/Makefile (strop-tests): Add strncasecmp.
64096         * string/test-strncasecmp.c: New file.
64098         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64099         warning.
64101         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64102         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64104 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64106         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64108 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
64110         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64111         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64112         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64114 2010-05-01  Alan Modra  <amodra@gmail.com>
64116         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64117         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64118         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64119         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64120         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64121         tidying.  Don't tail-call __sigjmp_save for static lib.
64122         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64123         save location.
64124         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64125         (CALL_MCOUNT): Add eh info, and nop after bl.
64126         (TAIL_CALL_SYSCALL_ERROR): New macro.
64127         (PSEUDO_RET): Use it.
64128         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64129         Correct save location of integer regs and cr.
64130         (_dl_profile_resolve): Correct cr save location.  Delete nops
64131         after bl when SHARED.  Reduce cfi size a little by better
64132         placement of cfi directives.
64133         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64134         make a stack frame.  Instead use parm save area as a temp.
64135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64136         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64138         Don't make a stack frame for parent, use parm save area.
64139         Increase child stack frame to 112 bytes.  Don't save unused reg,
64140         and adjust reg usage.  Set up cfi on error recovery and
64141         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64143         (__makecontext): Add dummy nop after jump to exit.
64144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64145         Use correct parm save area and cr save, reduce stack frame.
64146         Correct cfi for possible PSEUDO_RET frame setup.
64147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64148         Branch to local label emitted by PSEUDO_RET rather than
64149         __syscall_error.
64151 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64153         [BZ #11904]
64154         * locale/programs/locale.c (print_assignment): New function.
64155         (show_locale_vars): Use it.
64157 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64159         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64160         field.
64161         (struct statfs64): Likewise.
64162         (_STATFS_F_FLAGS): Define.
64163         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64164         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64165         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64166         (ST_VALID): Define locally.
64167         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64168         __statvfs_getflags, use the provided value.
64169         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64170         __ASSUME_STATFS_F_FLAGS.
64172         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64174         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64175         Add sys/fanotify.h.
64176         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64177         fanotify_mask for GLIBC_2.13.
64178         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64179         fanotify_init and fanotify_mark.
64180         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64181         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64183         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64184         Add prlimit.
64185         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64186         prlimit64 for GLIBC_2.13.
64187         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64188         prlimit64.
64189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64190         syscall.
64191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64192         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64193         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64194         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64196         add prlimit alias.
64197         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64199         [BZ #11903]
64200         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64201         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64203         * nss/Makefile: Add rules to build and run tst-nss-test1.
64204         * shlib-versions: Add entry for libnss_test1.
64205         * nss/nss_test1.c: New file.
64206         * nss/tst-nss-test1.c: New file.
64208         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64209         (__nss_configure_lookup): Set appropriate entry in
64210         __nss_configure_lookup to true.
64211         * nss/nsswitch.h: Define enum with indeces of databases in
64212         databases and __nss_database_custom arrays.  Declare
64213         __nss_database_custom.
64214         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64215         to avoid using nscd when custom rules are installed.
64216         * nss/getXXbyYY_r.c: Likewise.
64217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64219         * nss/nss_files/files-parse.c: Whitespace fixes.
64221 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64223         [BZ #11883]
64224         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64225         * posix/fnmatch_loop.c: Likewise.
64227 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64229         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64230         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64231         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64232         * Versions.def [GLIBC_2.13]: Add.
64234 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64236         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64237         Also fail if tpwd after pwuid call is NULL.
64239 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64241         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64242         when converting to ms.
64244 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64246         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64247         EOPNOTSUPP errors with ENOTTY.
64248         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64249         EOPNOTSUPP errors with ENOTTY.
64251 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64253         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64254         Add strcasecmp_l-ssse3.
64255         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64256         strcasecmp.
64257         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64258         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64259         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64261 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64263         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64265         * string/Makefile (strop-tests): Add strcasecmp.
64266         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64267         strcasecmp_l-nonascii.
64268         (gen-as-const-headers): Add locale-defines.sym.
64269         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64270         * sysdeps/x86_64/strcasecmp.S: New file.
64271         * sysdeps/x86_64/strcasecmp_l.S: New file.
64272         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64273         * sysdeps/x86_64/locale-defines.sym: New file.
64274         * string/test-strcasecmp.c: New file.
64276         * string/test-strcasestr.c: Test both ends of the range of characters.
64277         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64279 2010-07-29  Roland McGrath  <roland@redhat.com>
64281         [BZ #11856]
64282         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64284 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64286         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64287         for ld.so.
64289 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64291         * manual/memory.texi (Malloc Tunable Parameters): Document
64292         M_PERTURB.
64294 2010-07-26  Roland McGrath  <roland@redhat.com>
64296         [BZ #11840]
64297         * configure.in (-fgnu89-inline check): Set and substitute
64298         gnu89_inline, not libc_cv_gnu89_inline.
64299         * configure: Regenerated.
64300         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64302 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64304         * string/test-strnlen.c: New file.
64305         * string/Makefile (strop-tests): Add strnlen.
64306         * string/tester.c (test_strnlen): Add a few more test cases.
64307         * string/tst-strlen.c: Better error reporting.
64309         * sysdeps/x86_64/strnlen.S: New file.
64311 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64313         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64314         lower-latency instructions.
64316 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64318         * string/test-strcasestr.c: New file.
64319         * string/test-strstr.c: New file.
64320         * string/Makefile (strop-tests): Add strstr and strcasestr.
64321         * string/str-two-way.h: Don't undefine MAX.
64322         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64324 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64326         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64327         strcasestr-nonascii.
64328         (CFLAGS-strcasestr-nonascii.c): Define.
64329         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64330         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64331         Remove unused attribute.
64333 2010-07-20  Roland McGrath  <roland@redhat.com>
64335         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64336         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64337         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64338         like LD_HWCAP_MASK can disable hwcaps.
64340 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64342         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64344 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64346         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64347         call in strcasestr.
64348         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64349         __strcasestr_sse42_nonascii.
64350         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64351         strcasestr-nonascii.c.
64352         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64354 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64356         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64357         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64358         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64359         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64361 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64363         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64364         fcntl.
64366 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64368         [BZ #11577]
64369         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64370         dl_signal_cerror.
64372 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64374         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64375         _PC_PIPE_BUF using F_GETPIPE_SZ.
64377 2010-07-05  Roland McGrath  <roland@redhat.com>
64379         * manual/arith.texi (Rounding Functions): Fix rint description
64380         implicit in round description.
64382 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64384         * elf/Makefile: Fix linking for a few tests to make recent linker
64385         happy.
64387 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64389         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64390         $(common-objpfx)libc_nonshared.a.
64392 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64394         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64395         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64396         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64397         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64398         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64399         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64400         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64401         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64416         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64417         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64418         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64419         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64420         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64421         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64422         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64423         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64424         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64425         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64426         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64427         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64443 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64445         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64446         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64447         * string/memmove.c (memmove): Renamed to ...
64448         (MEMMOVE): ...this.  Default to memmove.
64449         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64450         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64451         (END_CHK): Define.
64452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64453         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64454         mempcpy-ssse3-back memmove-ssse3-back.
64455         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64456         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64458         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64459         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64460         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64461         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64462         * sysdeps/x86_64/multiarch/memmove.c: New file.
64463         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64464         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64465         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64466         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64468         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64469         Define.
64470         (index_Fast_Copy_Backward): Define.
64471         (HAS_ARCH_FEATURE): Define.
64472         (HAS_FAST_REP_STRING): Define.
64473         (HAS_FAST_COPY_BACKWARD): Define.
64475 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64477         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64478         Restore proper fallback handling.
64480 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64482         [BZ #11701]
64483         * posix/group_member.c (__group_member): Correct checking loop.
64485         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64486         OOM in getpwuid_r correctly.  Return error number when the caller
64487         should return, otherwise -1.
64488         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64489         call returning > 0 value.
64490         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64492 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64494         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64495         libc_nonshared.a from targets in modules-names.
64497 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64499         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64500         requires it.
64502 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64504         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64505         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64506         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64507         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64509 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64511         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64513 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64515         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64516         and F_GETPIPE_SZ.
64517         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64518         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64522         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64524 2010-06-14  Roland McGrath  <roland@redhat.com>
64526         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64528 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64530         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64531         __REDIRECT followed by __THROW.
64532         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64533         * posix/getopt.h (getopt): Likewise.
64535 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64537         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64538         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64539         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64540         in AT_FLAGS.
64541         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64542         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64544 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64546         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64548 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64550         [BZ #11640]
64551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64552         Properly check family and model.
64554 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64556         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64558 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64560         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64562 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64564         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64565         symbol reference.
64567 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64569         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64570         symbol reference.
64572 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64574         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64575         and internal_recvmmsg.
64576         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64577         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64578         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64579         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64581         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64582         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64583         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64585 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64587         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64589 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64591         POWER7 optimizations.
64592         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64593         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64595 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64597         * version.h: Update for 2.13 development version.
64599 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64601         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64602         exceptions.  Return 0.
64604 2010-05-07  Roland McGrath  <roland@redhat.com>
64606         * elf/ldconfig.c (main): Add a const.
64608 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64610         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64611         (args_options): Add no-idn option.
64612         (ahosts_keys_int): Add idn_flags to ai_flags.
64613         (parse_option): Handle 'i' option to clear idn_flags.
64615         * malloc/malloc.c (_int_free): Possible race in the most recently
64616         added check.  Only act on the data if no current modification
64617         happened.
64619 See ChangeLog.17 for earlier changes.