Fix i386 atanhl spurious underflows (bug 18049).
[glibc.git] / ChangeLog
blob0a5ef3b4a047ffaf69ec0a67ce6c2a73499e8c65
1 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18049]
4         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5         below -32, return the argument, with underflow if subnormal.
6         * math/auto-libm-test-in: Add more tests of atanh.
7         * math/auto-libm-test-out: Regenerated.
9 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11         [BZ #18434]
12         * nptl/tst-sem15.c: New file.
13         * nptl/Makefile (tests): Add it.
14         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15         s/<</>>/ to fix typo in EOVERFLOW check.
16         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20         * manual/strings.texi (envz_remove): Fix typo in safety
21         annotations.
23 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24             Steve Ellcey  <sellcey@imgtec.com>
26         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27         in order to avoid strict alias warnings.
28         (iruserok_af): Ditto for ra.
30 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32         [BZ #17581]
33         * malloc/hooks.c
34         (magicbyte): Convert to a function and avoid returning 0x01.
35         (mem2mem_check): Avoid using a length byte equal to the magic byte.
36         (mem2chunk_check): Fix unsigned comparisons to zero.
37         Hoist defs of sz and magic.
39 2015-05-19  Richard Henderson  <rth@redhat.com>
41         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
43         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47         [BZ #16159]
48         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
49         * malloc/arena.c (arena_lock): Check if arena is corrupt.
50         (reused_arena): Find a non-corrupt arena.
51         (heap_trim): Pass arena to unlink.
52         * malloc/hooks.c (malloc_check_get_size): Pass arena to
53         malloc_printerr.
54         (top_check): Likewise.
55         (free_check): Likewise.
56         (realloc_check): Likewise.
57         * malloc/malloc.c (malloc_printerr): Add arena argument.
58         (unlink): Likewise.
59         (munmap_chunk): Adjust.
60         (ARENA_CORRUPTION_BIT): New macro.
61         (arena_is_corrupt): Likewise.
62         (set_arena_corrupt): Likewise.
63         (sysmalloc): Use mmap if there are no usable arenas.
64         (_int_malloc): Likewise.
65         (__libc_malloc): Don't fail if arena_get returns NULL.
66         (_mid_memalign): Likewise.
67         (__libc_calloc): Likewise.
68         (__libc_realloc): Adjust for additional argument to
69         malloc_printerr.
70         (_int_free): Likewise.
71         (malloc_consolidate): Likewise.
72         (_int_realloc): Likewise.
73         (_int_memalign): Don't touch corrupt arenas.
74         * malloc/tst-malloc-backtrace.c: New test case.
76         * Makefile (summarize-tests): Fix return value on success.
78         * manual/string.texi (Envz Functions): Add envz_remove.
80 2015-05-18  Roland McGrath  <roland@hack.frob.com>
82         * sysdeps/posix/opendir.c: Include <stdbool.h>.
83         (invalid_name): New function, broken out of ...
84         (__opendirat): ... here.  Call it.
85         (need_isdir_precheck): New function, broken out of ...
86         (__opendirat): ... here.  Call it.
87         Use __fxstatat64, not __xstatat64.
88         (opendir_oflags): New function, broken out of ...
89         (__opendirat): ... here.  Call it.
90         (opendir_tail): New function, broken out of ...
91         (__opendirat): ... here.  Call it.
92         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
93         opendir_tail, rather than punting to __opendirat.
94         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
96 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
98         * .gitignore: Ignore generated *.pyc.
100 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
102         * include/stdio.h: Define __need_wint_t.
103         * test-skeleton.c: Avoid `for' loop initial declaration.
104         * nptl/tst-initializers1.c: Use test-skeleton.c.
106 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
108         [BZ #18418]
109         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
111 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
113         [BZ #16352]
114         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
115         (__ieee754_atanh): Force underflow exception for results with
116         small absolute value.
117         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
118         (__ieee754_atanhf): Force underflow exception for results with
119         small absolute value.
120         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
121         (__ieee754_atanh): Force underflow exception for results with
122         small absolute value.
123         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
124         (__ieee754_atanhf): Force underflow exception for results with
125         small absolute value.
126         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
127         (__ieee754_atanhl): Force underflow exception for results with
128         small absolute value.
129         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
130         (__ieee754_atanhl): Force underflow exception for results with
131         small absolute value.
132         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
133         (__ieee754_atanhl): Force underflow exception for results with
134         small absolute value.
135         * math/auto-libm-test-in: Do not allow missing underflow
136         exceptions from atanh.
137         * math/auto-libm-test-out: Regenerated.
139         [BZ #18221]
140         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
141         2**-28 as threshold for returning x or +/- 1/x.
142         * math/auto-libm-test-in: Add more tests of tan.
143         * math/auto-libm-test-out: Regenerated.
145         [BZ #18220]
146         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
147         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
148         * math/auto-libm-test-in: Add another test of lgamma.
149         * math/auto-libm-test-out: Regenerated.
151 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
153         * stdio-common/printf_fp.c (___printf_fp): Use abs.
154         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
155         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
156         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
157         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
158         (ADD2A): Use fabs.  (SUB2A): Use fabs.
159         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
160         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
162         (log1): Use fabs.  (my_log2): Use fabs.
163         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
164         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
165         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
166         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
167         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
168         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
169         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
170         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
171         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
172         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
173         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
175 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
177         [BZ #18217]
178         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
179         as threshold for returning 1 - x.
180         * math/auto-libm-test-in: Add more tests of erfc.
181         * math/auto-libm-test-out: Regenerated.
183 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
185         [BZ #18196]
186         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
187         threshold for large arguments.
188         * math/auto-libm-test-in: Add another test of atan.
189         * math/auto-libm-test-out: Regenerated.
191         [BZ #16339]
192         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
193         (__log1p): Force underflow exception for results with small
194         absolute value.
195         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
196         (__log1pf): Force underflow exception for results with small
197         absolute value.
198         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
199         (__log1p): Force underflow exception for results with small
200         absolute value.
201         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
202         (__log1pf): Force underflow exception for results with small
203         absolute value.
204         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
205         (__log1pl): Force underflow exception for results with small
206         absolute value.
207         * math/auto-libm-test-in: Do not allow missing underflow
208         exceptions from log1p.
209         * math/auto-libm-test-out: Regenerated.
211 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
212             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
214         [BZ #16704]
215         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
217 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
219         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
220         (libmvec): New variable.
221         * configure.ac: Added option for mathvec build.
222         * configure: Regenerated.
223         * mathvec/Depend: New file.
224         * mathvec/Makefile: New file.
225         * shlib-versions: Added libmvec.
226         * math/Makefile: Added rule for libm.so installation.
228         * bits/math-vector.h: New file.
229         * bits/libm-simd-decl-stubs.h: New header.
230         * math/Makefile (headers): Added new header
231         libm-simd-decl-stubs.h.
232         * math/math.h (__MATHCALL_VEC): New macro.
234         * math/gen-libm-have-vector-test.sh: Script generates series of macros
235         for conditions in testing functions.
236         * math/Makefile: Added call of libm-have-vector-test.sh.
237         * math/libm-test.inc (HAVE_VECTOR): New macros.
239         * math/libm-test.inc: START refactored.
240         * math/test-double.c (TEST_MATHVEC): Add define.
241         * math/test-float.c: Likewise.
242         * math/test-idouble.c: Likewise.
243         * math/test-ifloat.c: Likewise.
244         * math/test-ildoubl.c: Likewise.
245         * math/test-ldouble.c: Likewise.
246         * sysdeps/generic/math-tests-arch.h
247         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
248         architecture check.
250         * math/test-double.c (FUNC_TEST): New macro.
251         * math/test-float.c: Likewise.
252         * math/test-idouble.c: Likewise.
253         * math/test-ifloat.c: Likewise.
254         * math/test-ildoubl.c: Likewise.
255         * math/test-ldouble.c: Likewise.
256         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
258 2015-05-13  Roland McGrath  <roland@hack.frob.com>
260         * sysdeps/nacl/fdopendir.c: New file.
262         * dirent/scandir-tail.c: New file.
263         * dirent/scandir64-tail.c: New file.
264         * dirent/Makefile (routines): Add them.
265         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
266         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
267         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
268         [!SCANDIR] (SCANDIR_TAIL): New macro.
269         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
270         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
271         (SCANDIRAT): Macro removed.
272         (SCANDIR_TAIL): New macro.
273         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
274         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
275         (SCANDIRAT): Just call __opendirat and __scandir_tail.
276         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
277         (READDIR): Macro removed.
278         (SCANDIR_TAIL): New macro.
279         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
280         (SCANDIR_TAIL): New macro.
282         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
283         * dirent/scandir-cancel.c: ... to this new file.
284         * dirent/Makefile (routines): Add it.
285         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
286         * sysdeps/unix/sysv/linux/i386/scandir64.c
287         (SKIP_SCANDIR_CANCEL): Macro removed.
288         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
290         * dirent/tst-scandir.c: New file.
291         * dirent/tst-scandir64.c: New file.
292         * dirent/Makefile (tests): Add them.
294 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
296         [BZ #18409]
297         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
299 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
301         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
302         list.
304 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
306         * benchtests/bench-strcoll.c: New benchmark.
307         * benchtests/Makefile: Generate locales and run benchmark.
308         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
309         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
310         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
311         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
312         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
313         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
314         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
315         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
316         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
317         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
318         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
319         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
320         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
321         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
322         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
323         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
324         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
325         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
326         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
327         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
328         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
329         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
330         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
331         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
333 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
335         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
338 2015-05-12  Roland McGrath  <roland@hack.frob.com>
340         * posix/uname-values.h: New file.
341         * posix/uname.c: Include that instead of <config-name.h>.
342         * sysdeps/nacl/uname-values.h: New file.
343         * sysdeps/arm/nacl/uname-values.h: New file.
345 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
347         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
348         splitting into fields.
350 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
352         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
353         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
354         * locale/localeinfo.h: Add enum collation_encoding_type.
355         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
356         * programs/ld-collate.c (collate_output): Add encoding type info.
357         * string/strcoll_l.c (STRDIFF): New function.
358         * (STRCOLL): Use STRDIFF to skip over equal prefix.
359         * wcsmbs/wcscoll_l.c: Define STRDIFF.
361 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
363         [BZ #18397]
364         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
365         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
366         <fpu_control.h> instead of <math/fpu_control.c>.
367         * sysdeps/mips/mips32/fpu/Makefile: New file.
369 2015-05-11  Andreas Schwab  <schwab@suse.de>
371         [BZ #18007]
372         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
373         nss_endgrent.
374         (_nss_compat_endgrent): Call nss_endgrent.
375         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
376         nss_endpwent.
377         (_nss_compat_endpwent): Call nss_endpwent.
378         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
379         needent, call nss_setspent only if non-zero.
380         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
381         (internal_endspent): Don't call nss_endspent.
382         (_nss_compat_endspent): Call nss_endspent.
383         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
384         Remove.  All uses removed.
385         (internal_setent): Remove parameter stayopen, add parameter
386         stream.  Use it instead of global variable.
387         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
388         (internal_endent, internal_getent): Add parameter stream.  Use it
389         instead of global variable.
390         (CONCAT(_nss_files_end,ENTNAME))
391         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
392         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
393         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
394         uses removed.
395         (internal_setent, internal_endent): Add parameter stream.  Use it
396         instead of global variable.
397         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
398         stream.
399         (get_next_alias): Add parameter stream.
400         (_nss_files_getaliasent_r): Pass global stream.
401         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
402         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
403         (_nss_files_gethostbyname4_r): Pass local stream to
404         internal_setent, internal_getent and internal_endent.  Remove
405         locking.
407 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
409         * tst-strfmon1.c (tests): Update expected currency symbol.
411 2015-05-08  Roland McGrath  <roland@hack.frob.com>
413         * sysdeps/nacl/gethostname.c: New file.
415 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
417         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
418         and sinh.
419         * math/auto-libm-test-out: Regenerated.
420         * sysdeps/i386/fpu/libm-test-ulps: Update.
421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
423 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
425         [BZ #18125]
426         * stdlib/tst-setcontext3.c: New file.
427         * stdlib/tst-setcontext3.sh: New file.
428         * stdlib/Makefile (tests): Add tst-setcontext3.
429         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
430         to verify test program created output file.
431         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
432         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
433         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
434         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
436 2015-05-06  Roland McGrath  <roland@hack.frob.com>
438         [BZ #18383]
439         * elf/tst-tlsalign.c: New file.
440         * elf/tst-tlsalign-static.c: New file.
441         * elf/tst-tlsalign-lib.c: New file.
442         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
443         (tests-static): Add tst-tlsalign-static.
444         (modules-names): Add tst-tlsalign-lib.
445         (test-xfail-tst-tlsalign): New variable.
446         (test-xfail-tst-tlsalign-static): New variable.
448         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
449         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
451 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
453         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
454         csqrt, erfc, sin and sincos.
455         * math/auto-libm-test-out: Regenerated.
456         * sysdeps/i386/fpu/libm-test-ulps: Update.
457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
459 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
461         * sysdeps/aarch64/libm-test-ulps: Update.
463 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
465         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
466         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
467         * math/auto-libm-test-out: Regenerated.
468         * sysdeps/i386/fpu/libm-test-ulps: Update.
469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
471 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
473         [BZ #18265]
474         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
475         (wcsncpy): Likewise.
477 2015-05-05  Florian Weimer  <fweimer@redhat.com>
479         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
480         Assume __ASSUME_FALLOCATE is always true.
481         * sysdeps/unix/sysv/linux/posix_fallocate64.c
482         (__posix_fallocate64_l64): Likweise.
483         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
484         (posix_fallocate): Likewise.
485         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
486         (__posix_fallocate64_l64): Likewise.
487         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
488         [!__ASSUME_FALLOCATE]: Add comment.
490 2015-05-05  Florian Weimer  <fweimer@redhat.com>
492         * sysdeps/unix/sysv/linux/i386/Makefile
493         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
494         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
495         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
496         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
497         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
498         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
499         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
501 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
503         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
504         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
505         tgamma.
506         * math/auto-libm-test-out: Regenerated.
507         * sysdeps/i386/fpu/libm-test-ulps: Update.
508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
510 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
512         * math/auto-libm-test-in: Add more tests of tgamma.
513         * math/auto-libm-test-out: Regenerated.
514         * sysdeps/i386/fpu/libm-test-ulps: Update.
515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
517         * math/auto-libm-test-in: Add more tests of tanh.
518         * math/auto-libm-test-out: Regenerated.
519         * sysdeps/i386/fpu/libm-test-ulps: Update.
520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
522         * math/auto-libm-test-in: Add more tests of tan.
523         * math/auto-libm-test-out: Regenerated.
524         * sysdeps/i386/fpu/libm-test-ulps: Update.
525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
527         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
528         * math/auto-libm-test-out: Regenerated.
529         * sysdeps/i386/fpu/libm-test-ulps: Update.
530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
532         * math/auto-libm-test-in: Add another test of pow.
533         * math/auto-libm-test-out: Regenerated.
534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
536         * math/auto-libm-test-in: Add more tests of lgamma.
537         * math/auto-libm-test-out: Regenerated.
538         * sysdeps/i386/fpu/libm-test-ulps: Update.
539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
542         log1p.
543         * math/auto-libm-test-out: Regenerated.
544         * sysdeps/i386/fpu/libm-test-ulps: Update.
545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
547 2015-05-01  Mark Wielaard  <mjw@redhat.com>
549         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
550         Elf64_Chdr structs and ELFCOMPRESS constants.
552 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
554         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
555         expm1.
556         * math/auto-libm-test-out: Regenerated.
557         * sysdeps/i386/fpu/libm-test-ulps: Update.
558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
560         * math/auto-libm-test-in: Add more tests of erf and erfc.
561         * math/auto-libm-test-out: Regenerated.
562         * sysdeps/i386/fpu/libm-test-ulps: Update.
563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
565 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
567         * config.h.in (HAVE_AARCH64_BE): Add.
569 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
571         * math/auto-libm-test-in: Add more tests of csqrt.
572         * math/auto-libm-test-out: Regenerated.
573         * sysdeps/i386/fpu/libm-test-ulps: Update.
574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
576         * math/auto-libm-test-in: Add more tests of cosh and sinh.
577         * math/auto-libm-test-out: Regenerated.
578         * sysdeps/i386/fpu/libm-test-ulps: Update.
579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
581         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
583 2015-04-29  Roland McGrath  <roland@hack.frob.com>
585         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
586         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
588         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
589         (euidaccess, eaccess): Define as weak aliases.
591         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
592         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
593         but __suseconds_t is often 'long int' so some sources assume that
594         type is being used (e.g. they use %ld to print tv_usec).
596 2015-04-29  Florian Weimer  <fweimer@redhat.com>
598         [BZ #18007]
599         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
600         (CVE-2014-8121)
601         * nss/tst-nss-getpwent.c: New file.
602         * nss/Makefile (tests): Add new test.
604 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
606         [BZ #18346]
607         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
608         exponents less than 48 as cases where high part of mantissa needs
609         examining to determine whether argument is integral.
610         * math/libm-test.inc (round_test_data): Add more tests.
612 2015-04-28  Mark Wielaard  <mjw@redhat.com>
614         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
616 2015-04-27  David S. Miller  <davem@davemloft.net>
618         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
619         __tls_get_addr.
620         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
622 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
624         [BZ#18333]
625         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
627 2015-04-27  Florian Weimer  <fweimer@redhat.com>
629         [BZ#18333]
630         * time/tzset.c (parse_tzname): Return error on memory allocation
631         failure.
632         * test-skeleton.c (struct temp_name_list): Change type of name
633         member to non-const.
634         (add_temp_file): Create a copy of the file name.
635         (delete_temp_files): Deallocate memory.
636         (create_temp_file): Add comment.
638 2015-04-24  Florian Weimer  <fweimer@redhat.com>
640         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
641         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
643 2015-04-24  Roland McGrath  <roland@hack.frob.com>
645         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
646         * sysdeps/arm/configure: Regenerated.
648 2015-04-24  Florian Weimer  <fweimer@redhat.com>
650         [BZ #17715]
651         * time/tzfile.c (__tzfile_read): Check for large values of
652         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
653         * time/tzset.c (__tzstring_len): New function, based on the old
654         __tzstring function.
655         (__tzstring): Call __tzstring_len.
656         (parse_tzname): New helper function extracted from
657         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
658         the input string.
659         (parse_offset): New helper function extracted from
660         __tzset_parse_tz.  Replace switch with fallthrough with
661         initialization before sscanf.
662         (parse_rule): Likewise.
663         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
664         new-style function definition.
665         * timezone/Makefile (tests): Add tst-tzset.
666         (tst-tzset.out): Dependencies on time zone files.
667         (tst-tzset-ENV): Set TZDIR.
668         (testdata/XT%): Copy crafted time zone files.
669         * timezone/README: Mention crafted time zone files.
670         * timezone/testdata/XT1, timezone/testdata/XT2,
671         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
672         files.
673         * timezone/tst-tzset.c: New test.
675 2015-04-24  Florian Weimer  <fweimer@redhat.com>
677         * Makeconfig (+gccwarn): Remove -Winline.
679 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
681         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
683 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
685         * NEWS: Mention sysconf() cache information support for s390.
686         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
688 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
690         * math/k_casinh.c (__kernel_casinh): Use __copysign.
691         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
692         (__nearbyint): Likewise.
693         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
694         (copysignl): Likewise.
696 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
698         [BZ #18287]
699         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
700         based on padding.  (CVE-2015-1781)
702 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
704         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
705         libc-vdso.h.
706         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
707         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
708         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
709         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
710         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
711         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
715         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
717         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
718         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
719         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
720         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
721         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
722         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
723         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
724         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
725         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
726         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
727         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
728         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
730 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
732         * stdlib/setenv.c (__add_to_environ):
733         Dump core quickly if setenv (..., NULL, ...) is called.
734         This time, do it the right way, and pacify GCC with a pragma.
736 2015-04-17  Roland McGrath  <roland@hack.frob.com>
738         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
739         IMAP->l_prev cannot be null, and #if out the code for the contrary
740         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
741         believe that NS (&_dl_ns[NSID]) could point outside the array.
743         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
744         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
745         before using NSID as an index.
747 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
749         [BZ #17825]
750         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
751         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
752         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
754 2015-04-17  Roland McGrath  <roland@hack.frob.com>
756         Add preliminary port to Google Native Client on ARM.
757         * abi-tags (.*-.*-nacl.*): New entry.
758         * sysdeps/arm/nacl: New directory.
759         * sysdeps/nacl: New directory.
761 2015-04-16  David S. Miller  <davem@davemloft.net>
763         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
764         lowlevellock-futex.h
766 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
768         * sysdeps/tile/configure.ac: New file.
769         * sysdeps/tile/configure: Regenerated.
771 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
773         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
774         conditionals for weak_alias and libc_hidden_weak.
775         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
776         libc_hidden_weak and weak_alias.
777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
778         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
779         and weak_alias for static one.
781 2015-04-15  David S. Miller  <davem@davemloft.net>
783         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
785 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
787         [BZ #18206]
788         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
789           Use signed comparision instead of substraction to avoid
790           overflow bug.
791         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
792           Take the sign of ret.
793         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
794           Do not expect precise return values. Only the sign matters.
795         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
796         * wcsmbs/test-wcsncmp.c: New File.
797         * string/test-strncmp.c: Add wcsncmp support.
799 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
801         [BZ #6792]
802         * math/w_log1p.c: New file.
803         * math/w_log1pf.c: Likewise.
804         * math/w_log1pl.c: Likewise.
805         * math/Makefile (libm-calls): Add w_log1p.
806         * math/s_log1pl.c (log1pl): Remove weak_alias.
807         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
808         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
809         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
810         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
811         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
812         [NO_LONG_DOUBLE] (log1pl): Likewise.
813         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
814         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
815         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
816         (log1p): Remove long_double_symbol.
817         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
818         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
819         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
820         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
821         remove weak_alias for corresponding log1p function.
822         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
823         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
824         * sysdeps/ia64/fpu/w_log1p.c: New file.
825         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
826         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
827         * math/libm-test.inc (log1p_test_data): Add errno expectations.
829 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
831         [BZ #18247]
832         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
833         decimal exponent by 1.
834         * stdlib/tst-strtod-round-data: Add more tests.
835         * stdlib/tst-strtod-round.c (tests): Regenerated.
837 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
839         * math/auto-libm-test-in: Add more tests of clog and clog10.
840         * math/auto-libm-test-out: Regenerated.
841         * sysdeps/i386/fpu/libm-test-ulps: Update.
842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
844 2015-04-09  Roland McGrath  <roland@hack.frob.com>
846         * Makeconfig (module-cppflags): Exclude all .v.i files.
847         (skip-module-cppflags): Variable removed.
849         * configure.ac (libc_config_ok): Initialize before reading
850         preconfigure scripts, not after.
851         * configure: Regenerated.
853         * test-skeleton.c (TIMEOUT): Move #define to top level.
854         (main): Grok environment variable TEST_DIRECT.  If set, print
855         test expectation details into that file and then behave as if
856         given --direct.
858 2015-04-09  Florian Weimer  <fweimer@redhat.com>
860         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
861         warning on 32-bit.
863 2015-04-08  David S. Miller  <davem@davemloft.net>
865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
867 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
869         * math/auto-libm-test-in: Add more tests of atanh.
870         * math/auto-libm-test-out: Regenerated.
871         * sysdeps/i386/fpu/libm-test-ulps: Update.
872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
874         * math/auto-libm-test-in: Add more tests of atan.
875         * math/auto-libm-test-out: Regenerated.
876         * sysdeps/i386/fpu/libm-test-ulps: Update.
877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
879 2015-04-08  Florian Weimer  <fweimer@redhat.com>
881         * elf/pldd.c (main): Rewrite to use struct
882         scratch_buffer instead of extend_alloca.
883         * elf/pldd-xx.c (find_maps): Likewise.
884         * grp/initgroups.c: Include <scratch_buffer.h> instead of
885         <alloca.h>.
886         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
887         scratch_buffer instead of extend_alloca.
888         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
889         grp/compat-initgroups.c.
890         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
891         Rewrite to use struct scratch_buffer instead of extend_alloca.
892         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
893         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
895 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
897         * math/auto-libm-test-in: Add more tests of cbrt.
898         * math/auto-libm-test-out: Regenerated.
899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
901         * math/auto-libm-test-in: Add more tests of cabs.
902         * math/auto-libm-test-out: Regenerated.
903         * sysdeps/i386/fpu/libm-test-ulps: Update.
904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906         [BZ #18210]
907         [BZ #18211]
908         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
909         (__ieee754_atan2): Set FE_TONEAREST mode for internal
910         computations.
911         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
912         clog10.
913         * math/auto-libm-test-out: Regenerated.
914         * sysdeps/i386/fpu/libm-test-ulps: Update.
915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
917         [BZ #18197]
918         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
919         (atan): Set FE_TONEAREST mode for internal computations.
920         * math/auto-libm-test-in: Add more tests of atan.
921         * math/auto-libm-test-out: Regenerated.
923 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
925         [BZ #17930]
926         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
928 2015-04-07  Florian Weimer  <fweimer@redhat.com>
930         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
932 2015-04-07  Florian Weimer  <fweimer@redhat.com>
934         * include/scratch_buffer.h: New file.
935         * malloc/scratch_buffer_grow.c: Likewise.
936         * malloc/scratch_buffer_grow_preserve.c: Likewise.
937         * malloc/scratch_buffer_set_array_size.c: Likewise.
938         * malloc/tst-scratch_buffer.c: Likewise.
939         * malloc/Makefile (routines): Add scratch_buffer_grow.
940         (tests): Add test case.
941         * malloc/Versions (GLIBC_PRIVATE): Export
942         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
943         __libc_scratch_buffer_set_array_size.
945 2015-04-06  Richard Henderson  <rth@redhat.com>
947         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
948         * sysdeps/alpha/fpu/libm-test-ulps: Update.
950         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
951         unsigned int before printing.
953 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
955         [BZ #17596]
956         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
957         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
959 2015-04-02  Florian Weimer  <fweimer@redhat.com>
961         * include/libc-internal.h (libc_max_align_t): Define.
963 2015-04-02  Andreas Schwab  <schwab@suse.de>
965         [BZ #16850]
966         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
968 2015-04-02  Mel Gorman  <mgorman@suse.de>
970         [BZ #17195]
971         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
972         as well as the main arena.
974 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
976         [BZ #18185]
977         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
978         sharing L2 cache to 2 for Silvermont/Knights Landing.
980 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
982         [BZ #17711]
983         * config.make.in (have-protected-data): New.
984         * configure.ac: Check linker support for protected data symbol.
985         * configure: Regenerated.
986         * elf/Makefile (modules-names): Add tst-protected1moda and
987         tst-protected1modb if $(have-protected-data) is yes.
988         (tests): Add tst-protected1a and tst-protected1b if
989         $(have-protected-data) is yes.
990         ($(objpfx)tst-protected1a): New.
991         ($(objpfx)tst-protected1b): Likewise.
992         (tst-protected1modb.so-no-z-defs): Likewise.
993         * elf/tst-protected1a.c: New file.
994         * elf/tst-protected1b.c: Likewise.
995         * elf/tst-protected1mod.h: Likewise.
996         * elf/tst-protected1moda.c: Likewise.
997         * elf/tst-protected1modb.c: Likewise.
999 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1001         [BZ #17711]
1002         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1003         indicates it is called from do_lookup_x on relocation against
1004         protected data, skip the data definion in the executable from
1005         copy reloc.
1006         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1007         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1008         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1009         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1010         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1011         otherwise to 0.
1012         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1013         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1014         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1015         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1016         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1017         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1019 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
1021         * sysdeps/nptl/pthread.h: Remove duplicate definition of
1022         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1024 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
1026         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1027         THREAD_SETMEM_NC.
1028         * sysdeps/x86_64/nptl/tls.h: Ditto.
1030 2015-03-27  Roland McGrath  <roland@hack.frob.com>
1032         * dlfcn/tststatic.c (main): Converted to ...
1033         (do_test): ... this.
1034         (TEST_FUNCTION): New macro.
1035         Include test-skeleton.c.
1037 2015-03-26  Alan Modra  <amodra@gmail.com>
1039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1040         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
1041         zero for undefined weak.
1042         (elf_machine_plt_conflict): Similarly.
1044 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1046         * math/auto-libm-test-in: Add more tests of acosh, asinh and
1047         atanh.
1048         * math/auto-libm-test-out: Regenerated.
1049         * sysdeps/i386/fpu/libm-test-ulps: Update.
1050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1052         * math/auto-libm-test-in: Add another test of asin.
1053         * math/auto-libm-test-out: Regenerated.
1054         * sysdeps/i386/fpu/libm-test-ulps: Update.
1055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1057         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1058         Remove macro.
1059         (LLL_EBX_REG): Likewise.
1060         (LLL_ENTER_KERNEL): Likewise.
1062         * math/auto-libm-test-in: Add more tests of asin.
1063         * math/auto-libm-test-out: Regenerated.
1064         * sysdeps/i386/fpu/libm-test-ulps: Update.
1065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1067         [BZ #18138]
1068         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1069         libc_do_syscall_args): New structure.
1070         (INTERNAL_SYSCALL_MAIN_0): New macro.
1071         (INTERNAL_SYSCALL_MAIN_1): Likewise.
1072         (INTERNAL_SYSCALL_MAIN_2): Likewise.
1073         (INTERNAL_SYSCALL_MAIN_3): Likewise.
1074         (INTERNAL_SYSCALL_MAIN_4): Likewise.
1075         (INTERNAL_SYSCALL_MAIN_5): Likewise.
1076         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
1077         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1078         Replace conditional definitions by conditional definitions of ....
1079         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
1080         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1081         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1082         (libpthread-sysdep_routines): Add libc-do-syscall.
1083         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1084         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1085         to __NR_futex not 240.
1087 2015-03-25  Alan Modra  <amodra@gmail.com>
1089         * NEWS: Advertise TLS optimization.
1090         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1091         (DT_PPC_NUM): Increment.
1092         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1093         (CHECK_STATIC_TLS): Use here.
1094         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1095         TLS descriptors.
1096         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1097         * sysdeps/powerpc/dl-tls.c: New file.
1098         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1099         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1100         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1101         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1106 2015-03-25  Alan Modra  <amodra@gmail.com>
1108         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1109         for overlapping .opd entries" to "support...".
1110         * sysdeps/powerpc/powerpc64/configure: Regenerate
1112 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1114         * math/auto-libm-test-in: Add more tests of acos.
1115         * math/auto-libm-test-out: Regenerated.
1116         * sysdeps/i386/fpu/libm-test-ulps: Update.
1117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1119         * math/auto-libm-test-in: Add more tests of expm1.
1120         * math/auto-libm-test-out: Regenerated.
1121         * sysdeps/i386/fpu/libm-test-ulps: Update.
1122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1124 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
1126         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1127         * math/auto-libm-test-out: Regenerated.
1128         * sysdeps/i386/fpu/libm-test-ulps: Update.
1129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1134         * math/auto-libm-test-in: Add more tests of log2.
1135         * math/auto-libm-test-out: Regenerated.
1136         * sysdeps/i386/fpu/libm-test-ulps: Update.
1137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1139 2015-03-23  Roland McGrath  <roland@hack.frob.com>
1141         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1142         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
1143         _IO_IS_APPENDING bit in READ_WRITE instead.
1145 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1147         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1148         (__determine_cpumask_size): Replace extend_alloca with a
1149         variable-length array.  Do not treat res == 0 as an error.
1151 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1153         [BZ #18100]
1154         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1155         and integer overflow.
1156         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1157         (main): Add integer overflow tests.
1158         * manual/pattern.texi (Calling Wordexp): Document additional use
1159         for WRDE_SYNTAX.
1161 2015-03-23  Alan Modra  <amodra@gmail.com>
1163         * config.h.in: Remove HAVE_ASM_PPC_REL16.
1164         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1165         and false branch of conditional.
1166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1167         Likewise.
1169 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
1171         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1172         libc-modules.h
1173         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1174         unused declaration of _hurd_intr_rpc_msg_in_trap.
1175         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1176         defined instead of whether it is non-zero.
1177         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1178         input constraint instead of both input and output constraint.  Use ecx
1179         clobber instead of %ecx.
1180         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1181         mutex_unlock): Use a statement expression instead of an expression list.
1182         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1183         type to vm_size_t instead of vm_address_t.
1184         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1185         defined instead of whether it is non-zero.
1186         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1187         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1188         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1189         comparisons with mapaddr.
1190         * nscd/nscd-client.h: Include <time.h>.
1191         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1192         9th parameter to __vm_region instead of int.
1193         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1194         * scripts/check-local-headers.sh (exclude): Add device/,
1195         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1196         cthreads.h.
1198 2015-03-19  Roland McGrath  <roland@hack.frob.com>
1200         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1201         to account for alignment padding.
1202         * sysdeps/arm/memmove.S: Likewise.
1204 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
1206         * sysdeps/unix/sysv/linux/generic/README: New file.
1208 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
1210         [BZ #18138]
1211         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1212         (futex_abstimed_wait)
1213         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1214         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1215         of lll_futex_timed_wait.
1217 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
1219         [BZ #17542]
1220         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1222 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
1224         [BZ #17090]
1225         [BZ #17620]
1226         [BZ #17621]
1227         [BZ #17628]
1228         * NEWS: Update.
1229         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1230         entries with Static TLS too.  Skip entries past the end of the
1231         allocated DTV, from Alan Modra.
1232         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
1233         Static TLS DTV entry set up from...
1234         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1235         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1236         * nptl/allocatestack.c (init_one_static_tls): ... and here...
1237         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1238         for Static TLS.
1239         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
1240         that the slot we find is associated with the given map before
1241         using its generation count.
1242         * nptl_db/db_info.c: Include ldsodefs.h.
1243         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1244         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1245         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1246         (link_map::l_tls_offset): New struct field.
1247         (dtv_t::counter): Likewise.
1248         (rtld_global): New struct.
1249         (_rtld_global): New rtld variable.
1250         (dl_tls_dtv_slotinfo_list): New rtld global field.
1251         (dtv_slotinfo_list): New struct.
1252         (dtv_slotinfo): Likewise.
1253         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1254         (td_lookup): Rename to...
1255         (td_mod_lookup): ... this.  Use new mod parameter instead of
1256         LIBPTHREAD_SO.
1257         * nptl_db/td_thr_tlsbase.c: Include link.h.
1258         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1259         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1260         addresses even if the DTV is out of date or missing them.
1261         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1262         index zero-length arrays.
1263         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1264         (td_lookup): Make it a macro implemented in terms of...
1265         (td_mod_lookup): ... this declaration.
1266         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1267         (DB_MAIN_VARIABLE): Likewise.
1269 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1271         [BZ #18134]
1272         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1274 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1276         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1278 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1280         [BZ #18128]
1281         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1282         (atomic_add, atomic_increment_and_test)
1283         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1285 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1287         * stdlib/setenv.c (__add_to_environ):
1288         Dump core quickly if setenv (..., NULL, ...) is called.
1290 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1292         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1293         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1294         all the necessary asm magic in one place.
1295         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1296         using those.
1298 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1300         [BZ #14906]
1301         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1302         traced file mtime. Use consistent log message.
1303         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1304         (register_traced_file): Call install_watches. Always set mtime.
1305         (invalidate_cache): Iterate over all trace files. Call install_watches.
1306         (inotify_check_files): Don't inline. Handle watching parent
1307         directories and configuration file movement in and out.
1308         (handle_inotify_events): New function.
1309         (main_loop_poll): Call handle_inotify_events.
1310         (main_loop_epoll): Likewise.
1311         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1312         (struct traced_file): Use array of inotify fds. Add parent directory,
1313         and basename.
1314         (struct database_dyn): Remove unused file_mtime.
1315         (init_traced_file): New inline function.
1316         (define_traced_file): New macro.
1317         * nss/nss_db/db-init.c: Use define_traced_file.
1318         (_nss_db_init): Use init_traced_file.
1319         * nss/nss_files/files-init.c: Use define_traced_file.
1320         (_nss_files_init): Use init_traced_file.
1322 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
1324         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1325         [_LIBC]: Do not include <stdlib.h>.
1326         [!_LIBC] (abort): Remove declaration.
1327         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1328         _FP_STATIC_ASSERT instead of conditionally calling abort.
1329         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1330         (_FP_EXTEND_CNAN): Likewise.
1331         (FP_TRUNC): Likewise.
1332         (__FP_CLZ): Likewise.
1333         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1335 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
1337         * manual/string.texi (XPG basename): Fix prototype.
1339 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1341         [BZ #18080]
1342         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1343         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1344         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1345         (__setcontext): Likewise.
1346         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1347         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1348         Call rt_sigprocmask syscall one time to set new signal mask
1349         and retrieve the current signal mask instead of two calls.
1350         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1351         (__swapcontext): Likewise.
1352         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1353         * stdlib/tst-setcontext2.c: New file.
1355 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1357         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1359 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
1361         [BZ #18093]
1362         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1363         the wrong size.
1365 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1367         [BZ #18043]
1368         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1370 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1372         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1373         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1374         Remove define.
1375         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1376         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1377         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1378         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1379         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1380         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1381         define.
1382         * nptl_db/td_symbol_list.c (td_lookup): Remove
1383         HAVE_ASM_GLOBAL_DOT_NAME code.
1384         * sysdeps/powerpc/powerpc64/configure.ac: Remove
1385         HAVE_ASM_GLOBAL_DOT_NAME check.
1386         * sysdeps/powerpc/powerpc64/configure: Regenerate.
1387         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1388         (DOT_LABEL): Remove define.
1389         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1390         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1391         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1392         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1393         (__TLS_GET_ADDR): Likewise.
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1395         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1397 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
1399         [BZ #18111]
1400         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1401         (_FPU_SETCW): Initialize cw from fpsr before storing.
1402         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1403         (fesetexceptflag): Rewrite using fpu_control.h.
1404         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1406 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
1408         [BZ #18110]
1409         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1410         asms.
1411         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1413 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
1415         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1416         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1417         abort.
1418         (_FP_FMA): Likewise.
1419         (_FP_DIV): Likewise.
1421 2015-03-10  Roland McGrath  <roland@hack.frob.com>
1423         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1424         with 0 in that case.
1425         * Makefile (summarize-tests): New canned sequence, factored out of
1426         commands for targets tests and xtests.  Display summary lines that
1427         don't start with PASS: or XFAIL: rather than ones that do start with
1428         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
1429         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1430         do start with ERROR: or FAIL:.
1431         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1432         (except for [$(build-shared) = yes]).
1433         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1434         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1435         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1436         * nptl/Makefile: Revert 2015-03-04 changes.
1437         [$(CXX) empty] (tests-unsupported): New variable.
1438         * debug/Makefile: Likewise.
1440         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1441         gnulib file.  Replace __attribute with __attribute__ throughout.
1443 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
1445         * sysdeps/hppa/fpu/libm-test-ulps: Update.
1447 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1449         [BZ #18104]
1450         * math/auto-libm-test-in: Add another test of pow.
1451         * math/auto-libm-test-out: Regenerated.
1453 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1456         $(config-cflags-nofma).
1458 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1460         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1461         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1462         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1463         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1464         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1465         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1466         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1467         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1468         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1469         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1470         Add comment on closing #endif.
1472 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1474         * posix/wordexp.c (CHAR_IN_SET): New macro.
1475         (parse_param): Use it.
1477 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1479         * sysdeps/powerpc/fpu/libm-test-ulps: update.
1481 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1483         [BZ #18043]
1484         * posix/wordexp.c (parse_param): Fix buffer overflow.
1485         * posix/wordexp-test.c (test_case): Add test case.
1487 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1489         [BZ #18042]
1490         * posix/wordexp.c (parse_backtick): Fix off-by-one.
1491         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1493 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1495         [BZ #18043]
1496         * posix/wordexp-test.c (test_case): Add test for BZ #18043
1497         (do_bz18043): Delete.
1498         (at_page_end): New.
1499         (testit): Refactor to have words at the edge of unreadable page.
1501 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1503         [BZ #16734]
1504         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1505         Cleanup read-only streams as well.
1506         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1508 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1510         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1511         <bits/libc-lockP.h>
1513 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
1515         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
1516         on [__KERNEL__].
1517         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1518         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1519         * soft-fp/op-common.h (_FP_DECL): Likewise.
1521 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1523         * elf/ifuncdep2.c (global): Replace
1524         __attribute__((visibility("protected"))) with
1525         asm (".protected global").
1526         * elf/ifuncmod1.c (global): Likewise.
1527         * elf/ifuncmod5.c (global): Likewise.
1529 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
1531         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1532         <asm/sfp-machine.h> instead of <sfp-machine.h>.
1534 2015-03-06  Roland McGrath  <roland@hack.frob.com>
1536         * manual/install.texi (Configuring and compiling):
1537         Document test-wrapper-env-only.
1538         * INSTALL: Regenerated.
1540 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1542         [BZ #18043]
1543         * posix/wordexp.c (parse_param): Fix buffer overflow.
1544         * posix/wordexp-test.c (do_bz18043): Add test case.
1546 2015-03-06  Vincent Bernat  <vincent@bernat.im>
1548         * time/tst-strptime2.c (do_test): Ensure failing tests are
1549         reported correctly.
1550         * time/tst-strptime3.c (do_test): Likewise.
1552 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
1554         Fix aio_error thread-safety.
1555         * sysdeps/pthread/aio_error.c: New file
1556         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1557         synchronization.
1559 2015-03-06  Florian Weimer  <fweimer@redhat.com>
1561         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1562         (group_number, vfprintf): Use it.
1563         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1564         (JUMP, REF): Use it.
1565         (WORK_BUFFER_SIZE): New enum constant.
1566         (process_arg, vfprintf): Use it.
1568 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
1570         * manual/errno.texi (Error Messages): Complete example function
1571         by adding missing #define.
1572         (program_invocation_name): Add statement indicating GNU
1573         extension and reference which header file declares the variable.
1574         (program_invocation_short_name): Likewise.
1576 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
1578         * manual/errno.texi (Error Messages): Delete strerror ISO C89
1579         compatibility note.
1581 2015-03-05  Roland McGrath  <roland@hack.frob.com>
1583         * Makeconfig (test-wrapper-env-only): New variable.
1584         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1585         then use that with $(test-wrapper-env-only) rather than using
1586         $(test-wrapper-env) $(run-program-env) $($*-ENV).
1588 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1590         [BZ #18082]
1591         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1592         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1593         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1594         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1595         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1596         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1597         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1598         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1599         Likewise.
1600         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1601         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1602         Likewise.
1603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1604         Likewise.
1605         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1606         Likewise.
1607         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1608         Likewise.
1609         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1610         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1611         Likewise.
1612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1613         Likewise.
1614         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1615         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1617 2015-03-04  Roland McGrath  <roland@hack.frob.com>
1619         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1620         (ETH_ALEN): New macro.
1621         (struct ether_addr): Use it for length of ether_addr_octet.
1623         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1624         (setdb): Don't call __nss_configure_lookup for "rpc".
1625         (do_test): Don't call test_rpc.
1626         (output_rpcent, test_rpc): Functions moved ...
1627         * sunrpc/test-rpcent.c: ... to this new file.
1628         * sunrpc/Makefile (tests): Add it.
1630         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1631         __xpg_sigpause.
1632         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1633         * nptl/tst-signal6.c: Likewise.
1634         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1635         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1637         * configure.ac (libc_cv_cxx_link_ok): New check.
1638         Reset CXX to empty if it fails to link.
1639         * configure: Regenerated.
1640         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1641         bug-atexit3-lib only if $(CXX) is nonempty.
1642         * nptl/Makefile (tests): Likewise for tst-cancel24.
1643         (tests, tests-static): Likewise for tst-cancel24-static.
1644         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1645         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1646         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1647         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1649 2015-03-04  Andreas Schwab  <schwab@suse.de>
1651         [BZ #17631]
1652         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1653         for non-GCC compilers.
1654         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1655         Likewise.
1657 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1659         [BZ #17776]
1660         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1661         integer before bitwise and assembly operations.
1662         (feclearexcept): Likewise.
1663         * math/test-fenvinline.c: New file.
1664         * math/Makefile: Add test-fenvinline test.
1666 2015-03-03  Alan Modra  <amodra@gmail.com>
1668         [BZ #16512]
1669         * scripts/localplt.awk: Strip off symbol version.
1670         * NEWS: Mention bug fix.
1672 2015-03-02  Roland McGrath  <roland@hack.frob.com>
1674         * sysdeps/pthread/timer_routines.c
1675         (timer_free_list, thread_free_list, thread_active_list): Make static.
1677 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
1679         [BZ #17779]
1680         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1681         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1682         Undefine.
1683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1684         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1685         Likewise.
1686         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1687         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1688         Likewise.
1690 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1692         [BZ #18036]
1693         * posix/fnmatch_loop.c (END): Detect invalid pattern.
1694         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1696 2015-03-02  Andreas Schwab  <schwab@suse.de>
1698         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1699         variable name.
1701 2015-03-02  Florian Weimer  <fweimer@redhat.com>
1703         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1704         Return error status.
1706 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
1708         [BZ #15969]
1709         * locale/findlocale.c (_nl_find_locale): Introduce const
1710         version of loc_name and drop unsafe type casts.
1712 2015-02-27  Roland McGrath  <roland@hack.frob.com>
1714         * dlfcn/tststatic2.c (main): Converted to ...
1715         (do_test): ... this.
1716         (TEST_FUNCTION): New macro.
1717         Include test-skeleton.c.
1719 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1721         [BZ #17711]
1722         * elf/Makefile (tests): Add vismain only if PIE is enabled.
1723         (tests-pie): Add vismain.
1724         (CFLAGS-vismain.c): New.
1725         * elf/vismain.c: Add comments for PIE requirement.
1727 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1729         [BZ #18046]
1730         [BZ #18047]
1731         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1732         0x1p-56L as threshold for just returning the argument.
1733         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1734         0x1p-32L as threshold for just returning the argument.
1735         * math/auto-libm-test-in: Add more tests of atanh.
1736         * math/auto-libm-test-out: Regenerated.
1737         * sysdeps/i386/fpu/libm-test-ulps: Update.
1738         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1740 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1742         * string/bcopy.c (bcopy): Call memmove for performance.
1744 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1746         * string/bzero.c (__bzero): Call memset for performance.
1748 2015-02-27  John David Anglin  <dave.anglin@bell.net>
1750         [BZ #18068]
1751         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1752         to 00100000.
1754 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1756         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1758 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1760         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1761         (__kernel_standard): Use CSTR macro when setting exc.name.
1762         * sysdeps/ieee754/Makefile [$(subdir) = math]
1763         (CFLAGS-k_standard.c): Remove variable.
1765         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1766         setting p and q from "else if" to "else".
1767         (qzero): Likewise.
1768         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1769         (qone): Likewise.
1770         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1771         (qzerof): Likewise.
1772         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1773         (qonef): Likewise.
1774         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1775         (qzero): Likewise.
1776         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1777         (qone): Likewise.
1779         [BZ #18038]
1780         [BZ #18039]
1781         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1782         return pi/2 for arguments below 0x1p-113L.
1783         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1784         return pi/2 for arguments below 0x1p-106L.
1785         * math/auto-libm-test-in: Add more tests of acos.
1786         * math/auto-libm-test-out: Regenerated.
1788         [BZ #16351]
1789         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1790         (MO): New macro.
1791         (__ieee754_asin): Force underflow exception for results with small
1792         absolute value.
1793         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1794         (MO): New macro.
1795         (__ieee754_asinf): Force underflow exception for results with
1796         small absolute value.
1797         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1798         (__ieee754_asin): Force underflow exception for results with small
1799         absolute value.
1800         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1801         (__ieee754_asinf): Force underflow exception for results with
1802         small absolute value.
1803         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1804         (__ieee754_asinl): Force underflow exception for results with
1805         small absolute value.
1806         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1807         (__ieee754_asinl): Force underflow exception for results with
1808         small absolute value.
1809         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1810         (__ieee754_asinl): Force underflow exception for results with
1811         small absolute value.
1812         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1813         Include <math.h>.
1814         * math/auto-libm-test-in: Do not mark underflow exceptions as
1815         possibly missing for bug 16351.
1816         * math/auto-libm-test-out: Regenerated.
1818         [BZ #18030]
1819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1820         of power of 2 down when low part has opposite sign.
1821         * math/libm-test.inc (logb_test_data): Add more tests.
1823 2015-02-26  Andreas Schwab  <schwab@suse.de>
1825         [BZ #18032]
1826         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1827         over collating symbol inside a bracket expression.  Minor cleanup.
1828         * posix/tst-fnmatch3.c (do_test): Add test case.
1830 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1832         [BZ #18029]
1833         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1834         Adjust exponent of power of 2 down when low part has opposite
1835         sign.
1836         * math/libm-test.inc (ilogb_test_data): Add more tests.
1838 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
1840         [BZ #15969]
1841         * locale/findlocale.c (_nl_find_locale): Fix constness error in
1842         the previous change.
1844         [BZ #15969]
1845         * locale/findlocale.c (_nl_find_locale): Retry archive search
1846         after alias expansion.
1848 2015-02-25  Roland McGrath  <roland@hack.frob.com>
1850         * iconv/tst-iconv3.c (main): Converted to ...
1851         (do_test): ... this.
1852         (TEST_FUNCTION): New macro.
1853         Include test-skeleton.c.
1855         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1856         (convert): Make function static.
1857         (test_unalign): Likewise.  Add const to argument pointee types.
1858         (main): Replace with static function do_test.
1859         Print "Succeeded." only if RET is zero.
1860         (TEST_FUNCTION): New macro.
1861         Include test-skeleton.c.
1863         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1864         returns a null pointer.
1866 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1868         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1869         to __memcpy_ppc only for static builds.
1871 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
1873         [BZ #18020]
1874         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1875         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1876         * math/auto-libm-test-in: Add more tests of asinh.
1877         * math/auto-libm-test-out: Regenerated.
1878         * sysdeps/i386/fpu/libm-test-ulps: Update.
1879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1881 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
1883         [BZ #15850]
1884         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1885         and ip6_mtuinfo definitions here.
1886         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1887         in this define too.  Update comment.
1889 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
1891         * elf/sprof.c (load_shobj): Tweak error message to match others.
1893 2015-02-24  Kevin Easton  <kevin@guarana.org>
1895         [BZ #16145] (partial fix)
1896         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1897         to reduce lock contention.
1899 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
1901         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1902         (struct timex): Update time comment.
1903         (ADJ_SETOFFSET): Define.
1905 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1907         [BZ #18019]
1908         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1909         2**56 not 2**28 as threshold for log (2x) formula.
1910         * math/auto-libm-test-in: Add more tests of acosh.
1911         * math/auto-libm-test-out: Regenerated.
1912         * sysdeps/i386/fpu/libm-test-ulps: Update.
1913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1915 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1917         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1918         parenthesis around the buf assignment.
1919         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1921 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1923         [BZ #16783]
1924         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1925         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1926         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1927         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1928         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1929         * math/libm-test.inc (scalb_test_data): Add more tests.
1931 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1933         [BZ #17916]
1934         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1935         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1937 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1939         [BZ #17523]
1940         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1941         * io/bits/fcntl2.h (open): Use it.
1942         (openat): Likewise.
1943         * io/open.c (__libc_open): Likewise.
1944         * io/open64.c (__libc_open64): Likewise.
1945         * io/open64_2.c (__open64_2): Likewise.
1946         * io/open_2.c (__open_2): Likewise.
1947         * io/openat.c (__openat): Likewise.
1948         * io/openat64.c (__openat64): Likewise.
1949         * io/openat64_2.c (__openat64_2): Likewise.
1950         * io/openat_2.c (__openat_2): Likewise.
1951         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1952         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1953         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1954         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1955         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1956         (__open_nocancel): Likewise.
1957         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1958         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1959         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1961 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1963         [BZ #14841]
1964         * resolv/gethnamaddr.c (getanswer): Skip logging if
1965         RES_USE_DNSSEC is set.
1966         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1968 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1970         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1972 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1974         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1975         201304L, for Unicode 7.
1977 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1979         [BZ #17836]
1980         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1981         shared library.  Add gmon-start.os otherwise.
1982         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1983         $(objpfx)gmon-start.os if builing shared library.
1984         ($(objpfx)g$(static-start-installed-name)): Likewise.
1986 2015-02-23  Andreas Schwab  <schwab@suse.de>
1988         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1990 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1992         [BZ #17269]
1993         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1994         (enlarge_userbuf): Likewise.
1996 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1998         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1999         * math/atest-exp.c (TIMEOUT): Adjust to 200.
2000         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2001         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2003 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
2005         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2006         expression inside statement expression.
2008 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2010         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2011         <sysdeps/nptl/lowlevellock.h> and remove macros and
2012         functions that are now defined there.
2013         (SYS_futex): Remove.
2014         (lll_compare_and_swap): Remove.
2015         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2017 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
2019         [BZ #17999]
2020         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2021         instead of scandirat.
2022         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2023         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2024         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2025         __scandirat.
2026         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2027         (__scandirat): Declare.  Use libc_hidden_proto.
2028         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2029         Remove variable.
2030         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2032 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2034         [BZ #15319]
2035         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2036         (MO): New macro.
2037         (__ieee754_atan2): For results with small absolute value, force
2038         underflow exception and remove excess range and precision from
2039         return value.
2040         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2041         (MO): New macro.
2042         (__ieee754_atan2f): For results with small absolute value, force
2043         underflow exception and remove excess range and precision from
2044         return value.
2045         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2046         (MO): New macro.
2047         (__atan): For results with small absolute value, force underflow
2048         exception and remove excess range and precision from return value.
2049         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2050         (MO): New macro.
2051         (__atanf): For results with small absolute value, force underflow
2052         exception and remove excess range and precision from return value.
2053         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2054         <math.h>.
2055         (__ieee754_atan2): Force underflow exception for results with
2056         small absolute value.
2057         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2058         <math_private.h>.
2059         (atan): Force underflow exception for results with small absolute
2060         value.
2061         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2062         (__atanf): Force underflow exception for results with small
2063         absolute value.
2064         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2065         <math.h>.
2066         (__atanl): Force underflow exception for results with small
2067         absolute value.
2068         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2069         (__atanl): Force underflow exception for results with small
2070         absolute value.
2071         * sysdeps/x86/fpu/bits/mathinline.h
2072         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2073         (__ieee754_atan2): Only define inline for long double.
2074         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2075         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2076         * math/auto-libm-test-in: Do not mark underflow exceptions as
2077         possibly missing for bug 15319.  Add more tests of atan2.
2078         * math/auto-libm-test-out: Regenerated.
2079         * math/libm-test.inc (casin_test_data): Do not mark underflow
2080         exceptions as possibly missing for bug 15319.
2081         (casinh_test_data): Likewise.
2082         * sysdeps/i386/fpu/libm-test-ulps: Update.
2084 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
2086         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2087         * sysdeps/mips/bits/endian.h: Fix comments.
2089 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2091         [BZ #17996]
2092         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2093         (hdestroy_r): Likewise.
2094         (hsearch_r): Likewise.
2095         (__hcreate_r): Declare and use libc_hidden_proto.
2096         (__hdestroy_r): Likewise.
2097         (__hsearch_r): Likewise.
2098         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2099         (hcreate): Call __hcreate_r instead of hcreate_r.
2100         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2101         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2102         as weak alias of __hcreate_r.
2103         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2104         __hdestroy_r.
2105         (hsearch_r): Rename to __hsearch_r and define as weak alias of
2106         __hsearch_r.
2107         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2108         Remove variable.
2109         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2110         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2111         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2112         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2114 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2116         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2117         arena_lock into a single arena_get.
2119 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
2121         * dl-reloc.c: Inlucde libc-internal.h.
2122         (_dl_try_allocate_static_tls): Call ALIGN_UP.
2123         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2124         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2125         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2126         (grow_heap): Likewise.
2127         * malloc/malloc.c: Include libc-internal.h.
2128         (do_check_malloc): Call powerof2.
2129         (sysmalloc): Use pagesize. Call ALIGN_UP.
2130         (systrim): Use pagesize.
2131         (mremap_chunk): Use pagesize. Call ALIGN_UP.
2132         (__libc_valloc): Use pagesize.
2133         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2135 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2137         [BZ #17991]
2138         * include/sys/resource.h (__getrlimit64): Declare.  Use
2139         libc_hidden_proto.
2140         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2141         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
2142         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2143         getrlimit64.
2144         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2145         __getrlimit64.
2146         [!getrlimit64] (getrlimit64): Define as weak alias of
2147         __getrlimit64.  Use libc_hidden_weak.
2148         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2149         using __getrlimit64 not __new_getrlimit64.
2150         (__GI_getrlimit64): Likewise.
2151         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2152         Likewise.
2153         (__GI_getrlimit64): Likewise.
2154         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2156         (getrlimit): Add __getrlimit64 alias.
2157         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2158         Likewise.
2159         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2160         Remove variable.
2161         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2162         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2164 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2166         * libio/fileops.c: Add missing sys/mman.h
2167         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2169 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2171         * manual/math.texi (Errors in Math Functions): Clarify goals
2172         regarding inexact and underflow exceptions.
2174 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2176         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2177         * sysdeps/mips/memset.S: Ditto.
2179 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2181         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2183 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2185         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2186         (__v1longjmp): Remove versioned symbol.
2187         (__v1siglongjmp): Remove alias and versioned symbol.
2188         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2189         (__v2siglongjmp): Likewise.
2191 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2193         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2195 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
2197         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2199 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #17987]
2202         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2203         zero result does not depend on the sign resulting from
2204         subtraction.
2205         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2206         Likewise.
2207         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2208         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2209         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2210         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2211         * math/libm-test.inc (remquo_test_data): Add more tests.
2213 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
2215         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2216         Problem reported by J William Piggott.
2218 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2220         [BZ #17978]
2221         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2222         products 4 * y and 2 * y where those would overflow.
2223         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2224         Likewise.
2225         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2226         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2227         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2228         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2229         * math/libm-test.inc (remquo_test_data): Add more tests.
2231         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2233         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2234         [defined _COMPILING_NEWLIB].
2235         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2236         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2238         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2239         [!defined __mips_isa_rev || __mips_isa_rev < 6].
2241 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2243         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2244         acquired.
2246 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
2248         [BZ #17792]
2249         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2250         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2251         HOST_STACK_END_ADDR): Likewise.
2253 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
2255         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2256         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2257         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2259 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2261         * sysdeps/generic/c++-types.data: New file.
2262         * sysdeps/generic/ld.abilist: New file.
2263         * sysdeps/generic/libBrokenLocale.abilist: New file.
2264         * sysdeps/generic/libanl.abilist: New file.
2265         * sysdeps/generic/libc.abilist: New file.
2266         * sysdeps/generic/libcrypt.abilist: New file.
2267         * sysdeps/generic/libdl.abilist: New file.
2268         * sysdeps/generic/libm.abilist: New file.
2269         * sysdeps/generic/libpthread.abilist: New file.
2270         * sysdeps/generic/libresolv.abilist: New file.
2271         * sysdeps/generic/librt.abilist: New file.
2273 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2275         [BZ #17569]
2276         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2277         Compute absolute value of x as modified by fmod, not original
2278         value of x.
2279         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2280         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2281         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2282         RUN_TEST_ffI_f1_mod8.
2283         (remquo_test_data): Add more tests.
2285 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2287         * sysdeps/init_array/pt-crti.S: New file.
2289 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2291         [BZ #17967]
2292         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2293         __builtin_fmaf instead of relying on contraction of a * b + c.
2295 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2297         [BZ #17969]
2298         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2299         node.
2301 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2303         [BZ #17964]
2304         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2305         __builtin_fma instead of relying on contraction of a * b + c.
2307 2015-02-12  Roland McGrath  <roland@hack.frob.com>
2309         * Makeconfig (ASFLAGS): Add -Werror=undef.
2310         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2311         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2312         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2314         * Makeconfig (after-link): New variable.
2315         (+link-pie, +link-pie-tests): Use it.
2316         (+link-static, +link-static-tests): Likewise.
2317         (+link, +link-tests): Likewise.
2318         * Makerules (build-module, build-module-asneeded): Likewise.
2319         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2320         Likewise.
2321         * elf/Makefile ($(objpfx)ld.so): Likewise.
2323 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2325         [BZ #17965]
2326         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2327         both struct timeval and struct timespec.
2329 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2331         [BZ #16560]
2332         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2333         and redefine.
2334         (__ieee754_exp2l): Do not multiply small fractional parts by
2335         M_LN2l.
2336         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2337         small argument.
2338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2339         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2340         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2341         * math/auto-libm-test-in: Add more tests of exp2.
2342         * math/auto-libm-test-out: Regenerated.
2344 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2346         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2347         unaligned path.
2349 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2351         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2352         little endian.
2354 2015-02-12  Andreas Schwab  <schwab@suse.de>
2356         [BZ #15790]
2357         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2358         Filter out elision flags from value returned in kind.
2359         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2360         * nptl/tst-pthread-mutexattr.c: New file.
2362 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2364         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2365         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2366         into gnu-gnu, and update comment to refer to abi-tags.
2368 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
2370         [BZ #15467]
2371         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2372         (__sincos): Set errno to EDOM for infinite argument.
2373         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2374         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2375         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2376         (__sincosl): Set errno to EDOM for infinite argument.
2377         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2378         (__sincosl): Set errno to EDOM for infinite argument.
2379         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2380         (__sincosl): Set errno to EDOM for infinite argument.
2381         * math/libm-test.inc (sincos_test_data): Test errno setting.
2383 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
2385         * string/strxfrm_l.c: Remove #define STRCMP.
2386         * string/strcoll_l.c: Remove #define STRLEN.
2387         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2388         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2390 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
2392         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2393         * sysdeps/mips/mips32/sfp-machine.h: ... here.
2394         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2395         * sysdeps/mips/mips64/Makefile: ... here.
2396         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2397         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2398         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2399         * sysdeps/mips/mips64/sfp-machine.h: ... here.
2400         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2401         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2402         * sysdeps/mips/mips64/n64/Implies: Likewise.
2404 2015-02-10  Roland McGrath  <roland@hack.frob.com>
2406         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2407         <sys/time.h>, <string.h>, and <errno.h>.
2408         (dest_offset, dest_address, value, zero): Remove unused variables.
2409         (ldouble): Remove typedef.
2410         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2411         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
2412         1).  Fix code style.
2413         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2414         (check): Function removed.
2415         (CHECK): New macro.
2416         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
2417         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2418         Don't call set_sigaction_FP and remove_sigaction_FP here.
2419         (ldouble_test): Just use 'long double' as macro argument, no need for
2420         the 'ldouble' typedef.
2421         (do_test): Set up SIGFPE handler at start, using plain signal rather
2422         than sigaction.  Fix code style.
2424 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
2426         [BZ #17949]
2427         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2428         jump label.
2430 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2432         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2433         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2435         * sysdeps/powerpc/configure.ac: Remove file.
2436         * sysdeps/powerpc/configure: Likewise.
2438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2439         [sysdep_routines]: Remove wordcopy-power6 object.
2440         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2441         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2442         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2443         (__memmove_ppc32): Likewise.
2444         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2445         file.
2446         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2448         Remove preprocessor.
2450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2451         [sysdep_routines]: Remove wide chars objects.
2452         [wcsmbs]: New rule for wide char objects.
2454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2455         Remove wordcopy-power6 obejct.
2456         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2457         Use local call for wordcopy and memcpy symbols.
2458         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2460         implementation for loader.
2461         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2464         Remove wordcopy-power7 object.
2465         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2467         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2468         (_wordcopy_fwd_dest_aligned): Likewise.
2469         (_wordcopy_bwd_aligned): Likewise.
2470         (_wordcopy_bwd_dest_aligned): Likewise.
2472         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2473         Rewrite to call __memmove_ppc instead of include default
2474         implementation.
2476         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2477         Remove wide chars objects.
2478         [wcsmbs]: New rule for wide char objects.
2480 2015-02-09  Andreas Schwab  <schwab@suse.de>
2482         [BZ #17912]
2483         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2484         in terms of __O_DIRECTORY.
2486 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2488         * time/getdate.c: Include <stdbool.h>.
2489         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2490         call PTR_MANGLE.
2491         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2492         PTR_DEMANGLE.
2494 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
2496         Add ersatz _Static_assert on older C hosts
2497         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2498         pre-C11 C platform that is not known to support _Static_assert.
2500 2015-02-07  Richard Braun  <rbraun@sceen.net>
2502         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2503         sigstate.
2504         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2506 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2508         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2509         priority against unexistent AIO_PRIO_DELTA_MAX.
2510         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2511         instead of int.
2512         * misc/fchflags.c (fchflags): Likewise.
2513         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2514         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2515         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2516         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2517         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2518         Declare macros.
2519         [__USE_MISC] (chflags, fchflags): Declare functions.
2520         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2521         EINVAL when nfds is greater than FD_SETSIZE.
2522         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2523         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2524         45.
2525         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2526         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2527         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2528         MACH_RCV_TIMED_OUT.
2529         * hurd/hurd/signal.h (_hurd_self_sigstate,
2530         _hurd_critical_section_lock, _hurd_critical_section_unlock):
2531         Explicit casts from void *.
2532         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2533         * abi-tags: Rename gnu-gnu os into gnu.
2535         [BZ #4719]
2536         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2537         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2538         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2539         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2540         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2541         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2543         [BZ #17944]
2544         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2545         duplicates ADDR->sun_path with sockaddr LEN limitation.
2546         * sysdeps/mach/hurd/connect.c: Include <string.h>
2547         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2548         * sysdeps/mach/hurd/sendmsg.c: Likewise.
2549         * sysdeps/mach/hurd/sendto.c: Likewise.
2550         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2551         implementing it by hand.
2553 2015-02-06  Roland McGrath  <roland@hack.frob.com>
2555         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2556         Use sfi_breg on ldr.
2557         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2558         Likewise.
2560         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2561         it's defined.
2562         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2563         Test SIGSETXID only if it's defined.
2565         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2567         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2568         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
2570         * nptl/tst-align2.c: Moved ...
2571         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2572         * nptl/Makefile (tests): Remove tst-align2.
2573         * sysdeps/unix/sysv/linux/Makefile
2574         [$(subdir) = nptl] (tests): Add tst-align-clone.
2575         * nptl/tst-getpid1.c: Moved ...
2576         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2577         * nptl/tst-getpid2.c: Moved ...
2578         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2579         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2580         * sysdeps/unix/sysv/linux/Makefile
2581         [$(subdir) = nptl] (tests): ... here.
2582         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2583         * sysdeps/unix/sysv/linux/Makefile
2584         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2586         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2587         Drop trailing \n from perror argument.  Use return rather than exit.
2589         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2590         on [SA_SIGINFO].
2591         * nptl/tst-cancel21.c (do_test): Likewise.
2592         * debug/tst-backtrace6.c: Include <signal.h> first thing.
2593         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2594         [!SA_SIGINFO]: Make it a stub test.
2596         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2597         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2599         * posix/tst-getlogin.c: Move to ...
2600         * login/tst-getlogin.c: ... here.
2601         * posix/Makefile (tests): Move tst-getlogin to ...
2602         * login/Makefile (tests): ... here.
2604         * libio/tst-atime.c (do_test): Move local variables SV and E
2605         inside [ST_NOATIME] conditional.
2607         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2609         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2611         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2612         (wait_code): New function replaces macro.
2613         Call nanosleep rather than syscall.
2615         * nptl/pt-system.c: Rewritten.  Put everything under
2616         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2617         Use IFUNC to redirect when possible.
2619         * nptl/pt-longjmp.c: Rewritten.  Put everything under
2620         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2621         Use IFUNC to redirect when possible.
2623         * nptl/pt-fork.c: Rewritten.  Put everything under
2624         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2625         Use IFUNC to redirect when possible.
2626         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2628         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2629         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2630         unconditionally nowadays.  This included the only reference to
2631         __vdso_clock_gettime that appears outside libc proper.
2632         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2633         Remove version set (containing only __vdso_clock_gettime).
2634         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2635         Add attribute_hidden.
2636         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2637         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2638         libc_hidden_data_def.
2639         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2640         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2642         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2643         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2644         setrpcent, and getrpcport to ...
2645         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2646         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2647         getrpcbynumber_r, and getrpcent_r to ...
2648         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2649         * inet/getrpcbyname.c: Moved ...
2650         * sunrpc/getrpcbyname.c: ... here.
2651         * inet/getrpcbyname_r.c: Moved ...
2652         * sunrpc/getrpcbyname_r.c: ... here.
2653         * inet/getrpcbynumber.c: Moved ...
2654         * sunrpc/getrpcbynumber.c: ... here.
2655         * inet/getrpcbynumber_r.c: Moved ...
2656         * sunrpc/getrpcbynumber_r.c: ... here.
2657         * inet/getrpcent.c: Moved ...
2658         * sunrpc/getrpcent.c: ... here.
2659         * inet/getrpcent_r.c: Moved ...
2660         * sunrpc/getrpcent_r.c: ... here.
2661         * inet/Makefile (routines): Move those to ...
2662         * sunrpc/Makefile (routines): ... here.
2663         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2664         the $(subdirs) list.
2665         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
2666         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2667         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2668         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2670         * elf/Makefile (routines): Include $(all-dl-routines), not just
2671         $(dl-routines).
2672         (rtld-routines): Likewise.  Use = rather than :=.
2673         * sysdeps/aarch64/Makefile [$(subdir) = elf]
2674         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2675         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2676         * sysdeps/arm/Makefile: Likewise.
2677         * sysdeps/i386/Makefile: Likewise.
2678         * sysdeps/x86_64/Makefile: Likewise.
2679         * sysdeps/hppa/Makefile [$(subdir) = elf]
2680         (sysdep_routines, sysdep-rtld-routines): Don't add
2681         $(sysdep-dl-routines) to these.
2682         * sysdeps/ia64/Makefile: Likewise.
2683         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2684         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2685         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2686         Don't add dl-static to these; sysdep-dl-routines alone is enough.
2687         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2688         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2689         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2690         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2691         * sysdeps/powerpc/Makefile [$(subdir) = elf]
2692         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2693         these; sysdep-dl-routines alone is enough.
2695 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
2697         [BZ #17932]
2698         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2699         where multiplication results in zero and third argument is finite
2700         and nonzero.
2701         * math/auto-libm-test-in: Add more tests of fma.
2702         * math/auto-libm-test-out: Regenerated.
2704         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2705         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2706         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2707         (_FP_CMP_EQ): Likewise.
2708         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2710         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2711         extra argument CHECK_NAN.  Redefine as wrapper around
2712         _FP_EXTEND_CNAN.
2714 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
2716         * version.h (RELEASE): Set to "stable".
2717         (VERSION): Set to "2.21"
2718         * include/features.h (__GLIBC_MINOR__): Set to 21.
2720         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2722 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2723             Paul Eggert  <eggert@cs.ucla.edu>
2725         [BZ #16618]
2726         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2727         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2728         size in bytes. Store needed elements in wpmax. Use needed size
2729         in bytes for extend_alloca.
2731 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
2733         * manual/install.texi: Latest tested versions are GCC 4.9.2,
2734         binutls 2.25, and texinfo 5.2.
2735         * INSTALL: Regenerate.
2736         * sysdeps/nios2/configure: Regenerate.
2737         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2738         * manual/contrib.texi: Update.
2739         * po/be.po: Update.
2740         * po/bg.po: Update.
2741         * po/ca.po: Update.
2742         * po/cs.po: Update.
2743         * po/da.po: Update.
2744         * po/de.po: Update.
2745         * po/el.po: Update.
2746         * po/eo.po: Update.
2747         * po/es.po: Update.
2748         * po/fi.po: Update.
2749         * po/fr.po: Update.
2750         * po/gl.po: Update.
2751         * po/hr.po: Update.
2752         * po/hu.po: Update.
2753         * po/ia.po: Update.
2754         * po/id.po: Update.
2755         * po/it.po: Update.
2756         * po/ja.po: Update.
2757         * po/ko.po: Update.
2758         * po/lt.po: Update.
2759         * po/nb.po: Update.
2760         * po/nl.po: Update.
2761         * po/pl.po: Update.
2762         * po/pt_BR.po: Update.
2763         * po/ru.po: Update.
2764         * po/rw.po: Update.
2765         * po/sk.po: Update.
2766         * po/sl.po: Update.
2767         * po/sv.po: Update.
2768         * po/tr.po: Update.
2769         * po/uk.po: Update.
2770         * po/vi.po: Update.
2771         * po/zh_CN.po: Update.
2772         * po/zh_TW.po: Update.
2774         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2775         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2776         * sysdeps/hppa/dl-irel.h: Remove #warning.
2777         * sysdeps/hppa/entry.h: Provide prototype for
2778         __canonicalize_funcptr_for_compare and cast argument.
2779         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2780         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2781         * sysdeps/hppa/sotruss-lib.c: New file.
2782         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2783         (atomic_compare_and_exchange_val_acq): Use __typeof__.
2784         (atomic_compare_and_exchange_bool_acq): Likewise.
2785         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2786         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2788         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2789         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2790         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2792 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2794         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2795         called function in non-PIC case.
2797 2015-01-31  David S. Miller  <davem@davemloft.net>
2799         * sysdeps/sparc/sparc32/bits/atomic.h
2800         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2801         unlock not after it.
2802         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2803         volatile register usage warnings from the compiler.
2805         * sysdeps/sparc/nptl/sem_init.c: Delete.
2806         * sysdeps/sparc/nptl/sem_post.c: Delete.
2807         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2808         * sysdeps/sparc/nptl/sem_wait.c: Delete.
2809         * sysdeps/sparc/sparc32/sem_init.c: New file.
2810         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2811         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2812         padding explicitly initialized.
2813         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2814         padding for in-semaphore spinlock.
2815         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2816         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2817         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2818         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2819         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2820         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2821         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2822         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2823         version.
2824         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2825         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2827 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2829         [BZ #17801]
2830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2831         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2832         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2833         New.
2834         (index_AVX_Fast_Unaligned_Load): Likewise.
2835         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2836         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2837         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2838         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2839         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2840         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2841         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2842         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2843         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2845 2015-01-29  Andreas Schwab  <schwab@suse.de>
2847         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2849 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
2851         [BZ #17892]
2852         * nscd/nscd_stat.c (send_stats): Initialize DATA.
2854 2015-01-28  Martin Sebor  <msebor@redhat.com>
2856         * math/README.libm-test: Clarify. Add "How to read the test output."
2858 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
2860         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2861         Define to 0.
2863 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
2865         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2866         (__HAVE_64B_ATOMICS): Define to 0.
2868 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2870         [BZ #17885]
2871         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2872         value to set as new flag.
2874         [BZ #16576]
2875         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2876         and use _ARCH_PPCSQ instead.
2877         (__ieee754_sqrt): Likewise.
2878         (__ieee754_sqrtf): Likewise.
2879         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2880         _ARCH_PPCSQ is defined.
2881         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2882         fsqrt instruction.
2883         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2884         _ARCH_PPCSQ is defined.
2885         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2886         fsqrts instruction.
2887         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2889 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2891         * iconv/loop.c: Suppress array out of bound warning caused by GCC
2892         bug (GCC BZ #64739).
2894 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2896         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2897         Mark _retval as used.
2898         (lll_futex_wake_unlock): Likewise.
2899         (lll_futex_timed_wait_requeue_pi): Likewise.
2901         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2902         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2903         register variables.
2905         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2906         libm_hidden_def.
2908         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2909         (__bswap_64): Mark as __always_inline.
2911 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
2913         [BZ #15378]
2914         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2915         when none of the search directories exist.
2917 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2919         [BZ #17869]
2920         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2921         power8 in .machine directive.
2923         [BZ #17868]
2924         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2925         set dependency from opd value.
2927 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2930         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2931         architecture.
2933 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2935         [BZ #17870]
2936         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2937         with uint64_t.
2938         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2939         (uint64_t) 1.
2940         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2941         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2942         Replace 1UL with (uint64_t) 1.
2943         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2944         int with uint64_t.
2946 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2948         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2949         (if_freenameindex): Likewise.
2951         * resource/getrlimit64.c: Add missing libc_hidden_def.
2953 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2955         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2956         __label__.
2957         (_FP_FMA): Likewise.
2958         (_FP_TO_INT_ROUND): Likewise.
2959         (_FP_FROM_INT): Likewise.
2961 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2963         [BZ #16418]
2964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2965         Make code racy and cancel safe.
2967 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2969         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2970         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2971         attribution.
2973         * pwd/tst-getpw.c: Rewrite.
2975         [BZ #17702]
2976         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2977         (modules-names): Add moddummy1 and moddummy2.
2978         ($(objpfx)tst-rec-dlopen): Define.
2979         * dlfcn/moddummy1.c: New file.
2980         * dlfcn/moddummy2.c: New file.
2981         * dlfcn/tst-rec-dlopen.c: New file.
2982         * elf/dl-cache.c (_dl_load_cache_lookup):
2983         Return char*. Copy result with alloca/strcpy/strdup.
2984         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2985         returns char*. Free cached. If not saving realname
2986         free cached.
2987         * elf/dl-open.c (dl_open_worker): Do not assert that
2988         _r_debug->r_state is RT_CONSISTENT.
2989         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2990         returns char*.
2992 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2993             Carlos O'Donell  <carlos@redhat.com>
2995         [BZ #12674]
2996         * nptl/sem_waitcommon.c: New file.
2997         * nptl/sem_wait.c: Include sem_waitcommon.c.
2998         (__sem_wait_cleanup, do_futex_wait): Remove.
2999         (__new_sem_wait): Adapt.
3000         (__new_sem_trywait): New function.
3001         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3002         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3003         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3004         (sem_timedwait): Adapt.
3005         * nptl/sem_post.c (__new_sem_post): Adapt.
3006         (futex_wake): New function.
3007         (__old_sem_post): Add release MO fence.
3008         * nptl/sem_open.c (sem_open): Adapt.
3009         * nptl/sem_init.c (__new_sem_init): Adapt.
3010         (futex_private_if_supported): New function.
3011         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3012         (__old_sem_getvalue): Add using previous code.
3013         * sysdeps/nptl/internaltypes.h: Adapt.
3014         * nptl/tst-sem13.c (do_test): Adapt.
3015         * nptl/tst-sem11.c (main): Adapt.
3016         * nptl/sem_trywait.c: Remove.
3017         * nptl/DESIGN-sem.txt: Remove.
3018         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3019         (gen-as-const-headers): Remove structsem.sym.
3020         * nptl/structsem.sym: Remove.
3021         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3022         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3023         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3024         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3025         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3026         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3027         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3028         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3029         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3030         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3031         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3032         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3033         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3034         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3035         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3036         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3037         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3038         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3039         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3040         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3041         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3042         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3044 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
3046         * INSTALL: Regenerated.
3048         * po/libc.pot: Regenerated.
3050 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
3051             Sandra Loosemore  <sandra@codesourcery.com>
3052             Andrew Jenner  <andrew@codesourcery.com>
3053             Joseph Myers  <joseph@codesourcery.com>
3054             Nathan Sidwell  <nathan@codesourcery.com>
3056         * NEWS: Mention new Nios II port.
3057         * sysdeps/nios2/Implies: New file.
3058         * sysdeps/nios2/Makefile: New file.
3059         * sysdeps/nios2/Subdirs: New file.
3060         * sysdeps/nios2/Versions: New file.
3061         * sysdeps/nios2/__longjmp.S: New file.
3062         * sysdeps/nios2/abort-instr.h: New file.
3063         * sysdeps/nios2/backtrace.c: New file.
3064         * sysdeps/nios2/bits/endian.h: New file.
3065         * sysdeps/nios2/bits/fenv.h: New file.
3066         * sysdeps/nios2/bits/link.h: New file.
3067         * sysdeps/nios2/bits/setjmp.h: New file.
3068         * sysdeps/nios2/bsd-_setjmp.S: New file.
3069         * sysdeps/nios2/bsd-setjmp.S: New file.
3070         * sysdeps/nios2/configure: New generated file.
3071         * sysdeps/nios2/configure.ac: New file.
3072         * sysdeps/nios2/crti.S: New file.
3073         * sysdeps/nios2/crtn.S: New file.
3074         * sysdeps/nios2/dl-init.c: New file.
3075         * sysdeps/nios2/dl-machine.h: New file.
3076         * sysdeps/nios2/dl-sysdep.h: New file.
3077         * sysdeps/nios2/dl-tls.h: New file.
3078         * sysdeps/nios2/dl-trampoline.S: New file.
3079         * sysdeps/nios2/gccframe.h: New file.
3080         * sysdeps/nios2/gmp-mparam.h: New file.
3081         * sysdeps/nios2/jmpbuf-offsets.h: New file.
3082         * sysdeps/nios2/jmpbuf-unwind.h: New file.
3083         * sysdeps/nios2/ldsodefs.h: New file.
3084         * sysdeps/nios2/libc-tls.c: New file.
3085         * sysdeps/nios2/libm-test-ulps: New file.
3086         * sysdeps/nios2/machine-gmon.h: New file.
3087         * sysdeps/nios2/math-tests.h: New file.
3088         * sysdeps/nios2/math_private.h: New file.
3089         * sysdeps/nios2/memusage.h: New file.
3090         * sysdeps/nios2/nptl/Makefile: New file.
3091         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3092         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3093         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3094         * sysdeps/nios2/nptl/pthreaddef.h: New file.
3095         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3096         * sysdeps/nios2/nptl/tls.h: New file.
3097         * sysdeps/nios2/preconfigure: New file.
3098         * sysdeps/nios2/s_fma.c: New file.
3099         * sysdeps/nios2/s_fmaf.c: New file.
3100         * sysdeps/nios2/setjmp.S: New file.
3101         * sysdeps/nios2/sfp-machine.h: New file.
3102         * sysdeps/nios2/sotruss-lib.c: New file.
3103         * sysdeps/nios2/stackguard-macros.h: New file.
3104         * sysdeps/nios2/stackinfo.h: New file.
3105         * sysdeps/nios2/start.S: New file.
3106         * sysdeps/nios2/sysdep.h: New file.
3107         * sysdeps/nios2/tls-macros.h: New file.
3108         * sysdeps/nios2/tst-audit.h: New file.
3109         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3110         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3111         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3112         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3113         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3114         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3115         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3116         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3117         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3118         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3119         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3120         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3121         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3122         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3123         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3124         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3125         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3126         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3127         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3128         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3129         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3130         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3131         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3132         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3133         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3134         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3135         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3136         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3137         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3138         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3139         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3140         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3141         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3142         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3143         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3144         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3145         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3146         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3147         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3148         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3149         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3150         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3151         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3152         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3154 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3156         [BZ #17844]
3157         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3158         (getutent): Use weak_alias in non SHARED case
3159         and default_symbol_version in SHARED case.
3160         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3161         (getutent_r, pututline): Likewise.
3162         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3163         (getutid): Likewise.
3164         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3165         (getutid_r): Likewise.
3166         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3167         (getutline): Likewise.
3168         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3169         (getutline_r): Likewise.
3170         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3171         (updwtmp): Likewise.
3173 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3175         [BZ #17848]
3176         * sysdeps/s390/s390-32/memcmp.S
3177         (memcmp_g5): Rename to __memcmp_g5.
3178         * sysdeps/s390/s390-32/memcpy.S
3179         (memcpy_g5): Rename to __memcpy_g5.
3180         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3181         (memcpy_mvcle) Rename to __memcpy_mvcle.
3182         * sysdeps/s390/s390-32/memset.S
3183         (memset_g5): Rename to __memset_g5.
3184         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3185         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3186         and use prefixed functions.
3187         * sysdeps/s390/s390-32/multiarch/memcmp.S
3188         (memcmp_z196): Rename to __memcmp_z196.
3189         (memcmp_z10): Rename to __memcmp_z10.
3190         (memcmp): Set alias to __memcmp_g5.
3191         (bcmp): Set alias to __memcmp_g5.
3192         * sysdeps/s390/s390-32/multiarch/memcpy.S
3193         (memcpy_z196): Rename to __memcpy_z196.
3194         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3195         (memcpy_z10): Rename to __memcpy_z10.
3196         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3197         (memcpy): Set alias to __memcpy_g5.
3198         * sysdeps/s390/s390-32/multiarch/memset.S
3199         (memset_z196): Rename to __memset_z196.
3200         Jump to __memset_mvcle instead of memset_mvcle.
3201         (memset_z10): Rename to __memset_z10.
3202         Jump to __memset_mvcle instead of memset_mvcle.
3203         (memset_mvcle) Rename to __memset_mvcle.
3204         (memset): Set alias to __memset_g5.
3205         * sysdeps/s390/s390-64/memcmp.S
3206         (memcmp_z900): Rename to __memcmp_z900.
3207         * sysdeps/s390/s390-64/memcpy.S
3208         (memcpy_z900): Rename to __memcpy_z900.
3209         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3210         (memcpy_mvcle) Rename to __memcpy_mvcle.
3211         * sysdeps/s390/s390-64/memset.S
3212         (memset_z900): Rename to __memset_z900.
3213         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3214         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3215         and use prefixed functions.
3216         * sysdeps/s390/s390-64/multiarch/memcmp.S
3217         (memcmp_z196): Rename to __memcmp_z196.
3218         (memcmp_z10): Rename to __memcmp_z10.
3219         (memcmp): Set alias to __memcmp_z900.
3220         (bcmp): Set alias to __memcmp_z900.
3221         * sysdeps/s390/s390-64/multiarch/memcpy.S
3222         (memcpy_z196): Rename to __memcpy_z196.
3223         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3224         (memcpy_z10): Rename to __memcpy_z10.
3225         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3226         (memcpy): Set alias to __memcpy_z900.
3227         * sysdeps/s390/s390-64/multiarch/memset.S
3228         (memset_z196): Rename to __memset_z196.
3229         Jump to __memset_mvcle instead of memset_mvcle.
3230         (memset_z10): Rename to __memset_z10.
3231         Jump to __memset_mvcle instead of memset_mvcle.
3232         (memset_mvcle) Rename to __memset_mvcle.
3233         (memset): Set alias to __memset_z900.
3235 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
3237         [BZ #17748]
3238         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3239         __fesetenv instead of fesetenv.
3241 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3243         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3244         macro.
3246 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3248         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3249         regression on LE.
3251         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3252         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3253         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3254         strncmp-power8 object.
3255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3256         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3257         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3258         * NEWS: Update.
3260 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3263         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3264         trailing byte check.
3266 2015-01-13  David S. Miller  <davem@davemloft.net>
3268         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3270 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3272         * login/logout.c (logout): Use memset rather than bzero.
3273         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3274         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3275         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3276         (_gethtbyaddr): Likewise.
3277         * locale/programs/simple-hash.c (bcopy): Macro removed.
3279 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3282         Add strcmp-power8 object.
3283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3284         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3285         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3286         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3287         __strcmp_power8 implementation.
3288         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3289         * NEWS: Update.
3291         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3292         Add strncpy-power8 and stpncpy-power8 objects.
3293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3294         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3295         implementations.
3296         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3297         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3298         __stpncpy_power8 implementation.
3299         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3300         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3301         __strncpy_power8 implementation.
3302         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3303         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3304         * NEWS: Update.
3306         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3307         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3308         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3310         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3311         strncat-power8 object.
3312         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3313         __strcat_power8 implementation.
3314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3315         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3316         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3317         optimized strcat for power8.
3319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3320         strcpy-power8 and stpcpy-power8 objects.
3321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3322         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3323         implementations.
3324         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3325         multiarch stpcpy implementation for POWER8.
3326         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3327         multiarch strcpy implementation for POWER8.
3328         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3329         __strcpy_power8 function.
3330         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3331         stpcpy for POWER8.
3332         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3333         strcpy for POWER8.
3334         * NEWS: Update.
3336 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
3338         [BZ #16009]
3339         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3340         weights and rules. Use do_xfrm_cached if data fits in cache,
3341         do_xfrm otherwise.  Moved former main loop to...
3342         * (do_xfrm_cached): New function.
3343         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3344         find_idx, find_position and stack_push.
3345         * (find_idx): New function.
3346         * (find_position): Likewise.
3347         * localedata/sort-test.sh: Added test run for do_xfrm.
3348         * localedata/xfrm-test.c (main): Added command line option
3349         -nocache to run the test with strings that are too large for
3350         the STRXFRM cache.
3352 2015-01-13  Torvald Riegel  <triegel@redhat.com>
3354         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3355         variable to lll_futex_wake call, not the value itself.
3357 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
3359         [BZ #17803]
3360         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3361         twom64.  Adjust value to 0x1p-64L.
3362         (__scalblnl): Only return standard underflowing result for K <=
3363         -64 not K <= -63; adjust exponent for underflowing result by 64
3364         not 63.
3365         * math/libm-test.inc (scalbn_test_data): Add more tests.
3366         (scalbln_test_data): Likewise.
3368         [BZ #17834]
3369         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3370         0x1p63L.
3371         (__scalblnl): Get new exponent of adjusted subnormal value from ES
3372         not HX.
3373         * math/libm-test.inc (scalbn_test_data): Add more tests.
3374         (scalbln_test_data): Likewise.
3376 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3377             Stefani Seibold  <stefani@seibold.net>
3379         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3380         (sysdep_routines): Add dl-vdso here, ...
3381         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3382         (sysdep_routines): ... not here.
3383         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3384         fallback when vDSO is not presented.
3385         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3386         Define with libc_hidden_proto/libc_hidden_data_def definitions.
3387         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3388         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3389         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3390         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3391         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3392         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3393         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3394         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3395         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
3396         fallback configurable symbol when vDSO is not available.
3397         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3398         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
3399         be able to redefine fallback symbol when vDSO is not available.
3400         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3401         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3403 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3405         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3406         (TLS_INIT_TP): Add tm_capable initialization.
3407         (TLS_DEFINE_INIT_TP): Likewise.
3408         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3409         TCB.
3410         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3411         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3412         calculation.
3413         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3414         transactoion is lock elision is built and TCB tm_capable is set.
3415         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3417         (INTERNAL_SYSCALL_NCS): Likewise.
3418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3419         (INTERNAL_SYSCALL_NCS): Likewise.
3420         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3422         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3423         for powerpc.
3424         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3425         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3426         and remove it for 32 bits case.
3427         [pthread_rwlock_t] (__rwelision): New field for lock elision.
3428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3429         initialization.
3430         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3431         Disable lock elision with rdlocks if elision is not available.
3433         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3434         (sysdep_routines): Add lock elision objects.
3435         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3436         [pthread_mutex_t] (__spins): Rework to add lock elision field.
3437         [pthread_mutex_t] (__elision): Add field.
3438         [__PTHREAD_SPINS]: Adjust to init lock elision field.
3439         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3440         elision definitions for powerpc.
3441         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3442         implementation of lock elision for powerpc.
3443         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3444         implementation of timed lock elision for powerpc.
3445         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3446         implementation of trylock with lock elision for powerpc.
3447         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3448         implementaion of unlock for lock elision for powerpc.
3449         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3450         automatic enable lock elision for mutexes.
3451         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3452         transaction execution definitions for powerpc.
3453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3454         definitions.
3455         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3456         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3457         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3458         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3459         * NEWS: Update.
3461 2015-01-09  Roland McGrath  <roland@hack.frob.com>
3463         * sysdeps/posix/shm-directory.c: Use <> rather than ""
3464         for #include of <shm-directory.h>.
3466 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
3468         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3469         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3471 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
3473         [BZ #17791]
3474         * NEWS: Mention bug fix.
3475         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3476         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3477         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3479 2015-01-09  Torvald Riegel <triegel@redhat.com>
3481         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3483 2015-01-09  Torvald Riegel <triegel@redhat.com>
3485         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3487 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3489         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3490         pointer and cast to uintptr_t.
3492 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3494         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3495         removed.
3496         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3498 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3500         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3501         of 0.
3503 2015-01-08  Roland McGrath  <roland@hack.frob.com>
3505         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3506         <nptl/pthreadP.h> instead.
3507         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3509         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3510         already defined.
3511         [__SIGRTMIN] (init): Function removed.
3512         [__SIGRTMIN] (initialized): Variable removed.
3513         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3514         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3515         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3516         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3517         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3518         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3519         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3520         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3521         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3522         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3523         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3524         * sysdeps/nptl/allocrtsig.c: New file.
3525         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3526         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3527         * sysdeps/generic/testrtsig.h: File removed.
3529         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3530         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3532         * nptl/nptl-init.c (pthread_functions): Conditionalize
3533         .ptr__nptl_setxid initialization on [SIGSETXID].
3535         * sysdeps/nptl/sys/procfs.h: New file.
3536         * nptl_db/Makefile (headers): Add it.
3537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3539         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3540         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3541         * nptl/pthread_attr_setaffinity.c: Include it.
3542         * nptl/pthread_setattr_default_np.c: Likewise.
3543         * nptl/check-cpuset.h: New file.
3545 2015-01-08  Richard Henderson  <rth@redhat.com>
3547         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3548         (CFLAGS-tst-execstack-prog.c): Likewise.
3549         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3551 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
3552             Sandra Loosemore  <sandra@codesourcery.com>
3553             Andrew Jenner  <andrew@codesourcery.com>
3554             Joseph Myers  <joseph@codesourcery.com>
3555             Nathan Sidwell  <nathan@codesourcery.com>
3557         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3558         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3559         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3560         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3561         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3562         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3563         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3564         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3565         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3566         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3567         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3568         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3569         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3570         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3571         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3572         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3573         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3575 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3577         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3578         timespec struct member in syscall macro.
3579         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3580         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3581         first timeval struct member in syscall macro.
3582         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3584 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
3586         [BZ #17748]
3587         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3588         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3589         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3590         __feupdateenv and define as weak alias of __feupdateenv.  Use
3591         libm_hidden_weak.
3592         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3593         libm_hidden_def.
3594         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3595         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
3596         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3597         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3598         libm_hidden_def.
3599         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3600         __feupdateenv and define as weak alias of __feupdateenv.  Use
3601         libm_hidden_weak.
3602         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3603         libm_hidden_def.
3604         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3605         __feupdateenv and define as weak alias of __feupdateenv.  Use
3606         libm_hidden_weak.
3607         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3608         libm_hidden_def.
3609         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3610         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3611         (__feupdateenv): Likewise.
3612         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3613         __feupdateenv and define as weak alias of __feupdateenv.  Use
3614         libm_hidden_weak.
3615         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3616         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3617         libm_hidden_def.
3618         * sysdeps/tile/math_private.h (__feupdateenv): New inline
3619         function.
3620         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3621         libm_hidden_def.
3622         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3623         __feupdateenv instead of feupdateenv.
3624         (default_libc_feupdateenv_test): Likewise.
3625         (libc_feresetround_ctx): Likewise.
3627 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3629         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3630         prototype.
3632 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
3634         * posix/regcomp.c (parse_bracket_exp): Initialize type to
3635         COLL_SYM in a couple of places to avoid uninitialized variable
3636         wanings on tilegx gcc 4.8.2.
3638 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3640         * sysdeps/aarch64/strcpy.S: New file.
3641         * sysdeps/aarch64/stpcpy.S: New file.
3642         * NEWS: Updated.
3644 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3646         * sysdeps/aarch64/strrchr.S: New file.
3647         * NEWS: Updated.
3649 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
3651         [BZ #17658]
3652         * stdlib/setenv.c: Fix memory leak when setting large,
3653         duplicate string.
3655 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
3657         [BZ #17273]
3658         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3659         and tabs from buffer before parsing fstab entry.
3660         * misc/tst-mntent.c (main): Add test for mount entry with
3661         trailing spaces and tabs.
3663 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #17748]
3666         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
3667         * math/fesetround.c (fesetround): Rename to __fesetround and
3668         define as weak alias of __fesetround.  Use libm_hidden_weak.
3669         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3670         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3671         * sysdeps/arm/fesetround.c (fesetround): Likewise.
3672         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3673         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3674         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3675         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3676         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3677         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3678         __fesetround_inline.
3679         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3680         __fesetround_inline instead of __fesetround.
3681         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3682         __fesetround and define as weak alias of __fesetround.  Use
3683         libm_hidden_weak.  Call __fesetround_inline instead of
3684         __fesetround.
3685         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3686         __fesetround and define as weak alias of __fesetround.  Use
3687         libm_hidden_weak.
3688         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3689         Likewise.
3690         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3691         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3692         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3693         * sysdeps/tile/math_private.h (__fesetround): New inline function.
3694         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3695         __fesetround and define as weak alias of __fesetround.  Use
3696         libm_hidden_weak.
3697         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3698         __fesetround instead of fesetround.
3699         (default_libc_feholdexcept_setround): Likewise.
3700         (libc_feholdsetround_ctx): Likewise.
3701         (libc_feholdsetround_noex_ctx): Likewise.
3703         [BZ #17748]
3704         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3705         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3706         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3707         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3708         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3709         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3710         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3711         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3712         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3713         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3714         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3715         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3716         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3717         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3718         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3719         libm_hidden_def.
3720         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3721         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3722         Likewise.
3723         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3724         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3725         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3726         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3727         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3728         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3729         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3730         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3731         __fesetenv instead of fesetenv.
3732         (libc_feresetround_noex_ctx): Likewise.
3733         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3734         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3735         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3736         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3737         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3738         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3739         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3740         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3741         (__feupdateenv): Likewise.
3742         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3743         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3744         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3745         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3747 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3749         [BZ #17806]
3750         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3751         addresses have been freed.
3753 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3755         * resolv/res_init.c (__res_vinit): Improve comments about nserv
3756         and nservall.
3758 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
3760         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3761         Clean up check_pf allocation pattern. addresses
3763 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3765         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3766         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3767         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3768         * nptl/pthread_exit.c (__pthread_exit): Likewise.
3769         * nptl/pthread_join.c (pthread_join): Likewise.
3770         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3771         * sysdeps/posix/waitid.c (__waitid): Likewise.
3772         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3773         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3774         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3775         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3777         Likewise.
3778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3779         (__libc_pread64): Likewise.
3780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3781         (__libc_pwrite): Likewise.
3782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3783         (__libc_pwrite64): Likewsie.
3784         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3785         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3786         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3787         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3788         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3789         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3790         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3792         Likewise.
3793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3794         (__libc_pread64): Likewise.
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3798         (__libc_pwrite64): Likewise.
3799         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3800         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3801         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3802         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3803         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3804         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3805         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3806         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3807         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3808         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3809         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3810         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3811         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3812         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3813         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3814         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3815         Likewise.
3817 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3819         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3820         (CFLAGS-test-double.c): Likewise.
3821         (CFLAGS-test-ldouble.c): Likewise.
3822         (CPPFLAGS-test-ifloat.c): Likewise.
3823         (CPPFLAGS-test-idouble.c): Likewise.
3824         (CPPFLAGS-test-ildoubl.c): Likewise.
3825         (CFLAGS-test-test-fenv.c): Remove variable.
3826         (CFLAGS-test-misc.c): Likewise.
3828 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
3830         [BZ #17797]
3831         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3832         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3833         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3834         CLOCKS_PER_SEC == 1000000.
3835         * time/clocktest.c (main): Replace %ld with %jd and cast to
3836         intmax_t.
3838 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3840         * sysdeps/generic/unwind-resume.h: New file.
3841         * sysdeps/gnu/unwind-resume.c: Include it.
3842         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3843         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3844         argument list.
3845         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3846         global rather than static.
3847         (_Unwind_Resume): Update user.
3848         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3849         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
3850         rather than static.  Add __attribute__ ((cold)).
3851         (_Unwind_Resume, __gcc_personality_v0): Update callers.
3852         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3853         * sysdeps/arm/arm-unwind-resume.S: New file.
3854         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3855         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3856         * sysdeps/arm/Makefile [$(subdir) = csu]
3857         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3858         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3859         Add rt-arm-unwind-resume.
3860         [$(subdir) = nptl]
3861         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3862         Add pt-arm-unwind-resume.
3863         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3864         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3866 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3868         [BZ #17748]
3869         * include/fenv.h (__feholdexcept): Declare.  Use
3870         libm_hidden_proto.
3871         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3872         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
3873         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3874         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3875         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3876         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3877         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3878         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3879         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3880         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3881         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3882         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3883         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3884         (feholdexcept): Likewise.
3885         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3886         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3887         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3888         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3889         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3890         __feholdexcept instead of feholdexcept.
3891         (default_libc_feholdexcept_setround): Likewise.
3893 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3895         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3896         to avoid using stl/str to align destination.
3898 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3900         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3902 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3904         [BZ #17796]
3905         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3906         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3907         Define as weak alias not strong alias.
3909 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3911         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3912         bltzal with addiupc.
3913         (RTLD_START): Ditto.
3915 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
3917         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3918         for __vdso_* functions in declarations.
3919         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3920         definitions.
3921         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3922         INTERNAL_VSYSCALL): Use struct return types to check for error.
3924         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3925         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3926         function with cast from llround().
3927         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3928         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3929         Define.
3931 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3933         [BZ #17793]
3934         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3935         Define as weak alias not strong alias.
3937         [BZ #17635]
3938         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3939         ...
3940         * ctype/ctype-extn.c: ... here.
3941         (__isblank_l): Move to ...
3942         * ctype/ctype-c99_l.c: ... here.  New file.
3943         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3944         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3945         Remove variable.
3946         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3947         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3948         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3949         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3950         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3952         [BZ #17777]
3953         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3954         (posix_fadvise64): Define as weak alias not strong alias.
3955         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3956         (posix_fallocate64): Likewise.
3957         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3958         Remove variable.
3959         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3960         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3961         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3962         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3963         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3965 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3967         [BZ #16191]
3968         * NEWS: Mention bug fix.
3969         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3970         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3971         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3972         (HOST_STACK_END_ADDR): Likewise.
3974 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3976         [BZ #17748]
3977         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3978         * math/fegetround.c (fegetround): Rename to __fegetround and
3979         define as weak alias of __fegetround.  Use libm_hidden_weak.
3980         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3981         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3982         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3983         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3984         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3985         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3986         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3987         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3988         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3989         Undefine after rather than before function definition; use
3990         parentheses around function name in definition.
3991         (__fegetround): Also undefine macro after function definition.
3992         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3993         __fegetround and define as weak alias of __fegetround.  Use
3994         libm_hidden_weak.  Do not undefine as macro.
3995         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3996         Likewise.
3997         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3998         __fegetround and define as weak alias of __fegetround.  Use
3999         libm_hidden_weak.
4000         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4001         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4002         * sysdeps/tile/math_private.h (__fegetround): New inline function.
4003         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4004         __fegetround and define as weak alias of __fegetround.  Use
4005         libm_hidden_weak.
4006         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4007         __fegetround instead of fegetround.
4009         [BZ #17782]
4010         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4011         Condition macro definition on [__USE_MISC].
4013         [BZ #17781]
4014         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4015         (struct sigaction): Change type of sa_flags field to int.
4017         [BZ #17780]
4018         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4019         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4020         __glibc_reserved0.
4022         * nptl/version.c (banner): Use single year in copyright notice.
4024         * NEWS: Update copyright dates.
4025         * catgets/gencat.c (print_version): Likewise.
4026         * csu/version.c (banner): Likewise.
4027         * debug/catchsegv.sh: Likewise.
4028         * debug/pcprofiledump.c (print_version): Likewise.
4029         * debug/xtrace.sh (do_version): Likewise.
4030         * elf/ldconfig.c (print_version): Likewise.
4031         * elf/ldd.bash.in: Likewise.
4032         * elf/pldd.c (print_version): Likewise.
4033         * elf/sotruss.sh: Likewise.
4034         * elf/sprof.c (print_version): Likewise.
4035         * iconv/iconv_prog.c (print_version): Likewise.
4036         * iconv/iconvconfig.c (print_version): Likewise.
4037         * locale/programs/locale.c (print_version): Likewise.
4038         * locale/programs/localedef.c (print_version): Likewise.
4039         * login/programs/pt_chown.c (print_version): Likewise.
4040         * malloc/memusage.sh (do_version): Likewise.
4041         * malloc/memusagestat.c (print_version): Likewise.
4042         * malloc/mtrace.pl: Likewise.
4043         * manual/libc.texinfo: Likewise.
4044         * nptl/version.c (banner): Likewise.
4045         * nscd/nscd.c (print_version): Likewise.
4046         * nss/getent.c (print_version): Likewise.
4047         * nss/makedb.c (print_version): Likewise.
4048         * posix/getconf.c (main): Likewise.
4049         * scripts/test-installation.pl: Likewise.
4050         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4052 2015-01-02  Will Newton  <will.newton@linaro.org>
4054         * sysdeps/arm/armv7/configure: Removed.
4055         * sysdeps/arm/armv7/configure.ac: Likewise.
4057 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4059         * All files with FSF copyright notices: Update copyright dates
4060         using scripts/update-copyrights.
4061         * intl/plural.c: Regenerated.
4062         * locale/programs/charmap-kw.h: Likewise.
4063         * locale/programs/locfile-kw.h: Likewise.
4065 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4067         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4069 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4071         [BZ #17748]
4072         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4073         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4074         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4075         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4076         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4077         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4078         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4079         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4080         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4081         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4082         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4083         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4084         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4085         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4086         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4087         libm_hidden_def.
4088         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4089         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4090         Likewise.
4091         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4092         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4093         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4094         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4095         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4096         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4097         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4098         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4099         __fegetenv instead of fegetenv.
4100         (libc_feholdsetround_noex_ctx): Likewise.
4102 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4104         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4105         (Elf_MIPS_ABIFlags_v0): New structure.
4106         (EF_MIPS_FP64): Define.
4107         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4108         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4109         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4110         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4111         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4112         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4113         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4114         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4115         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4116         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4117         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4118         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4119         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4120         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4121         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4122         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4123         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4124         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4125         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4126         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4127         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4128         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4129         field.
4130         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4131         EF_MIPS_FP64.
4132         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4133         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4134         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4135         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4136         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4137         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4138         * sysdeps/mips/tst-abi-interlink.c: Likewise.
4139         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4140         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4141         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4142         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4143         record the current FP ABI extension.
4144         (mips-mode-switch): Define to show if kernel headers support mode
4145         switching.
4146         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4147         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4148         supported SYSV ABI version to 3.
4149         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4150         feature.
4152 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4153             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4155         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4156         path.
4157         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4159 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4161         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4162         __fegetround and redefine to call __fegetround.  Remove condition
4163         on [!__NO_MATH_INLINES].
4164         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4165         function.
4166         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4167         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4168         Remove macro.
4169         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4170         instead of <fenv_libc.h>.
4171         (__llrintl): Call fegetround instead of __fegetround.
4172         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4173         instead of <fenv_libc.h>.
4174         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4175         (__lrintl): Call fegetround instead of __fegetround.
4176         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4177         instead of <fenv_libc.h>.
4178         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4179         (__rintl): Call fegetround instead of __fegetround.
4181 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4183         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4184         arrays.
4186 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4188         [BZ #17775]
4189         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4190         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4191         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4193 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4195         * sysdeps/i386/tls-macros.h: Include <features.h>.
4196         (TLS_LE): Use non-PIC version for GCC >= 5.0.
4197         (TLS_IE): Likewise.
4198         (TLS_LD): Likewise.
4199         (TLS_GD): Likewise.
4200         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4201         define for GCC >= 5.0.
4203 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
4205         * math/test-fenv.c (test_single_exception, set_single_exc,
4206         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4207         feexcp_mask_test, feenable_test, fe_single_test): Add
4208         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4209         case where they are not used.
4210         * math/libm-test.inc: Likewise.
4211         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4212         unused in the absence of FP rounding/exception support.
4213         * stdio-common/tst-printf-round.c: Likewise.
4214         * stdlib/tst-strtod-round.c: Likewise.
4215         * stdlib/tst-strtod-underflow.c: Likewise.
4217 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
4219         [BZ #17723]
4220         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4221         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4222         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4223         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4224         libm_hidden_weak.
4225         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4226         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4227         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4228         libm_hidden_def.
4229         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4230         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4231         libm_hidden_weak.
4232         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4233         Likewise.
4234         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4235         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4236         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4237         libm_hidden_weak.
4238         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4239         libm_hidden_def.
4240         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4241         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4242         (__feraiseexcept): Likewise.
4243         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4244         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4245         libm_hidden_weak.
4246         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4247         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4248         libm_hidden_def.
4249         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4250         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4251         Use libm_hidden_def.
4252         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4253         libm_hidden_def.
4254         (feraiseexcept): Define as weak not strong alias.  Use
4255         libm_hidden_weak.
4256         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4257         New inline function.  Factored out of ...
4258         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4259         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4260         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4261         feraiseexcept.
4262         * math/w_acos.c (__acos): Likewise.
4263         * math/w_asin.c (__asin): Likewise.
4264         * math/w_ilogb.c (__ilogb): Likewise.
4265         * math/w_j0.c (y0): Likewise.
4266         * math/w_j1.c (y1): Likewise.
4267         * math/w_jn.c (yn): Likewise.
4268         * math/w_log.c (__log): Likewise.
4269         * math/w_log10.c (__log10): Likewise.
4270         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4271         * sysdeps/aarch64/fpu/math_private.h
4272         (libc_feupdateenv_test_aarch64): Likewise.
4273         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4274         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4275         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4276         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4277         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4278         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4279         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4280         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4281         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4282         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4284 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4286         [BZ #17732]
4287         * io/test-utime.c (main): Replace %ld with %jd and cast to
4288         intmax_t.
4289         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4290         * nptl/tst-mutex5.c: Include <stdint.h>.
4291         (do_test): Replace %ld with %jd and cast to intmax_t.
4292         * posix/tst-regex.c (run_test): Likewise.
4293         (run_test_backwards): Likewise.
4294         * rt/tst-clock.c: Include <stdint.h>.
4295         (clock_test): Replace %ld with %jd and cast to intmax_t.
4296         * rt/tst-cpuclock1.c: Include <stdint.h>.
4297         (do_test): Replace %lu with %ju and cast to uintmax_t.
4298         * rt/tst-cpuclock2.c: Include <stdint.h>.
4299         (do_test): Replace %lu with %ju and cast to uintmax_t.
4300         * rt/tst-mqueue1.c: Include <stdint.h>.
4301         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4302         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4303         intmax_t.
4304         * rt/tst-mqueue4.c (do_test): Likewise.
4305         * rt/tst-timer4.c: Include <stdint.h>.
4306         (check_ts): Replace %ld with %jd and cast to intmax_t.
4307         (do_test): Likewise.
4308         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4309         and cast to intmax_t.
4310         * sysdeps/pthread/tst-timer.c (main): Likewise.
4311         * time/clocktest.c (main): Likewise.
4312         * time/tst-posixtz.c (do_test): Likewise.
4313         * timezone/tst-timezone.c (main): Likewise.
4315 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4316             H.J. Lu  <hongjiu.lu@intel.com>
4318         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4319         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4320         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4321         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4322         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4323         version if bit_Fast_Unaligned_Load is set.
4324         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4325         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4326         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4327         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4328         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4329         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4331         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4332         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4333         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4334         to 4.
4335         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4336         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4337         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4338         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4340 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
4342         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4343         instead of #if to avoid a Wundef warning.
4344         * stdlib/tst-limits.c (do_test): Likewise.
4346         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4347         parallel other exception macros.
4348         (fegetenv): Convert from macro to extern inline so that it applies
4349         retroactively to inline functions already seen by the compiler.
4350         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4352         * posix/Makefile (before-compile): Use $(objpfx) for
4353         posix-conf-vars-def.h.
4355 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4357         * posix/getconf.c (main): Use size_t for type of I.
4358         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4359         NSPEC.
4361         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4362         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4363         * posix/posix-envs.def: Likewise.
4364         * sysdeps/posix/sysconf.c: Likewise.
4365         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4366         (specs): Remove array.
4367         * scripts/gen-posix-conf-vars.awk: Support generation of specs
4368         array.
4370         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4371         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4372         (__sysconf): Use CONF_IS_* macros.
4374         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4375         ($(objpfx)posix-conf-vars-def.h): New target.
4376         * posix/posix-conf-vars.list: New file.
4377         * posix/posix-conf-vars.h: New file.
4378         * posix/confstr.c: Include posix-conf-vars.h.
4379         (confstr): Use CONF_IS_* macros.
4380         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
4381         CONF_IS_* macros.
4382         * scripts/gen-posix-conf-vars.awk: New file.
4384 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
4386         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4387         fegetround): Add no-op macros to avoid linknamespace issues.
4389         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4390         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4392         * sysdeps/unix/sysv/linux/tile/sysdep.h
4393         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4394         assembly-specific section to avoid a redefinition warning.
4396         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4397         long before casting to pointer to avoid a cast warning.
4399 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
4401         * sysdeps/tile/tilegx/Implies: New file.
4403 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
4405         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4407 2014-12-23  Florian Weimer  <fweimer@redhat.com>
4409         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4411 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4413         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4414         not define.
4415         * sysdeps/unix/sysv/linux/utimes.c: Do not include
4416         <kernel-features.h>.
4417         (__utimes) [__NR_utimes]: Make code unconditional.
4418         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4419         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4420         (__ASSUME_UTIMES): Do not undefine.
4421         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4422         (__ASSUME_UTIMES): Likewise.
4423         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4424         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4425         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4426         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4428 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4430         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4432 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
4434         [BZ #17747]
4435         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4436         alias to weak alias for j0l, y0l.
4437         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4438         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4440         [BZ #17746]
4441         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4442         conversion.
4444 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4446         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4447         to zero if not already defined.
4449 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4451         [BZ #17724]
4452         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4453         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
4454         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
4455         (char *) casts added.
4456         * sysdeps/ieee754/k_standardf.c: New file.
4457         * sysdeps/ieee754/k_standardl.c: Likewise.
4458         * math/Makefile (libm-support): Remove k_standard.
4459         (libm-calls): Add k_standard.
4461 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4463         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4464         Optimize to avoid an unnecessary FPCR read.
4466 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4468         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4469         Optimize to reduce FPCR/FPSR accesses.
4471 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4473         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4474         Call libc_fetestexcept_aarch64.
4476 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4478         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4479         Call libc_fesetround_aarch64.
4481 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4483         [BZ #17733]
4484         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4485         (__bind): Do not define as weak alias.
4486         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4487         define.
4488         (__getsockname): Do not define as weak alias.
4490 2014-12-22  Will Newton  <will.newton@linaro.org>
4492         * manual/install.texi: Document that we require bison 2.7
4493         or above.
4494         * INSTALL: Regenerate.
4495         * configure.ac: Use AC_CHECK_PROG_VER instead of
4496         AC_PATH_PROG when checking for bison and check for
4497         version 2.7 or above.
4498         * configure: Regenerate.
4500 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
4502         [BZ #17745]
4503         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4504         * sysdeps/tile/ffsll.c (ffsll): To here.
4506         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4508 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4510         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4511         if not defined.
4512         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4513         definition.
4514         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4515         hidden ___tls_get_addr.
4516         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4517         hidden __tls_get_addr.
4518         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4519         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4520         Likewise.
4522 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4524         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4525         _dl_init call.
4527 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4529         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4530         from "call _dl_init@PLT".
4531         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4533 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
4535         * manual/search.texi: (Array Sort Function): Clarify stable sorting
4536         guarantees.
4538 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
4540         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4542 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4544         [BZ #17744]
4545         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4546         strnlen.
4548 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4550         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4551         of multu on MIPSr6.
4552         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4553         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4554         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4555         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4556         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4558 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4560         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4561         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4562         (PTR_SUBU): Use subu for mips32r6/mips64r6.
4563         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4564         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4565         mips32r6/mips64r6.
4566         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4568 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
4570         * string/strncat.c (STRNCAT): Simplify implementation.
4572 2014-12-19  David S. Miller  <davem@davemloft.net>
4574         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4575         access the quad as both a long double and as a series of 4 words.
4577         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4578         link_map->l_info array access.
4580 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4582         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4584         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4585         * math/atest-exp2.c (TIMEOUT): Likewise.
4586         * math/atest-sincos.c (TIMEOUT): Likewise.
4588 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4590         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4591         -Wno-error with -fno-builtin-lround.
4593 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4595         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4596         Contains futex constants and functions moved over from ...
4597         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
4598         <lowlevellock-futex.h>.
4599         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4600         (lll_timedwait_tid): Add comments and parentheses around macro
4601         arguments.
4603 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4605         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4606         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
4607         (__lll_private_flag): Remove.
4608         (lll_futex_wait): Likewise.
4609         (lll_futex_timed_wait): Likewise.
4610         (lll_futex_wake): Likewise.
4611         (lll_futex_requeue): Likewise.
4612         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4613         (__lll_timedwait_tid): Spell out argument names.
4614         (lll_timedwait_tid): Add comments and parentheses around macro
4615         arguments.
4616         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4617         LLL_SHARED and LLL_PRIVATE usable from assembly code.
4619 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4621         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4622         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4623         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4624         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4625         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4626         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4627         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4628         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4629         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4630         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4631         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4633         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4635         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4636         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4637         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4638         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4639         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4641 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4643         * sysdeps/x86_64/x32/Makefile: New file.
4645 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4647         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4648         1L with (mp_limb_t) 1.
4650 2014-12-17  Roland McGrath  <roland@hack.frob.com>
4652         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4653         * nptl/libc_pthread_init.c: ... here.
4654         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4655         * nptl/register-atfork.c: ... here.
4657         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4658         Use pthread_sigmask rather than INTERNAL_SYSCALL.
4659         Use assert_perror to check its return value.
4660         (__gai_create_helper_thread): Likewise.
4662         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4664         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4666 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
4668         [BZ #17725]
4669         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4670         __profil_counter.
4671         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4672         Likewise.
4673         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4674         Likewise.
4675         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4676         Likewise.
4677         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4678         (profil_counter): Likewise.
4679         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4680         (profil_counter): Likewise.
4681         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4682         Likewise.
4683         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4684         Likewise.
4685         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4686         (profil_counter): Likewise.
4687         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4688         Likewise.
4689         [!__profil_counter] (profil_counter): Define as weak alias of
4690         __profil_counter.
4691         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4692         (profil_counter): Rename to __profil_counter.
4693         [!__profil_counter] (profil_counter): Define as weak alias of
4694         __profil_counter.
4695         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4696         (profil_counter): Rename to __profil_counter.
4697         [!__profil_counter] (profil_counter): Define as weak alias of
4698         __profil_counter.
4699         * sysdeps/posix/profil.c: Update comment referring to
4700         profil_counter.
4701         (__profil): Use __profil_counter instead of profil_counter.
4702         * sysdeps/posix/sprofil.c (profil_counter): Rename to
4703         __profil_counter.  Use __profil_counter_ushort and
4704         __profil_counter_uint in definitions.
4705         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4706         instead of profil_counter_uint and profil_counter_ushort.
4708         [BZ #17722]
4709         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4710         define as weak alias of __inet_makeaddr.
4711         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4712         as weak alias of __inet_addr.
4713         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4714         as weak alias of __inet_pton.  Use libc_hidden_weak.
4715         * include/arpa/inet.h (__inet_pton): Declare.  Use
4716         libc_hidden_proto.
4717         (inet_makeaddr): Don't use libc_hidden_proto.
4718         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
4719         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4720         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
4721         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4722         Remove variable.
4723         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4724         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4726 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
4728         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4730 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4732         * stdio-common/bug-vfprintf-nargs.c (do_test):
4733         Cast value to intptr_t to avoid format warning
4734         for usage with PRIdPTR printing macro.
4736 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4738         * libio/tst-widetext.c (do_test):
4739         Use format type %td instead of %Zd for ptrdiff_t
4740         in order to avoid format warning.
4742 2014-12-17  Andreas Schwab  <schwab@suse.de>
4744         * nscd/mem.c (gc): Add size_t cast to match printf format.
4746 2014-12-16  Roland McGrath  <roland@hack.frob.com>
4748         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4749         (init): Apply PTR_MANGLE to pointers before storing them.
4750         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4751         before using them.
4753 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
4755         [BZ #17719]
4756         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4757         define as weak alias of __memrchr.
4758         (__memrchr): Do not define as strong alias of memrchr.
4759         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4760         Remove variable.
4761         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4762         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4763         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4765         [BZ #17717]
4766         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4767         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
4768         (if_indextoname): Rename to __if_indextoname and define as weak
4769         alias of __if_indextoname.  Use libc_hidden_weak.
4770         (if_freenameindex): Rename to __if_freenameindex and define as
4771         weak alias of __if_freenameindex.
4772         (if_nameindex): Rename to __if_nameindex and define as weak alias
4773         of __if_nameindex.
4774         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4775         __if_nametoindex and define as weak alias of __if_nametoindex.
4776         Use libc_hidden_weak.
4777         (if_freenameindex): Rename to __if_freenameindex and define as
4778         weak alias of __if_freenameindex.
4779         (if_nameindex): Rename to __if_nameindex and define as weak alias
4780         of __if_nameindex.
4781         (if_indextoname): Rename to __if_indextoname and define as weak
4782         alias of __if_indextoname.  Use libc_hidden_weak.
4783         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4784         __if_nametoindex and define as weak alias of __if_nametoindex.
4785         Use libc_hidden_weak.
4786         (if_freenameindex): Rename to __if_freenameindex and define as
4787         weak alias of __if_freenameindex.  Use libc_hidden_weak.
4788         (if_nameindex_netlink): Use __if_freenameindex instead of
4789         if_freenameindex.
4790         (if_nameindex): Rename to __if_nameindex and define as weak alias
4791         of __if_nameindex.  Use libc_hidden_weak.
4792         (if_indextoname): Rename to __if_indextoname and define as weak
4793         alias of __if_indextoname.  Use libc_hidden_weak.
4794         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4795         libc_hidden_proto.
4796         [!_ISOMAC] (__if_freenameindex): Likewise.
4797         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4798         if_nametoindex.
4799         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4800         variable.
4801         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4802         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4803         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4804         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4805         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4806         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4807         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4809         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4810         Remove variable.
4811         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4812         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4814 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4816         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4817         subscript above bounds'
4819         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4820         bounds.
4822 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
4824         * libio/tst-fopenloc.c: Use test-skeleton.c.
4826         * stdlib/tst-bsearch.c: Use test-skeleton.c.
4827         (entry): Rename to ITEM.
4828         (do_test, comp): Adjust.
4830         * stdio-common/tst-fseek.c: Use test-skeleton.c.
4832 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4834         * string/tester.c: Include <libc-internal.h>.
4835         (test_memset): Ignore -Wmemset-transposed-args.
4837 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4839         * misc/tst-mntent2.c (do_test): Fix warning.
4841 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4843         * elf/tst-unique4lib.cc(a): Mark as used.
4845 2014-12-16  Florian Weimer  <fweimer@redhat.com>
4847         [BZ #17630]
4848         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4849         names.
4851 2014-12-16  Allan McRae  <allan@archlinux.org>
4853         * stdio-common/Makefile (tests): Re-add bug26.
4855 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
4857         [BZ #17657]
4858         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4859         static array.
4861 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
4863         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4864         (__lll_lock_wait): Likewise.
4865         (__lll_timedlock_wait): Likewise.
4866         (__lll_timedwait_tid): Likewise.
4867         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4868         (__lll_robust_timedlock_wait): Likewise.
4869         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4870         (lll_cond_trylock): Likewise.
4871         (__lll_lock): Likewise.
4872         (__lll_robust_lock): Likewise.
4873         (__lll_cond_lock): Likewise.
4874         (lll_robust_cond_lock): Likewise.
4875         (__lll_timedlock): Likewise.
4876         (__lll_robust_timedlock): Likewise.
4877         (__lll_unlock): Likewise.
4878         (__lll_robust_unlock): Likewise.
4879         (lll_wait_tid): Likewise.
4880         (lll_timedwait_tid): Likewise.
4882 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4884         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4886 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4888         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4890 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4892         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4893         * stdio-common/tst-sprintf.c: Likewise.
4895 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4897         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4899 2014-12-15  Jeff Law  <law@redhat.com>
4901         [BZ #16617]
4902         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4903         on the heap.  (CVE-2012-3406)
4904         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4905         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
4906         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4908 2014-12-15  Will Newton  <will.newton@linaro.org>
4910         * manual/install.texi: Bump required version of texinfo
4911         to 4.7 from 4.5.
4912         * INSTALL: Regenerated.
4913         * configure.ac: Check for makeinfo version 4.7 and above.
4914         * configure: Regenerated.
4916 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4918         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4919         PREFIX, string constant to insert between directory and name.
4920         * sysdeps/posix/shm_open.c: Update caller.
4921         * sysdeps/posix/shm_unlink.c: Likewise.
4922         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4923         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4924         (SEM_SHM_PREFIX): New macro.
4925         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4926         [$(have-thread-library) = no].
4927         * nptl/Makefile (libpthread-routines): Add shm-directory.
4928         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4929         * sysdeps/nptl/shm-directory.h: New file.
4930         * sysdeps/posix/shm-directory.c
4931         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4932         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4933         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4934         INTERNAL_SYSCALL.
4935         (__where_is_shmfs): Function removed.
4936         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4937         Variables removed.
4938         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4939         Use SHM_GET_NAME.
4940         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4942         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4943         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4944         unconditional for use inside libpthread.
4945         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4947 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4949         * nptl/pthread_getaffinity.c: New file.
4950         * nptl/pthread_setaffinity.c: New file.
4951         * nptl/pthread_getname.c: New file.
4952         * nptl/pthread_setname.c: New file.
4954         * nptl/pthread_create.c (START_THREAD_DEFN)
4955         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4957 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4958             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4960         * resolv/res_send.c (send_vc): Disable warning resplen may
4961         be used uninitialized.
4963 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4965         * nptl/tst-mutex6.c
4966         (ATTR_NULL): New define checks ATTR against NULL.
4967         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4968         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4970 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4972         [BZ #17581]
4973         * malloc/hooks.c
4974         (mem2mem_check): Revert my previous change.
4975         (malloc_check_get_size): Revert my previous change.
4976         (mem2chunk_check): Revert my previous change.
4978 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4980         * sysdeps/posix/shm-directory.c: New file.
4981         * sysdeps/posix/shm-directory.h: New file.
4982         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4983         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4984         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4985         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4986         Transmute EPERM to EACCES.
4987         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4988         from ...
4989         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4990         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4992 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4994         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4995         pointer and cast to uintptr_t.
4996         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4997         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4998         Add cast to avoid warning.
4999         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5001 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5003         * nptl/semaphore.h: Move to ...
5004         * sysdeps/pthread/semaphore.h: ... here.
5005         * Makefile (installed-headers): Change nptl/semaphore.h to
5006         sysdeps/pthread/semaphore.h.
5008 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5010         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5011         generated error format strings.
5013         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5014         -Wformat-extra-args warnings for scanf formats.
5015         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5016         test of zero-length format (duh).
5017         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5018         corner-case scanf format test.
5019         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5020         generated fprintf format string.
5021         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5022         corner-case sprintf format tests.
5023         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5024         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5025         -Wformat-extra-args warnings throughout.
5026         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5027         (CFLAGS-scanf4.c): Likewise.
5028         (CFLAGS-scanf7.c): Likewise.
5029         (CFLAGS-tst-sprintf.c): Likewise.
5030         (CFLAGS-tst-printf.c): Likewise.
5031         (CFLAGS-tst-printfsz.c): Likewise.
5033 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5035         * include/cpio.h: New file.
5036         * include/fmtmsg.h: Likewise.
5038         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
5039         corresponding format argument to size_t.
5040         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
5041         arguments.
5042         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
5043         corresponding format argument to size_t.
5044         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
5045         arguments.
5046         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
5047         corresponding format argument to size_t.
5048         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5049         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5050         (CFLAGS-tst-mbswcs2.c): Likewise.
5051         (CFLAGS-tst-mbswcs3.c): Likewise.
5052         (CFLAGS-tst-mbswcs4.c): Likewise.
5053         (CFLAGS-tst-mbswcs5.c): Likewise.
5054         (CFLAGS-tst-trans.c): Likewise
5056 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5058         * posix/regexbug1.c (main): Use "%s" format with regerror results,
5059         rather than assuming they won't contain any '%'s.
5061 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
5063         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5064         inhibit_loop_to_libcall to avoid recursive calls.
5065         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5066         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5068 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5070         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5071         prototype.
5073 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5075         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5076         integer value instead of boolean.
5078 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5080         * malloc/malloc.c: Fix powerof2 check.
5082 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5084         * locale/programs/locfile.h (maybe_swap_uint32):
5085         Remove inline and add unused attribute.
5087 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5089         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5090         Truncating assembler expression to a .long expression.
5092 2014-12-11  Andreas Schwab  <schwab@suse.de>
5094         * elf/rtld.c (struct map_args): Constify str member.
5095         (do_preload): Constify fname argument.
5097 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5099         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5100         constants definition.
5102 2014-12-11  Andreas Schwab  <schwab@suse.de>
5104         [BZ #16657]
5105         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5106         FORCE_ELISION instead of DO_ELISION.
5107         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5108         Remove.
5109         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5110         Likewise.
5112         * iconvdata/gconv-modules: Remove duplicate entry.
5114 2014-12-11  Will Newton  <will.newton@linaro.org>
5116         Merge gettext 0.19.3 into intl/.
5118         This involves a number of cosmetic changes to comments
5119         and ANSI function definitions and prototypes throughout
5120         all the files. The gettext copyright header is used but
5121         with the date ranges taken from the glibc copy.
5123         * NEWS: Add gettext merge to 2.21.
5124         * intl/bindtextdom.c: Switch to gettext copyright.
5125         Use ANSI definitions and prototypes.
5126         Use gl_* locking primitives rather than __libc_* ones.
5127         Use __builtin_expect rather than __glibc_likely/unlikely.
5128         * intl/dcgettext.c: Switch to gettext copyright.
5129         Use ANSI definitions and prototypes.
5130         * intl/dcigettext.c: Switch to gettext copyright.
5131         Use ANSI definitions and prototypes.
5132         (INTDIV0_RAISES_SIGFPE): New define.
5133         Use gl_* locking primitives rather than __libc_* ones.
5134         Include eval-plural.h instead of plural-eval.c.
5135         Use __builtin_expect rather than __glibc_likely/unlikely.
5136         * intl/dcngettext.c: Switch to gettext copyright.
5137         Use ANSI definitions and prototypes.
5138         * intl/dgettext.c: Likewise.
5139         * intl/dngettext.c: Likewise.
5140         * intl/plural-eval.c: Renamed to...
5141         * intl/eval-plural.h: ...this.
5142         * intl/explodename.c: Switch to gettext copyright.
5143         Use ANSI definitions and prototypes.
5144         (_nl_explode_name): Use strchr instead of __rawmemchr.
5145         * intl/finddomain.c: Switch to gettext copyright.
5146         Use ANSI definitions and prototypes.
5147         Use gl_* locking primitives rather than __libc_* ones.
5148         (_nl_find_domain): Use malloc rather than alloca for
5149         allocation of temporary locale name.
5150         * intl/gettext.c: Switch to gettext copyright.
5151         Use ANSI definitions and prototypes.
5152         * intl/gettextP.h: Switch to gettext copyright.
5153         Use ANSI definitions and prototypes.
5154         Use gl_* locking primitives rather than __libc_* ones.
5155         * intl/gmo.h: Switch to gettext copyright.
5156         (struct sysdep_string): Move struct segment_pair outside of
5157         struct definition.
5158         * intl/hash-string.c: Use ANSI definitions and prototypes.
5159         * intl/hash-string.h: Switch to gettext copyright.
5160         Use ANSI definitions and prototypes.
5161         * intl/l10nflist.c: Switch to gettext copyright.
5162         Use ANSI definitions and prototypes.
5163         (_nl_normalize_codeset): Avoid integer overflow.
5164         * intl/loadinfo.h: Switch to gettext copyright.
5165         Use ANSI definitions and prototypes.
5166         (LIBINTL_DLL_EXPORTED): New define.
5167         (PATH_SEPARATOR): New define.
5168         * intl/loadmsgcat.c: Switch to gettext copyright.
5169         * intl/localealias.c: Switch to gettext copyright.
5170         Use ANSI definitions and prototypes.
5171         (_nl_expand_alias): Use PATH_SEPARATOR.
5172         * intl/ngettext.c: Switch to gettext copyright.
5173         Use ANSI definitions and prototypes.
5174         * intl/plural-exp.c: Likewise.
5175         * intl/plural-exp.h: Switch to gettext copyright.
5176         Use ANSI definitions and prototypes.
5177         (struct expression): Move definition of enum operator outside
5178         of struct definition.
5179         * intl/plural.c: Regenerate.
5180         * intl/plural.y: Switch to gettext copyright.
5181         Use ANSI definitions and prototypes.
5182         Port to bison 3.0.
5183         * intl/textdomain.c: Switch to gettext copyright.
5184         Use ANSI definitions and prototypes.
5185         Use gl_* locking primitives rather than __libc_* ones.
5187 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
5189         * debug/warning-nop.c: Add used atrribute.
5191 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5193         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5195         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5196         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5197         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5199 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5200             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5202         [BZ #17634]
5203         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5204         Undefine after defining function.  Define as weak alias of
5205         __wcschr.  Use libc_hidden_weak.
5206         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
5207         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5208         (libc_hidden_def): Also define __GI___wcschr alias.
5209         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5210         __wcschr and define as weak alias of __wcschr.
5211         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5212         __wcschr.
5213         [!WCSCHR] (DEFAULT_WCSCHR): Define.
5214         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5215         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
5216         libc_hidden_weak.  Do not use libc_hidden_def.
5217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5218         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5219         __GI___wcschr alias.
5220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5221         [IS_IN (libc)] (wcschr): Define as macro expanding to
5222         __redirect_wcschr.
5223         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5224         [IS_IN (libc)] (__wcschr_power6): Likewise.
5225         [IS_IN (libc)] (__wcschr_power7): Likewise.
5226         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
5227         instead of wcschr.
5228         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5229         __libc_wcschr.
5230         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5231         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5232         __wcschr and define as weak alias of __wcschr.  Use
5233         libc_hidden_builtin_def.
5234         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5235         as weak alias of __wcschr.  Use libc_hidden_weak.
5236         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5237         wcschr.
5238         * time/era.c (_nl_init_era_entries): Likewise.
5239         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5240         variable.
5241         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5242         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5244 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5246         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5247         format for long int variable.
5249 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
5251         [BZ #10672]
5252         * manual/search.texi: (Array Sort Function): Remove claim how to make
5253         qsort stable.
5255 2014-12-10  Andreas Schwab  <schwab@suse.de>
5257         [BZ #12847]
5258         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5259         user-controlled locks.
5261 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5263         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5264         register.
5266 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5268         * configure.ac (--disable-werror): New configure option.
5269         (enable_werror): New AC_SUBST.
5270         * configure: Regenerated.
5271         * config.make.in (enable-werror): New variable.
5272         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5273         -Wno-error=undef.
5274         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5275         * manual/install.texi (Configuring and compiling): Document
5276         --disable-werror.
5277         * INSTALL: Regenerated.
5278         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5279         (CFLAGS-tst-chk2.c): Likewise.
5280         (CFLAGS-tst-chk3.c): Likewise.
5281         (CFLAGS-tst-chk4.cc): Likewise.
5282         (CFLAGS-tst-chk5.cc): Likewise.
5283         (CFLAGS-tst-chk6.cc): Likewise.
5284         (CFLAGS-tst-lfschk1.c): Likewise.
5285         (CFLAGS-tst-lfschk2.c): Likewise.
5286         (CFLAGS-tst-lfschk3.c): Likewise.
5287         (CFLAGS-tst-lfschk4.cc): Likewise.
5288         (CFLAGS-tst-lfschk5.cc): Likewise.
5289         (CFLAGS-tst-lfschk6.cc): Likewise.
5291         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5292         (main): Disable -Wdeprecated-declarations around calls to
5293         register_printf_function.
5295         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5296         (do_test): Disable -Wdiv-by-zero around some calls to
5297         fwrite_unlocked and fread_unlocked.
5299         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5300         (DIAG_POP_NEEDS_COMMENT): Likewise.
5301         (_DIAG_STR1): Likewise.
5302         (_DIAG_STR): Likewise.
5303         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5304         * stdio-common/bug21.c: Include <libc-internal.h>.
5305         (do_test): Disable -Wformat around call to sscanf.
5306         * stdio-common/scanf14.c: Include <libc-internal.h>.
5307         (main): Disable -Wformat around some calls to scanf functions.
5309 2014-12-09  Torvald Riegel  <triegel@redhat.com>
5311         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5313 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5315         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5316         stack variable alignment.
5318 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
5320         [BZ #17682]
5321         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5322         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5323         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5324         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5325         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5326         __getrlimit instead of getrlimit.
5327         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5328         __gettimeofday instead of gettimeofday.
5329         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5330         Likewise.
5331         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5332         Likewise.
5333         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5334         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5335         Remove variable.
5336         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5337         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5339 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5341         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5342         for wide-character tests.
5344 2014-12-04  Roland McGrath  <roland@hack.frob.com>
5346         * io/openat64.c: #include <libc-internal.h>
5347         (__openat64): Prototypify.  Use ignore_value on MODE.
5348         * io/openat.c: Likewise.
5349         * misc/reboot.c: #include <libc-internal.h>
5350         (reboot): Prototypify.  Use ignore_value on HOWTO.
5351         * misc/ptrace.c: #include <libc-internal.h>
5352         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
5354 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
5356         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5357         XPG4, UNIX98 and XOPEN2K.
5358         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5359         Remove variable.
5360         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5362 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5364         * libio/fileops.c: Use ISO C style for function definitions.
5365         * libio/iofopen.c: Likewise.
5366         * libio/wfileops.c: Likewise.
5368         [BZ #17653]
5369         * libio/fileops.c (_IO_new_file_underflow): Unset cached
5370         offset on EOF.
5371         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5372         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5373         (fgets_func): Function pointer to fgets and fgetws.
5374         (do_ftell_test): Add test to verify ftell value after read
5375         EOF.
5376         (do_test): Set fgets_func.
5378         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5379         O_TRUNC flag for w and w+ modes.
5380         (do_rewind_test): Likewise.
5381         (do_ftell_test): Likewise.
5382         (do_write_test): Likewise.
5384         [BZ #17647]
5385         * libio/fileops.c (do_ftell): Seek only when there are
5386         unflushed writes.
5387         * libio/wfileops.c (do_ftell_wide): Likewise.
5388         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5389         test case.
5390         (do_one_test): Call it.
5392 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
5394         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5395         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5396         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5397         Remove variable.
5398         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5399         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5400         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5402 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5404         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5405         Remove variable.
5406         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5408         [BZ #17668]
5409         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5410         as weak alias of __getifaddrs.  Use libc_hidden_weak.
5411         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5412         __freeifaddrs.  Use libc_hidden_weak.
5413         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5414         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
5415         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5416         __freeifaddrs.  Use libc_hidden_weak.
5417         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5418         __getifaddrs and define as weak alias of __getifaddrs.  Use
5419         libc_hidden_weak.
5420         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5421         __freeifaddrs.  Use libc_hidden_weak.
5422         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5423         Remove variable.
5424         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5425         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5427 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5429         [BZ #17601]
5430         * sysdeps/mips/start.S (__start): Use indirect jump to call
5431         __libc_start_main.
5433 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5435         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5437         * nptl/tst-mutex1.c: Include <stdbool.h>.
5438         [!ATTR] (ATTR_NULL): New macro.
5439         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5440         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5441         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5443         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5444         to char *.
5446         [BZ #17665]
5447         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5448         Change conditional to [__USE_MISC].
5450         [BZ #17664]
5451         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5452         fgets_unlocked.
5453         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5454         __fgets_unlocked.
5455         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5456         fgets_unlocked.
5457         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5458         Remove variable.
5459         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5460         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5461         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5462         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5463         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5464         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5465         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5466         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5467         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5469         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5471 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5474         Remove strpbrk objects.
5475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5476         (__libc_ifunc_impl_list): Remove strpbrk implementation.
5477         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5478         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5479         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5480         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5483         Remove strcspn objects.
5484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5485         (__libc_ifunc_impl_list): Remove strcspn implementation.
5486         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5487         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5488         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5489         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5491         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5492         Remove strspn objetcs.
5493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5494         (__libc_ifunc_impl_list): Remove strspn implementation.
5495         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5496         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5497         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5498         * sysdeps/powerpc/powerpc64/strspn.S: New file.
5500 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
5502         [BZ #17581]
5503         * malloc/hooks.c
5504         (mem2mem_check): Add a terminator to the chain of checking blocks.
5505         (malloc_check_get_size): Use it here.
5506         (mem2chunk_check): Ditto.
5508 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5510         * sysdeps/powerpc/powerpc64/strtok.S: New file.
5511         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5513 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
5515         * bits/ioctl-types.h: Indent preprocessor directives correctly.
5517         * nptl/nptl-init.c: Include libc-internal.h.
5518         (__pthread_initialize_minimal_internal): Use ROUND_UP.
5520         * elf/ldconfig.c (search_dir): Expand comment.
5522 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
5524         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5525         variable.
5526         (linknamespace-symlist-stdlibs-tests): Likewise.
5527         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5528         instead of $(objpfx)symlist-stdlibs.
5529         (linknamespace-libs-isoc): New variable.
5530         (linknamespace-libs): Use $(linknamespace-libs-isoc).
5531         (linknamespace-libs-ISO): New variable.
5532         (linknamespace-libs-ISO99): Likewise.
5533         (linknamespace-libs-ISO11): Likewise.
5534         (linknamespace-libs-XPG3): Likewise.
5535         (linknamespace-libs-XPG4): Likewise.
5536         (linknamespace-libs-POSIX): Likewise.
5537         (linknamespace-libs-UNIX98): Likewise.
5538         (linknamespace-libs-XOPEN2K): Likewise.
5539         (linknamespace-libs-POSIX2008): Likewise.
5540         (linknamespace-libs-XOPEN2K8): Likewise.
5541         ($(objpfx)symlist-stdlibs): Replace by
5542         $(linknamespace-symlist-stdlibs-tests).  Use
5543         $(linknamespace-libs-$*) as set of libraries.
5544         ($(linknamespace-header-tests)): Update dependencies.  Use
5545         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5546         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5547         * conform/linknamespace.pl: Remove comment about considering
5548         definitions of symbols from irrelevant libraries.
5550 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5552         [BZ #13862]
5553         * elf/dl-tls.c: Include <atomic.h>.
5554         (oom): Remove #ifdef SHARED/#endif.
5555         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5556         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
5557         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5558         big enough.
5559         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5560         * nptl/Makefile (tests): Add tst-stack4.
5561         (modules-names): Add tst-stack4mod.
5562         ($(objpfx)tst-stack4): New.
5563         (tst-stack4mod.sos): Likewise.
5564         ($(objpfx)tst-stack4.out): Likewise.
5565         ($(tst-stack4mod.sos)): Likewise.
5566         (clean): Likewise.
5567         * nptl/tst-stack4.c: New file.
5568         * nptl/tst-stack4mod.c: Likewise.
5570 2014-11-27  J. Brown  <jb999@gmx.de>
5572         * sysdeps/x86/bits/string.h: Add recent CPUs.
5574 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5576         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5577         sigblock.
5579         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5580         feof.
5582         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5583         variable.
5585 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5587         * nscd/connections.c: Include libc-internal.h because of macro
5588         usage ignore_value.
5590 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5592         * string/bits/string3.h (__warn_memset_zero_len): Don't
5593         declare for gcc newer than 5.0.
5594         (memset): Don't test for zero-length __LEN for gcc newer than
5595         5.0.
5597 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5599         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5600         size_t for %zu format.
5602         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5603         difference, not %ju.
5605 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5607         * include/libc-internal.h (ignore_value): New macro.
5608         * nscd/connections.c (restart): Wrap calls to setuid and setgid
5609         with ignore_value.
5611         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5612         definition.
5614         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5615         pthread_cleanup_push to void *.
5617         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5618         Undefine.
5620         [BZ #16619]
5621         [BZ #16740]
5622         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5623         instead of 1L << 52.
5625         * libio/bug-rewind.c (do_test): Check fwscanf return values.
5626         * libio/bug-rewind2.c (do_test): Likewise.
5628         * debug/test-stpcpy_chk-ifunc.c: Remove file.
5629         * debug/test-strcpy_chk-ifunc.c: Likewise.
5630         * wcsmbs/test-wcschr-ifunc.c: Likewise.
5631         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5632         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5633         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5634         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5635         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5636         * Rules [$(multi-arch) = no] (tests): Do not filter out
5637         $(tests-ifunc).
5638         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5639         * debug/Makefile (tests-ifunc): Remove variable.
5640         (tests): Do not add $(tests-ifunc).
5641         * wcsmbs/Makefile (tests-ifunc): Remove variable.
5642         (tests): Do not add $(tests-ifunc).
5643         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5644         [TEST_IFUNC]: Remove conditionals.
5645         * string/test-string.h (TEST_IFUNC): Remove macro.
5646         [TEST_IFUNC]: Remove conditionals.
5648         * string/test-strchr.c [!WIDE] (L): New macro.
5649         [WIDE] (L): Likewise.
5650         (check1): Use CHAR instead of char.  Use L on string and character
5651         constants.
5653 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
5655         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5656         tests.
5657         * sysdeps/powerpc/bits/atomic.h
5658         (__arch_atomic_exchange_and_add_32_acq): Add definition.
5659         (__arch_atomic_exchange_and_add_32_rel): Likewise.
5660         (atomic_exchange_and_add_acq): Likewise.
5661         (atomic_exchange_and_add_rel): Likewise.
5662         * sysdeps/powerpc/powerpc32/bits/atomic.h
5663         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5664         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5665         * sysdeps/powerpc/powerpc64/bits/atomic.h
5666         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5667         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5669 2014-11-26  Torvald Riegel  <triegel@redhat.com>
5671         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5672         Change synchronization of __sched_fifo_min_prio and
5673         __sched_fifo_max_prio.
5674         * nptl/pthread_mutexattr_getprioceiling.c
5675         (pthread_mutexattr_getprioceiling): Likewise.
5676         * nptl/pthread_mutexattr_setprioceiling.c
5677         (pthread_mutexattr_setprioceiling): Likewise.
5678         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5679         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5680         Likewise.
5682 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5684         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5685         void.
5687 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5689         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5690         third argument const.
5692 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
5694         fnmatch: work around GCC compiler warning bug with uninit var
5695         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5696         This works around a bug with x86-64 GCC 4.9.2 and earlier
5697         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5698         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5699         used uninitialized in this function [-Wmaybe-uninitialized]".
5701 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5703         * posix/bug-regex31.c (main): Return RES not 0.
5705 2014-11-25  Anton Blanchard <anton@samba.org>
5707         * sysdeps/powerpc/bits/atomic.h
5708         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5710 2014-11-24  Sterling Augustine  <saugustine@google.com>
5712         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5714 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
5716         [BZ #17608]
5717         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5719 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
5721         [BZ #17633]
5722         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5723         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5724         variable.
5725         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5726         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5728 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5730         * string/strncpy.c (strncpy): Improve performance by using memset.
5732 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5734         * string/strcpy.c (strcpy):
5735         Improve performance by using strlen and memcpy.
5737 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
5739         * string/strcoll_l.c (get_next_seq): __always_inline.
5740         * string/strcoll_l.c (do_compare): __always_inline.
5742 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5744         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5745         defined.
5746         * include/mqueue.h: Likewise.
5747         * include/stdlib.h: Likewise.
5749         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5750         (get_null_defines): Adjust.
5751         * sunrpc/Makefile: Adjust comment.
5752         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5753         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5754         (CFLAGS-interp.c): Likewise.
5755         (CFLAGS-ldconfig.c): Likewise.
5756         (CPPFLAGS-.os): Likewise.
5757         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5758         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5759         * extra-modules.mk (extra-modules.mk): Likewise.
5760         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5761         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5762         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5763         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5764         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5765         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5766         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5767         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5768         * iconvdata/Makefile (CPPFLAGS): Likewise.
5769         (cpp-srcs-left): Add libof for all iconvdata routines.
5770         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5771         * include/assert.h: Likewise.
5772         * include/ctype.h: Likewise.
5773         * include/errno.h: Likewise.
5774         * include/libc-symbols.h: Likewise.
5775         * include/math.h: Likewise.
5776         * include/netdb.h: Likewise.
5777         * include/resolv.h: Likewise.
5778         * include/stdio.h: Likewise.
5779         * include/stdlib.h: Likewise.
5780         * include/string.h: Likewise.
5781         * include/sys/stat.h: Likewise.
5782         * include/wctype.h: Likewise.
5783         * intl/l10nflist.c: Likewise.
5784         * libidn/idn-stub.c: Likewise.
5785         * libio/libioP.h: Likewise.
5786         * nptl/libc_multiple_threads.c: Likewise.
5787         * nptl/pthreadP.h: Likewise.
5788         * posix/regex_internal.h: Likewise.
5789         * resolv/res_hconf.c: Likewise.
5790         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5791         * sysdeps/arm/memmove.S: Likewise.
5792         * sysdeps/arm/sysdep.h: Likewise.
5793         * sysdeps/generic/_itoa.h: Likewise.
5794         * sysdeps/generic/symbol-hacks.h: Likewise.
5795         * sysdeps/gnu/errlist.awk: Likewise.
5796         * sysdeps/gnu/errlist.c: Likewise.
5797         * sysdeps/i386/i586/memcpy.S: Likewise.
5798         * sysdeps/i386/i586/memset.S: Likewise.
5799         * sysdeps/i386/i686/memcpy.S: Likewise.
5800         * sysdeps/i386/i686/memmove.S: Likewise.
5801         * sysdeps/i386/i686/mempcpy.S: Likewise.
5802         * sysdeps/i386/i686/memset.S: Likewise.
5803         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5804         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5805         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5806         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5807         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5808         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5809         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5810         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5811         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5812         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5813         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5814         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5815         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5816         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5817         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5818         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5819         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5820         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5821         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5822         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5823         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5824         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5825         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5826         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5827         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5828         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5829         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5830         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5831         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5832         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5833         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5834         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5836         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5837         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5839         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5840         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5841         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5843         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5844         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5845         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5846         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5849         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5850         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5851         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5852         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5853         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5854         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5855         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5856         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5857         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5858         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5859         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5860         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5861         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5862         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5863         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5864         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5865         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5866         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5867         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5868         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5869         * sysdeps/posix/closedir.c: Likewise.
5870         * sysdeps/posix/opendir.c: Likewise.
5871         * sysdeps/posix/readdir.c: Likewise.
5872         * sysdeps/posix/rewinddir.c: Likewise.
5873         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5874         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5875         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5876         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5877         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5879         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5884         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5885         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5886         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5887         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5888         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5889         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5890         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5891         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5893         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5894         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5895         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5896         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5900         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5901         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5902         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5908         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5909         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5910         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5911         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5912         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5913         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5914         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5915         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5916         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5917         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5918         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5919         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5920         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5921         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5922         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5923         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5924         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5925         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5926         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5928         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5929         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5930         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5931         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5932         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5933         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5934         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5935         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5936         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5937         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5938         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5939         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5940         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5941         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5942         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5943         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5944         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5945         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5946         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5947         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5948         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5949         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5950         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5951         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5952         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5953         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5954         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5955         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5956         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5957         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5959         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5960         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5961         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5962         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5963         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5964         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5965         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5966         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5967         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5969         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5970         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5971         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5972         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5973         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5974         * sysdeps/unix/alpha/sysdep.S: Likewise.
5975         * sysdeps/unix/alpha/sysdep.h: Likewise.
5976         * sysdeps/unix/make-syscalls.sh: Likewise.
5977         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5978         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5979         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5980         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5981         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5982         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5983         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5984         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5985         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5986         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5987         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5988         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5990         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5991         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5992         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5993         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5994         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5995         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5996         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5997         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5999         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6000         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6001         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6002         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6003         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6006         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6007         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6008         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6009         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6011         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6015         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6016         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6017         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6018         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6019         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6020         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6021         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6024         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6027         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6028         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6029         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6030         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6031         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6032         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6033         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6035         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6036         * sysdeps/x86_64/memcpy.S: Likewise.
6037         * sysdeps/x86_64/memmove.c: Likewise.
6038         * sysdeps/x86_64/memset.S: Likewise.
6039         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6040         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6041         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6042         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6043         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6044         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6045         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6046         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6047         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6048         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6049         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6050         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6051         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6052         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6053         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6054         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6055         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6056         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6057         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6058         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6059         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6060         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6061         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6062         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6063         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6064         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6065         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6066         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6067         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6068         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6069         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6070         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6071         * sysdeps/x86_64/strcmp.S: Likewise.
6073         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6075         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6076         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6077         * elf/rtld-Rules: Likewise.
6078         * elf/setup-vdso.h: Likewise.
6079         * include/assert.h: Likewise.
6080         * include/bits/stdlib-float.h: Likewise.
6081         * include/errno.h: Likewise.
6082         * include/sys/stat.h: Likewise.
6083         * include/unistd.h: Likewise.
6084         * sysdeps/aarch64/setjmp.S: Likewise.
6085         * sysdeps/alpha/setjmp.S: Likewise.
6086         * sysdeps/arm/__longjmp.S: Likewise.
6087         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6088         * sysdeps/arm/setjmp.S: Likewise.
6089         * sysdeps/arm/sysdep.h: Likewise.
6090         * sysdeps/generic/_itoa.h: Likewise.
6091         * sysdeps/generic/dl-sysdep.h: Likewise.
6092         * sysdeps/generic/ldsodefs.h: Likewise.
6093         * sysdeps/i386/dl-tls.h: Likewise.
6094         * sysdeps/i386/setjmp.S: Likewise.
6095         * sysdeps/m68k/setjmp.c: Likewise.
6096         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6097         * sysdeps/mach/hurd/opendir.c: Likewise.
6098         * sysdeps/posix/getcwd.c: Likewise.
6099         * sysdeps/posix/opendir.c: Likewise.
6100         * sysdeps/posix/profil.c: Likewise.
6101         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6102         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6103         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6104         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6105         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6106         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6107         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6108         * sysdeps/s390/dl-tls.h: Likewise.
6109         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6110         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6111         * sysdeps/sh/sh3/setjmp.S: Likewise.
6112         * sysdeps/sh/sh4/setjmp.S: Likewise.
6113         * sysdeps/unix/alpha/sysdep.h: Likewise.
6114         * sysdeps/unix/arm/sysdep.S: Likewise.
6115         * sysdeps/unix/i386/sysdep.S: Likewise.
6116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6117         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6118         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6119         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6121         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6122         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6123         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6124         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6125         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6126         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6127         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6128         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6131         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6134         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6135         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6139         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6140         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6143         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6144         * sysdeps/x86_64/setjmp.S: Likewise.
6146         * include/math.h: Use IS_IN instead of IS_IN_libm.
6147         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6148         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6149         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6150         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6151         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6152         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6153         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6154         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6155         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6156         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6157         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6158         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6159         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6160         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6161         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6162         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6163         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6164         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6165         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6166         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6167         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6168         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6169         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6170         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6171         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6172         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6173         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6174         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6175         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6176         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6177         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6178         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6179         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6181         Likewise.
6182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6183         Likewise.
6184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6185         Likewise.
6186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6187         Likewise.
6188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6189         Likewise.
6190         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6191         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6192         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6193         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6194         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6195         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6201         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6202         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6203         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6204         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6205         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6206         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6207         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6208         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6209         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6210         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6211         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6212         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6214         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6216         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6218         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6219         * nptl/pthreadP.h: Likewise.
6220         * nptl_db/structs.def: Likewise.
6221         * sysdeps/arm/sysdep.h: Likewise.
6222         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6223         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6224         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6225         * sysdeps/unix/alpha/sysdep.h: Likewise.
6226         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6227         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6228         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6229         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6230         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6231         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6233         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6234         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6235         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6236         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6237         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6238         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6239         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6244         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6247         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6248         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6249         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6250         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6251         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6253         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6254         * nptl/pthreadP.h: Likewise.
6255         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6256         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6257         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6258         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6259         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6260         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6261         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6262         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6263         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6264         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6265         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6266         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6268         Likewise.
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6270         Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6273         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6276         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6277         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6278         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6280         * dlfcn/dladdr.c: Use IS_IN.
6281         * dlfcn/dladdr1.c: Likewise.
6282         * dlfcn/dlclose.c: Likewise.
6283         * dlfcn/dlerror.c: Likewise.
6284         * dlfcn/dlinfo.c: Likewise.
6285         * dlfcn/dlmopen.c: Likewise.
6286         * dlfcn/dlopen.c: Likewise.
6287         * dlfcn/dlsym.c: Likewise.
6288         * dlfcn/dlvsym.c: Likewise.
6290         * include/ifaddrs.h: Use IS_IN.
6291         * inet/check_pf.c: Likewise.
6292         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6293         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6295         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6296         IS_IN_ldconfig.
6297         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6298         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6300         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6301         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6302         IS_IN (libc).
6304         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6306         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6307         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6308         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6309         * include/libc-symbols.h (IS_IN_LIB): New macro.
6310         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6311         * include/netdb.h: Likewise.
6312         * include/stap-probe.h: Remove all uses of IN_LIB.
6314         * Makeconfig (module-cppflags-real): Define MODULE_NAME
6315         instead of IN_MODULE.
6316         * include/libc-symbols.h (IN_MODULE): Define using
6317         MODULE_NAME.
6318         (PASTE_NAME, PASTE_NAME1): New macros.
6319         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6320         of IN_LIB.
6321         (STAP_PROBE_ASM): Likewise.
6323 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6325         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6326         __mach_init in dlopened libc.
6328 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
6330         * sysdeps/arm/preconfigure.ac: Delete EABI check.
6331         * sysdeps/arm/preconfigure: Regenerate.
6333 2014-11-21  Roland McGrath  <roland@hack.frob.com>
6335         * nptl/pthread_create.c (__pthread_create_2_1): Set
6336         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6337         when copying values from IATTR into PD.
6339 2014-11-21  Will Newton  <will.newton@linaro.org>
6340             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6342         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6343         Refactor inline-asm.  Also add comment.
6345         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6346         ElfW macro instead of hardcoded Elf64 types.
6347         (la_aarch64_gnu_pltenter): Likewise.
6348         * sysdeps/aarch64/dl-machine.h
6349         (elf_machine_runtime_setup): Use ElfW(Addr).
6351         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6352         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6353         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6354         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6355         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6356         (R_AARCH64_TLS_DTPMOD64): Rename to ..
6357         (R_AARCH64_TLS_DTPMOD): This.
6358         (R_AARCH64_TLS_DTPREL64): Rename to ...
6359         (R_AARCH64_TLS_DTPREL): This.
6360         (R_AARCH64_TLS_TPREL64): Rename to ...
6361         (R_AARCH64_TLS_TPREL): This.
6362         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6363         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6364         R_AARCH64_TLS_TPREL64.
6365         (elf_machine_rela): Likewise.
6367 2014-11-21  Torvald Riegel  <triegel@redhat.com>
6369         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6370         by setting it to 0.  64b atomics are not supported currently.
6372 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6374         [BZ #16469]
6375         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6376         search domain names.
6378 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6380         [BZ #16469]
6381         * NEWS: Update.
6382         * resolv/res_query.c (__libc_res_nquerydomain): Retain
6383         trailing dot.
6384         * posix/tst-getaddrinfo5.c: New.
6385         * posix/Makefile (tests): Add it.
6387 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6389         [BZ #14498]
6390         * NEWS: Fixed.
6391         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6392         after parsing line but before break_if_match.
6393         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6394         if there is a protocol mismatch.
6396 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6398         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6399         because the potential race is on the user-supplied stream.
6401 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6403         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6404         string literal if not passed a buffer.
6405         * manual/job.texi (ctermid): Update reasoning, note deviation
6406         from posix, suggest mtasurace when not passed a buffer, for
6407         future non-preliminary safety notes.
6409 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6411         * manual/users.texi (cuserid): Fix MT-Safety note for the case
6412         of not passing it a buffer.
6413         Reported by Peng Haitao.
6415 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6417         * manual/Makefile ($(objpfx)stamp-summary): Require
6418         check-safety.sh to pass.
6419         * manual/check-safety.sh: Wish for verification that every
6420         @deftypefn and @deftypefun is followed by a @safety remark.
6422 2014-11-20  Roland McGrath  <roland@hack.frob.com>
6424         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6426         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6427         PTHREAD_CANCEL_ASYNCHRONOUS.
6428         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6429         send SIGCANCEL.
6431         * nptl/default-sched.h: New file.
6432         * sysdeps/unix/sysv/linux/default-sched.h: New file.
6433         * nptl/pthread_create.c: Include it.
6434         (__pthread_create_2_1): Use collect_default_sched instead of making
6435         Linux syscalls here directly.
6437 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6439         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6440         __pthread_once): Use C11 atomics.
6442 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6444         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6446 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6448         * include/atomic.h (__atomic_link_error, __atomic_check_size,
6449         atomic_thread_fence_acquire, atomic_thread_fence_release,
6450         atomic_thread_fence_seq_cst, atomic_load_relaxed,
6451         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6452         atomic_compare_exchange_weak_relaxed,
6453         atomic_compare_exchange_weak_acquire,
6454         atomic_compare_exchange_weak_release,
6455         atomic_exchange_acquire, atomic_exchange_release,
6456         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6457         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6458         atomic_fetch_and_acquire,
6459         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6461 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6463         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6464         USE_ATOMIC_COMPILER_BUILTINS): Define.
6465         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6466         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6467         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6468         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6469         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6471         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6472         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6473         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6474         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6475         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6476         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6477         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6478         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6479         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6480         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6481         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6482         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6483         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6484         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6485         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6486         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6487         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6488         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6489         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6490         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6491         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6492         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6493         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6494         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6495         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6496         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6497         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6498         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6499         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6500         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6501         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6502         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6503         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6506 2014-11-19  Roland McGrath  <roland@hack.frob.com>
6508         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6509         the sched_priority value here.  It was already checked when the user
6510         called pthread_attr_setschedparam.
6512         * nptl/tst-bad-schedattr.c: New file.
6513         * nptl/Makefile (tests): Add it.
6515 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
6516             Florian Weimer  <fweimer@redhat.com>
6517             Joseph Myers  <joseph@codesourcery.com>
6518             Adam Conrad  <adconrad@0c3.net>
6519             Andreas Schwab  <schwab@suse.de>
6520             Brooks  <bmoses@google.com>
6522         [BZ #17625]
6523         * wordexp-test.c (__dso_handle): Add prototype.
6524         (__register_atfork): Likewise.
6525         (__app_register_atfork): New function.
6526         (registered_forks): New global.
6527         (register_fork): New function.
6528         (test_case): Add 3 new tests for WRDE_CMDSUB.
6529         (main): Call __app_register_atfork.
6530         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6531         fork count is non-zero fail the test.
6532         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6533         is set.
6534         (parse_dollars): Remove check for WRDE_NOCMD.
6535         (parse_dquote): Likewise.
6537 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6539         * Makeconfig (built-modules): List non-library modules to be
6540         built.
6541         (module-cppflags): Include libc-modules.h for
6542         everything except shlib-versions.v.i.
6543         (CPPFLAGS): Use it.
6544         (before-compile): Add libc-modules.h.
6545         ($(common-objpfx)libc-modules.h,
6546         $(common-objpfx)libc-modules.stmp): New targets.
6547         (common-generated): Add libc-modules.h and libc-modules.stmp.
6548         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6549         * include/libc-symbols.h: Don't include libc-modules.h.
6550         * include/libc-modules.h: Remove file.
6551         * scripts/gen-libc-modules.awk: New script to generate
6552         libc-modules.h.
6553         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6554         Depend on libc-modules.stmp.
6556         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6558         * Makeconfig (in-module): Get value of libof set for the
6559         translation unit.
6560         (CPPFLAGS): Use $(in-module).
6561         * Makerules: Don't suffix routine names for nonlib.
6562         * include/libc-modules.h: New file.
6563         * include/libc-symbols.h: Include libc-modules.h
6564         (IS_IN): New macro to replace IS_IN_* macros.
6565         * elf/Makefile: Set libof-* for each routine.
6566         * elf/rtld-Rules: Likewise.
6567         * extra-modules.mk: Likewise.
6568         * iconv/Makefile: Likewise.
6569         * iconvdata/Makefile: Likewise.
6570         * locale/Makefile: Likewise.
6571         * malloc/Makefile: Likewise.
6572         * nss/Makefile: Likewise.
6573         * sysdeps/gnu/Makefile: Likewise.
6574         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6575         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6576         * sysdeps/s390/s390-64/Makefile: Likewise.
6577         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
6578         CPPFLAGS for nscd instead of nonlib.
6580 2014-11-18  Roland McGrath  <roland@hack.frob.com>
6582         * nptl/createthread.c: New file.
6584         * nptl/createthread.c: Moved ...
6585         * sysdeps/unix/sysv/linux/createthread.c: ... here.
6587         * nptl/createthread.c: Add proper top-line comment.
6588         (do_clone): Folded into ...
6589         (create_thread): ... here.  Take new arguments STOPPED_START and
6590         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
6591         increment __nptl_threads, do event-reporting logic, do
6592         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6593         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
6594         resource cleanup if sched_setaffinity or sched_setscheduler fails,
6595         just send SIGCANCEL.
6596         * nptl/pthread_create.c: Forward-declare create_thread before
6597         including createthread.c.
6598         (start_thread): Use new macro START_THREAD_DEFN to replace defining
6599         declaration, and new macro START_THREAD_SELF to replace argument.
6600         Remove return statement.
6601         (report_thread_creation): New function.
6602         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
6603         synchronization logic, and __nptl_nthreads increment here, around
6604         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
6605         PD->parent_cancelhandling here, before create_thread.  When
6606         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6607         __deallocate_stack, and ENOMEM translation here.
6609 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
6611         [BZ #17616]
6612         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6613         (mptwo): Rename to __mptwo.
6614         (__inv): Use __mptwo instead of mptwo.
6615         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6616         (mptwo): Rename to __mptwo.
6617         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6618         of mpone and __mptwo instead of mptwo.
6619         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6620         instead of mpone.
6621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6622         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6623         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6624         of mpone and __mptwo instead of mptwo.
6625         (__mpranred): Use __mpone instead of mpone.
6626         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6627         variable.
6628         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6629         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6630         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6631         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6632         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6633         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6634         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6635         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6636         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6637         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6638         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6639         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6640         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6641         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6642         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6643         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6644         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6645         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6646         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6648 2014-11-18  Tom de Vries  <tom@codesoucery.com>
6650         * manual/signal.texi (Primitives Interrupted by Signals): In section,
6651         replace BSD Handler xref with BSD Signal Handling.
6653 2014-11-17  Richard Henderson  <rth@redhat.com>
6655         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6656         (_FP_PACK_RAW_2): Remove.
6657         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6658         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6659         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6660         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6661         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6662         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6663         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6664         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6665         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6666         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6667         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6668         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6669         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6670         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6671         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6672         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6674 2014-11-14  Roland McGrath  <roland@hack.frob.com>
6676         * signal/signal.h [__USE_MISC]
6677         (struct sigvec): Remove type.
6678         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6679         (sigvec): Remove declaration.
6680         * sysdeps/posix/sigvec.c: Moved ...
6681         * signal/sigvec.c: ... here, replacing old file.
6682         (struct sigvec): New type, copied from old signal.h definition.
6683         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6684         (__sigvec): Convert definition to prototype.
6685         (sigvec): Replace weak_alias with compat_symbol.
6686         * signal/Versions (libc: GLIBC_2.21): New version set.
6687         * include/signal.h: Remove __sigvec declaration.
6688         * sysdeps/unix/bsd/sigvec.c: Remove file.
6689         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6690         * manual/signal.texi (BSD Handler): Remove subsection.
6691         Move siginterrupt up to ...
6692         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
6693         (Blocking in BSD): Fold subsection into its parent.
6694         * NEWS: Mention sigvec removal.
6696 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6698         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6699         (DLA_FMS): Make definition conditional only on [__FMA4__].
6700         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6701         definition.
6703         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6704         Make definition conditional only on [PROF].
6705         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6706         definition.
6707         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6708         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6710         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6711         !__GNUC__].
6712         * include/signal.h (__sigpause): Move declaration above call to
6713         libc_hidden_proto.
6714         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6715         variable.
6716         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6717         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6719 2014-11-14  David S. Miller  <davem@davemloft.net>
6721         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6722         Define before including <string/memcpy.c> and <string/mempcpy.c>.
6724 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6726         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6727         * configure: Regenerated.
6728         * manual/install.texi (Tools for Compilation): Document a
6729         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6730         compiler verified to work.
6731         * INSTALL: Regenerated.
6733         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6734         redeclare with asm name.
6735         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6736         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6737         including <string.h>.
6738         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6739         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6740         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6741         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6742         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6744         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6746 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
6748         * stdlib/strtol.c (__strtol): Use prototype definition.
6750         [BZ #17594]
6751         * stdlib/strtol.c (SYM__): New macro.
6752         (SYM__1): Likewise.
6753         (__strtol): Likewise.
6754         (strtol): Rename to __strtol and define as weak alias of
6755         __strtol.  Use libc_hidden_weak.
6757 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6759         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6760         Use numbered labels in inline assembly.
6762 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6764         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6765         Add setjmp LIBC_PROBE.
6766         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6767         Likewise.
6768         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6769         Add longjmp, longjmp_target LIBC_PROBE.
6770         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6771         Likewise.
6773 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6775         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6776         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6777         to get rid of unused variable warning.
6779 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6781         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6782         Check for unwind_backtrace ==  NULL only in SHARED case.
6783         (__backchain_backtrace): Compile only in SHARED case.
6784         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6785         Likewise.
6786         (__backchain_backtrace): Declare as static.
6788 2014-11-12  Roland McGrath  <roland@hack.frob.com>
6790         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6791         (__libc_multiple_threads_ptr): Variable moved ...
6792         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6794 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
6796         * conform/GlibcConform.pm: New file.
6797         * conform/conformtest.pl: Use GlibcConform module.
6798         * conform/linknamespace.pl: New file.
6799         * conform/list-header-symbols.pl: Likewise.
6800         * conform/Makefile (linknamespace-symlists-base): New variable.
6801         (linknamespace-symlists-tests): Likewise.
6802         (linknamespace-header-base): Likewise.
6803         (linknamespace-header-tests): Likewise.
6804         (tests-special): Add new tests.
6805         ($(linknamespace-symlists-tests)): New rule.
6806         (linknamespace-libs): New variable.
6807         ($(objpfx)symlist-stdlibs): New rule.
6808         ($(linknamespace-header-tests)): Likewise.
6809         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6810         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6811         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6812         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6813         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6814         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6815         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6816         (test-xfail-ISO/math.h/linknamespace): Likewise.
6817         (test-xfail-ISO/signal.h/linknamespace): Likewise.
6818         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6819         (test-xfail-ISO/time.h/linknamespace): Likewise.
6820         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6821         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6822         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6823         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6824         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6825         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6826         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6827         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6828         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6829         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6830         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6831         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6832         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6833         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6834         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6835         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6836         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6837         (test-xfail-XPG3/search.h/linknamespace): Likewise.
6838         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6839         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6840         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6841         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6842         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6843         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6844         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6845         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6846         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6847         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6848         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6849         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6850         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6851         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6852         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6853         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6854         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6855         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6856         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6857         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6858         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6859         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6860         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6861         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6862         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6863         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6864         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6865         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6866         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6867         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6868         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6869         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6870         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6871         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6872         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6873         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6874         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6875         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6876         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6877         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6878         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6879         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6880         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6881         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6882         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6883         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6884         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6885         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6886         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6887         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6888         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6889         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6890         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6891         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6892         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6893         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6894         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6895         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6896         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6897         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6898         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6899         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6900         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6901         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6902         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6903         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6904         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6905         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6906         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6907         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6908         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6909         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6910         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6911         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6912         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6913         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6914         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6915         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6916         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6917         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6918         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6919         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6920         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6921         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6922         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6923         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6924         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6925         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6926         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6927         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6928         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6929         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6930         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6931         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6932         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6933         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6934         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6935         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6936         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6937         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6938         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6939         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6940         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6941         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6942         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6943         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6944         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6945         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6946         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6947         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6948         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6949         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6950         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6951         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6952         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6953         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6954         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6955         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6956         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6957         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6958         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6959         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6960         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6961         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6962         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6963         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6964         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6965         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6966         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6967         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6968         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6969         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6971         [BZ #17589]
6972         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6973         of fgets_unlocked.
6975         [BZ #17585]
6976         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6977         (memmem): Rename to __memmem and define as weak alias of
6978         __memmem.  Use libc_hidden_weak.
6979         (__memmem): Use libc_hidden_def.
6980         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6981         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6982         memmem.
6984         [BZ #17582]
6985         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6986         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6987         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6988         and define as weak alias of __fgets_unlocked.  Use
6989         libc_hidden_weak.
6990         (__fgets_unlocked): Use libc_hidden_def.
6991         * include/stdio.h (__fgets_unlocked): Declare.  Use
6992         libc_hidden_proto.
6993         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6994         __fgets_unlocked instead of fgets_unlocked.
6995         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6996         (GET_NPROCS_CONF_PARSER): Likewise.
6997         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6998         (GET_NPROCS_CONF_PARSER): Likewise.
7000         [BZ #17574]
7001         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7002         weak alias of __wmemset.  Use libc_hidden_weak.
7003         (__wmemset): Use libc_hidden_def.
7004         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
7005         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7006         of wmemset.
7008         [BZ #17573]
7009         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7010         with asm name __mempcpy.
7011         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7013         [BZ #17572]
7014         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7015         and define as weak alias of __rawmemchr.
7016         (__rawmemchr): Do not define as strong alias of rawmemchr.
7018         [BZ #17571]
7019         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7020         alias of __qsort_r.
7021         (qsort): Call __qsort_r instead of qsort_r.
7022         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7023         (__qsort_r): Declare.  Call libc_hidden_proto.
7024         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7025         instead of qsort_r.
7026         * nscd/gai.c (__qsort_r): Define to qsort_r.
7027         * posix/tst-rfc3484.c (__qsort_r): Likewise.
7028         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7029         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7031         [BZ #17570]
7032         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7033         define as weak alias of __malloc_info.
7035         [BZ #17584]
7036         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7037         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7038         (__rewinddir): Use libc_hidden_def.
7039         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7040         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7041         (__rewinddir): Use libc_hidden_def.
7042         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7043         weak alias of __rewinddir.  Don't use libc_hidden_def.
7044         (__rewinddir): Use libc_hidden_def.
7045         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7046         (__rewinddir): Use libc_hidden_proto.
7047         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7048         rewinddir.
7049         (__getcwd): Use __rewinddir instead of rewinddir.
7051         [BZ #17583]
7052         * libio/fileno.c (fileno): Rename to __fileno and define as weak
7053         alias of __fileno.  Use libc_hidden_weak.
7054         (__fileno): Use libc_hidden_def.
7055         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7056         * libio/ftello.c (ftello): Rename to __ftello and define as weak
7057         alias of __ftello.
7058         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7059         __ftello.
7060         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7061         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
7062         libc_hidden_def.
7063         (fread_unlocked): Don't use libc_hidden_ver.
7064         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7065         and define as weak alias of __fread_unlocked.  Don't use
7066         libc_hidden_def.
7067         (__fread_unlocked): Use libc_hidden_def.
7068         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
7069         (ftello): Don't use libc_hidden_proto.
7070         (__ftello): Declare.  Use libc_hidden_proto.
7071         (fread_unlocked): Don't use libc_hidden_proto.
7072         (__fread_unlocked): Declare.  Use libc_hidden_proto.
7073         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7074         and __ftello instead of fileno, fread_unlocked and ftello.
7076 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7078         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7079         GOT12.
7080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7081         Likewise.
7082         (_dl_start_user): Likewise.
7083         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7085 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
7086             Siddhesh Poyarekar  <siddhesh@redhat.com>
7088         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7089         Move argv and envp down instead of moving argc up.
7090         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7092 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
7094         [BZ #17506]
7095         * test-skeleton.c (main): Return successful if one of
7096         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7097         * string/tst-strcoll-overflow.c: Define expected status.
7099 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
7101         [BZ #17475]
7102         * locale/iso-639.def: Define Bhili and Tulu language codes.
7104 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
7106         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7108 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
7110         [BZ #17555]
7111         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7113 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7115         * configure.ac: Updated check of minimal required version to
7116         2.22.
7117         * manual/install.texi (Tools for Compilation): Updated version
7118         number.
7119         * configure: Regenerated.
7120         * INSTALL: Likewise.
7122 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
7124         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7125         __tls_get_addr.
7127 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7129         * include/sys/wait.h (__libc_waitpid): Remove declaration.
7130         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7131         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7132         libc_hidden_weak.
7133         (waitpid): Define as alias of __waitpid.
7134         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7135         __waitpid.
7136         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7137         libc_hidden_weak.
7138         (waitpid): Define as alias of __waitpid.
7139         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7140         __libc_waitpid alias.
7141         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7142         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7143         Likewise.
7144         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7145         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7146         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7147         alias.
7148         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7149         __waitpid.
7150         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7151         libc_hidden_weak.
7152         (waitpid): Define as alias of __waitpid.
7154 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
7156         * manual/llio.texi: Add comment that write safety has been
7157         fixed in Linux.
7159         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7160         (localplt-build-dso): Add elf/ld.so.
7161         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7162         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7163         and free for ld.so.
7164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7165         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7167         Likewise.
7168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7169         Likewise.
7170         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7171         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7172         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7173         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7174         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7175         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7176         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7177         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7178         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7179         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7180         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7182 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
7184         [BZ #14132]
7185         * include/libc-symbols.h (INTUSE): Remove macro.
7186         (INTDEF): Likewise.
7187         (INTVARDEF): Likewise.
7188         (_INTVARDEF): Likewise.
7189         (INTDEF2): Likewise.
7190         (INTVARDEF2): Likewise.
7191         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7192         rtld_hidden_def instead of INTVARDEF.
7193         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7194         (_dl_starting_up_internal): Remove declaration.
7195         (_dl_starting_up): Use rtld_hidden_proto.
7196         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7197         declaration.
7198         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7199         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7200         _dl_starting_up.
7201         * elf/dl-writev.h (_dl_writev): Likewise.
7202         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7203         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7204         _dl_starting_up_internal.
7206 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7208         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7209         test-skeleton.c.
7211 2014-11-05  Will Newton  <will.newton@linaro.org>
7213         * benchtests/Makefile: (bench-malloc): Add malloc thread
7214         scalability benchmark.
7215         * benchtests/bench-malloc-threads.c: New file.
7217 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
7219         * sysdeps/aarch64/strchrnul.S: New file.
7221 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7223         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7224         definition.
7225         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7226         Likwise.
7227         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7228         Likewise.
7229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7230         Likewise.
7231         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7232         Likewise.
7233         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7234         Likewise.
7236 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
7238         * catgets/test-gencat.c: Use test-skeleton.c.
7239         * catgets/tst-catgets.c: Likewise.
7240         * csu/tst-empty.c: Likewise.
7241         * elf/tst-audit2.c: Likewise.
7242         * elf/tst-global1.c: Likewise.
7243         * elf/tst-pathopt.c: Likewise.
7244         * elf/tst-piemod1.c: Likewise.
7245         * elf/tst-tls10.c: Likewise.
7246         * elf/tst-tls11.c: Likewise.
7247         * elf/tst-tls12.c: Likewise.
7248         * gnulib/tst-gcc.c: Likewise.
7249         * iconvdata/tst-e2big.c: Likewise.
7250         * iconvdata/tst-loading.c: Likewise.
7251         * iconv/tst-iconv1.c: Likewise.
7252         * iconv/tst-iconv2.c: Likewise.
7253         * inet/test-inet6_opt.c: Likewise.
7254         * inet/tst-gethnm.c: Likewise.
7255         * inet/tst-network.c: Likewise.
7256         * inet/tst-ntoa.c: Likewise.
7257         * intl/tst-codeset.c: Likewise.
7258         * intl/tst-gettext2.c: Likewise.
7259         * intl/tst-gettext3.c: Likewise.
7260         * intl/tst-ngettext.c: Likewise.
7261         * intl/tst-translit.c: Likewise.
7262         * io/test-stat.c: Likewise.
7263         * libio/test-fmemopen.c: Likewise.
7264         * libio/tst-freopen.c: Likewise.
7265         * libio/tst-sscanf.c: Likewise.
7266         * libio/tst-ungetwc1.c: Likewise.
7267         * libio/tst-ungetwc2.c: Likewise.
7268         * libio/tst-widetext.c: Likewise.
7269         * localedata/tst-ctype.c: Likewise.
7270         * localedata/tst-digits.c: Likewise.
7271         * localedata/tst-leaks.c: Likewise.
7272         * localedata/tst-mbswcs1.c: Likewise.
7273         * localedata/tst-mbswcs2.c: Likewise.
7274         * localedata/tst-mbswcs3.c: Likewise.
7275         * localedata/tst-mbswcs4.c: Likewise.
7276         * localedata/tst-mbswcs5.c: Likewise.
7277         * localedata/tst-setlocale.c: Likewise.
7278         * localedata/tst-trans.c: Likewise.
7279         * localedata/tst-wctype.c: Likewise.
7280         * localedata/tst-xlocale1.c: Likewise.
7281         * login/tst-grantpt.c: Likewise.
7282         * malloc/tst-calloc.c: Likewise.
7283         * malloc/tst-malloc.c: Likewise.
7284         * malloc/tst-mallocstate.c: Likewise.
7285         * malloc/tst-mcheck.c: Likewise.
7286         * malloc/tst-mtrace.c: Likewise.
7287         * malloc/tst-obstack.c: Likewise.
7288         * math/atest-exp2.c: Likewise.
7289         * math/atest-exp.c: Likewise.
7290         * math/atest-sincos.c: Likewise.
7291         * math/test-matherr.c: Likewise.
7292         * math/test-misc.c: Likewise.
7293         * math/test-powl.c: Likewise.
7294         * math/tst-definitions.c: Likewise.
7295         * misc/tst-dirname.c: Likewise.
7296         * misc/tst-efgcvt.c: Likewise.
7297         * misc/tst-fdset.c: Likewise.
7298         * misc/tst-hsearch.c: Likewise.
7299         * misc/tst-mntent2.c: Likewise.
7300         * nptl/tst-sem7.c: Likewise.
7301         * nptl/tst-sem8.c: Likewise.
7302         * nptl/tst-sem9.c: Likewise.
7303         * nss/test-netdb.c: Likewise.
7304         * posix/tst-fnmatch.c: Likewise.
7305         * posix/tst-getlogin.c: Likewise.
7306         * posix/tst-gnuglob.c: Likewise.
7307         * posix/tst-mmap.c: Likewise.
7308         * pwd/tst-getpw.c: Likewise.
7309         * resolv/tst-inet_ntop.c: Likewise.
7310         * rt/tst-timer.c: Likewise.
7311         * stdio-common/test-fseek.c: Likewise.
7312         * stdio-common/test-popen.c: Likewise.
7313         * stdio-common/test-vfprintf.c: Likewise.
7314         * stdio-common/tst-cookie.c: Likewise.
7315         * stdio-common/tst-fileno.c: Likewise.
7316         * stdio-common/tst-gets.c: Likewise.
7317         * stdio-common/tst-obprintf.c: Likewise.
7318         * stdio-common/tst-perror.c: Likewise.
7319         * stdio-common/tst-sprintf2.c: Likewise.
7320         * stdio-common/tst-sprintf3.c: Likewise.
7321         * stdio-common/tst-sprintf.c: Likewise.
7322         * stdio-common/tst-swprintf.c: Likewise.
7323         * stdio-common/tst-tmpnam.c: Likewise.
7324         * stdio-common/tst-unbputc.c: Likewise.
7325         * stdio-common/tst-wc-printf.c: Likewise.
7326         * stdlib/tst-environ.c: Likewise.
7327         * stdlib/tst-fmtmsg.c: Likewise.
7328         * stdlib/tst-limits.c: Likewise.
7329         * stdlib/tst-rand48-2.c: Likewise.
7330         * stdlib/tst-rand48.c: Likewise.
7331         * stdlib/tst-random2.c: Likewise.
7332         * stdlib/tst-random.c: Likewise.
7333         * stdlib/tst-strtol.c: Likewise.
7334         * stdlib/tst-strtoll.c: Likewise.
7335         * stdlib/tst-tls-atexit.c: Likewise.
7336         * stdlib/tst-xpg-basename.c: Likewise.
7337         * string/test-ffs.c: Likewise.
7338         * string/tst-bswap.c: Likewise.
7339         * string/tst-inlcall.c: Likewise.
7340         * string/tst-strtok.c: Likewise.
7341         * string/tst-strxfrm.c: Likewise.
7342         * sysdeps/x86_64/tst-audit10.c: Likewise.
7343         * sysdeps/x86_64/tst-audit3.c: Likewise.
7344         * sysdeps/x86_64/tst-audit4.c: Likewise.
7345         * sysdeps/x86_64/tst-audit5.c: Likewise.
7346         * time/tst-ftime_l.c: Likewise.
7347         * time/tst-getdate.c: Likewise.
7348         * time/tst-mktime3.c: Likewise.
7349         * time/tst-mktime.c: Likewise.
7350         * time/tst-posixtz.c: Likewise.
7351         * time/tst-strptime2.c: Likewise.
7352         * time/tst-strptime3.c: Likewise.
7353         * wcsmbs/tst-btowc.c: Likewise.
7354         * wcsmbs/tst-mbrtowc.c: Likewise.
7355         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7356         * wcsmbs/tst-wchar-h.c: Likewise.
7357         * wcsmbs/tst-wcpncpy.c: Likewise.
7358         * wcsmbs/tst-wcrtomb.c: Likewise.
7359         * wcsmbs/tst-wcsnlen.c: Likewise.
7360         * wcsmbs/tst-wcstof.c: Likewise.
7362 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
7364         [BZ #14132]
7365         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7366         INTDEF.
7367         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7368         declaration.
7369         (_dl_mcount): Use rtld_hidden_proto.
7370         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7371         _dl_mcount.
7372         * elf/rtld.c (_rtld_global_ro): Likewise.
7374         [BZ #14132]
7375         * elf/dl-init.c (_dl_init): Don't use INTDEF.
7376         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7377         of _dl_init_internal.
7378         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7379         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7380         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7381         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7382         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7383         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7384         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7385         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7386         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7387         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7388         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7389         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7390         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7391         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7392         * sysdeps/tile/dl-start.S (_start): Likewise.
7393         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7394         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7396         [BZ #14132]
7397         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7398         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7399         (rtld_progname): Make macro definition unconditional.
7400         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7401         INTDEF.
7402         (dlmopen_doit): Do not use INTUSE with _dl_argv.
7403         (dl_main): Likewise.
7404         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7405         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7406         instead of _dl_argv_internal.
7407         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7408         __GI__dl_argv instead of INTUSE(_dl_argv).
7409         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7410         __GI__dl_argv instead of _dl_argv_internal.
7412         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7413         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7414         macro.
7415         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7416         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7417         New macro.
7418         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7419         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7420         macro.
7421         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7422         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7424 2014-11-04  Andreas Schwab  <schwab@suse.de>
7426         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7428 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7430         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7431         mtvsrd instruction in binary form.
7433 2014-11-03  Andreas Schwab  <schwab@suse.de>
7435         [BZ #17522]
7436         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7437         for less than MB_LEN_MAX use a local buffer of that size.
7438         * libio/tst-fputws.c: New file.
7439         * libio/Makefile (tests): Add tst-fputws.
7441 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
7443         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7444         the size of the fpu_fr.fpu_dregs[] array.
7446 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
7448         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7449         (__nanosleep): Do not define as alias.
7450         (nanosleep): Define as alias of __nanosleep.
7451         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7452         __libc_nanosleep name.
7454 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7456         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7457         install.texi in comment.
7459 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7461         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7462         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7463         ... add here and use lwsync or sync ...
7464         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7465         ... and add here using lwsync.
7467 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7469         * elf/dl-machine-reject-phdr.h: New file.
7470         * elf/dl-load.c: #include that.
7471         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7472         if that returned true.
7474 2014-10-31  Roland McGrath  <roland@hack.frob.com>
7476         [BZ #17496]
7477         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7478         gen-as-const-headers chunk.  Add a big scare comment after the last
7479         safe place to touch before-compile.
7481 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7483         * manual/install.texi (Tools for Compilation): Update autoconf
7484         version requirements.
7485         * INSTALL: Regenerated.
7487         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7488         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7489         (__libc_pselect): Likewise.
7491         [BZ #14138]
7492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7497 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7499         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7500         correct barrier instruction.
7501         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7502         Likewise.
7503         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7504         Likewise.
7506 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7508         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7509         after defining inlines.  Instead, just use parens to defeat macro
7510         expansion of __isctype in its declaration.
7512 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7514         * include/sys/uio.h (__libc_readv): Remove declaration.
7515         (__libc_writev): Likewise.
7516         * misc/readv.c (__libc_readv): Rename to __readv.
7517         (__readv): Do not define as alias.
7518         (readv): Define as alias of __readv.
7519         * misc/writev.c (__libc_writev): Rename to __writev.
7520         (__writev): Do not define as alias.
7521         (writev): Define as alias of __writev.
7522         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7523         (__readv): Do not define as alias.
7524         (readv): Define unconditionally as alias of __readv.
7525         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7526         (__writev): Do not define as alias.
7527         (writev): Define unconditionally as alias of __writev.
7528         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7529         name.
7530         (writev): Do not define __libc_writev name.
7532 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7534         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7535         (convert_charseq): New function, broken out of ...
7536         (use_from_charmap): ... here.  Call it.
7537         (use_to_charmap): Use convert_charseq and free instead of duplicating
7538         its code with a variable-length stack struct.
7540 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7542         * include/fcntl.h (__libc_creat): Remove declaration.
7543         * io/creat.c (__libc_creat): Rename to creat.
7544         (creat): Do not define as alias.
7545         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7546         of creat instead of __libc_creat.
7547         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7548         to creat.
7549         (creat): Do not define as alias.
7550         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7551         __libc_creat.
7552         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7553         __libc_creat name.
7554         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7555         Likewise.
7557 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
7559         * manual/llio.texi: Add comments discussing why write() may be
7560         considered MT-unsafe on Linux.
7562 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
7564         * dl-load.c (local_strdup): Remove.
7565         (expand_dynamic_string_token): Use __strdup.
7566         (decompose_rpath): Likewise.
7567         (_dl_map_object): Likewise.
7569 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
7571         [BZ #14132]
7572         * sysdeps/generic/unwind-dw2-fde.c
7573         (__register_frame_info_bases_internal): Do not declare.
7574         (__register_frame_info_table_bases_internal): Likewise.
7575         (__deregister_frame_info_bases_internal): Likewise.
7576         (__register_frame_info_bases): Declare and use hidden_proto before
7577         definition.  Use hidden_def instead of INTDEF.
7578         (__register_frame_info_table_bases): Likewise.
7579         (__deregister_frame_info_bases): Likewise.
7580         (__register_frame_info): Do not use INTUSE.
7581         (__register_frame): Likewise.
7582         (__register_frame_info_table): Likewise.
7583         (__register_frame_table): Likewise.
7584         (__deregister_frame_info): Likewise.
7585         (__deregister_frame): Likewise.
7587 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
7589         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7590         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7591         not undefine.
7592         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7593         Likewise.
7594         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7595         Likewise.
7597 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
7599         [BZ #14138]
7600         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7601         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7602         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7603         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7604         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7605         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7606         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7607         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7608         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7609         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7610         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7611         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7612         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7613         syscall.
7614         (setfsuid): Likewise.
7615         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7616         (setfsuid): Likewise.
7617         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7618         (setfsuid): Likewise.
7619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7620         Likewise.
7621         (setfsuid): Likewise.
7622         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7623         (setfsuid): Likewise.
7624         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7625         Likewise.
7626         (setfsuid): Likewise.
7628 2014-10-27  Andreas Schwab  <schwab@suse.de>
7630         [BZ #17501]
7631         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7632         check for Slow_SSE4_2 feature bit.
7633         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7634         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7635         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7636         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
7638 2014-10-24  Roland McGrath  <roland@hack.frob.com>
7640         * configure.ac: Validate compiler version with a empirical test of
7641         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7642         $CC -v output.
7643         * configure: Regenerated.
7645         * inet/htons.c (htons): Prototypify.
7646         * inet/htonl.c (htonl): Likewise.
7648 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7650         * string/strncat.c (strncat): Improve performance by using strlen.
7652 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7654         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7656 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7658         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7659         Call libc_fetestexcept_aarch64.
7661 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7663         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7664         Call libc_feholdexcept_aarch64.
7666 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7668         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7669         Call get_rounding_mode.
7671 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7673         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7674         Simplify logic.
7676 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7678         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7679         Simplify logic.
7681 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
7683         [BZ #14138]
7684         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7685         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7686         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7687         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7688         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7689         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7690         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7691         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7692         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7693         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7694         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7695         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7696         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7697         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7698         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7699         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7700         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7701         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7702         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7703         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7704         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7705         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7706         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7707         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7708         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7709         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7710         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7711         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7712         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7713         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7714         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7715         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7716         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7717         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7718         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7719         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7720         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7721         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7722         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7723         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7724         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7725         syscall.
7726         (geteuid): Likewise.
7727         (getgid): Likewise.
7728         (getuid): Likewise.
7729         (getresgid): Likewise.
7730         (getresuid): Likewise.
7731         (getgroups): Likewise.
7732         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7733         (geteuid): Likewise.
7734         (getgid): Likewise.
7735         (getuid): Likewise.
7736         (getresgid): Likewise.
7737         (getresuid): Likewise.
7738         (getgroups): Likewise.
7739         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7740         (geteuid): Likewise.
7741         (getgid): Likewise.
7742         (getuid): Likewise.
7743         (getresgid): Likewise.
7744         (getresuid): Likewise.
7745         (getgroups): Likewise.
7746         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7747         Likewise.
7748         (geteuid): Likewise.
7749         (getgid): Likewise.
7750         (getuid): Likewise.
7751         (getresgid): Likewise.
7752         (getresuid): Likewise.
7753         (getgroups): Likewise.
7754         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7755         (geteuid): Likewise.
7756         (getgid): Likewise.
7757         (getuid): Likewise.
7758         (getresgid): Likewise.
7759         (getresuid): Likewise.
7760         (getgroups): Likewise.
7761         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7762         Likewise.
7763         (geteuid): Likewise.
7764         (getgid): Likewise.
7765         (getuid): Likewise.
7766         (getgroups): Likewise.
7768         [BZ #14138]
7769         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7770         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7771         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7772         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7773         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7774         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7775         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7776         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7777         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7778         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7779         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7780         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7781         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7782         __chown.
7783         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7784         (lchown): Likewise.
7785         (fchown): Likewise.
7786         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7787         Likewise.
7788         (lchown): Likewise.
7789         (fchown): Likewise.
7790         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7791         (lchown): Likewise.
7792         (fchown): Likewise.
7793         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7794         Likewise.
7795         (lchown): Likewise.
7796         (fchown): Likewise.
7798 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7800         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7801         Simplify logic.
7803 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7805         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7806         Cleanup logic.
7808 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7810         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7811         Remove unused include.
7813 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7815         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7816         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7817         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7818         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7820 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
7821             Helge Deller <deller@gmx.de>
7823         [BZ #17508]
7824         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7825         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7826         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7828 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
7830         [BZ #14132]
7831         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7832         Remove macro definition.
7833         (__ashrdi3_v_glibc20): Likewise.
7834         (__lshrdi3_v_glibc20): Likewise.
7835         (__cmpdi2_v_glibc20): Likewise.
7836         (__ucmpdi2_v_glibc20): Likewise.
7837         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7838         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7839         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7840         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7841         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7842         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7844 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7846         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7847         old GNU extension [0] syntax.
7848         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7849         alloca rather than an array member with variable length.
7850         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7851         * nscd/nscd.c (invalidate_db): New function, broken out of ...
7852         (parse_opt): ... here.  Likewise use alloca there.
7853         Validate the -i argument before checking for rootness.
7854         (send_shutdown): New function, broken out of ...
7855         (parse_opt): ... here.
7857 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7859         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7860         macro to get at the _rt_local_ro field.
7861         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7862         ([PIC] case) or _dl_hwcap ([!PIC] case).
7863         * sysdeps/arm/setjmp.S: Likewise.
7865         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7866         * sysdeps/arm/configure.ac: New check to define it.
7867         * sysdeps/arm/configure: Regenerated.
7868         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7869         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7870         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7871         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7872         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7873         Use move/movt pair instead of a load.
7874         (LDST_GLOBAL): Macro removed.
7875         (LDR_GLOBAL): New macro replaces it.
7876         (LDR_HIDDEN): New macro.
7877         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7878         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7880         * setjmp/tst-setjmp-static.c: New file.
7881         * setjmp/Makefile (tests): Add it.
7882         (tests-static): New variable.
7884 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
7886         [BZ #17485]
7887         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7889 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
7891         [BZ #14132]
7892         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7894 2014-10-21  Roland McGrath  <roland@hack.frob.com>
7896         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7898 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7900         * io/fts.c (dirent_not_directory): New function.
7901         (fts_build): Call it.
7903 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7905         * nptl/version.c (__nptl_main): Use normal __write rather than
7906         INTERNAL_SYSCALL.
7907         (banner): Update copyright years.
7909         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7910         gettimeofday.
7911         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7912         * nptl/pthread_cond_timedwait.c: Likewise.
7913         * nptl/pthread_mutex_timedlock.c: Likewise.
7914         * nptl/sem_timedwait.c: Likewise.
7916         * sysdeps/nptl/bits/libc-lock.h
7917         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7918         (__libc_lock_init_recursive): Return void, not 0.
7919         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7920         (__libc_rwlock_init): Likewise.
7921         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7923 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7925         [BZ #15215]
7926         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7927         (__pthread_once_slow): ... here.
7928         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7929         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7931 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7933         [BZ #15215]
7934         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7935         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7936         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7937         * nptl/pthread_once.c (__pthread_once): Likewise.
7938         Update comments.
7940 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7942         [BZ #14138]
7943         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7944         name.
7945         (writev): Use __libc_writev as strong name.
7946         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7947         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7949 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7951         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7953         * sysdeps/i386/nptl/tls.h
7954         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7955         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7956         New macros.
7957         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7958         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7959         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7960         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7961         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7962         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7964         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7965         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7966         on [__NR_futex].
7967         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7968         broken out of ...
7969         (__pthread_mutex_init): ... here.  Call it.
7970         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7971         Conditionalize PI cases on [__NR_futex].
7972         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7973         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7974         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7976         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7977         conditional on [SIGSETXID].
7978         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7979         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7980         is defined.  Likewise for SIGSETXID.
7981         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7982         Conditionalize definitions on [SIGSETXID].
7983         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7984         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7985         unblocking on [SIGCANCEL].
7987         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7988         [__NR_set_robust_list].
7990 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7992         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7993         (do_compare): Likewise.
7995 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7997         [BZ #15884]
7998         * string/strcoll_l.c: Don't include stdio.h.
7999         (coll_seq): Remove members idxarr and rulearr.
8000         (get_next_seq_cached): Remove function.
8001         (get_next_seq): Likewise.
8002         (get_next_seq_nocache): Rename to get_next_seq.
8003         (do_compare): Remove function.
8004         (do_compare_nocache): Rename to do_compare.
8005         (STRCOLL): Remove weight and rules cache.
8007 2014-10-16  Roland McGrath  <roland@hack.frob.com>
8009         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8010         * sysdeps/arm/sfp-machine.h: ... to here.
8011         * sysdeps/arm/Implies: Remove arm/soft-fp.
8013 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
8015         * conform/data/sys/utsname.h-data (*_t): Allow.
8016         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8017         [POSIX] (WEXITED): Do not expect constant.
8018         [POSIX] (WSTOPPED): Likewise.
8019         [POSIX] (WNOHANG): Likewise.
8020         [POSIX] (WNOWAIT): Likewise.
8021         [POSIX] (siginfo_t): Do not expect type or elements.
8022         [POSIX] (pid_t): Do not expect type.
8023         [POSIX] (signal.h): Do not allow header.
8024         [POSIX] (sys/resource.h): Likewise.
8025         [POSIX] (si_*): Do not allow pattern.
8026         [POSIX] (W*): Likewise.
8027         [POSIX] (P_*): Likewise.
8028         [POSIX] (BUS_*): Likewise.
8029         [POSIX] (CLD_*): Likewise.
8030         [POSIX] (FPE_*): Likewise.
8031         [POSIX] (ILL_*): Likewise.
8032         [POSIX] (POLL_*): Likewise.
8033         [POSIX] (SEGV_*): Likewise.
8034         [POSIX] (SI_*): Likewise.
8035         [POSIX] (TRAP_*): Likewise.
8036         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8037         variable.
8039 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8041         [BZ #12926]
8042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8043         infinite loop when __recvmsg returns 0.
8045 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
8047         * CANCEL-FCT-WAIVE: Remove file.
8048         * CANCEL-FILE-WAIVE: Likewise.
8050         [BZ #14132]
8051         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8052         instead of INTVARDEF.
8053         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8054         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8055         rtld_hidden_data_def instead of INTVARDEF.
8056         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8057         * elf/dl-deps.c (expand_dst): Likewise.
8058         * elf/dl-load.c (_dl_dst_count): Likewise.
8059         (_dl_dst_substitute): Likewise.
8060         (decompose_rpath): Likewise.
8061         (_dl_init_paths): Likewise.
8062         (open_path): Likewise.
8063         (_dl_map_object): Likewise.
8064         * elf/rtld.c (dl_main): Likewise.
8065         (process_dl_audit): Likewise.
8066         (process_envvars): Likewise.
8067         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8068         Remove declaration.
8069         (__libc_enable_secure): Use rtld_hidden_proto.
8071 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8073         * elf/dl-load.c
8074         (add_path): New function broken out of _dl_rtld_di_serinfo.
8075         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
8077 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8079         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8080         parentheses around macro arguments.
8081         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8082         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8084         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8085         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8088         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8092         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8093         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8094         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8096         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8097         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8098         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8099         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8100         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8101         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8102         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8103         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8106         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8110         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8111         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8112         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8113         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8114         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8115         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8116         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8117         Likewise.
8118         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8125         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8126         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8127         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8128         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8129         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8130         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8131         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8135         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8136         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8139         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8140         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8141         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8143         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8144         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8145         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8146         (_FP_FRAC_SRS_1): Likewise.
8147         (_FP_FRAC_CLZ_1): Likewise.
8148         (_FP_MUL_MEAT_1_imm): Likewise.
8149         (_FP_MUL_MEAT_1_wide): Likewise.
8150         (_FP_MUL_MEAT_1_hard): Likewise.
8151         (_FP_SQRT_MEAT_1): Likewise.
8152         (_FP_FRAC_ASSEMBLE_1): Likewise.
8153         (_FP_FRAC_DISASSEMBLE_1): Likewise.
8154         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8155         (__FP_CLZ_2): Likewise.
8156         (_FP_MUL_MEAT_2_wide): Likewise.
8157         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8158         (_FP_MUL_MEAT_2_gmp): Likewise.
8159         (_FP_MUL_MEAT_2_120_240_double): Likewise.
8160         (_FP_SQRT_MEAT_2): Likewise.
8161         (_FP_FRAC_ASSEMBLE_2): Likewise.
8162         (_FP_FRAC_DISASSEMBLE_2): Likewise.
8163         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8164         (_FP_FRAC_CLZ_4): Likewise.
8165         (_FP_MUL_MEAT_4_wide): Likewise.
8166         (_FP_MUL_MEAT_4_gmp): Likewise.
8167         (_FP_SQRT_MEAT_4): Likewise.
8168         (_FP_FRAC_ASSEMBLE_4): Likewise.
8169         (_FP_FRAC_DISASSEMBLE_4): Likewise.
8170         * soft-fp/op-common.h (_FP_CMP): Likewise.
8171         (_FP_CMP_EQ): Likewise.
8172         (_FP_CMP_UNORD): Likewise.
8173         (_FP_TO_INT): Likewise.
8174         (_FP_FROM_INT): Likewise.
8175         [!__FP_CLZ] (__FP_CLZ): Likewise.
8176         (_FP_DIV_HELP_imm): Likewise.
8177         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8178         Likewise.
8179         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8180         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8181         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8183         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8184         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8186         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8190         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8191         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8192         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8193         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8194         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8195         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8196         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8197         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8198         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8199         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8208         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8209         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8212         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8213         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8214         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8215         (FP_UNPACK_RAW_SP): Likewise.
8216         (FP_PACK_RAW_S): Likewise.
8217         (FP_PACK_RAW_SP): Likewise.
8218         (FP_UNPACK_S): Likewise.
8219         (FP_UNPACK_SP): Likewise.
8220         (FP_UNPACK_SEMIRAW_S): Likewise.
8221         (FP_UNPACK_SEMIRAW_SP): Likewise.
8222         (FP_PACK_S): Likewise.
8223         (FP_PACK_SP): Likewise.
8224         (FP_PACK_SEMIRAW_S): Likewise.
8225         (FP_PACK_SEMIRAW_SP): Likewise.
8226         (_FP_SQRT_MEAT_S): Likewise.
8227         (FP_CMP_S): Likewise.
8228         (FP_CMP_EQ_S): Likewise.
8229         (FP_CMP_UNORD_S): Likewise.
8230         (FP_TO_INT_S): Likewise.
8231         (FP_FROM_INT_S): Likewise.
8233         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8235         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8236         (FP_EX_INVALID_IMZ): Likewise.
8237         (FP_EX_INVALID_IMZ_FMA): Likewise.
8238         (FP_EX_INVALID_ISI): Likewise.
8239         (FP_EX_INVALID_ZDZ): Likewise.
8240         (FP_EX_INVALID_IDI): Likewise.
8241         (FP_EX_INVALID_SQRT): Likewise.
8242         (FP_EX_INVALID_CVI): Likewise.
8243         (FP_EX_INVALID_VC): Likewise.
8244         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8245         "invalid" exceptions.
8246         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8247         (_FP_ADD_INTERNAL): Likewise.
8248         (_FP_MUL): Likewise.
8249         (_FP_FMA): Likewise.
8250         (_FP_DIV): Likewise.
8251         (_FP_CMP_CHECK_NAN): Likewise.
8252         (_FP_SQRT): Likewise.
8253         (_FP_TO_INT): Likewise.
8254         (FP_EXTEND): Likewise.
8256 2014-10-09  Allan McRae  <allan@archlinux.org>
8258         * po/fr.po: Update French translation from translation project.
8260 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8262         [BZ #14132]
8263         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8264         of INTDEF.
8265         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8266         (__cxa_atexit): Use libc_hidden_proto.
8267         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8269         [BZ #14132]
8270         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8271         declaration.
8272         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8273         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8274         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8275         [!_ISOMAC] (__iswctype_internal): Likewise.
8276         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8277         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8278         alias.
8279         (fcntl): Remove __fcntl_internal alias.
8280         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8281         __connect_internal alias.
8282         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8283         Likewise.
8285         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8286         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8287         FP_DENORM_ZERO.
8288         (_FP_CHECK_FLUSH_ZERO): New macro.
8289         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8290         (_FP_CMP): Likewise.
8291         (_FP_CMP_EQ): Likewise.
8292         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8293         FP_DENORM_ZERO.
8294         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8295         (FP_TRUNC): Likewise.
8297         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8298         treated as invalid conversion, not as normal exponent.
8300         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8301         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8302         (_FP_CMP_EQ): Likewise.
8303         (_FP_CMP_UNORD): Likewise.
8304         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8305         (FP_CMP_EQ_D): Likewise.
8306         (FP_CMP_UNORD_D): Likewise.
8307         * soft-fp/extended.h (FP_CMP_E): Likewise.
8308         (FP_CMP_EQ_E): Likewise.
8309         (FP_CMP_UNORD_E): Likewise.
8310         * soft-fp/quad.h (FP_CMP_Q): Likewise.
8311         (FP_CMP_EQ_Q): Likewise.
8312         (FP_CMP_UNORD_Q): Likewise.
8313         * soft-fp/single.h (FP_CMP_S): Likewise.
8314         (FP_CMP_EQ_S): Likewise.
8315         (FP_CMP_UNORD_S): Likewise.
8316         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8317         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8318         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8319         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8320         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8321         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8322         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8323         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8324         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8325         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8326         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8327         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8328         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8329         to FP_CMP_Q.
8330         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8331         FP_CMP_Q.
8332         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8333         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8334         FP_CMP_EQ_Q.
8335         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8336         FP_CMP_Q.
8337         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8338         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8339         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8340         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8341         FP_CMP_EQ_Q.
8342         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8343         FP_CMP_Q.
8344         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8345         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8346         FP_CMP_EQ_Q.
8347         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8348         FP_CMP_Q.
8349         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8350         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8351         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8352         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8353         FP_CMP_EQ_Q.
8355         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8356         a subnormal result, set the underflow exception if trapping on
8357         underflow is enabled.
8358         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8359         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8360         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8361         redefine to 0.
8362         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8363         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8364         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8365         * soft-fp/extendxftf2.c (__extendxftf2): Use
8366         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8368         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8369         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8370         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8371         FP_HANDLE_EXCEPTIONS.
8372         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8373         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8374         FP_HANDLE_EXCEPTIONS.
8375         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8376         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8377         FP_HANDLE_EXCEPTIONS.
8378         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8379         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8380         FP_HANDLE_EXCEPTIONS.
8382 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
8384         [BZ #14132]
8385         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8386         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8387         use INTUSE.
8388         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8389         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8390         Remove alias.
8391         (__adjtimex): Define using libc_hidden_ver.
8392         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8393         Remove declaration.
8394         (ntp_gettime): Call __adjtimex directly.
8395         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8396         Remove declaration.
8397         (ntp_gettimex): Call __adjtimex directly.
8398         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8399         __adjtimex_internal alias.
8401 2014-10-08  Roland McGrath  <roland@hack.frob.com>
8403         [BZ #17460]
8404         * nscd/nscd.c (more_help): Rewrite list of tables collection
8405         using xstrdup and asprintf.
8407         * nscd/nscd_conf.c: Remove local xstrdup declaration.
8409 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8410             Roland McGrath  <roland@hack.frob.com>
8412         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8413         (do_lookup_unique): ... local function 'enter' here; update callers.
8415 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
8417         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8418         compat_symbol calls on [SHARED].
8419         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8420         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8421         Remove.
8422         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8423         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8424         (oldsetrlimit): Remove.
8425         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8427         (lchown): New syscall entry.
8428         (oldsetrlimit): Remove.
8429         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8430         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8431         (oldsetrlimit): Remove.
8432         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8434         [BZ #14138]
8435         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8436         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8437         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8438         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8439         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8440         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8441         (fchown): Likewise.
8442         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8443         (fchown): Likewise.
8444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8445         Likewise.
8447 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8450         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8451         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8452         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8453         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8454         Likewise.
8455         (__old_sem_post): Likewise.
8457 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
8459         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8460         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8461         HAVE_CLOCK_GETTIME_VSYSCALL macros.
8462         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8463         Use INLINE_VSYSCALL macro.
8464         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8465         __vdso_clock_gettime.
8466         * sysdeps/unix/sysv/linux/tile/init-first.c
8467         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8468         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8469         __vdso_clock_gettime.
8471         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8472         to set up frame more cleanly.
8474         * sysdeps/tile/memcmp.c: New file.
8476         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8478         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8479         * sysdeps/tile/tilegx/strcasestr.c: New file.
8480         * sysdeps/tile/tilegx/strnlen.c: New file.
8481         * sysdeps/tile/tilegx/strstr.c: New file.
8483         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8485 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
8487         * nptl/tst-setuid3.c: Write errors to stdout.
8489 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8491         * elf/dl-deps.c
8492         (preload): New functions broken out of _dl_map_object_deps.
8493         (_dl_map_object_deps):  Remove a nested function. Update call sites.
8495 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
8497         [BZ #14138]
8498         * sysdeps/unix/sysv/linux/execve.c: Remove file.
8499         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8501 2014-10-01  Steve Ellcey  <sellcey@mips.com>
8503         * sysdeps/mips/strcmp.S: New.
8505 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
8507         [BZ #14138]
8508         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8509         (linkat): Likewise.
8510         (mkdirat): Likewise.
8511         (readlinkat): Likewise.
8512         (renameat): Likewise.
8513         (symlinkat): Likewise.
8514         (unlinkat): Likewise.
8515         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8516         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8517         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8518         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8519         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8520         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8521         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8523 2014-09-30  Will Newton  <will.newton@linaro.org>
8525         * math/math.h: Define long double math functions if
8526         _LIBC_TEST is defined.
8527         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8529         * localedata/Makefile: Move assignment to tests-special
8530         into an ifdef testing run-built-tests.
8531         * timezone/Makefile: Likewise.
8533 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
8535         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8536         with $(BASH) not $(SHELL).
8538 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
8539             Matthew LeGendre  <legendre1@llnl.gov>
8541         [BZ #17411]
8542         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8543         l_reloc_result.
8545 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8547         * stdio-common/printf_fp.c
8548         (hack_digit): New function, broken out of ...
8549         (__printf_fp): ... local function here.  Update call sites.
8550         hack_digit now takes an additional parameter that is a pointer
8551         to a struct of the referenced locals.  Those locals moved inside
8552         the struct and references updated.
8554 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
8556         * aclocal.m4: Require autoconf 2.69.
8557         * configure: Regenerated.
8558         * sysdeps/aarch64/configure: Likewise.
8559         * sysdeps/alpha/configure: Likewise.
8560         * sysdeps/arm/armv7/configure: Likewise.
8561         * sysdeps/arm/configure: Likewise.
8562         * sysdeps/ia64/configure: Likewise.
8563         * sysdeps/mach/configure: Likewise.
8564         * sysdeps/mips/configure: Likewise.
8565         * sysdeps/s390/configure: Likewise.
8566         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8569         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8570         file.
8571         * sysdeps/ia64/configure.ac: Likewise.
8573 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
8575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8576         specify symbol version for ld.so.  Do not include entry for
8577         libpthread.
8578         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8579         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8580         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8582         [BZ #14171]
8583         * Makeconfig [$(build-shared) = yes]
8584         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8585         makefiles.
8586         [$(build-shared) = yes && $(soversions.mk-done) = t]
8587         ($(common-objpfx)gnu/lib-names.h): Remove rule.
8588         [$(build-shared) = yes && $(soversions.mk-done) = t]
8589         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
8590         to Makerules.
8591         [$(build-shared) = yes && $(soversions.mk-done) = t]
8592         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8593         here.
8594         [$(build-shared) = yes && $(soversions.mk-done) = t]
8595         (common-generated): Don't append gnu/lib-names.h and
8596         gnu/lib-names.stmp here.
8597         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8598         (lib-names-h-abi): New variable.
8599         [$(build-shared) = yes && $(soversions.mk-done) = t]
8600         (lib-names-stmp-abi): Likewise.
8601         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8602         abi-variants] (before-compile): Append
8603         $(common-objpfx)$(lib-names-h-abi).
8604         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8605         abi-variants] (common-generated): Append gnu/lib-names.h.
8606         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8607         abi-variants] (install-others-nosubdir): Depend on
8608         $(inst_includedir)/$(lib-names-h-abi).
8609         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8610         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8611         [$(build-shared) = yes && $(soversions.mk-done) = t]
8612         ($(common-objpfx)$(lib-names-h-abi)): New rule.
8613         [$(build-shared) = yes && $(soversions.mk-done) = t]
8614         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8615         [$(build-shared) = yes && $(soversions.mk-done) = t]
8616         (common-generated): Append $(lib-names-h-abi) and
8617         $(lib-names-stmp-abi).
8618         * scripts/lib-names.awk: Do not handle multi being set.
8619         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8620         Remove variable.
8621         (abi-lp64_be-ld-soname): Likewise.
8622         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8623         Likewise.
8624         (abi-hard-ld-soname): Likewise.
8625         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8626         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8627         Remove variable.
8628         (abi-o32_hard-ld-soname): Likewise.
8629         (abi-o32_soft_2008-ld-soname): Likewise.
8630         (abi-o32_hard_2008-ld-soname): Likewise.
8631         (abi-n32_soft-ld-soname): Likewise.
8632         (abi-n32_hard-ld-soname): Likewise.
8633         (abi-n32_soft_2008-ld-soname): Likewise.
8634         (abi-n32_hard_2008-ld-soname): Likewise.
8635         (abi-n64_soft-ld-soname): Likewise.
8636         (abi-n64_hard-ld-soname): Likewise.
8637         (abi-n64_soft_2008-ld-soname): Likewise.
8638         (abi-n64_hard_2008-ld-soname): Likewise.
8639         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8640         Likewise.
8641         (abi-64-v2-ld-soname): Likewise.
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8643         ld.so entries.
8644         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8645         variable.
8646         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8647         entry.
8648         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8649         variable.
8650         (abi-64-ld-soname): Likewise.
8651         (abi-x32-ld-soname): Likewise.
8652         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8653         entry.
8654         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8656 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
8658         [BZ #14138]
8659         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8660         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8661         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8662         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8663         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8664         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8665         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8666         syscall entry for GLIBC_2.2 symbol version.
8667         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8668         Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8670         (setrlimit): Likewise.
8671         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8672         Likewise.
8674 2014-09-23  Will Newton  <will.newton@linaro.org>
8676         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8677         _LINUX_ARM_SYSDEP_H include guard too.
8678         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8679         define.
8681 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8683         * sysdeps/unix/sysv/linux/eventfd.c:
8684         Make first argument unsigned.
8685         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8686         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8688 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
8690         * socket/recvmmsg.c (recvmmsg): Drop const argument.
8691         * socket/sys/socket.h: Likewise
8692         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8694 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8696         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8698 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
8700         * time/tst-ftime.c: New test.
8701         * time/Makefile (tests): Add tst-ftime.
8703 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
8705         * soft-fp/extended.h: Fix comment formatting.
8706         * soft-fp/op-1.h: Likewise.
8707         * soft-fp/op-2.h: Likewise.
8708         * soft-fp/op-4.h: Likewise.
8709         * soft-fp/op-8.h: Likewise.
8710         * soft-fp/op-common.h: Likewise.
8711         * soft-fp/soft-fp.h: Likewise.
8713         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8715 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
8717         [BZ #6652]
8718         * Makeconfig (soversions-default-setname): Remove variable.
8719         ($(common-objpfx)soversions.i): Don't pass default_setname to
8720         soversions.awk.
8721         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8722         oldest_abi to abi-versions.awk.
8723         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8724         * config.make.in (oldest-abi): Remove variable.
8725         * configure.ac (--enable-oldest-abi): Remove configure option.
8726         * configure: Regenerated.
8727         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8728         text.
8729         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8730         * scripts/soversions.awk: Do not handle default_setname variable.
8731         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8732         variable.
8733         * sysdeps/mach/hurd/configure: Regenerated.
8734         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8735         variable.
8736         * sysdeps/unix/sysv/linux/configure: Regenerated.
8738 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8740         * elf/Makefile (CFLAGS-interp.c): Remove.
8741         ($(elf-objpfx)runtime-linker.h): Generate header with linker
8742         path string.
8743         * elf/interp.c: Include generated runtime-linker.h
8745         * Makerules (lib%.so): Don't include $(+interp) in
8746         prerequisites.
8747         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8748         * dlfcn/eval.c: Remove file.
8750         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8751         macros.
8753         [BZ #17266]
8754         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8755         4.2 and newer.
8757         [BZ #17370]
8758         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8760 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8761             Jakub Jelinek  <jakub@redhat.com>
8763         [BZ #17266]
8764         * libio/stdio.h: Check definition of __fortify_function
8765         instead of __extern_always_inline to include bits/stdio2.h.
8766         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8767         check if __extern_always_inline is defined.
8768         [__USE_MISC || __USE_XOPEN]: Likewise.
8769         [__USE_ISOC99] Likewise.
8770         * misc/sys/cdefs.h (__fortify_function): Define only if
8771         __extern_always_inline is defined.
8772         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8773         __extern_always_inline and __extern_inline only for g++-4.3
8774         and newer or a compatible gcc.
8776 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
8778         [BZ #17371]
8779         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8780         last change to handle zero prefix length.
8782 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8784         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8785         _SC_REGEX_VERSION.
8787         * posix/getconf.c (vars): Add _POSIX_IPV6 and
8788         _POSIX_RAW_SOCKETS.
8790 2014-09-13  Allan McRae  <allan@archlinux.org>
8792         * po/ru.po: Update Russian translation from translation project.
8794 2014-09-12  Roland McGrath  <roland@hack.frob.com>
8796         * locale/programs/locale.c (show_locale_vars): Inline local function
8797         into its sole call site.  Clean up some style nits.
8798         (print_item): New function, broken out of ...
8799         (show_info): ... local function here.  Clean up style nits.
8801         * locale/programs/ld-ctype.c (set_one_default): New function, broken
8802         out of ...
8803         (set_class_defaults): ... local function set_default here.
8804         Define set_default as a macro locally to pass constant parameters.
8805         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8806         rather than a shared local.
8808         * stdlib/rpmatch.c (try): New function, broken out of ...
8809         (rpmatch): ... local function here.  Also, prototypify definition.
8811 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
8813         * scripts/soversions.awk: Do not handle configuration names.
8814         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8815         vendor and os variables to soversions.awk.
8816         * configure.ac: Do not modify gnu-* host_os.
8817         * configure: Regenerated
8818         * shlib-versions: Remove first column with configuration names.
8819         * nptl/shlib-versions: Likewise.
8820         * nptl_db/shlib-versions: Likewise.
8821         * sysdeps/hppa/shlib-versions: Likewise.
8822         * sysdeps/m68k/shlib-versions: Likewise.
8823         * sysdeps/mach/hurd/shlib-versions: Likewise.
8824         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8825         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8826         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8827         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8828         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8829         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8830         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8831         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8833         Likewise.
8834         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8835         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8836         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8837         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8838         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8839         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8840         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8841         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8844         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8846         Regenerated.
8847         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8849         Condition symbol version definitions on [HAVE_ELFV2_ABI].
8851         * shlib-versions: Remove OS-specific entries.  Moved to files in
8852         sysdeps.
8853         * sysdeps/mach/hurd/shlib-versions: New file.
8854         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8856         * nptl/shlib-versions: Remove architecture-specific entries.
8857         Moved to files in sysdeps.
8858         * shlib-versions: Likewise.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8860         file.
8861         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8862         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8863         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8864         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8866         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8867         (UDP_NO_CHECK6_RX): Likewise.
8869 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8871         * sysdeps/posix/sysconf.c (__sysconf): Spell
8872         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8874 2014-08-12  Florian Weimer  <fweimer@redhat.com>
8876         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8877         loading.
8878         * iconv/Versions (__gconv_transliterate): Export for use from
8879         gconv modules.
8880         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8881         (struct __gconv_trans_data, __gconv_trans_fct,
8882         __gconv_trans_context_fct, __gconv_trans_query_fct,
8883         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8884         definitions.
8885         (struct __gconv_step_data): Remove __trans member.
8886         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
8887         longer hidden.  Remove unused trans_data argument.
8888         * iconv/gconv_int.h (struct trans_struct): Remove definition.
8889         (__gconv_translit_find): Remove declaration.
8890         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
8891         prototype.
8892         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8893         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8894         trans_data argument.  Add hidden definition.
8895         (__gconv_translit_find): Remove.
8896         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8897         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8898         * iconv/skeleton.c: Remove transliteration initialization.
8899         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8900         __gconv_step_data initialization.
8901         * libio/iofwide.c (__libio_translit_): Remove.
8902         (_IO_fwide): Adjust struct __gconv_step_data initialization.
8903         * wcsmbs/btowc.c (__btowc): Likewise.
8904         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8905         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8906         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8907         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8908         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8909         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8910         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8911         * wcsmbs/wctob.c (wctob): Likewise.
8913 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8915         [BZ #16194]
8916         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8917         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
8918         register usage.
8919         * sysdeps/x86/Makefile: Adjust.
8921 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8922             Roland McGrath  <roland@hack.frob.com>
8924         * locale/weight.h: Add include guard.
8925         (findidx): Make static rather than auto; take new parameters
8926         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8927         * locale/weightwc.h: Likewise.
8928         * posix/fnmatch_loop.c
8929         (FCT): Change type of EXTRA from int32_t to wint_t.
8930         Don't include either header inside the function.
8931         Call FINDIDX rather than findidx, and pass new arguments.
8932         #undef FINDIDX at the end of the file.
8933         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8934         FINDIDX before including fnmatch_loop.c for the non-wide version.
8935         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8936         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8937         for the wide version.
8938         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8939         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8940         Pass new arguments to findidx.
8941         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8942         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8943         Don't #include it inside the function.  Pass new arguments to findidx.
8944         * posix/regex_internal.h
8945         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8946         (re_string_elem_size_at): Don't #include it inside the function.
8947         Pass new arguments to findidx.
8948         * string/strcoll_l.c: #include WEIGHT_H at top level.
8949         (get_next_seq): Don't #include it inside the function.
8950         Pass new arguments to findidx.
8951         (get_next_seq_nocache): Likewise.
8952         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8953         (STRXFRM): Don't #include it inside the function.
8954         Pass new arguments to findidx.
8956 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8958         [BZ #17344]
8959         * malloc/malloc.c (unlink): Turn asserts into a call to
8960         malloc_printerr.
8962 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8964         [BZ #17370]
8965         * libio/wfileops (do_ftell_wide): Free OUT.
8967 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8969         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8971 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8973         [BZ #17363]
8974         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8975         group if the current group is empty.
8977 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8979         * benchtests/bench-memset.c (test_main): Add more test from size
8980         from 32 to 512 bytes.
8981         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8982         Add POWER8 memset object.
8983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8984         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8985         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8986         implementation.
8987         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8988         Likewise.
8989         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8990         multiarch POWER8 memset optimization.
8991         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8992         POWER8 memset optimization.
8994         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8995         Remove bzero multiarch objects.
8996         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8997         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8998         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8999         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9000         Remove define.
9001         [__bzero]: Redefine to specific name.
9002         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9003         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9004         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9005         define.
9006         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9007         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9009 2014-09-10  Florian Weimer  <fweimer@redhat.com>
9011         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9012         warnings into errors.
9014         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9015         __cxa_thread_atexit_impl prototype.
9017 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9019         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9020         Fix capitalization of error message.
9022 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9024         * sysdeps/mips/preconfigure: Modify ABI tests.
9026 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
9028         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9030 2014-09-07  Roland McGrath  <roland@hack.frob.com>
9031             Carlos O'Donell  <carlos@systemhalted.org>
9033         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9034         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9035         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9036         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9037         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9038         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9039         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9040         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9041         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9042         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9043         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9044         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9045         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9046         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9047         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9048         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9049         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9050         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9051         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9052         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9053         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9054         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9055         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9056         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9057         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9058         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9059         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9060         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9061         Deconditionalize the code that was previously under [RESET_PID].
9062         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9063         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9064         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9065         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9066         include sysdep.h.
9068 2014-09-08  Allan McRae  <allan@archlinux.org>
9070         * version.h (RELEASE): Set to "development".
9071         (VERSION): Set to "2.20.90"
9073 2014-09-07  Allan McRae  <allan@archlinux.org
9075         * version.h (RELEASE): Set to "stable".
9076         (VERSION): Set to "2.20"
9077         * include/features.h (__GLIBC_MINOR__): Set to 20.
9079         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9080         Liebler.
9082         * po/ko.po: Update Korean translation from translation project.
9084 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
9086         [BZ #17354]
9087         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9088         macro for handling signed relocations.
9090 2014-09-03  Florian Weimer  <fweimer@redhat.com>
9092         [BZ #17325]
9093         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9094         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9095         assert.
9096         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9097         * iconvdata/ibm935.c (BODY): Likewise.
9098         * iconvdata/ibm937.c (BODY): Likewise.
9099         * iconvdata/ibm939.c (BODY): Likewise.
9100         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9101         assert.
9102         * iconvdata/Makefile (iconv-test.out): Pass module list to test
9103         script.
9104         * iconvdata/run-iconv-test.sh: New test loop for checking for
9105         decoder crashers.
9107 2014-09-02  Khem Raj  <raj.khem@gmail.com>
9109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9110         libm_hidden_ver.
9112 2014-09-01  Allan McRae  <allan@archlinux.org>
9114         * po/eo.po: Update Esperanto translation from translation project.
9116         * po/ca.po: Update Catalan translation from translation project.
9118 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9120         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9121         __proc_dostop call.
9123 2014-08-27  Mark Wielaard  <mjw@redhat.com>
9125         [BZ #17319]
9126         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9127         to call set_thread_area instead of hand written asm.
9128         (__NR_set_thread_area): Removed define.
9129         (TLS_FLAG_WRITABLE): Likewise.
9130         (__ASSUME_SET_THREAD_AREA): Remove check.
9131         (TLS_EBX_ARG): Remove define.
9132         (TLS_LOAD_EBX): Likewise.
9134 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9136         Simplify atomicity of socket creation in bind.
9138         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9139         looking up the name after linking the file.
9141 2014-08-27  Allan McRae  <allan@archlinux.org>
9143         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9145 2014-08-26  Florian Weimer  <fweimer@redhat.com>
9147         [BZ #17187]
9148         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9149         trans_compare, open_translit, __gconv_translit_find):
9150         Remove module loading code.
9152 2014-08-26  Allan McRae  <allan@archlinux.org>
9154         * po/vi.po: Update Vietnamese translation from translation project.
9156         * po/uk.po: Update Ukrainian translation from translation project.
9158         * po/fr.po: Update French translation from translation project.
9160         * po/ru.po: Update Russian translation from translation project.
9162         * po/pl.po: Update Polish translation from translation project.
9164         * po/cs.po: Update Czech translation from translation project.
9166         * po/de.po: Update German translation from translation project.
9168         * po/bg.po: Update Bulgarian translation from translation project.
9170         * po/sv.po: Update Sweedish translation from translation project.
9172         * po/nl.po: Update Dutch translation from translation project.
9174         * po/es.po: Update Spanish translation from translation project.
9176 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9178         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9180         * catgets/Makefile (CPPFLAGS-gencat): Remove.
9181         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9182         (CPPFLAGS-iconvconfig): Likewise.
9183         * timezone/Makefile (CPPFLAGS-zic): Likewise.
9185         * include/libc-symbols.h: Remove unnecessary check for
9186         NOT_IN_libc.
9187         * nptl/pthreadP.h: Likewise.
9188         * sysdeps/aarch64/setjmp.S: Likewise.
9189         * sysdeps/alpha/setjmp.S: Likewise.
9190         * sysdeps/arm/sysdep.h: Likewise.
9191         * sysdeps/i386/setjmp.S: Likewise.
9192         * sysdeps/m68k/setjmp.c: Likewise.
9193         * sysdeps/posix/getcwd.c: Likewise.
9194         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9195         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9196         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9197         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9198         * sysdeps/sh/sh3/setjmp.S: Likewise.
9199         * sysdeps/sh/sh4/setjmp.S: Likewise.
9200         * sysdeps/unix/alpha/sysdep.h: Likewise.
9201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9202         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9203         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9204         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9209         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9212         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9214         * sysdeps/x86_64/setjmp.S: Likewise.
9216 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
9218         [BZ #17263]
9219         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9220         <stdint.h>.
9221         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9222         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9224 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9226         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9228         [BZ #17262]
9229         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9230         and __x86_64__ when disabling x87 inline functions.
9232 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9234         [BZ #17259]
9235         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9236         asm statement with __cpuid_count.
9238 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
9240         * configure.ac: Change __ehdr_start code to dereference the struct.
9241         Run readelf on the output to look for relocations.
9242         * configure: Regenerated.
9244 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
9246         [BZ #17261]
9247         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9248         value to 0.
9249         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9251 2014-08-12  Roland McGrath  <roland@hack.frob.com>
9253         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9255 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9257         [BZ #16892]
9258         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9259         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9261 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9263         * malloc/malloc.c: Fix typo in comment.
9265 2014-08-09  Allan McRae  <allan@archlinux.org>
9267         * Regenerate libc.po.
9269 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9271         * intl/tst-gettext2.sh: Check every lang file for creation.
9273 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9275         * sysdeps/aarch64/fpu/math_private.h
9276         (libc_feholdsetround_noex_aarch64_ctx): New function.
9278 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9280         * sysdeps/arm/armv6/strcpy.S (strcpy):
9281         Fix performance issue in misaligned cases.
9283 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9285         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9286         Move definition from termios.h.
9287         (struct termio): Likewise.
9288         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9289         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9290         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9291         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9294         Move definition to ioctl-types.h
9295         (struct termio): Likewise.
9296         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9297         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9298         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9299         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9300         Likewise.
9302 2014-08-05  Richard Henderson  <rth@redhat.com>
9304         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9305         exceptions.
9306         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9307         Add fraiseexcpt.
9308         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9309         Use __feraiseexcept.
9310         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9311         Protect libm symbols with IS_IN_libm.
9313         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9315 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
9317         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9319 2014-08-04  Will Newton  <will.newton@linaro.org>
9321         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9322         file.
9324 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
9326         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9327         variants for each function.
9329 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9331         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9332         appended ...
9333         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9334         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9335         appended ...
9336         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9337         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9338         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9339         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9340         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9341         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9342         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9343         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9344         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9345         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9346         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9347         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9348         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9349         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9350         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9352         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9353         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9354         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9355         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9356         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9357         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9358         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9359         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9360         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9361         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9362         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9363         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9364         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9365         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9366         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9367         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9368         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9369         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9370         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9371         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9372         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9373         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9374         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9375         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9376         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9377         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9378         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9379         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9380         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9381         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9382         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9383         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9384         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9385         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9386         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9387         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9388         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9389         Update #include.
9390         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9391         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9393 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9395         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9396         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9397         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9398         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9399         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9400         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9402 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9404         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9405         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9406         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9407         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9409 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9411         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9412         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9413         (__libc_vfork): Define function under this name.
9414         (__vfork): Define as an alias.
9415         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9416         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9418 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9420         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9421         that was previously under [RESET_PID].
9422         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9424 2014-08-04  Andreas Schwab  <schwab@suse.de>
9426         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9428 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
9430         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9431         (main): Likewise.
9433 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9437 2014-08-01  Richard Henderon  <rth@redhat.com>
9439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9440         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9441         typo in exact zero test.
9442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9443         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9446 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9448         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9449         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9450         * sysdeps/arm/sysdep.h: ... here.
9451         [!__ASSEMBLER__]: Include <stdint.h>.
9453 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9455         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9456         (HAVE_WCTYPE_H): Likewise.
9457         (HAVE_ISWCTYPE): Likewise.
9458         (ENABLE_NLS): Likewise.
9459         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9460         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9462         * posix/regex_internal.c: Check if DEBUG is defined and is
9463         set.
9465         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9466         (HAVE_MBSRTOWCS): Likewise.
9467         * posix/fnmatch.c: Include string.h unconditionally.
9469 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9471         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9472         reversal.
9474 2014-07-31  Roland McGrath  <roland@hack.frob.com>
9476         * sysdeps/generic/safe-fatal.h: New file.
9477         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9478         * nptl/forward.c: Include it.
9479         (__pthread_unwind): Use __safe_fatal as default action, rather
9480         than a bogus use of INTERNAL_SYSCALL that could never work.
9482         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9483         * configure.ac (libc_cv_builtin_trap): New test.
9484         * configure: Regenerated.
9485         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9486         (ABORT_INSTRUCTION): Define using __builtin_trap.
9488         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9489         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9490         * sysdeps/nptl/nptl-signals.h: New file.
9491         * nptl/pthreadP.h: Include <nptl-signals.h>.
9493 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9495         * sysdeps/s390/s390-64/utf16-utf32-z9.c
9496         (ONE_DIRECTION): Define.
9497         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9498         (ONE_DIRECTION): Define.
9499         * sysdeps/s390/s390-64/utf8-utf32-z9.c
9500         (ONE_DIRECTION): Define.
9502 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9504         * sysdeps/s390/Makefile: Delete file.
9505         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9506         * sysdeps/s390/__longjmp.c: Delete file.
9507         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9508         Remove fields __flags and __reserved.
9509         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9510         and add versioning.
9511         * sysdeps/s390/rtld-__longjmp.c: Delete file.
9512         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9513         * sysdeps/s390/rtld-setjmp.S: Likewise.
9514         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9515         * sysdeps/s390/s390-32/__longjmp.c: ... here.
9516         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9517         * sysdeps/s390/s390-32/setjmp.S: ... here.
9518         Add versioning.
9519         (__sigsetjmp): Remove setting __flags field.
9520         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9521         * sysdeps/s390/s390-64/__longjmp.c: ... here.
9522         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9523         * sysdeps/s390/s390-64/setjmp.S: ... here.
9524         Add versioning.
9525         (__sigsetjmp): Remove setting __flags field.
9526         * sysdeps/s390/setjmp.S: Delete file.
9527         * sysdeps/s390/sigjmp.c: Likewise.
9528         * sysdeps/s390/v1-longjmp.c: Likewise.
9529         * sysdeps/s390/v1-setjmp.h: Likewise.
9530         * sysdeps/s390/v1-sigjmp.c: Likewise.
9531         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9532         Remove v1-longjmp_chk.
9533         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9534         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9535         Include debug/longjmp_chk.c and add versioning.
9536         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9537         Include nptl/pt-longjmp.c and add versioning.
9538         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9539         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9540         Include __longjmp.c.
9541         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9542         Move to ...
9543         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9544         (__getcontext): Remove setting __flags field.
9545         Add versioning.
9546         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9547         Don't restore upper high grps.
9548         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9549         Likewise.
9550         (__swapcontext): Remove setting uc_flags field.
9551         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9552         Delete file.
9553         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9554         Include __longjmp.c.
9555         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9556         Move to ...
9557         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9558         (__getcontext): Remove setting __flags field.
9559         Add versioning.
9560         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9561         (__swapcontext): Remove setting uc_flags field.
9562         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9563         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9564         Remove fields uc_high_gprs and __reserved.
9565         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9566         New file with reverted content.
9567         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9568         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9569         Regenerated.
9570         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9571         Regenerated.
9573 2014-07-31  Andreas Schwab  <schwab@suse.de>
9575         * config.h.in (HAVE_IFUNC): Define to 0.
9576         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9577         definedness.
9579 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
9581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9582         memmove-avx-unaligned, memcpy-avx-unaligned and
9583         mempcpy-avx-unaligned.
9584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9585         Add tests for AVX memcpy functions.
9586         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9587         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9588         memcpy_chk.
9589         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9590         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9591         memmove_chk.
9592         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9593         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9594         mempcpy_chk.
9595         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9596         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9597         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9599 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9601         [BZ #17213]
9602         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9603         powerpc64le.
9605 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
9607         [BZ #16839]
9608         * manual/llio.texi: Add section about open file description locks.
9609         * manual/examples/ofdlocks.c: Example of open file description
9610         lock usage.
9611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9612         F_OFD_SETLK, and F_OFD_SETLKW.
9614 2014-07-23  Allan McRae  <allan@archlinux.org>
9616         * po/es.po: Update Spanish translation from translation project.
9618 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
9620         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9622 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
9624         [BZ #17078]
9625         * sysdeps/arm/dl-machine.h (elf_machine_rela)
9626         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9627         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9629 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
9631         [BZ #17088]
9632         * math/fesetenv.c (__fesetenv)
9633         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9634         * math/feupdateenv.c (__feupdateenv)
9635         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9637         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9638         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9639         (__ASSUME_SOCKETCALL): Do not define.
9641         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9642         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9643         (__ASSUME_SOCKETCALL): Do not define.
9644         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9645         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9646         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9647         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9648         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9649         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9651         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9653         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9654         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9655         (__ASSUME_SOCKETCALL): Do not define.
9656         (__ASSUME_IPC64): Define unconditionally.
9657         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9658         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9659         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9660         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9661         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9662         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9663         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9664         Likewise.
9666         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9667         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9668         (__ASSUME_SOCKETCALL): Do not define.
9669         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9670         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9671         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9672         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9673         (__ASSUME_REQUEUE_PI): Define unconditionally.
9674         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9675         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9676         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9677         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9678         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9679         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9681         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9682         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9683         (__ASSUME_SOCKETCALL): Do not define.
9684         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9686         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9687         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9688         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9689         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9691         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9692         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9693         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9694         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9695         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9696         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9698         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9699         (__ASSUME_GETCPU_SYSCALL): Likewise.
9701         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9702         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
9703         cases for individual architectures.
9704         * sysdeps/gnu/configure: Regenerated.
9705         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9706         LIBC_SLIBDIR_RTLDDIR.
9707         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9708         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9709         LIBC_SLIBDIR_RTLDDIR.
9710         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9712         LIBC_SLIBDIR_RTLDDIR.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9714         Regenerated.
9715         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9716         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9717         file.
9718         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9719         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9720         file.
9721         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9722         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9723         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9724         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9726         * sysdeps/aarch64/shlib-versions: Move to ...
9727         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9728         * sysdeps/alpha/shlib-versions: Move to ...
9729         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9730         * sysdeps/arm/shlib-versions: Move to ...
9731         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9732         * sysdeps/hppa/shlib-versions: Move all contents except for
9733         libgcc_s entry to ...
9734         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
9735         entry from ...
9736         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
9737         * sysdeps/ia64/shlib-versions: Move to ...
9738         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
9739         entry from ...
9740         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
9741         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9742         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9743         * sysdeps/microblaze/shlib-versions: Move to ...
9744         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9745         * sysdeps/mips/shlib-versions: Move to ...
9746         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
9747         entry from ...
9748         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
9749         * sysdeps/tile/shlib-versions: Move to ...
9750         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9751         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9752         from ...
9753         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
9754         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9755         entry from ...
9756         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
9758 2014-07-17  Will Newton  <will.newton@linaro.org>
9760         * sysdeps/arm/bits/atomic.h
9761         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9762         (__arch_compare_and_exchange_bool_16_int): Likewise.
9763         (__arch_compare_and_exchange_bool_64_int): Likewise.
9765         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9766         into an #else block.
9768 2014-07-16  Roland McGrath  <roland@hack.frob.com>
9770         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9771         just Linux configurations.  Test empirically that the compiler sets
9772         __ARM_EABI__, rather than using the tuple to decide.
9773         * sysdeps/arm/preconfigure: Regenerated.
9774         * sysdeps/unix/sysv/linux/arm/configure: File removed.
9775         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9776         contents appended ...
9777         * sysdeps/arm/configure.ac: ... here.
9778         * sysdeps/arm/configure: Regenerated.
9780 2014-07-15  Roland McGrath  <roland@hack.frob.com>
9782         * nptl/pthread_kill.c: New file.
9783         * nptl/pthread_sigmask.c: New file.
9784         * nptl/pthread_sigqueue.c: New file.
9786         * sysdeps/nptl/lowlevellock.h: New file.
9787         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9788         * sysdeps/nptl/lowlevellock-futex.h: New file.
9790         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9791         Remove dead declarations.
9793 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
9795         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9796         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9797         config-cflags-avx2.
9798         * sysdeps/x86_64/configure.ac: Likewise.
9799         * sysdeps/i386/configure: Regenerated.
9800         * sysdeps/x86_64/configure: Likewise.
9801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9802         memset-avx2 only if config-cflags-avx2 is yes.
9803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9804         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9805         defined.
9806         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9807         only if HAVE_AVX2_SUPPORT is defined.
9808         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9810 2014-07-14  Alan Modra  <amodra@gmail.com>
9812         [BZ #17153]
9813         * elf/elf.h (DT_PPC64_NUM): Correct value.
9814         * NEWS: Add to fixed bug list.
9816 2014-07-13  Jim Meyering  <meyering@fb.com>
9818         [BZ 17150]
9819         regex: don't deref NULL upon heap allocation failure
9820         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9821         failure in one more place.
9822         To trigger the segfault, configure grep -with-included-regex,
9823         build it, and run these commands:
9824         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9826 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9828         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9830 2014-07-11  Richard Henderson  <rth@redhat.com>
9832         * sysdeps/aarch64/libm-test-ulps: Update.
9834 2014-07-10  Florian Weimer  <fweimer@redhat.com>
9836         [BZ #17135]
9837         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9838         * nptl/allocatestack.c (__nptl_setxid_error): New function.
9839         (__nptl_setxid): Initialize error member.  Call
9840         __nptl_setxid_error.
9841         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9842         * nptl/descr.h (struct xid_command): Add error member.
9843         * nptl/tst-setuid3.c: New file.
9844         * nptl/Makefile (tests): Add it.
9846 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9848         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9849         New define.
9850         (__lll_trylock): Use __lll_base_trylock.
9851         (__lll_cond_trylock): Likewise.
9853 2014-07-10  Roland McGrath  <roland@hack.frob.com>
9855         * nptl/pthread_create.c (start_thread): Use atomic_or and
9856         lll_futex_wake directly rather than lll_robust_dead.
9857         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9858         (lll_robust_dead): Macro removed.
9859         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9860         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9861         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9862         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9863         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9864         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9865         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9866         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9867         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9868         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9869         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9870         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9871         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9872         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9873         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9875         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9876         Use atomic_compare_and_exchange_val_acq directly rather than
9877         lll_robust_trylock.
9878         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9879         (__lll_robust_trylock, lll_robust_trylock): Removed.
9880         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9881         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9882         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9883         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9884         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9885         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9886         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9887         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9888         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9889         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9890         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9891         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9892         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9893         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9895 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9897         * manual/locale.texi (Locale Names): New section documenting
9898         locale name syntax.  Adjust menu and node chaining accordingly.
9899         (Choosing Locale): Reference Locale Names, Locale Categories.
9900         Mention setting LC_ALL=C.  Reflect that name syntax is now
9901         documented.
9902         (Locale Categories): New section title.  Reference Locale Names.
9903         LC_ALL is an environment variable, but not a category.
9904         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9905         description, now in Locale Name.  Reference that section.  Locale
9906         name syntax is now documented.
9908 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9910         [BZ #17137]
9911         * locale/findlocale.c (name_present, valid_locale_name): New
9912         functions.
9913         (_nl_find_locale): Use the loc_name variable to store name
9914         candidates.  Call name_present and valid_locale_name to check and
9915         validate locale names.  Return an error if the locale is invalid.
9917 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9919         * locale/setlocale.c (setlocale): Use strdup for allocating
9920         composite name copy.
9922 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9924         Sync up with gnulib.
9925         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9926         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9927         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9928         and _GL_ARG_NONNULL.
9929         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9930         [!_LIBC]: Include code for Windows and Cygwin.
9931         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9932         Include prototype for int strerror_r.
9933         [!_LIBC] (is_open): New function.
9934         (flush_stdout): New function.
9935         (print_errno_message): Use it.
9936         (error): Likewise.
9937         (error_at_line): Likewise.
9938         (error_tail) Add function attribute macros.  Use
9939         __builtin_expect.
9941         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9943         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9945         * io/ftw.c: Include sys/param.h unconditionally.
9947         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9949         [BZ #17125]
9950         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9951         libc_freeres_ptr.
9952         (freecache): New function to free CACHE on exit.
9954         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9955         initialization.
9957 2014-07-09  David S. Miller  <davem@davemloft.net>
9959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9961         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9962         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9963         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9964         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9965         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9966         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9967         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9968         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9969         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9970         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9971         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9972         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9973         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9975 2014-07-09  Andreas Schwab  <schwab@suse.de>
9977         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9978         output.
9979         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9980         (do_test): Likewise.
9982         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9984 2014-07-09  Will Newton  <will.newton@linaro.org>
9986         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9987         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9988         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9989         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9990         * sysdeps/hppa/start.S (_start): Likewise.
9992 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9994         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9996         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9997         defined.
9999 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10001         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10002         after checking that it is non-NULL.
10004         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10006 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10008         * sysdeps/powerpc/memmove.c: Remove file.
10009         * sysdeps/powerpc/powerpc32/power4/memcopy.h
10010         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10011         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10012         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10014         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10015         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10016         string memmove instead of removed powerpc one.
10018         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10019         [weak_alias]: Fix compiler warning due trailing data.
10020         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10021         [weak_alias]: Likewise.
10022         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10023         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10026         (__libc_ifunc_impl_list): Add memmove functions.
10028 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10030         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10031         Remove code.
10032         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10033         Likewise
10034         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10035         Likewise
10036         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10037         Likewise
10038         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10039         Likewise
10040         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10041         Likewise
10042         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10043         Likewise
10044         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10045         Likewise
10046         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10047         Likewise
10048         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10049         Likewise
10050         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10051         Likewise
10052         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10053         Likewise
10054         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10055         Likewise
10056         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10057         Likewise
10058         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10059         Likewise
10060         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10061         Likewise
10062         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10063         Likewise
10065 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10067         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10068         to avoid alignment traps in non-cacheable memory.
10069         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10072         multiarch objects.
10073         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10074         file: multiarch power7 memmove.
10075         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10076         multiarch default memmove.
10077         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10078         multiarch memove for powerpc32/power4.
10080         * string/bcopy.c: Use full path to include memmove.c.
10081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10082         multiarch objects.
10083         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10084         bcopy for powerpc64.
10085         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10086         bcopy for powerpc64.
10087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10088         and memmove implementations.
10089         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10090         optimized multiarch memmove for POWER7/powerpc64.
10091         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10092         default multiarch memmove for powerpc64.
10093         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10094         multiarch for powerpc64.
10095         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10096         for POWER7/powerpc64.
10097         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10098         memmove for POWER7/powerpc64.
10100         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10101         glibc default one.
10103         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10104         __ELF_NATIVE_CLASS equal to 64.
10106 2014-07-07  Roland McGrath  <roland@hack.frob.com>
10108         * sysdeps/nptl/lowlevellock.h: File removed.
10110         * NEWS: NPTL is no longer an add-on!
10111         * nptl/internaltypes.h: Moved ...
10112         * sysdeps/nptl/internaltypes.h: ... here.
10113         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10114         * sysdeps/nptl/fork.c: Likewise.
10115         * sysdeps/nptl/gai_misc.h: Likewise.
10116         * sysdeps/nptl/librt-cancellation.c: Likewise.
10117         * sysdeps/nptl/jmp-unwind.c: Likewise.
10118         * sysdeps/nptl/setxid.h: Likewise.
10119         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10120         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10121         * sysdeps/unix/sysv/linux/arm/Implies: New file.
10122         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10123         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10124         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10125         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10126         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10127         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10128         * sysdeps/unix/sysv/linux/mips/Implies: New file.
10129         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10130         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10131         * sysdeps/unix/sysv/linux/sh/Implies: New file.
10132         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10133         * sysdeps/unix/sysv/linux/tile/Implies: New file.
10134         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10135         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10136         * nptl/Makeconfig: Moved ...
10137         * sysdeps/nptl/Makeconfig: ... here.
10138         * nptl/configure: File removed.
10139         * nptl/ANNOUNCE: File removed.
10140         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10141         * sysdeps/unix/sysv/linux/configure: Regenerated.
10143         * nptl/Makefile (routines): Add libc_pthread_init,
10144         libc_multiple_threads, register-atfork and unregister-atfork.
10145         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10146         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10147         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10148         pthread-pi-defines.sym, structsem.sym.
10149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10150         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10151         [$(subdir) = nptl] (tests): Add tst-setgetname.
10152         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10153         * sysdeps/unix/sysv/linux/sigaction.c: Just include
10154         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10155         [!LIBC_SIGACTION]: Remove aliases.
10156         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10157         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10158         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10159         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10160         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10161         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10162         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10163         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10164         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10165         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10166         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10167         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10168         __libc_allocate_rtsig_private.
10169         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10170         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10171         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10172         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10173         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10174         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10175         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10176         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10177         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10178         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10179         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10180         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10181         * nptl/internaltypes.h: ... here.
10182         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10183         * sysdeps/nptl/jmp-unwind.c: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10185         * nptl/libc-lowlevellock.c: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10187         * nptl/libc_multiple_threads.c: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10189         * nptl/libc_pthread_init.c: ... here.
10190         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10191         * nptl/lowlevelbarrier.sym: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10193         * nptl/lowlevelcond.sym: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10195         * nptl/lowlevellock.c: ... here.
10196         * nptl/lowlevellock.h: Moved ...
10197         * sysdeps/nptl/lowlevellock.h: ... here.
10198         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10199         * nptl/lowlevelrobustlock.c: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10201         * nptl/lowlevelrobustlock.sym: ... here.
10202         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10203         * nptl/lowlevelrwlock.sym: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10205         * nptl/pt-fork.c: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10207         * nptl/pthread-pi-defines.sym: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10209         * nptl/pthread_attr_getaffinity.c: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10211         * nptl/pthread_attr_setaffinity.c: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10213         * nptl/pthread_mutex_cond_lock.c: ... here.
10214         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10215         Update #include.
10216         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10217         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10218         * nptl/pthread_once.c: ... here, replacing old file.
10219         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10220         * nptl/pthread_yield.c: ... here.
10221         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10222         * nptl/register-atfork.c: ... here.
10223         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10224         * nptl/sem_post.c: ... here.
10225         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10226         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10227         * nptl/sem_timedwait.c: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10229         * nptl/sem_trywait.c: ... here.
10230         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10231         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10232         * nptl/sem_wait.c: ... here.
10233         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10234         * nptl/structsem.sym: ... here.
10235         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10236         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10237         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10238         * nptl/unregister-atfork.c: ... here.
10239         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10240         * nptl/unwindbuf.sym: ... here.
10241         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10242         * sysdeps/nptl/fork.c: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10244         * sysdeps/nptl/fork.h: ... here.
10245         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10246         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10247         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10248         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10249         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10250         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10251         * sysdeps/unix/sysv/linux/getpid.c: ... here.
10252         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10253         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10254         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10255         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10256         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10257         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10258         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10259         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10260         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10261         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10262         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10263         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10264         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10265         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10266         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10267         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10268         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10269         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10270         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10271         * sysdeps/unix/sysv/linux/raise.c: ... here.
10272         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10273         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10274         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10275         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10276         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10277         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10279         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10280         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10281         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10282         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10283         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10284         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10285         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10286         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10288 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10290         * sysdeps/generic/memcopy.h: Add comment for
10291         MEMCPY_OK_FOR_FWD_MEMMOVE.
10293 2014-07-04  Will Newton  <will.newton@linaro.org>
10295         * string/memchr.c: Merge from gnulib.
10296         [_LIBC]: Remove conditionals.
10297         (__ptr_t): Remove define.
10298         (LONG_MAX_32_BITS): Likewise.
10299         (LONG_MAX): Likewise.
10300         (MEMCHR): Use ANSI prototype and optimize algorithm.
10302         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10304 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10306         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10307         (lll_futex_timed_wait_bitset): Fix syscall argument count.
10309         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10310         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10311         in a bare environment with no <stdlib.h> installed.
10312         * sysdeps/nptl/configure: Regenerated.
10314         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10316         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10317         AC_EGREP_CPP for kernel header checks, so they only succeed if
10318         including <linux/version.h> actually works right.
10319         * sysdeps/unix/sysv/linux/configure: Regenerated.
10321         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10322         value so it's not diagnosed as unused.
10324         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10325         thing) with "ifeq ($(subdir),rt)".
10327 2014-07-03  Richard Henderson  <rth@redhat.com>
10329         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10330         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10331         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10333         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10334         (math_force_eval): New.
10336         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10337         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10339         * sysdeps/alpha/fpu/s_round.c: Remove file.
10340         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10342         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10343         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10344         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10345         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10346         (_dl_start, print_statistics): Likewise.
10347         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10348         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10350         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10351         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10352         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10353         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10355         (HP_SMALL_TIMING_AVAIL): Define.
10356         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10357         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10358         (HP_SMALL_TIMING_AVAIL): Define.
10359         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10360         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10362         * sysdeps/aarch64/hp-timing.h: New file.
10364         * sysdeps/generic/hp-timing.h: Remove dead comment.
10365         * sysdeps/generic/hp-timing-common.h: New file.
10366         * sysdeps/alpha/hp-timing.h: Include it.
10367         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10368         * sysdeps/i386/i686/hp-timing.h: Likewise.
10369         * sysdeps/ia64/hp-timing.h: Likewise.
10370         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10371         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10372         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10373         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10374         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10375         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10376         (hp_timing_t): New.
10378         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10379         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10380         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10381         * elf/rtld.c (_dl_start_final): Likewise.
10382         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10383         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10384         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10385         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10386         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10388         (HP_TIMING_DIFF_INIT): Remove.
10389         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10391         (HP_TIMING_DIFF_INIT): Remove.
10392         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10393         * sysdeps/i386/i686/hp-timing.c: Remove file.
10394         * sysdeps/x86_64/hp-timing.c: Remove file.
10395         * sysdeps/ia64/hp-timing.c: Remove file.
10396         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10397         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10398         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10399         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10401         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10402         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10403         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10404         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10405         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10406         (HP_TIMING_ACCUM): Remove.
10407         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10408         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10409         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10411         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10412         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10413         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10414         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10415         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10416         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10417         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10418         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10420         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10422 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
10424         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10426 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10428         Sync up with gettext.
10429         * intl/loadmsgcat.c: Define O_BINARY if not defined.
10430         [_MSC_VER]: Include malloc.h
10431         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10432         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10433         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
10434         TEMP_FAILURE_RETRY.  Cast return of alloca.
10435         [!_LIBC] Call gl_rwlock_init.
10436         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10438 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10440         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10441         before checking its value.
10443 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10445         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10447         * debug/memcpy_chk.c: Don't include pagecopy.h.
10448         * debug/mempcpy_chk.c: Likewise.
10449         * string/memcpy.c: Likewise.
10450         * string/memmove.c: Likewise.
10451         * sysdeps/powerpc/memmove.c: Likewise.
10452         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
10453         definition of PAGE_COPY_FWD_MAYBE here...
10454         * sysdeps/generic/pagecopy.h: ... from here.
10455         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10457 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10458             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10460         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10462         optimizations.
10463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10464         (__libc_ifunc_impl_list): Likewise.
10465         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10466         multiarch strcat for PPC64.
10467         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10468         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10470 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10472         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10474 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10476         * intl/loadmsgcat.c: Remove declaration of
10477         get_sysdep_segment_value.
10478         (get_sysdep_segment_value): Use ISO C style.
10479         (_nl_load_domain): Use ISO C style.  Get rid of redundant
10480         semicolon.  Fix typo and formatting in comment.
10481         (_nl_unload_domain): Use ISO C style.
10483         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10485 2014-07-02  Will Newton  <will.newton@linaro.org>
10487         * malloc/obstack.c: Merge from gnulib master.
10488         [HAVE_CONFIG_H]: Remove conditional code.
10489         [!_LIBC]: Include config.h.
10490         [!ELIDE_CODE]: Don't include inttypes.h, include
10491         stdint.h unconditionally.
10492         (print_and_abort): Mark as _Noreturn.
10493         (_obstack_allocated_p): Mark as __attribute_pure__.
10494         (obstack_free): Rename to __obstack_free.
10495         [!__attribute__]: Remove conditional code.
10496         * malloc/obstack.h: Merge from gnulib master.
10497         [__cplusplus]: Move conditional down.
10498         [!__attribute_pure__]: Define __attribute_pure__ here
10499         if it is not already defined.
10500         (_obstack_memory_used): Mark as __attribute_pure__.
10501         [!__obstack_free]: Define as obstack_free.
10502         [__GNUC__]: Remove check for ancient NeXT gcc.
10504 2014-07-02  Will Newton  <will.newton@linaro.org>
10505             Paul Eggert  <eggert@cs.ucla.edu>
10507         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10509 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10511         * resolv/gethnamaddr.c: Add comment warning that the file is
10512         not maintained.
10514 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
10516         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10517         entries.
10519         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10520         entry for aio_cancel and aio_cancel64.
10521         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10522         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10523         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10524         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10525         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10526         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10527         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10528         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10529         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10530         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10531         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10532         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10533         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10535 2014-07-01  Roland McGrath  <roland@hack.frob.com>
10537         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10538         * nptl/pthread_mutex_lock.c: Likewise.
10539         * nptl/pthread_mutex_timedlock.c: Likewise.
10540         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10542 2014-07-01  Richard henderson  <rth@redhat.com>
10544         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10545         (__isnan, __isnanl): Remove.
10546         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10548         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10550 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10552         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10554 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556         * resolv/nss_dns/dns-host.c (getanswer_r)
10557         [MULTI_PTRS_ARE_ALIASES]: Remove code.
10559 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
10561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10562         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10563         undefine.
10564         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10565         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10567 2014-07-01  Roland McGrath <roland@hack.frob.com>
10569         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10570         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10572         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10573         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10575         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10576         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10577         ... here.
10578         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10579         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10581         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10582         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10583         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10584         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10586         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10587         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10588         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10589         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10590         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10591         Moved ...
10592         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10593         ... here.
10594         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10595         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10596         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10597         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10598         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10599         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10600         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10601         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10602         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10603         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10604         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10605         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10607         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10608         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10609         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10610         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10611         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10612         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10613         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10614         ... here.
10615         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10616         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10617         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10618         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10619         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10620         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10621         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10622         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10624 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
10626         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10627         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10628         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10629         Add sysdep.
10631 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10635 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10637         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10638         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10640         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10642         * sysdeps/arm/libm-test-ulps: Regenerated.
10644 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10645             Roland McGrath <roland@hack.frob.com>
10647         * test-skeleton.c (signal_handler): Kill the whole process group
10648         before killing the child individually.
10649         (main): Report any failure on `setpgid'.
10651 2014-06-30  Roland McGrath  <roland@hack.frob.com>
10653         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10654         from _TLS_H to _ARM_NPTL_TLS_H.
10655         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10656         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10658 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #16539]
10661         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10662         (__expm1l): Return argument unchanged when small but not
10663         subnormal.
10665         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10666         include macro name.
10667         (_FP_UNPACK_RAW_1_P): Likewise.
10668         (_FP_PACK_RAW_1): Likewise.
10669         (_FP_PACK_RAW_1_P): Likewise.
10670         (_FP_MUL_MEAT_1_wide): Likewise.
10671         (_FP_MUL_MEAT_DW_1_hard): Likewise.
10672         (_FP_MUL_MEAT_1_hard): Likewise.
10673         (_FP_DIV_MEAT_1_imm): Likewise.
10674         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10675         (_FP_DIV_MEAT_1_udiv): Likewise.
10676         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10677         (_FP_UNPACK_RAW_2): Likewise.
10678         (_FP_UNPACK_RAW_2_P): Likewise.
10679         (_FP_PACK_RAW_2): Likewise.
10680         (_FP_PACK_RAW_2_P): Likewise.
10681         (_FP_MUL_MEAT_DW_2_wide): Likewise.
10682         (_FP_MUL_MEAT_2_wide): Likewise.
10683         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10684         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10685         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10686         (_FP_MUL_MEAT_2_gmp): Likewise.
10687         (_FP_DIV_MEAT_2_udiv): Likewise.
10688         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10689         (_FP_FRAC_SRL_4): Likewise.
10690         (_FP_FRAC_SRST_4): Likewise.
10691         (_FP_FRAC_SRS_4): Likewise.
10692         (_FP_UNPACK_RAW_4): Likewise.
10693         (_FP_UNPACK_RAW_4_P): Likewise.
10694         (_FP_PACK_RAW_4): Likewise.
10695         (_FP_PACK_RAW_4_P): Likewise.
10696         (_FP_MUL_MEAT_DW_4_wide): Likewise.
10697         (_FP_MUL_MEAT_4_wide): Likewise.
10698         (_FP_MUL_MEAT_4_gmp): Likewise.
10699         (umul_ppppmnnn): Likewise.
10700         (_FP_DIV_MEAT_4_udiv): Likewise.
10701         (__FP_FRAC_ADD_4): Likewise.
10702         (__FP_FRAC_SUB_3): Likewise.
10703         (__FP_FRAC_SUB_4): Likewise.
10704         (__FP_FRAC_DEC_3): Likewise.
10705         (__FP_FRAC_DEC_4): Likewise.
10706         (__FP_FRAC_ADDI_4): Likewise.
10707         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10708         (_FP_FRAC_SRL_8): Likewise.
10709         (_FP_FRAC_SRS_8): Likewise.
10711         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10712         include macro name.
10713         (FP_UNPACK_RAW_EP): Likewise.
10714         (FP_PACK_RAW_E): Likewise.
10715         (FP_PACK_RAW_EP): Likewise.
10716         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10717         (_FP_ISSIGNAN): Likewise.
10718         (_FP_ADD_INTERNAL): Likewise.
10719         (_FP_FMA): Likewise.
10720         (_FP_CMP): Likewise.
10721         (_FP_SQRT): Likewise.
10722         (_FP_TO_INT): Likewise.
10723         (_FP_FROM_INT): Likewise.
10724         (FP_EXTEND): Likewise.
10725         (_FP_DIV_MEAT_N_loop): Likewise.
10727 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10729         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10730         throughout.
10732 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
10734         [BZ #17097]
10735         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10736         result with correct sign in case of exponents that produce
10737         overflow except for X very close to 1.
10739 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
10741         mktime: merge #if/#ifdef usage from glibc
10742         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10743         as that works with both Glibc's and Gnulib's style.
10744         See thread starting at Siddhesh Poyarekar's bug report at:
10745         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10747 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10749         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10750         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10751         * sysdeps/tile/tilegx/memmove.c: Remove file.
10753 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10755         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10756         abi-name definition.
10757         * scripts/soversions.awk: Do not handle or generate ABI lines.
10758         * shlib-versions: Remove ABI entries.
10759         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10760         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10762 2014-06-27  Roland McGrath  <roland@hack.frob.com>
10764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10765         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10766         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10767         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10769         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10771         Moved ...
10772         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10773         ... here.
10774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10775         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10777         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10779         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10780         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10781         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10783         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10785         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10787         Moved ...
10788         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10790         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10792         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10794         Moved ...
10795         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10797         Moved ...
10798         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10800         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10802         Moved ...
10803         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10805         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10807         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10809         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10811         Moved ...
10812         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10814         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10815         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10816         Moved ...
10817         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10819         Moved ...
10820         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10821         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10822         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10824         Moved ...
10825         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10826         ... here.
10827         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10828         Identical file removed.
10829         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10830         Moved ...
10831         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10832         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10833         Identical file removed.
10834         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10835         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10836         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10837         Moved ...
10838         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10840         Identical file removed.
10841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10842         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10844         Identical file removed.
10845         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10846         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10847         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10848         Identical file removed.
10849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10850         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10852         Identical file removed.
10853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10854         Moved ...
10855         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10857         Identical file removed.
10858         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10859         Moved ...
10860         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10862         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10864         Identical file removed.
10865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10866         Moved ...
10867         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10868         ... here.
10869         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10870         Identical file removed.
10871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10872         Moved ...
10873         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10875         Identical file removed.
10876         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10877         Moved ...
10878         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10880         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10881         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10882         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10884         Moved ...
10885         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10886         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10887         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10889         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10890         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10891         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10892         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10893         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10895 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10897         [BZ #17092]
10898         * nscd/nscd.c (monitor_child): Return exit status of child
10899         instead of return value from wait syscall.
10901 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10903         * configure.ac (libc_commonpagesize): Remove variable.
10904         (libc_relro_required): Likewise.
10905         (libc_cv_z_relro): Remove configure test.
10906         * configure: Regenerated.
10907         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10908         variable.
10909         (libc_relro_required): Likewise.
10910         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10911         (libc_relro_required): Likewise.
10912         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10913         (libc_relro_required): Likewise.
10914         * sysdeps/arm/preconfigure: Regenerated.
10915         * sysdeps/ia64/preconfigure: Remove file.
10916         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10917         variable.
10918         (libc_relro_required): Likewise.
10920         [BZ #16561]
10921         [BZ #16562]
10922         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10923         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10924         recompute overflowing results in original rounding mode.
10925         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10926         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10927         recompute overflowing results in original rounding mode.
10928         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10929         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10930         recompute overflowing results in original rounding mode.
10931         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10932         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10933         recompute overflowing results in original rounding mode.
10934         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10935         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10936         recompute overflowing results in original rounding mode.
10937         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10938         (libc_feholdsetround_ctx): New macro.
10939         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10940         * sysdeps/i386/fpu/libm-test-ulps: Update.
10941         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10943 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10945         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10946         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10947         corresponding .cpsetup call.
10949 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10951         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10952         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10953         * sysdeps/arm/Makefile [$(subdir) = csu]
10954         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10955         (static-only-routines): Add aeabi_read_tp here.
10956         (shared-only-routines): Add libc-aeabi_read_tp here.
10957         (CFLAGS-libc-start.c): Add -fexceptions here.
10958         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10959         (sysdep_routines, static-only-routines, shared-only-routines):
10960         Don't add to these here.
10961         (CFLAGS-libc-start.c): Likewise.
10963         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10964         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10965         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10966         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10967         * sysdeps/arm/Makefile [$(subdir) = rt]
10968         (librt-sysdep_routines, librt-shared-only-routines):
10969         Append rt-aeabi_unwind_cpp_pr1 here.
10970         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10971         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10972         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10973         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10974         Append nptl-aeabi_unwind_cpp_pr1 here.
10975         (tests): Filter out tst-cleanupx4 here.
10976         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10977         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10978         Don't do those here.
10980 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10982         * scripts/list-sources.sh: Do not handle ports specially.
10984 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10986         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10987         * sysdeps/arm/feupdateenv.c: Likewise.
10989         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10991 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10993         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10994         trailing whitespace removed.
10995         * scripts/config.guess: Update to version 2014-03-23.
10996         * scripts/config.sub: Update to version 2014-05-01
10997         * scripts/install-sh: Update to version 2013-12-25.23.
10998         * scripts/move-if-change: Update from gnulib.
11000 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11002         * debug/memmove_chk.c: Remove pagecopy.h include.
11004 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
11006         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
11007         identical to gnulib mktime.
11009 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11011         * configure.ac: Do not test for machine being rs6000.  Do not test
11012         for powerpc*-*soft.
11013         * configure: Regenerated.
11015         [BZ #11505]
11016         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11017         test.
11018         * configure: Regenerated.
11019         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11020         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11021         Remove configure test.
11022         * sysdeps/arm/configure: Regenerated.
11023         * sysdeps/nptl/configure.ac: Do not check
11024         libc_cv_asm_cfi_directives.
11025         * sysdeps/nptl/configure: Regenerated.
11026         * sysdeps/x86_64/nptl/configure.ac: Remove file.
11027         * sysdeps/x86_64/nptl/configure: Remove generated file.
11028         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11029         unconditional.
11030         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11032 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11034         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11035         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11036         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11037         it is defined.
11039         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11040         instead of whether it is defined.
11041         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11042         * sysdeps/hppa/dl-machine.h: Likewise.
11043         * sysdeps/ia64/dl-machine.h: Likewise.
11044         * sysdeps/m68k/dl-machine.h: Likewise.
11045         * sysdeps/microblaze/dl-machine.h: Likewise.
11046         * sysdeps/mips/dl-machine.: Likewise.
11047         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11048         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11049         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11050         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11051         * sysdeps/sh/dl-machine.h: Likewise.
11052         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11053         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11054         * sysdeps/tile/dl-machine.h: Likewise.
11055         * sysdeps/x86_64/dl-machine.h: Likewise.
11057         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11058         code.
11059         (verify_persistent_db): Likewise.
11061 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11064         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11066         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11068         Moved ...
11069         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11070         ... here.
11071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11072         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11074         Identical file removed.
11075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11076         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11078         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11080         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11082         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11084         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11086         Moved ...
11087         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11089         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11091         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11093         Moved ...
11094         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11096         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11098         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11100         Identical file removed.
11101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11102         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11104         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11106         Moved ...
11107         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11108         ... here.
11109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11110         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11112         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11114         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11116         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11118         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11120         Moved ...
11121         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11123         Moved ...
11124         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11126         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11128         Moved ...
11129         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11131         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11133         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11134         folded into ...
11135         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11136         * sysdeps/unix/sysv/linux/s390/Versions
11137         (libpthread: GLIBC_2.19): New version set.
11138         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11139         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11140         (librt: GLIBC_2.3.3): New version set.
11141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11142         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11143         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11144         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11145         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11146         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11147         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11148         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11149         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11150         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11151         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11152         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11153         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11154         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11155         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11156         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11157         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11158         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11159         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11160         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11161         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11162         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11163         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11164         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11165         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11166         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11167         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11168         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11169         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11171         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11172         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11173         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11177         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11179         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11181         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11183         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11185         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11187         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11188         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11189         (__libc_vfork): Define the function under this name.
11190         [!NOT_IN_libc] (__vfork): Make this an alias.
11191         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11193         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11194         (__libc_vfork): Define the function under this name.
11195         [!NOT_IN_libc] (__vfork): Make this an alias.
11196         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11197         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11198         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11200         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11201         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11203         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11204         code that was previously under [RESET_PID].
11205         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11206         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11209         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11210         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11211         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11212         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11213         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11214         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11215         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11216         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11217         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11218         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11219         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11220         Moved ...
11221         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11222         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11223         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11224         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11225         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11226         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11227         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11228         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11229         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11230         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11231         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11232         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11233         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11234         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11235         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11237         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11238         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11239         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11240         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11241         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11242         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11243         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11244         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11245         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11246         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11247         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11249         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11251 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11253         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11254         that was previously under [RESET_PID].
11255         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11257 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11259         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11260         not undefine and redefine.
11261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11262         [O_CLOEXEC]: Make code unconditional.
11263         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11264         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11265         <kernel-features.h>.
11266         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11267         conditional variable definition.
11268         (shm_open) [O_CLOEXEC]: Make code unconditional.
11269         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11270         code.
11272         * configure.ac (USE_REGPARMS): Don't define here.
11273         * configure: Regenerated.
11274         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11275         * sysdeps/i386/configure: Regenerated.
11277         * nptl/createthread.c: Don't include kernel-features.h.
11278         * nptl/pthread_cancel.c: Likewise.
11279         * nptl/pthread_condattr_setclock.c: Likewise.
11280         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11281         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11282         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11283         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11284         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11285         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11286         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11289         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11290         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11291         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11292         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11293         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11294         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11295         * nscd/gai.c: Likewise.
11296         * nss/nss_db/db-open.c: Likewise.
11297         * sysdeps/generic/ldsodefs.h: Likewise.
11298         * sysdeps/sh/nptl/tls.h: Likewise.
11299         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11300         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11301         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11302         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11303         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11304         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11305         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11306         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11308         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11309         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11310         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11311         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11312         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11313         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11314         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11315         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11316         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11317         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11318         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11321         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11322         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11323         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11327         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11328         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11329         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11330         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11331         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11332         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11333         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11334         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11335         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11336         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11337         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11338         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11339         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11340         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11341         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11342         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11343         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11344         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11345         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11346         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11347         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11348         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11349         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11350         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11351         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11352         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11353         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11354         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11355         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11356         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11379         * sysdeps/unix/sysv/linux/pread.c: Likewise.
11380         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11381         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11382         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11383         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11384         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11385         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11386         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11387         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11388         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11389         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11390         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11391         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11392         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11393         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11394         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11395         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11396         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11397         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11398         * sysdeps/unix/sysv/linux/system.c: Likewise.
11399         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11400         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11401         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11402         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11403         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11405         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11407         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11408         * configure: Regenerated.
11409         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11411         * configure.ac (base_machine): Do not set specially for particular
11412         machines here.
11413         * configure: Regenerated.
11414         * sysdeps/powerpc/preconfigure: Move machine and base_machine
11415         settings from configure.ac.
11416         * sysdeps/i386/preconfigure: New file.
11417         * sysdeps/s390/preconfigure: Likewise.
11418         * sysdeps/sh/preconfigure: Likewise.
11419         * sysdeps/sparc/preconfigure: Likewise.
11421 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11423         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11424         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11425         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11426         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11427         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11428         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11429         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11430         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11431         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11432         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11433         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11434         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11435         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11436         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11438         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11440         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11441         * sysdeps/sparc/sparc64/Makefile: ... appended here.
11443         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11444         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11445         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11446         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11447         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11448         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11449         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11450         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11451         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11452         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11453         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11454         * sysdeps/sparc/sparc32/sem_post.c: ... here.
11455         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11456         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11457         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11458         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11459         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11460         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11461         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11462         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11463         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11464         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11465         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11466         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11467         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11470         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11472         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11473         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11474         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11475         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11476         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11478         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11479         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11480         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11483         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11485         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11487         Moved ...
11488         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11489         ... here.
11490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11491         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11493         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11495         Moved ...
11496         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11498         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11500         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11502         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11504         Moved ...
11505         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11507         Moved ...
11508         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11510         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11512         Moved ...
11513         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11515         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11517         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11519         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11521         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11523         Moved ...
11524         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11525         ... here.
11526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11527         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11529         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11531         Moved ...
11532         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11534         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11536         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11538         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11540         Moved ...
11541         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11543         Moved ...
11544         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11546         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11548         Moved ...
11549         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11551         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11553         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11555 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11557         * timezone/checktab.awk: Update from tzcode 2014e.
11558         * timezone/private.h: Likewise.
11559         * timezone/tzfile.h: Likewise.
11560         * timezone/zdump.c: Likewise.
11561         * timezone/zic.c: Likewise.
11563         * sysdeps/unix/sysv/linux/kernel-features.h
11564         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11565         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11566         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11567         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11568         Remove conditional code.
11570 2014-06-25  Will Newton  <will.newton@linaro.org>
11572         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11573         (_dl_arm_cap_flags): Add HWCAP2 values.
11574         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11575         (_DL_HWCAP_COUNT): Increase to 37.
11576         (_DL_HWCAP_LAST): New define.
11577         (_DL_HWCAP2_LAST): New define.
11578         (_dl_procinfo): Add support for printing
11579         AT_HWCAP2 entries.
11580         (_dl_string_hwcap): Use _dl_hwcap_string.
11582 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11586 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11588         * README: Do not mention ports directory.
11590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11591         Remove macro.
11592         * sysdeps/unix/sysv/linux/futimes.c: Do not include
11593         <kernel-features.h>.
11594         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11595         conditional variable definition.
11596         (__futimes): Update comment.
11597         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11598         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11600         [BZ #16560]
11601         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11602         arguments close to 0.
11603         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11604         Likewise.
11605         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11606         Likewise.
11607         * math/auto-libm-test-in: Add more tests of exp10.
11608         * math/auto-libm-test-out: Regenerated.
11609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11611         * sysdeps/unix/sysv/linux/kernel-features.h
11612         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11613         * sysdeps/unix/sysv/linux/readv.c: Do not include
11614         <kernel-features.h>.
11615         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11616         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11617         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11618         unconditional.
11619         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11620         conditional code.
11621         * sysdeps/unix/sysv/linux/writev.c: Do not include
11622         <kernel-features.h>.
11623         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11624         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11625         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11626         unconditional.
11627         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11628         conditional code.
11630 2014-06-25  Will Newton  <will.newton@linaro.org>
11632         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11633         comment changes throughout the file.  Remove checks
11634         for HAVE_*_H definitions that are not required.
11635         (__gen_tempname): Call abort if an unknown kind value is
11636         passed.
11638 2014-06-25  Andreas Schwab  <schwab@suse.de>
11640         [BZ #17086]
11641         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11642         scalbln, scalblnf, scalblnl in libc.
11644 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11646         [BZ #17086]
11647         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11648         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11649         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11651 2014-06-24  Roland McGrath  <roland@hack.frob.com>
11653         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11654         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11655         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11656         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11657         Update #include.
11658         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11659         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11660         Update #include.
11661         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11662         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11663         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11664         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11665         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11666         * sysdeps/x86/bits/pthreadtypes.h: ... here.
11667         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11668         * sysdeps/x86/bits/semaphore.h: ... here.
11669         * sysdeps/x86/nptl/elide.h: Moved ...
11670         * sysdeps/x86/elide.h: ... here.
11671         * sysdeps/x86_64/nptl/Implies: File removed.
11672         * sysdeps/i386/nptl/Implies: File removed.
11674 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
11676         [BZ #16539]
11677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11678         return the argument for normal arguments with exponent below -64.
11679         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11680         Likewise.
11681         * math/auto-libm-test-in: Add another test of expm1.
11682         * math/auto-libm-test-out: Regenerated.
11684         [BZ #16287]
11685         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11686         calling __erfcl for arguments at least 16.
11687         * math/auto-libm-test-in: Add more tests of erf.
11688         * math/auto-libm-test-out: Regenerated.
11690         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11691         individual architectures.
11692         * sysdeps/unix/sysv/linux/configure: Regenerated.
11693         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11694         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11695         * sysdeps/unix/sysv/linux/powerpc/configure.ac
11696         (ldd_rewrite_script): Define variable.
11697         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11699         file.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11701         generated file.
11702         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11703         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11704         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11705         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11706         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11707         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11708         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11709         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11711 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713         [BZ #17084]
11714         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11715         Rename member __data.d to __data.__elision_data.
11717 2014-06-24  Wilco  <wdijkstr@arm.com>
11719         * NEWS: Add 16918 to fixed bug list.
11721 2014-06-24  Wilco  <wdijkstr@arm.com>
11723         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11725 2014-06-24  Wilco  <wdijkstr@arm.com>
11727         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11728         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11729         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11730         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11731         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11732         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11733         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11734         Use _FPU_MASK_RM.
11736 2014-06-24  Wilco  <wdijkstr@arm.com>
11738         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11740 2014-06-24  Wilco  <wdijkstr@arm.com>
11742         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11743         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11744         * sysdeps/arm/fesetround.c (fesetround): Remove space.
11745         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11747 2014-06-24  Wilco  <wdijkstr@arm.com>
11749         [BZ #16918]
11750         * sysdeps/arm/feupdateenv.c (feupdateenv):
11751         Rewrite to reduce FPSCR accesses and fix return value.
11753 2014-06-24  Wilco  <wdijkstr@arm.com>
11755         * sysdeps/arm/fclrexcpt.c (feclearexcept):
11756         Optimize to avoid unnecessary FPSCR writes.
11757         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11758         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11759         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11760         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11762 2014-06-24  Wilco  <wdijkstr@arm.com>
11764         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11765         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11766         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11767         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11768         Call libc_fetestexcept_vfp.
11769         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11770         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11771         __SOFTFP__ ifdef so that they can be built for softfp.
11773 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11775         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11776         argument type signed char.
11778         * Makerules (check-abi): Dump diff of symlist if the test
11779         fails.
11781 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11783         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11784         using abort.
11786         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11787         Remove unused variable ST.
11789 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11791         [BZ #16354]
11792         [BZ #17061]
11793         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11794         small arguments before calling __expm1.
11795         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11796         small arguments before calling __expm1f.
11797         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11798         small arguments before calling __expm1l.
11799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11800         Likewise.
11801         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11802         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
11803         spurious underflow for some cosh tests.
11804         * math/auto-libm-test-out: Regenerated.
11805         * sysdeps/i386/fpu/libm-test-ulps: Update.
11807         [BZ #17050]
11808         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11809         (__ieee754_y1): Set errno if return value overflows.
11810         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11811         (__ieee754_y1f): Set errno if return value overflows.
11812         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11813         (__ieee754_y1l): Set errno if return value overflows.
11814         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11815         (__ieee754_y1l): Set errno if return value overflows.
11816         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11817         * math/auto-libm-test-out: Regenerated.
11819         * math/gen-auto-libm-tests.c: Document use of
11820         ignore-zero-inf-sign.
11821         (input_flag_type): Add value flag_ignore_zero_inf_sign.
11822         (input_flags): Add ignore-zero-inf-sign.
11823         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11824         * math/gen-libm-test.pl (generate_testfile): Handle
11825         ignore-zero-inf-sign.
11826         * math/auto-libm-test-in: Mark some cpow tests with
11827         ignore-zero-inf-sign and some with xfail-rounding.
11828         * math/auto-libm-test-out: Regenerated.
11829         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11830         * sysdeps/i386/fpu/libm-test-ulps: Update.
11831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11833         [BZ #16315]
11834         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11835         overflowing or underflowing operations take place with sign of
11836         result.
11837         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11838         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11839         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11840         (__ieee754_pow): Recompute overflowing and underflowing results in
11841         original rounding mode.
11842         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11843         (__powl_helper): Allow negative argument X and scale negated value
11844         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
11845         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11846         overflowing or underflowing operations take place with sign of
11847         result.
11848         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11849         Include <math.h>.
11850         * math/auto-libm-test-in: Add more tests of pow.
11851         * math/auto-libm-test-out: Regenerated.
11852         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11853         (pow_tonearest_test_data): Remove.
11854         (pow_test_tonearest): Likewise.
11855         (pow_towardzero_test_data): Likewise.
11856         (pow_test_towardzero): Likewise.
11857         (pow_downward_test_data): Likewise.
11858         (pow_test_downward): Likewise.
11859         (pow_upward_test_data): Likewise.
11860         (pow_test_upward): Likewise.
11861         (main): Don't call removed functions.
11862         * sysdeps/i386/fpu/libm-test-ulps: Update.
11863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11865 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11868         Moved ...
11869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11871         Moved ...
11872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11874         Moved ...
11875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11877         Moved ...
11878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11880         File removed.
11881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11882         File removed.
11883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11884         File removed.
11885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11886         File removed.
11887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11888         File removed.
11889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11890         File removed.
11891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11892         File removed.
11893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11894         File removed.
11895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11896         File removed.
11897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11898         File removed.
11899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11900         File removed.
11901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11902         File removed.
11903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11904         Moved ...
11905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11907         Moved ...
11908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11909         ... here.
11910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11911         Moved ...
11912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11914         Moved ...
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11917         Moved ...
11918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11920         Moved ...
11921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11923         Moved ...
11924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11926         Moved ...
11927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11929         Moved ...
11930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11933         ... here.
11934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11935         Moved ...
11936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11938         Moved ...
11939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11940         ... here.
11941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11942         Moved ...
11943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11944         ... here.
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11946         Moved ...
11947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11948         ... here.
11949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11950         Moved ...
11951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11953         Moved ...
11954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11958         Moved ...
11959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11960         ... here.
11961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11962         Moved ...
11963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11964         ... here.
11965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11966         Moved ...
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11969         Moved ...
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11972         Moved ...
11973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11975         Moved ...
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11978         Moved ...
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11980         ... here.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11982         Moved ...
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11985         Moved ...
11986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11988         Moved ...
11989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11991         Moved ...
11992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11996         Moved ...
11997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11999         Moved ...
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12002         Moved ...
12003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12004         ... here.
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12006         Moved ...
12007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12008         ... here.
12009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12010         Moved ...
12011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12012         ... here.
12013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12014         Moved ...
12015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12017         Moved ...
12018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12020         Moved ...
12021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12023         Moved ...
12024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12025         ... here.
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12027         Moved ...
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12029         ... here.
12030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12031         Moved ...
12032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12033         ... here.
12034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12035         Moved ...
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12038         Moved ...
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12041 2014-06-23  Will Newton  <will.newton@linaro.org>
12042             Wilco  <wdijkstr@arm.com>
12044         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12045         implementation.  Include get-rounding-mode.h.
12046         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12047         [!libc_feholdsetround_noex_ctx]: Define
12048         libc_feholdsetround_noex_ctx.
12049         [!libc_feholdsetround_noexf_ctx]: Define
12050         libc_feholdsetround_noexf_ctx.
12051         [!libc_feholdsetround_noexl_ctx]: Define
12052         libc_feholdsetround_noexl_ctx.
12053         (libc_feholdsetround_ctx): New function.
12054         (libc_feresetround_ctx): New function.
12055         (libc_feholdsetround_noex_ctx): New function.
12056         (libc_feresetround_noex_ctx): New function.
12058 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12060         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12061         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12062         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12063         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12064         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12065         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12067         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12068         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12069         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12070         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12071         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12072         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12073         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12074         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12075         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12076         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12077         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12078         Moved ...
12079         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12080         ... here.
12081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12082         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12084         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12086         Moved ...
12087         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12089         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12091         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12093         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12095         Moved ...
12096         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12098         Moved ...
12099         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12101         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12103         Moved ...
12104         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12106         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12107         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12108         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12109         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12110         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12112         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12114         Moved ...
12115         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12116         ... here.
12117         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12118         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12120         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12122         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12123         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12124         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12126         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12128         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12130         Moved ...
12131         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12133         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12135         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12137         Moved ...
12138         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12140         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12141         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12142         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12144         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12145         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12146         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12147         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12148         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12149         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12150         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12151         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12153         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12154         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12155         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12156         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12157         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12158         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12159         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12160         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12161         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12162         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12163         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12164         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12165         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12166         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12167         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12168         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12169         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12171         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12173 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12176         (FALLOC_FL_COLLAPSE_RANGE): New macro.
12177         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12178         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12179         (IPV6_PMTUDISC_INTERFACE): Likewise.
12180         (IPV6_PMTUDISC_OMIT): Likewise.
12182 2014-06-23  Andreas Schwab  <schwab@suse.de>
12184         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12185         Remove unused errout label.
12187 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12189         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12190         macro: hardware supports Vector Crypto instructions.
12192 2014-06-23  Will Newton  <will.newton@linaro.org>
12194         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12195         rather than __builtin_expect.
12197         * elf/dl-lookup.c (undefined_msg): Remove variable.
12198         (_dl_lookup_symbol_x): Replace undefined_msg with string
12199         literal.
12201         * elf/dl-lookup.c (do_lookup_unique): New function.
12202         (do_lookup_x): Move STB_GNU_UNIQUE handling code
12203         to a separate function.
12205 2014-06-23  Andreas Schwab  <schwab@suse.de>
12207         [BZ #17079]
12208         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12209         before reading the next line.
12211 2014-06-23  Will Newton  <will.newton@linaro.org>
12213         * test-skeleton.c (signal_handler): Use printf and %m
12214         rather than perror.  Use printf rather than fprintf to
12215         stderr.  Use puts rather than fputs to stderr.
12216         (main): Likewise.
12218 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
12220         * nscd/nscd.c (thread_info_t): Remove typedef.
12221         (thread_info): Remove variable.
12223 2014-06-21  Allan McRae  <allan@archlinux.org>
12225         * NEWS: Mention CVE-2014-4043.
12227 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12229         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12230         * nptl/smp.h: ... here.
12232         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12234         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12235         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12236         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12237         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12239         * nptl/allocatestack.c: Include <stack-aliasing.h>.
12240         * nptl/stack-aliasing.h: New file.
12241         * sysdeps/i386/i686/stack-aliasing.h: New file.
12242         * sysdeps/i386/i686/nptl/Makefile: File removed.
12243         * sysdeps/x86_64/stack-aliasing.h: New file.
12244         * sysdeps/x86_64/nptl/Makefile
12245         (CFLAGS-pthread_create.c): Variable removed.
12247         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12248         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12249         old file.
12250         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12251         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12252         old file.
12254 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
12256         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12257         (__ASSUME_SIGFRAME_V2): Remove macro.
12258         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12259         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12260         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12261         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12262         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12263         Declare as function.  Remove conditional macro definitions.
12264         (__default_rt_sa_restorer): Likewise.
12265         (__default_sa_restorer_v1): Remove declaration.
12266         (__default_sa_restorer_v2): Likewise.
12267         (__default_rt_sa_restorer_v1): Likewise.
12268         (__default_rt_sa_restorer_v2): Likewise.
12269         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12270         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12271         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12273 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12275         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12276         (libpthread-routines): Add sysdep.
12277         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12278         * sysdeps/unix/sysv/linux/sparc/Versions
12279         (libpthread: GLIBC_2.3.3): New version set.
12280         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12281         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12282         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12283         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12284         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12285         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12286         Moved ...
12287         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12288         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12289         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12290         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12291         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12292         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12293         * sysdeps/sparc/nptl/sem_init.c: ... here.
12294         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12295         * sysdeps/sparc/nptl/sem_post.c: ... here.
12296         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12297         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12298         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12299         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12300         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12301         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12302         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12303         (libpthread-routines): Add cpu_relax.
12304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12305         File removed.
12306         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12307         (librt: GLIBC_2.3.3): New version set.
12308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12309         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12310         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12311         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12314         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12316         Moved ...
12317         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12319         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12321         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12323         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12325         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12327         Moved ...
12328         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12329         Update #include.
12330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12331         Moved ...
12332         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12333         Update #include.
12334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12335         Moved ...
12336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12337         Update #include.
12338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12339         Moved ...
12340         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12341         Update #include.
12342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12343         Moved ...
12344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12345         Update #include.
12346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12347         Moved ...
12348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12349         Update #include.
12350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12351         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12357         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12359         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12361         Moved ...
12362         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12364         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12366         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12368 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12370         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12371         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12372         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12373         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12374         * nscd/nscd.c: Likewise.
12375         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12376         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12377         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12378         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12380         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12381         <kernel-features.h>.
12382         (init_mq_netlink): Remove conditional have_sock_cloexec
12383         definitions.  Remove code conditional on have_sock_cloexec < 0.
12384         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12385         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12386         * sysdeps/unix/sysv/linux/opensock.c: Do not include
12387         <kernel-features.h>.
12388         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12389         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12391 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12394         Add tests for memset_chk and memset.
12396         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12397         with AVX2_Usable.
12399 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12401         [BZ #16046]
12402         * elf/tst-dl-iter-static.c: New file.
12403         * elf/Makefile (tests-static): Add tst-dl-iter-static.
12405         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12406         error.
12408 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12410         * sysdeps/unix/sysv/linux/kernel-features.h
12411         (__ASSUME_F_GETOWN_EX): Remove macro.
12412         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12413         <kernel-features.h>.
12414         (miss_F_GETOWN_EX): Remove variable or macro.
12415         (do_fcntl): Do not check miss_F_GETOWN_EX.
12416         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12419         Remove macro.
12420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12421         [!__ASSUME_AT_RANDOM]: Remove conditional code.
12422         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12424         * sysdeps/unix/sysv/linux/kernel-features.h
12425         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12426         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12427         [ADJ_OFFSET_SS_READ]: Make code unconditional.
12428         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12430 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12432         [BZ #17075]
12433         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12434         Fix calculation of the symbol's value.
12435         * sysdeps/arm/tst-armtlsdescloc.c: New file.
12436         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12437         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12438         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12439         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12440         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12441         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12442         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12443         (modules-names): Add `tst-armtlsdescmod',
12444         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12445         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12446         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12447         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12448         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12449         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12450         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12451         ($(objpfx)tst-armtlsdescloc): New dependency.
12452         ($(objpfx)tst-armtlsdescextnow): Likewise.
12453         ($(objpfx)tst-armtlsdescextlazy): Likewise.
12454         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12455         TLS scheme support.
12456         * sysdeps/arm/configure: Regenerate.
12458 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12460         * include/fcntl.h (__atfct_seterrno): Remove prototype.
12461         (__atfct_seterrno_2): Likewise.
12462         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12463         <kernel-features.h>.
12464         (__ASSUME_ATFCTS): Do not undefine and redefine.
12465         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12466         (__have_atfcts): Remove conditional definition.
12467         (__fxstatat([__NR_fstatat64]: Make code unconditional.
12468         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12469         unreachable if [__ASSUME_ATFCTS].
12470         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12471         not undefine and redefine.
12472         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12473         <kernel-features.h>.
12474         (faccessat) [__NR_faccessat]: Make code unconditional.
12475         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12476         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12477         <kernel-features.h>.
12478         (fchmodat) [__NR_fchmodat]: Make code unconditional.
12479         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12480         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12481         <kernel-features.h>.
12482         (fchownat) [__NR_fchownat]: Make code unconditional.
12483         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12484         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12485         <kernel-features.h>.
12486         (futimesat) [__NR_futimesat]: Make code unconditional.
12487         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12488         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12489         <kernel-features.h>.
12490         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12491         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12492         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12493         <kernel-features.h>.
12494         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12495         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12496         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12497         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12498         <kernel-features.h>.
12499         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12500         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12501         * sysdeps/unix/sysv/linux/linkat.c: Do not include
12502         <kernel-features.h>.
12503         (linkat) [__NR_linkat]: Make code unconditional.
12504         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12505         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12506         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12507         <kernel-features.h>.
12508         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12509         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12510         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12511         <kernel-features.h>.
12512         (mkdirat) [__NR_mkdirat]: Make code unconditional.
12513         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12514         * sysdeps/unix/sysv/linux/openat.c: Do not include
12515         <kernel-features.h>.
12516         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12517         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12518         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12519         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12520         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12521         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12522         <kernel-features.h>.
12523         (readlinkat) [__NR_readlinkat]: Make code unconditional.
12524         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
12525         result of INLINE_SYSCALL directly, not via int variable.
12526         * sysdeps/unix/sysv/linux/renameat.c: Do not include
12527         <kernel-features.h>.
12528         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12529         (renameat) [__NR_renameat]: Make code unconditional.
12530         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12531         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12532         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12533         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12534         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12535         (__ASSUME_ATFCTS): Do not undefine and redefine.
12536         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12537         <kernel-features.h>.
12538         (symlinkat) [__NR_symlinkat]: Make code unconditional.
12539         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12540         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12541         <kernel-features.h>.
12542         (unlinkat) [__NR_unlinkat]: Make code unconditional.
12543         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12544         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12545         (__ASSUME_ATFCTS): Do not undefine and redefine.
12546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12547         <kernel-features.h>.
12548         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12549         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12550         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12551         <kernel-features.h>.
12552         (__xmknodat) [__NR_mknodat]: Make code unconditional.
12553         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12555 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12557         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12559 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
12561         [BZ #17069]
12562         * posix/regcomp.c (parse_reg_exp): Deallocate partially
12563         constructed tree before returning error.
12564         * posix/bug-regexp36.c: Expand test case.
12566 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12568         [BZ #6803]
12569         * math/libm-test.inc (scalbln_test_date):
12570         Add errno expectations.
12571         * math/w_scalblnf.c: New File.
12572         Add wrapper which checks for setting errno to ERANGE.
12573         Add weak_alias for corresponding scalbln function.
12574         * math/w_scalbln.c: Likewise.
12575         * math/w_scalblnl.c: Likewise.
12576         * math/Makefile (libm-calls): Add w_scalbln.
12577         * sysdeps/ieee754/flt-32/s_scalblnf.c:
12578         Remove weak_alias for corresponding scalbln function.
12579         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12582         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12583         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12584         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12585         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12586         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12587         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12588         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12589         Remove long_double_symbol for scalblnl function in libm, libc.
12590         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12591         Add wrapper which checks for setting errno to ERANGE.
12592         Add long_double_symbol for scalblnl function in libm, libc.
12593         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12594         Remove long_double_symbol for scalblnl in libm.
12595         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12596         Add wrapper which checks for setting errno to ERANGE.
12597         Add long_double_symbol for scalblnl function in libm.
12598         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12599         Do not use wrapper because of own implementation.
12601 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
12603         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12604         3 bytes for __pad1 for x32.
12605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12607 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
12608             H.J. Lu  <hongjiu.lu@intel.com>
12610         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12611         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12612         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12613         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12614         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12616 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
12618         [BZ #17069]
12619         * posix/regcomp.c (parse_expression): Deallocate partially
12620         constructed tree before returning error.
12621         * posix/Makefile.c (tests): Add bug-regex36.
12622         (generated): Add bug-regex36.mtrace.
12623         (tests-special): Add $(objpfx)bug-regex36-mem.out
12624         (bug-regex36-ENV): New variable.
12625         ($(objpfx)bug-regex36-mem.out): New rule.
12626         * posix/bug-regex36.c: New file.
12628 2014-06-19  Will Newton  <will.newton@linaro.org>
12630         * malloc/malloc.c (systrim): If extra is zero then return
12631         early.
12633 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12635         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12637 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
12639         * sysdeps/aarch64/strchr.S: New file.
12641 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12643         [BZ #17022]
12644         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12645         from arguments -2 or below.
12646         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12647         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12649 2014-06-18  Andreas Schwab  <schwab@suse.de>
12651         [BZ #17062]
12652         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12653         of a bracket expr not to run off the end of the string.
12654         * posix/Makefile (tests): Add tst-fnmatch3.
12655         * posix/tst-fnmatch3.c: New file.
12657 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12659         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12660         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12661         [$(cross-compiling) = no]: Likewise.
12662         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12663         [$(cross-compiling) = no]: Likewise.
12665 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12667         [BZ #17031]
12668         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12669         double, adjusted for any remainder from the high double.
12670         * math/libm-test.inc (nearbyint): Add tests.
12671         (rint): Likewise.
12673 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12675         * nptl/sysdeps/powerpc/Makefile: Moved ...
12676         * sysdeps/powerpc/nptl/Makefile: ... here.
12677         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12678         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12679         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12680         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12681         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12682         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12683         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12684         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12685         * nptl/sysdeps/powerpc/tls.h: Moved ...
12686         * sysdeps/powerpc/nptl/tls.h: ... here.
12688 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
12690         [BZ #16681]
12691         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12692         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12693         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12694         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12695         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12696         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12697         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12698         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12699         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12701 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
12703         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12705 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
12707         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12708         defined operator.
12710         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12711         $TIMEOUTFACTOR.
12713 2014-06-16  Florian Weimer  <fweimer@redhat.com>
12715         [BZ #17058]
12716         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12717         non-executed part of the test.
12719 2014-06-16  Andreas Schwab  <schwab@suse.de>
12721         * string/bits/string2.h (strdup, strndup): Update feature guard.
12723 2014-06-14  David S. Miller  <davem@davemloft.net>
12725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12727 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
12729         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12730         that was previously under [RESET_PID].
12731         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12733         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12734         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12735         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12736         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12737         (__libc_vfork): New strong alias.
12738         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12740 2014-06-14 Andi Kleen  <ak@linux.intel.com>
12742         * sysdeps/generic/elide.h: New file.
12744 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12746         * Makefile (installed-headers): Adjust path of pthread.h header.
12748 2014-06-13  Roland McGrath  <roland@hack.frob.com>
12750         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12751         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12752         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12753         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12755         * nptl/sysdeps/s390/Makefile: Moved ...
12756         * sysdeps/s390/nptl/Makefile: ... here.
12757         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12758         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12759         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12760         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12761         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12762         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12763         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12764         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12765         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12766         * sysdeps/s390/nptl/pthreaddef.h: ... here.
12767         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12768         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12769         * nptl/sysdeps/s390/tls.h: Moved ...
12770         * sysdeps/s390/nptl/tls.h: ... here.
12772         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12773         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12775 2014-06-13  David S. Miller  <davem@davemloft.net>
12777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12780         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12784         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12785         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12786         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12787         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12788         Remove RESET_PID cpp guards.
12789         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12790         Remove RESET_PID cpp guards.
12791         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12793 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
12795         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12796         __sp to uintptr_t.
12798 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12800         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12801         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12803         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12805         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12806         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12808         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12809         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12810         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12815         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12816         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12817         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12818         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12821         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12822         (pthread_rwlock_rdlock): Add elision.
12823         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12824         (pthread_rwlock_wrlock): Add elision.
12825         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12826         (pthread_rwlock_trywrlock): Add elision.
12827         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12828         (pthread_rwlock_tryrdlock): Add elision.
12829         * nptl/pthread_rwlock_unlock.c: Include elide.h.
12830         (pthread_rwlock_tryrdlock): Add elision unlock.
12831         * nptl/sysdeps/pthread/pthread.h:
12832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12833         (PTHREAD_RWLOCK_INITIALIZER,
12834         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12835         Handle new elision field.
12836         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12837         * sysdeps/arm/nptl/bits/pthreadtypes.h
12838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12839         * sysdeps/sh/nptl/bits/pthreadtypes.h
12840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12841         * sysdeps/tile/nptl/bits/pthreadtypes.h
12842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12843         * sysdeps/a/nptl/bits/pthreadtypes.h
12844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12845         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12847         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12849         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12851         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12853         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12855         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12857         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12859         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12861         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12862         (elision_init): Set try_xbegin to zero when no RTM.
12863         * sysdeps/x86/nptl/bits/pthreadtypes.h
12864         (pthread_rwlock_t): Change __pad1 to __rwelision.
12865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12867 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12869         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12870         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12871         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12872         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12874 2014-06-13  Meador Inge  <meadori@codesourcery.com>
12876         [BZ #16996]
12877         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12878         that the cached result has been set before returning it.
12880 2014-06-12  Roland McGrath  <roland@hack.frob.com>
12882         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12883         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12884         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12885         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12886         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12887         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12889         * nptl/sysdeps/sparc/Makefile: Moved ...
12890         * sysdeps/sparc/nptl/Makefile: ... here.
12891         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12892         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12893         * nptl/sysdeps/sparc/tls.h: Moved ...
12894         * sysdeps/sparc/nptl/tls.h: ... here.
12895         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12896         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12897         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12898         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12899         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12900         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12901         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12902         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12903         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12904         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12905         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12906         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12907         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12908         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12909         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12910         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12911         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12913         Update #include.
12914         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12915         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12916         Update #include.
12917         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12918         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12919         Update #include.
12920         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12922         Update #include.
12924         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12926         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12927         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12929         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12930         (struct list_links): Type removed.
12931         (struct thread_node, struct timer_node): Replace struct list_links
12932         with struct list_head.
12933         (list_unlink_ip): Likewise.
12934         * sysdeps/pthread/timer_routines.c
12935         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12936         (list_append, list_insbefore): Likewise.
12937         (list_init): Function removed.
12938         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12939         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12940         * sysdeps/pthread/Makefile: ... here, new file.
12942         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12943         * sysdeps/nptl/Implies: ... here.
12944         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12945         * nptl/sysdeps/pthread/list.h: Moved ...
12946         * include/list.h: ... here.
12947         * nptl/sysdeps/pthread/createthread.c: Moved ...
12948         * nptl/createthread.c: ... here.
12949         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12950         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12951         * nptl/pt-longjmp.c: ... here.
12952         * nptl/sysdeps/pthread/Makefile: Moved ...
12953         * sysdeps/nptl/Makefile: ... here.
12954         * nptl/sysdeps/pthread/Subdirs: Moved ...
12955         * sysdeps/nptl/Subdirs: ... here.
12956         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12957         * sysdeps/nptl/aio_misc.h: ... here.
12958         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12959         * sysdeps/nptl/bits/libc-lock.h: ... here.
12960         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12961         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12962         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12963         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12964         * nptl/sysdeps/pthread/configure: Moved ...
12965         * sysdeps/nptl/configure: ... here.
12966         * nptl/sysdeps/pthread/configure.ac: Moved ...
12967         * sysdeps/nptl/configure.ac: ... here.
12968         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12969         * sysdeps/nptl/gai_misc.h: ... here.
12970         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12971         * sysdeps/nptl/librt-cancellation.c: ... here.
12972         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12973         * sysdeps/nptl/malloc-machine.h: ... here.
12974         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12975         * sysdeps/nptl/pthread-functions.h: ... here.
12976         * nptl/sysdeps/pthread/pthread.h: Moved ...
12977         * sysdeps/nptl/pthread.h: ... here.
12978         * nptl/sysdeps/pthread/setxid.h: Moved ...
12979         * sysdeps/nptl/setxid.h: ... here.
12980         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12981         * sysdeps/nptl/sigfillset.c: ... here.
12982         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12983         * sysdeps/nptl/tcb-offsets.h: ... here.
12984         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12985         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12986         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12987         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12988         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12989         * sysdeps/pthread/allocalim.h: ... here.
12990         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12991         * sysdeps/pthread/bits/sigthread.h: ... here.
12992         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12993         * sysdeps/pthread/flockfile.c: ... here.
12994         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12995         * sysdeps/pthread/ftrylockfile.c: ... here.
12996         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12997         * sysdeps/pthread/funlockfile.c: ... here.
12998         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12999         * sysdeps/pthread/posix-timer.h: ... here.
13000         * nptl/sysdeps/pthread/timer_create.c: Moved ...
13001         * sysdeps/pthread/timer_create.c: ... here.
13002         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13003         * sysdeps/pthread/timer_delete.c: ... here.
13004         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13005         * sysdeps/pthread/timer_getoverr.c: ... here.
13006         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13007         * sysdeps/pthread/timer_gettime.c: ... here.
13008         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13009         * sysdeps/pthread/timer_routines.c: ... here.
13010         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13011         * sysdeps/pthread/timer_settime.c: ... here.
13012         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13013         * sysdeps/pthread/tst-timer.c: ... here.
13014         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13015         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13017         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13018         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13020         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13021         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13022         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13023         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13024         Update #include target.
13025         * nptl/sysdeps/i386/i686/Makefile: Moved ...
13026         * sysdeps/i386/i686/nptl/Makefile: ... here.
13027         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13028         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13029         Update #include target.
13030         * nptl/sysdeps/i386/i686/tls.h: Moved ...
13031         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
13032         * nptl/sysdeps/i386/Makefile: Moved ...
13033         * sysdeps/i386/nptl/Makefile: ... here.
13034         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13035         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13036         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13037         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13038         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13039         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13040         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13041         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13042         * sysdeps/i386/nptl/pthreaddef.h: ... here.
13043         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13044         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13045         * nptl/sysdeps/i386/tls.h: Moved ...
13046         * sysdeps/i386/nptl/tls.h: ... here.
13048         * sysdeps/sh/Makefile [$(subdir) = csu]
13049         (gen-as-const-headers): Add tcb-offsets.sym.
13050         * nptl/sysdeps/sh/Makefile: File removed.
13051         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13052         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13053         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13054         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13055         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13056         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13057         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13058         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13059         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13060         * sysdeps/sh/nptl/pthreaddef.h: ... here.
13061         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13062         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13063         * nptl/sysdeps/sh/tls.h: Moved ...
13064         * sysdeps/sh/nptl/tls.h: ... here.
13065         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13066         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13067         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13068         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13069         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13070         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13071         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13072         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13073         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13074         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13075         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13076         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13078         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13080         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13082         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13084         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13086         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13090         Moved ...
13091         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13092         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13093         Moved ...
13094         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13098         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13099         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13100         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13101         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13102         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13103         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13104         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13105         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13106         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13107         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13108         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13109         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13110         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13111         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13112         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13114 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13116         * posix/spawn_faction_addopen.c: Include string.h.
13118 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13120         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13121         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13122         * nptl/sysdeps/x86_64/Makefile: Moved ...
13123         * sysdeps/x86_64/nptl/Makefile: ... here.
13124         * nptl/sysdeps/x86_64/configure: Moved ...
13125         * sysdeps/x86_64/nptl/configure: ... here.
13126         * nptl/sysdeps/x86_64/configure.ac: Moved ...
13127         * sysdeps/x86_64/nptl/configure.ac: ... here.
13128         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13129         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13130         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13131         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13132         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13133         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13134         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13135         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13136         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13137         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13138         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13139         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13140         * nptl/sysdeps/x86_64/tls.h: Moved ...
13141         * sysdeps/x86_64/nptl/tls.h: ... here.
13142         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13143         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13144         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13145         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13147         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13149 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13153 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
13155         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13156         type.
13157         [POSIX] (off_t): Likewise.
13158         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13159         [POSIX] (S_ISBLK): Require macro.
13160         [POSIX] (S_ISCHR): Likewise.
13161         [POSIX] (S_ISDIR): Likewise.
13162         [POSIX] (S_ISFIFO): Likewise.
13163         [POSIX] (S_ISREG): Likewise.
13164         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13165         optional-macro.
13166         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13167         type.
13168         [POSIX] (time_t): Likewise.
13169         [POSIX] (timer_t): Likewise.
13171 2014-06-11  Florian Weimer  <fweimer@redhat.com>
13173         [BZ #17048]
13174         * posix/spawn_int.h (struct __spawn_action): Make the path string
13175         non-const to support deallocation.
13176         * posix/spawn_faction_addopen.c
13177         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13178         * posix/spawn_faction_destroy.c
13179         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
13180         path in all spawn_do_open actions.
13181         * posix/tst-spawn.c (do_test): Exercise the copy operation in
13182         posix_spawn_file_actions_addopen.
13184 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
13186         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13187         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13188         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13189         conditional code always true.
13190         (__libc_vfork): New alias.
13192 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13194         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13195         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13197         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13199         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13200         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13202         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13203         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13205         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13206         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13208 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13210         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13211         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13212         multiarch strcmp for PPC64.
13213         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13214         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13216         multiarch optimizations.
13217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13218         (__libc_ifunc_impl_list): Likewise.
13220 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13222         * benchtests/scripts/validate_benchout.py: New script.
13223         * benchtests/Makefile (bench-func): Call it.
13224         * benchtests/scripts/benchout.schema.json: New file.
13226 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
13228         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13229         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13230         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13231         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13232         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13233         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13234         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13235         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13236         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13237         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13238         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13240         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13241         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13242         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13243         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13245         Moved ...
13246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13247         ... here.
13248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13249         Moved ...
13250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13252         Moved ...
13253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13254         ... here.
13255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13256         Moved ...
13257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13258         ... here.
13259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13260         Moved ...
13261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13263         Moved ...
13264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13265         ... here.
13266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13267         Moved ...
13268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13269         ... here.
13270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13271         Moved ...
13272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13274         Moved ...
13275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13276         ... here.
13277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13278         Moved ...
13279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13280         ... here.
13281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13282         Moved ...
13283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13284         ... here.
13285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13286         Moved ...
13287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13289         Moved ...
13290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13291         ... here.
13292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13293         Moved ...
13294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13295         ... here.
13296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13297         Moved ...
13298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13299         ... here.
13300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13301         Moved ...
13302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13304         Moved ...
13305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13306         ... here.
13307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13308         Moved ...
13309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13310         ... here.
13311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13312         Moved ...
13313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13315         Moved ...
13316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13317         ... here.
13318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13319         Moved ...
13320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13322         Moved ...
13323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13325         Moved ...
13326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13327         ... here.
13328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13329         Moved ...
13330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13331         ... here.
13332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13333         Moved ...
13334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13335         ... here.
13336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13337         Moved ...
13338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13340         Moved ...
13341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13342         ... here.
13343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13344         Moved ...
13345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13346         ... here.
13347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13348         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13350         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13352         Moved ...
13353         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13354         ... here.
13355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13356         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13358         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13360         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13361         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13362         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13364         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13366         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13368         Moved ...
13369         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13371         Moved ...
13372         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13374         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13376         Moved ...
13377         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13379         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13380         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13381         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13382         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13383         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13385 2014-06-10  Wilco  <wdijkstr@arm.com>
13387         * math/test-fenv-return.c: New file.
13388         * math/Makefile: Add new test test-fenv-return.
13390 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
13392         [BZ #17042]
13393         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13394         when x - 1 is zero.
13395         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13396         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13397         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13398         0.0L for an argument of 1.0L.
13399         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13400         Likewise.
13401         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13402         value when x - 1 is zero.
13403         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13404         * sysdeps/i386/fpu/libm-test-ulps: Update.
13405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13407 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
13409         [BZ #15119]
13410         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13412 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13414         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13415         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13417 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13419         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13420         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13422         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13423         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13425         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13426         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13428         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13429         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13431         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13432         if not already defined.
13433         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13434         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13435         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13436         (TLS_INIT_TP): Use it.
13437         (TLS_DEFINE_INIT_TP): New macro.
13438         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13440 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
13442         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13443         constant.
13444         [POSIX] (IXANY): Likewise.
13445         [POSIX] (OLCUC): Likewise.
13446         [POSIX || POSIX2008] (CBAUD): Do not allow.
13447         [POSIX || POSIX2008] (DEFECHO): Likewise.
13448         [POSIX || POSIX2008] (ECHOCTL): Likewise.
13449         [POSIX || POSIX2008] (ECHOKE): Likewise.
13450         [POSIX || POSIX2008] (ECHOPRT): Likewise.
13451         [POSIX || POSIX2008] (EXTA): Likewise.
13452         [POSIX || POSIX2008] (EXTB): Likewise.
13453         [POSIX || POSIX2008] (FLUSHO): Likewise.
13454         [POSIX || POSIX2008] (LOBLK): Likewise.
13455         [POSIX || POSIX2008] (PENDIN): Likewise.
13456         [POSIX || POSIX2008] (SWTCH): Likewise.
13457         [POSIX || POSIX2008] (VDISCARD): Likewise.
13458         [POSIX || POSIX2008] (VDSUSP): Likewise.
13459         [POSIX || POSIX2008] (VLNEXT): Likewise.
13460         [POSIX || POSIX2008] (VREPRINT): Likewise.
13461         [POSIX || POSIX2008] (VSTATUS): Likewise.
13462         [POSIX || POSIX2008] (VWERASE): Likewise.
13463         (B*): Change to B[0123456789]*.
13464         * conform/data/time.h-data [POSIX || UNIX98]
13465         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13466         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13467         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13468         [POSIX] (tm_*): Do not allow.
13470 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
13472         * Makefile (install): Don't set LANGUAGE.
13473         * Makefile.in (install): Likewise.
13474         * assert/Makefile (test-assert-ENV): Remove variable.
13475         (test-assert-perr-ENV): Likewise.
13476         * elf/Makefile (neededtest4-ENV): Likewise.
13477         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13478         [$(cross-compiling) = no]: Don't set LANGUAGE.
13479         * io/ftwtest-sh (LANG): Remove variable.
13480         * libio/Makefile (tst-widetext-ENV): Likewise.
13481         * manual/install.texi (Running make install): Don't refer to
13482         environment settings for make install.
13483         * INSTALL: Regenerated.
13484         * nptl/tst-tls6.sh: Don't set LANG.
13485         * posix/globtest.sh (LANG): Remove variable.
13486         * string/Makefile (tester-ENV): Likewise.
13487         (inl-tester-ENV): Likewise.
13488         (noinl-tester-ENV): Likewise.
13489         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13490         [$(cross-compiling) = no]: Don't set LANGUAGE.
13491         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13492         without explicit environment settings.
13494 2014-06-06  Roland McGrath  <roland@hack.frob.com>
13496         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13497         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13498         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13499         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13501 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
13503         * crypt/crypt-private.h [DOS]: Add some includes taken from the
13504         other files in the crypt directory.
13505         * crypt/crypt.c: Remove duplicate includes.
13506         * crypt/crypt-entry.c: Likewise.
13507         * crypt/crypt_util.c: Likewise.
13509 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
13511         * Makeconfig (run-program-env): New variable.
13512         (run-program-prefix-before-env): Likewise.
13513         (run-program-prefix-after-env): Likewise.
13514         (run-program-prefix): Define in terms of new variables.
13515         (built-program-cmd-before-env): New variable.
13516         (built-program-cmd-after-env): Likewise.
13517         (built-program-cmd): Define in terms of new variables.
13518         (test-program-prefix-before-env): New variable.
13519         (test-program-prefix-after-env): Likewise.
13520         (test-program-prefix): Define in terms of new variables.
13521         (test-program-cmd-before-env): New variable.
13522         (test-program-cmd-after-env): Likewise.
13523         (test-program-cmd): Define in terms of new variables.
13524         * Rules (make-test-out): Use $(run-program-env).
13525         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13526         (help): Do not mention environment variables.  Mention
13527         --timeoutfactor option.
13528         (timeoutfactor): New variable.
13529         (blacklist_exports): Remove function.
13530         (exports): Remove variable.
13531         (command): Do not include ${exports}.
13532         * manual/install.texi (Configuring and compiling): Do not mention
13533         test wrappers preserving environment variables.  Mention that last
13534         assignment to a variable must take precedence.
13535         * INSTALL: Regenerated.
13536         * benchtests/Makefile (run-bench): Use $(run-program-env).
13537         * catgets/Makefile ($(objpfx)test1.cat): Use
13538         $(built-program-cmd-before-env), $(run-program-env) and
13539         $(built-program-cmd-after-env).
13540         ($(objpfx)test2.cat): Do not specify environment variables
13541         explicitly.
13542         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13543         $(run-program-env) and $(built-program-cmd-after-env).
13544         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13545         $(run-program-env) and $(test-program-cmd-after-env).
13546         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13547         explicitly.
13548         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13549         run_program_env and test_program_cmd_after_env arguments.
13550         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13551         * elf/tst-pathopt.sh: Use run_program_env argument.
13552         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13553         $(test-wrapper-env) and $(run-program-env).
13554         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13555         run_program_env arguments.
13556         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13557         * intl/Makefile ($(objpfx)tst-gettext.out): Use
13558         $(test-program-prefix-before-env), $(run-program-env) and
13559         $(test-program-prefix-after-env).
13560         ($(objpfx)tst-gettext2.out): Likewise.
13561         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13562         run_program_env and test_program_prefix_after_env arguments.
13563         * intl/tst-gettext2.sh: Likewise.
13564         * intl/tst-gettext4.sh: Do not set environment variables
13565         explicitly.
13566         * intl/tst-gettext6.sh: Likewise.
13567         * intl/tst-translit.sh: Likewise.
13568         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13569         $(test-program-prefix-before-env), $(run-program-env) and
13570         $(test-program-prefix-after-env).
13571         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13572         run_program_env and test_program_prefix_after_env arguments.
13573         * math/Makefile (run-regen-ulps): Use $(run-program-env).
13574         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13575         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
13576         explicitly with each use of ${test_wrapper_env}.
13577         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13578         $(test-program-prefix-before-env), $(run-program-env) and
13579         $(test-program-prefix-after-env).
13580         * posix/tst-getconf.sh: Do not set environment variables
13581         explicitly.
13582         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13583         run_program_env and test_program_prefix_after_env arguments.
13584         * stdio-common/tst-printf.sh: Do not set environment variables
13585         explicitly.
13586         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13587         $(test-program-prefix-before-env), $(run-program-env) and
13588         $(test-program-prefix-after-env).
13589         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13590         run_program_env and test_program_prefix_after_env arguments.
13591         Split $test calls into $test_pre and $test.
13592         * timezone/Makefile (build-testdata): Use
13593         $(built-program-cmd-before-env), $(run-program-env) and
13594         $(built-program-cmd-after-env).
13596 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13598         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13599         strlen for non SHARED builds.
13601 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13603         * nptl/allocatestack.c (check_list): Inlined function...
13604         (__reclaim_stacks): ... here.
13606 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13608         [BZ #15698]
13609         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13610         memory overrun.
13612 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
13614         * Rules (make-test-out): Include
13615         LOCPATH=$(common-objpfx)localedata in default environment.
13616         * debug/Makefile (tst-chk1-ENV): Remove variable.
13617         (tst-chk2-ENV): Likewise.
13618         (tst-chk3-ENV): Likewise.
13619         (tst-chk4-ENV): Likewise.
13620         (tst-chk5-ENV): Likewise.
13621         (tst-chk6-ENV): Likewise.
13622         (tst-lfschk1-ENV): Likewise.
13623         (tst-lfschk2-ENV): Likewise.
13624         (tst-lfschk3-ENV): Likewise.
13625         (tst-lfschk4-ENV): Likewise.
13626         (tst-lfschk5-ENV): Likewise.
13627         (tst-lfschk6-ENV): Likewise.
13628         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13629         (tst-iconv7-ENV): Likewise.
13630         * intl/Makefile (LOCPATH-ENV): Likewise.
13631         (tst-codeset-ENV): Likewise.
13632         (tst-gettext3-ENV): Likewise.
13633         (tst-gettext5-ENV): Likewise.
13634         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13635         (tst-fopenloc-ENV): Likewise.
13636         (tst-fgetws-ENV): Remove variable.
13637         (tst-ungetwc1-ENV): Likewise.
13638         (tst-ungetwc2-ENV): Likewise.
13639         (bug-ungetwc2-ENV): Likewise.
13640         (tst-swscanf-ENV): Likewise.
13641         (bug-ftell-ENV): Likewise.
13642         (tst-fgetwc-ENV): Likewise.
13643         (tst-fseek-ENV): Likewise.
13644         (tst-ftell-partial-wide-ENV): Likewise.
13645         (tst-ftell-active-handler-ENV): Likewise.
13646         (tst-ftell-append-ENV): Likewise.
13647         * posix/Makefile (tst-fnmatch-ENV): Likewise.
13648         (tst-regexloc-ENV): Likewise.
13649         (bug-regex1-ENV): Likewise.
13650         (tst-regex-ENV): Likewise.
13651         (tst-regex2-ENV): Likewise.
13652         (bug-regex5-ENV): Likewise.
13653         (bug-regex6-ENV): Likewise.
13654         (bug-regex17-ENV): Likewise.
13655         (bug-regex18-ENV): Likewise.
13656         (bug-regex19-ENV): Likewise.
13657         (bug-regex20-ENV): Likewise.
13658         (bug-regex22-ENV): Likewise.
13659         (bug-regex23-ENV): Likewise.
13660         (bug-regex25-ENV): Likewise.
13661         (bug-regex26-ENV): Likewise.
13662         (bug-regex30-ENV): Likewise.
13663         (bug-regex32-ENV): Likewise.
13664         (bug-regex33-ENV): Likewise.
13665         (bug-regex34-ENV): Likewise.
13666         (bug-regex35-ENV): Likewise.
13667         (tst-rxspencer-ENV): Likewise.
13668         (tst-rxspencer-no-utf8-ENV): Likewise.
13669         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13670         (tst-sscanf-ENV): Likewise.
13671         (tst-swprintf-ENV): Likewise.
13672         (tst-swscanf-ENV): Likewise.
13673         (test-vfprintf-ENV): Likewise.
13674         (scanf13-ENV): Likewise.
13675         (bug14-ENV): Likewise.
13676         (tst-grouping-ENV): Likewise.
13677         * stdlib/Makefile (tst-strtod-ENV): Likewise.
13678         (tst-strtod3-ENV): Likewise.
13679         (tst-strtod4-ENV): Likewise.
13680         (tst-strtod5-ENV): Likewise.
13681         (testmb2-ENV): Likewise./
13682         * string/Makefile (tst-strxfrm-ENV): Likewise.
13683         (tst-strxfrm2-ENV): Likewise.
13684         (bug-strcoll1-ENV): Likewise.
13685         (test-strcasecmp-ENV): Likewise.
13686         (test-strncasecmp-ENV): Likewise.
13687         * time/Makefile (tst-strptime-ENV): Likewise.
13688         (tst-ftime_l-ENV): Likewise.
13689         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13690         (tst-mbrtowc-ENV): Likewise.
13691         (tst-wcrtomb-ENV): Likewise.
13692         (tst-mbrtowc2-ENV): Likewise.
13693         (tst-c16c32-1-ENV): Likewise.
13694         (tst-mbsnrtowcs-ENV): Likewise.
13696 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13698         * manual/resource.texi (How to get information about the memory
13699         subsystem?): Fix typo.
13700         Reported by Peon de la Parra Ivan <peon@keba.com>
13702 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
13704         [BZ #16882]
13705         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13706         (pthread_spin_lock): Branch out of spin loop to proper location.
13707         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13708         (pthread_spin_lock): Likewise.
13710         * nptl/tst-spin4.c: New test.
13711         * nptl/Makefile (tests): Add tst-spin4.
13713 2014-06-03  Andreas Schwab  <schwab@suse.de>
13715         [BZ #15946]
13716         * resolv/res_send.c (send_dg): Reload file descriptor after
13717         calling reopen.
13719 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
13721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13723 2014-06-03  Richard Henderson  <rth@redhat.com>
13725         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13726         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13727         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13728         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
13729         in the SAVE_PID block.
13730         (__libc_vfork): New alias.
13731         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13733         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13734         child in registers, not on the stack.  Remove RESET_PID conditionals.
13735         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13737 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13739         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13741 2014-06-03  Wilco  <wdijkstr@arm.com>
13743         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13744         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13745         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13746         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13747         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13748         Likewise.
13750 2014-06-03  Wilco  <wdijkstr@arm.com>
13752         * sysdeps/aarch64/fpu/math_private.h
13753         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13754         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13755         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13756         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13757         Fix declarations.
13759 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13761         * crypt/crypt-private.h: Include ufc-crypt.h.
13762         (__b64_from_24bit): Declare extern.
13763         * crypt/crypt_util.c(__b64_from_24bit): New function.
13764         (b64t): New static const variable.
13765         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13766         (b64t): Remove variable.
13767         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13768         * crypt/sha256-crypt.c: Include crypt-private.h.
13769         (b64t): Remove variable.
13770         (__sha256_crypt_r): Remove b64_from_24bit and replace
13771         with __b64_from_24bit.
13772         * crypt/sha512-crypt.c: Likewise.
13774 2014-06-02  Roland McGrath  <roland@hack.frob.com>
13776         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13777         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13778         Label the code __libc_vfork rather than __vfork.
13779         [!NOT_IN_libc] (vfork): Define as weak alias.
13780         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13781         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13782         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13784 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13786         * malloc/malloc.c (malloc_info): Fix format specifier for
13787         n_mmaps.
13789 2014-06-02  Wilco  <wdijkstr@arm.com>
13791         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13792         FPCR write.
13794 2014-06-02  Wilco  <wdijkstr@arm.com>
13796         [BZ #17009]
13797         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13798         Rewrite to reduce FPCR/FPSR accesses.
13800 2014-06-01  David S. Miller  <davem@davemloft.net>
13802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13804 2014-05-31  David S. Miller  <davem@davemloft.net>
13806         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13807         to occur in round to nearest mode when |x| >= 2.0
13809 2014-05-30  Richard Henderson  <rth@twiddle.net>
13811         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13812         (PSEUDO_RET_NOERRNO): Remove.
13813         (ret): Don't redefine.
13814         (ret_NOERRNO): Define in terms of ret.
13815         (ret_ERRVAL): Likewise.
13817         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13818         use of PSEUDO_RET; perform the error check directly.
13820 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
13822         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13823         with __int128_t.
13825 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13827         * malloc/malloc (malloc_info): Fix formatting.
13829 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13830             Roland McGrath  <roland@hack.frob.com>
13832         * malloc/malloc (malloc_info): Also print mmapped statistics.
13834 2014-05-30  Roland McGrath  <roland@hack.frob.com>
13836         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13837         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13839 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
13841         * malloc/malloc.c (malloc_info): Inline mi_arena.
13843 2014-05-29  Richard Henderson  <rth@twiddle.net>
13845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13846         Remove comma before expanding ASM_ARGS_##nr.
13847         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13848         Make _x0 a strict output; make _x8 a strict input; adjust expansion
13849         of ASM_ARGS_##nr.
13850         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13851         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13852         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13853         (ASM_ARGS_1): Add leading comma.
13855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13856         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13857         to __errno_location.
13858         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13859         Remove the expected plt for __errno_location.
13861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13862         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13863         call to __read_tp.
13865         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13866         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
13867         it and break it down.
13868         (DOCARGS_0, DOCARGS_1): Do nothing.
13869         (DOCARGS_2): Update to store into the new stack frame.
13870         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13871         (UNDOCARGS_1): Update to restore from the new stack frame.
13872         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13873         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13875         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13876         (SINGLE_THREAD_P): New parameter for result regno.
13877         (PSEUDO): Update to match; use cbz instead of beq.
13879         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13880         Use ENTRY to define the _nocancel entry point.  Share the syscall
13881         and syscall error check paths with the cancel path.
13882         (PSEUDO_END): New.
13884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13885         whitespace; tabs before and after asm mnemonics.
13887 2014-05-29  Eric Wong  <normalperson@yhbt.net>
13889         [BZ #15132]
13890         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13891         Call fstat64 or stat64 internally, depending on arguments passed.
13892         Replace stat buffer argument with file descriptor argument.
13893         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13894         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13895         Pass fd to __internal_statvfs instead of calling fstat64.
13896         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13897         Pass fd to __internal_statvfs64 instead of calling fstat64.
13898         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13899         Pass -1 to __internal_statvfs instead of calling stat64.
13900         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13901         Pass -1 to __internal_statvfs64 instead of calling stat64.
13903 2014-05-28  Roland McGrath  <roland@hack.frob.com>
13905         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13906         that was previously under [RESET_PID].
13907         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13909         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13910         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13912 2014-05-27  Roland McGrath  <roland@hack.frob.com>
13914         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13916         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13917         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13919 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
13921         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13923 2014-05-27  Andreas Schwab  <schwab@suse.de>
13925         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13926         TLS_INIT_TP macro.
13927         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13928         * elf/rtld.c (init_tls, dl_main): Likewise.
13929         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13930         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13931         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13932         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13933         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13934         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13935         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13936         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13937         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13938         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13939         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13940         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13941         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13942         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13943         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13944         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13945         * sysdeps/generic/tls.h: Update description.
13947 2014-05-27  Will Newton  <will.newton@linaro.org>
13949         [BZ #16990]
13950         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13951         and restore r2 rather than just restoring.
13953 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13955         [BZ #16724]
13956         * libio/tst-ftell-append.c: New test case.
13957         * libio/Makefile (tests): Add test case.
13958         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13959         append mode.
13960         * libio/wfileops.c (do_ftell_wide): Likewise.
13962 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13966         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13967         ...
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13970         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13971         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13972         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13973         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13974         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13977         Moved ...
13978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13980         Moved ...
13981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13982         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13983         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13984         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13985         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13986         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13987         ...
13988         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13989         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13990         Moved ...
13991         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13992         here.
13993         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13994         ...
13995         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13996         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13997         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13999         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14000         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14001         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14002         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14004         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14005         merge into ...
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14008         ...
14009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14011         ...
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14014         Moved ...
14015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14016         here.
14017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14018         Moved ...
14019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14021         Moved ...
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14025         conditional [RESET_PID].
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14028         removed.
14029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14030         removed.
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14033         <tcb-offsets.h>.
14034         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14035         (__libc_vfork): New strong alias.
14036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14037         removed.
14038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14039         Removed.
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14042         <tcb-offsets.h>.
14043         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14044         (__libc_vfork): New strong alias.
14045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14046         removed.
14047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14048         removed.
14050 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
14052         * malloc/malloc.c (mi_arena): New function.
14053         (malloc_info): Remove nested function mi_arena. Call non-nosted
14054         function mi_arena.
14056 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14058         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14059         by insrwi.
14060         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14061         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14062         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14063         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14064         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14065         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14066         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14068 2014-05-26  Andreas Schwab  <schwab@suse.de>
14070         [BZ #16984]
14071         * locale/programs/repertoire.c (repertoire_read): Add slash
14072         between I18NPATH element and file name.
14073         * locale/programs/locfile.c (locfile_read): Likewise.
14075 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14077         * nptl/pthread_mutexattr_settype.c
14078         (__pthread_mutexattr_settype):
14079         Disable lock elision for PTHREAD_MUTEX_NORMAL.
14081 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14083         * nptl/tst-mutex5 (do_test):
14084         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14086 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14088         * benchtests/README: Document 'init' directive.
14089         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14090         BENCH_INIT.
14091         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14092         (parse_file): Recognize 'init' directive.
14094 2014-05-26  Kyle McMartin  <kyle@redhat.com>
14096         [BZ #16796]
14097         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14098         alignment of struct pthread.
14100 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14102         [BZ #16878]
14103         * nscd/netgroupcache.c (addgetnetgrentX): Look for
14104         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14105         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14106         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14108 2014-05-25  Richard Henderson  <rth@twiddle.net>
14110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14111         (SINGLE_THREAD_P_PIC): Remove.
14112         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14113         (SINGLE_THREAD_P_PIC): Remove.
14115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14116         branch to syscall error ...
14117         (PSEUDO): ... here.
14118         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14119         from __local_syscall_error to .Lsyscall_error.
14120         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14121         (SYSCALL_ERROR): Update label name.
14123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14124         Do not use DOARGS/UNDOARGS.
14125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14126         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14127         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14128         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14129         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14132         block comment.
14134         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14135         define if !NOT_IN_libc.
14136         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14137         define with non-default symbol versions.
14139 2014-05-23  Richard Henderson  <rth@twiddle.net>
14141         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14142         (vfork, __vfork): Define via compat_symbol.
14144         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14145         [!HAVE_IFUNC] (vfork_compat): Remove.
14146         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14148 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14150         [BZ #16978]
14151         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14152         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14153         variable.
14155 2014-05-23  Richard Henderson  <rth@twiddle.net>
14157         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14158         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14159         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14160         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14162         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14163         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14164         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14165         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14166         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14167         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14168         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14169         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14170         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14171         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14172         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14173         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14174         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14175         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14176         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14177         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14178         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14179         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14181         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14182         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14183         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14184         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14185         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14186         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14187         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14188         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14189         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14193         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14194         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14195         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14196         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14197         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14199         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14201         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14202         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14203         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14204         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14205         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14206         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14207         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14209         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14210         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14211         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14212         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14213         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14214         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14215         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14217         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14219         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14220         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14221         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
14222         before exiting on error.
14223         (__libc_vfork): New strong alias.
14224         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14225         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14227         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14228         that was previously under [RESET_PID].
14229         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14231         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14233 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14235         [BZ #16977]
14236         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14237         value when x - 1 is zero.
14238         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14239         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14240         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14241         0.0L for an argument of 1.0L.
14242         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14243         Likewise.
14244         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14245         value when x - 1 is zero.
14246         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14247         * sysdeps/i386/fpu/libm-test-ulps: Update.
14248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14250 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14252         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14253         alphasort and versionsort.
14255 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14257         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14258         macro.
14259         [copysignf]: Likewise.
14261 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14263         * crypt/md5-crypt.c: Fix formatting.
14265 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14267         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14268         (b64_from_24bit): New function.
14270 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14272         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14273         libc_hidden_builtin_def to ifunc.
14274         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14275         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14277 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14279         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14280         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14282 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14284         * nscd/Depend (linuxthreads): Remove.
14285         (nptl): Add.
14286         * resolv/Depend (linuxthreads): Remove.
14287         * rt/Depend (linuxthreads): Remove.
14289         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14290         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14291         $(common-objpfx)elf/.
14292         (link-libc-before-gnulib): Likewise.
14293         (elfobjdir): Remove variable.
14294         * Makefile (install): Use $(elf-objpfx) instead of
14295         $(common-objpfx)elf/.
14296         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14297         $(elfobjdir)/.
14298         (link-libc-deps): Likewise.
14299         ($(common-objpfx)libc.so): Likewise.
14300         ($(common-objpfx)linkobj/libc.so): Likewise.
14301         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14302         instead of $(common-objpfx)elf/.
14303         (symbolic-link-list): Likewise.
14304         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14305         [$(cross-compiling) = no]: Likewise.
14306         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14307         $(elfobjdir)/.
14308         (static-gnulib-arch): Likewise.
14309         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14310         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14311         $(common-objpfx)elf/.
14313 2014-05-21  Richard Henderson  <rth@redhat.com>
14315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14316         (SINGLE_THREAD_P): Use the correct width load.  Fold
14317         into the ldr offset.
14319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14320         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14322 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
14324         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14325         (libgcc_s_resume): Use __attribute_used__.
14326         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14327         Likewise.
14329 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14331         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14332         optimization when used with float constants.
14334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14336 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
14338         [BZ #16915]
14339         * locale/nl_langinfo_l.c: Make direct reference to every
14340         _nl_current_CATEGORY symbol.
14341         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14342         (tests-static): Add tst-langinfo-static.
14343         (tests-special): Add tst-langinfo-static.out.
14344         ($(objpfx)tst-langinfo.out): Redirect output.
14345         ($(objpfx)tst-langinfo-static.out): New.
14346         * localedata/tst-langinfo.sh: Send output to stdout.
14347         * localedata/tst-langinfo-static.c: New file.
14349         [BZ #16965]
14350         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14351         when the shift amount is modulo the limb size.
14353 2014-05-20  Richard Henderson  <rth@redhat.com>
14355         [BZ #16967]
14356         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14357         Change type of sa_flags from unsigned int to int.
14359         [BZ #16966]
14360         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14362         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14364 2014-05-20  Will Newton  <will.newton@linaro.org>
14366         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14367         Test the return value of the system call in the nocancel case.
14369 2014-05-20  Will Newton  <will.newton@linaro.org>
14370             Yvan Roux  <yvan.roux@linaro.org>
14372         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14373         #include of asm/ptrace.h.
14374         (PTRACE_GET_THREAD_AREA): Remove #undef.
14375         (PTRACE_GETHBPREGS): Likewise.
14376         (PTRACE_SETHBPREGS): Likewise.
14377         (struct user_regs_struct): New structure.
14378         (struct user_fpsimd_struct): New structure.
14379         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14380         #include of asm/ptrace.h and second #include of sys/user.h.
14381         (PTRACE_GET_THREAD_AREA): Remove #undef.
14382         (PTRACE_GETHBPREGS): Likewise.
14383         (PTRACE_SETHBPREGS): Likewise.
14384         (ELF_NGREG): Use new struct user_regs_struct.
14385         (elf_fpregset_t): Use new struct user_fpsimd_struct.
14387 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14392 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
14394         [BZ #16958]
14395         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14396         membar to avoid block loads/stores to overlap previous stores.
14398 2014-05-17  Richard Henderson  <rth@redhat.com>
14400         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14401         Create the __##syscall_name##_nocancel entry point.
14402         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14403         Remove; let the sysdep-cancel.h code create it.
14405 2014-05-17  David S. Miller  <davem@davemloft.net>
14407         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14408         Protect with __USE_GNU.
14409         (TIOCSET_TEMPT): Likewise.
14410         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14411         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14412         these are already provided in bits/ioctl-types.h
14414 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14416         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14417         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14419         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14420         Use wait4 regardless of [__NR_waitpid].
14422 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14424         PR libgcc/60166
14425         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14426         (_FP_NANSIGN_Q): Set the quiet bit.
14428 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
14430         * benchtests/Makefile
14431         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14432         not $(common-objpfx)math/libm.so.
14433         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14434         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14435         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14436         $(common-objpfx)dlfcn/libdl.so.
14437         ($(objpfx)tst-audit8): Depend on $(libm), not
14438         $(common-objpfx)math/libm.so.
14439         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14440         not $(common-objpfx)dlfcn/libdl.so.
14441         * math/Makefile
14442         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14443         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
14444         [$(build-shared) = yes].
14445         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14446         $(common-objpfx)nptl/libpthread.so.
14447         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14448         $(common-objpfx)math/libm.so$(libm.so-version) or
14449         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14450         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14451         $(common-objpfx)dlfcn/libdl.so.
14452         * setjmp/Makefile (link-libm): Remove variable.
14453         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14454         * stdio-common/Makefile (link-libm): Remove variable.
14455         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14456         * stdlib/Makefile (link-libm): Remove variable.
14457         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14458         ($(objpfx)tst-strtod-round): Likewise.
14459         ($(objpfx)tst-tininess): Likewise.
14460         ($(objpfx)tst-strtod-underflow): Likewise.
14461         ($(objpfx)tst-strtod6): Likewise.
14462         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14463         $(libdl), not $(common-objpfx)nptl/libpthread.so and
14464         $(common-objpfx)dlfcn/libdl.so.
14466 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14468         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14469         BSD terminal modes definitions.
14471 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14473         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14474         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14476         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14477         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14478         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14479         Don't do #include_next.
14480         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14481         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14482         Don't do #include_next.
14483         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14484         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14485         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14486         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14488 2014-05-16  Allan McRae  <allan@archlinux.org>
14490         * po/sv.po: Update Swedish translation from translation project.
14492         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14493         in sed expression.
14495 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
14497         [BZ #16917]
14498         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14499         errno if the TIOCGPTN ioctl fails with an error different than
14500         EINVAL.
14501         * login/tst-ptsname.c: New file.
14502         * login/Makefile (tests): Add tst-ptsname.
14504         [BZ #16943]
14505         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14506         and prlimit64.
14508 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14510         [BZ #16849]
14511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14512         herrno to return EAI_AGAIN.
14514 2014-05-14  Roland McGrath  <roland@hack.frob.com>
14516         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14517         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14518         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14519         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14520         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14521         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14522         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14523         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14525         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14526         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14527         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14528         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14529         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14530         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14531         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14532         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14533         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14534         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14535         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14536         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14537         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14538         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14539         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14540         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14541         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14542         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14543         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14544         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14545         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14547         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14549         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14551         Moved ...
14552         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14554         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14556         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14558         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14560         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14562         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14564         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14566         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14568         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14570         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14572         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14574         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14576         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14578         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14580         Moved ...
14581         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14583         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14585         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14587         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14589         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14591         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14593         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14595         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14597         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14599         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14601         Moved ...
14602         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14604         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14606         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14607         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14608         (libpthread-sysdep_routines): Add elision-related stuff here instead.
14609         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14610         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14611         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14612         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14613         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14614         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14615         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14616         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14617         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14618         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14619         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14620         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14621         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14622         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14623         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14624         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14625         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14626         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14627         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14628         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14629         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14630         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14631         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14632         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14633         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14634         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14635         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14636         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14638         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14639         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14641         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14642         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14643         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14644         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14645         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14646         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14647         Moved ...
14648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14649         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14650         Moved ...
14651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14652         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14653         Moved ...
14654         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14655         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14656         Moved ...
14657         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14658         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14659         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14661         Moved ...
14662         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14663         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14664         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14665         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14666         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14667         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14668         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14669         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14670         Moved ...
14671         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14673         Moved ...
14674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14675         ... here.
14676         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14677         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14678         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14679         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14681         Moved ...
14682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14683         ... here.
14684         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14685         Moved ...
14686         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14687         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14688         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14689         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14690         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14691         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14692         Moved ...
14693         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14694         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14695         Moved ...
14696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14697         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14698         Moved ...
14699         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14700         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14701         Moved ...
14702         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14703         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14704         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14706         Moved ...
14707         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14708         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14709         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14710         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14711         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14712         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14713         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14714         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14715         Moved ...
14716         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14718         Moved ...
14719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14720         ... here.
14721         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14722         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14723         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14724         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14726         Moved ...
14727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14728         ... here.
14729         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14730         Moved ...
14731         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14732         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14733         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14734         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14735         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14736         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14737         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14738         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14739         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14740         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14741         Moved ...
14742         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14743         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14744         Moved ...
14745         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14746         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14747         Moved ...
14748         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14749         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14750         Moved ...
14751         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14752         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14753         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14754         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14755         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14757         Moved ...
14758         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14759         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14760         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14762         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14763         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14764         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14765         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14766         Moved ...
14767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14769         Moved ...
14770         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14771         ... here.
14772         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14773         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14774         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14775         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14777         Moved ...
14778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14779         ... here.
14780         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14781         Moved ...
14782         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14783         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14784         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14785         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14786         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14787         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14788         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14789         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14790         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14791         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14792         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14794         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14795         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14797         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14798         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14800         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14801         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14802         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14803         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14804         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14805         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14806         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14807         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14808         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14809         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14810         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14811         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14813         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14814         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14816         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14818         Moved ...
14819         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14821         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14822         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14823         Moved ...
14824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14828         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14830         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14832         Moved ...
14833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14835         Moved ...
14836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14842         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14843         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14844         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14845         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14846         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14847         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14848         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14849         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14850         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14851         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14852         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14854         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14855         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14856         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14857         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14858         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14860         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14861         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14862         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14863         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14864         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14865         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14866         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14867         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14868         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14869         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14874         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14875         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14876         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14877         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14878         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14879         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14880         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14881         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14882         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14883         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14884         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14885         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14886         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14887         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14889         Update #include.
14890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14891         Likewise.
14892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14893         Likewise.
14894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14895         Likewise.
14896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14897         Likewise.
14898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14899         Likewise.
14900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14901         Likewise.
14902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14903         Likewise.
14904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14905         Likewise.
14906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14907         Likewise.
14908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14913         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14918         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14920         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14922         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14924         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14925         that was previously under [RESET_PID].
14926         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14927         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14928         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14930         * sysdeps/i386/nptl/Implies: New file.
14931         * sysdeps/x86_64/nptl/Implies: New file.
14932         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14933         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14934         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14935         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14937         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14938         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14939         (__libc_vfork): New strong alias.
14940         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14941         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14943         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14944         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14945         (__libc_vfork): New strong alias.
14946         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14947         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14949         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14950         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14951         (__libc_vfork): New strong alias.
14952         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14953         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14954         * nptl/pt-vfork.c: New file.
14955         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14956         (libpthread: GLIBC_2.20): New version set (empty).
14958 2014-05-14  Will Newton  <will.newton@linaro.org>
14960         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14961         rather than #if.
14963 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14965         [BZ #16564]
14966         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14967         arguments with exponent 65 or above.
14968         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14969         arguments 0x1p113L or above.
14970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14971         to arguments 0x1p107L or above.
14972         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14973         positive arguments with exponent 65 or above.
14974         * math/auto-libm-test-in: Add more tests of log1p.
14975         * math/auto-libm-test-out: Regenerated.
14977         [BZ #16928]
14978         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14979         non-finite arguments is +0.
14980         * math/s_cacosf.c (__cacosf): Likewise.
14981         * math/s_cacosl.c (__cacosl): Likewise.
14982         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14983         * sysdeps/i386/fpu/libm-test-ulps: Update.
14984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14986         [BZ #16927]
14987         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14988         value.
14989         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14990         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14991         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14992         for explicit high bit of mantissa when testing for argument equal
14993         to 1.
14994         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14995         * sysdeps/i386/fpu/libm-test-ulps: Update.
14996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14998         [BZ #16516]
14999         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15000         (__erf): Scale by 16 instead of 8 in potentially underflowing
15001         case.  Ensure exception if result actually underflows.
15002         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15003         (__erff): Scale by 16 instead of 8 in potentially underflowing
15004         case.  Ensure exception if result actually underflows.
15005         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15006         (efx8): Remove variable.
15007         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15008         case.  Ensure exception if result actually underflows.
15009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15010         (efx8): Remove variable.
15011         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15012         case.  Ensure exception if result actually underflows.
15013         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15014         (efx8): Remove variable.
15015         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15016         case.  Ensure exception if result actually underflows.
15017         * math/auto-libm-test-in: Add more tests of erf.
15018         * math/auto-libm-test-out: Regenerated.
15020 2014-05-14  Andreas Schwab  <schwab@suse.de>
15022         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15023         Remove code conditionalized on USE___THREAD.
15025         * config.h.in (HAVE_PT_CHOWN): Define as 0.
15026         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15027         not definedness.
15029 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15032         Define unconditionally.
15033         (__ASSUME_O_CLOEXEC): Likewise.
15034         (__ASSUME_SOCK_CLOEXEC): Likewise.
15035         (__ASSUME_IN_NONBLOCK): Likewise.
15036         (__ASSUME_PIPE2): Likewise.
15037         (__ASSUME_EVENTFD2): Likewise.
15038         (__ASSUME_SIGNALFD4): Likewise.
15039         (__ASSUME_DUP3): Likewise.
15040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15041         (__ASSUME_DUP3): Do not define.
15042         (__ASSUME_EVENTFD2): Likewise.
15043         (__ASSUME_IN_NONBLOCK): Likewise.
15044         (__ASSUME_O_CLOEXEC): Likewise.
15045         (__ASSUME_PIPE2): Likewise.
15046         (__ASSUME_SIGNALFD4): Likewise.
15047         (__ASSUME_SOCK_CLOEXEC): Likewise.
15048         (__ASSUME_UTIMES): Undefine.
15049         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15050         (__ASSUME_UTIMES): Do not define.
15051         (__ASSUME_O_CLOEXEC): Likewise.
15052         (__ASSUME_SOCK_CLOEXEC): Likewise.
15053         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15054         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15055         0x020621].
15056         (__ASSUME_PIPE2): Likewise.
15057         (__ASSUME_EVENTFD2): Likewise.
15058         (__ASSUME_SIGNALFD4): Likewise.
15059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15060         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15061         Do not define.
15062         (__ASSUME_EVENTFD2): Likewise.
15063         (__ASSUME_SIGNALFD4): Likewise.
15064         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15065         (__ASSUME_32BITUIDS): Likewise.
15066         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15067         (__ASSUME_IPC64): Likewise.
15068         (__ASSUME_ST_INO_64_BIT): Likewise.
15069         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15070         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15071         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15072         (__ASSUME_UTIMES): Do not define.
15073         (__ASSUME_PSELECT): Likewise.
15074         (__ASSUME_PPOLL): Likewise.
15075         (__ASSUME_O_CLOEXEC): Likewise.
15076         (__ASSUME_SOCK_CLOEXEC): Likewise.
15077         (__ASSUME_IN_NONBLOCK): Likewise.
15078         (__ASSUME_PIPE2): Likewise.
15079         (__ASSUME_EVENTFD2): Likewise.
15080         (__ASSUME_SIGNALFD4): Likewise.
15081         (__ASSUME_DUP3): Likewise.
15082         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15083         (__ASSUME_UTIMES): Likewise.
15084         (__ASSUME_O_CLOEXEC): Likewise.
15085         (__ASSUME_SOCK_CLOEXEC): Likewise.
15086         (__ASSUME_IN_NONBLOCK): Likewise.
15087         (__ASSUME_PIPE2): Likewise.
15088         (__ASSUME_EVENTFD2): Likewise.
15089         (__ASSUME_SIGNALFD4): Likewise.
15090         (__ASSUME_DUP3): Likewise.
15091         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15092         (__ASSUME_UTIMES): Likewise.
15093         (__ASSUME_O_CLOEXEC): Likewise.
15094         (__ASSUME_SOCK_CLOEXEC): Likewise.
15095         (__ASSUME_IN_NONBLOCK): Likewise.
15096         (__ASSUME_PIPE2): Likewise.
15097         (__ASSUME_EVENTFD2): Likewise.
15098         (__ASSUME_SIGNALFD4): Likewise.
15099         (__ASSUME_DUP3): Likewise.
15100         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15101         Likewise.
15102         (__ASSUME_UTIMES): Likewise.
15103         (__ASSUME_EVENTFD2): Likewise.
15104         (__ASSUME_SIGNALFD4): Likewise.
15105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15106         (__ASSUME_O_CLOEXEC): Likewise.
15107         (__ASSUME_SOCK_CLOEXEC): Likewise.
15108         (__ASSUME_IN_NONBLOCK): Likewise.
15109         (__ASSUME_PIPE2): Likewise.
15110         (__ASSUME_EVENTFD2): Likewise.
15111         (__ASSUME_SIGNALFD4): Likewise.
15112         (__ASSUME_DUP3): Likewise.
15113         (__ASSUME_UTIMES): Undefine.
15115         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15116         feclearexcept.  Remove symbol versioning code.
15117         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
15118         symbol versioning code.
15119         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
15120         symbol versioning code.
15121         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15122         feupdateenv.  Remove symbol versioning code.
15123         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15124         fegetexceptflag.  Remove symbol versioning code.
15125         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15126         fesetexceptflag.  Remove symbol versioning code.
15127         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15128         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
15129         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15130         (__posix_fadvise64_l32): Remove prototype.
15131         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15132         code.
15134 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15136         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15137         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15138         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15139         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15141 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
15143         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15144         current working directory
15146 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15148         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15149         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15150         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15151         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15152         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15153         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15154         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15155         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15156         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15157         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15158         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15159         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15160         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15161         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15162         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15163         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15164         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15165         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15166         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15167         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15168         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15169         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15170         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15171         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15172         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15173         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15174         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15175         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15176         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15177         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15179         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15180         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15181         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15182         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15184         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15185         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15186         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15187         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15188         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15189         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15191         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15192         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15194         * sysdeps/unix/sysv/linux/arm/Makefile
15195         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15196         Add rt-aeabi_unwind_cpp_pr1.
15197         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15198         Add nptl-aeabi_unwind_cpp_pr1.
15199         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15200         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15201         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15202         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15203         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15204         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15206         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15207         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15208         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15209         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15211         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15212         Deconditionalize the code that was previously under [RESET_PID].
15213         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15215         * sysdeps/generic/exit-thread.h: New file.
15216         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15217         * include/unistd.h (__exit_thread): Remove declaration.
15218         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15219         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15220         * csu/libc-start.c: Include <exit-thread.h>.
15221         (LIBC_START_MAIN): Pass no argument to __exit_thread.
15222         * nptl/pthread_create.c: Include <exit-thread.h>.
15223         (start_thread): Call __exit_thread in place of __exit_thread_inline.
15224         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15225         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15226         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15227         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15228         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15229         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15230         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15231         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15232         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15233         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15234         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15235         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15236         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15237         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15238         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15239         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15241 2014-05-13  Andreas Schwab  <schwab@suse.de>
15243         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15245 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
15247         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15248         (__ASSUME_UTIMES): Do not condition on kernel version.
15249         (__ASSUME_PSELECT): Define unconditionally.
15250         (__ASSUME_PPOLL): Likewise.
15251         (__ASSUME_ATFCTS): Likewise.
15252         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15253         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15254         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15255         (__ASSUME_UTIMENSAT): Define unconditionally.
15256         (__ASSUME_PRIVATE_FUTEX): Likewise.
15257         (__ASSUME_FALLOCATE): Likewise.
15258         (__ASSUME_O_CLOEXEC): Likewise.
15259         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15260         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15261         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15262         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15263         (__ASSUME_IN_NONBLOCK): Likewise.
15264         (__ASSUME_PIPE2): Likewise.
15265         (__ASSUME_EVENTFD2): Likewise.
15266         (__ASSUME_SIGNALFD4): Likewise.
15267         (__ASSUME_DUP3): Likewise.
15268         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15269         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15270         (__ASSUME_AT_RANDOM): Likewise.
15271         (__ASSUME_PREADV): Likewise.
15272         (__ASSUME_PWRITEV): Likewise.
15273         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15274         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15275         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15276         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15277         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15278         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15279         (__ASSUME_O_CLOEXEC): Define unconditionally.
15280         (__ASSUME_PSELECT): Do not undefine conditionally.
15281         (__ASSUME_PPOLL): Likewise.
15282         (__ASSUME_ATFCTS): Likewise.
15283         (__ASSUME_SET_ROBUST_LIST): Likewise.
15284         (__ASSUME_UTIMENSAT): Likewise.
15285         (__ASSUME_FDATASYNC): Define unconditionally.
15286         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15287         (__ASSUME_SIGFRAME_V2): Likewise.
15288         )__ASSUME_EVENTFD2): Likewise.
15289         (__ASSUME_SIGNALFD4): Likewise.
15290         (__ASSUME_PSELECT): Do not undefine conditionally.
15291         (__ASSUME_PPOLL): Likewise.
15292         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15293         (__ASSUME_PSELECT): Define unconditionally.
15294         (__ASSUME_PPOLL): Likewise.
15295         (__ASSUME_O_CLOEXEC): Likewise.
15296         (__ASSUME_SOCK_CLOEXEC): Likewise.
15297         (__ASSUME_IN_NONBLOCK): Likewise.
15298         (__ASSUME_PIPE2): Likewise.
15299         (__ASSUME_EVENTFD2): Likewise.
15300         (__ASSUME_SIGNALFD4): Likewise.
15301         (__ASSUME_DUP3): Likewise.
15302         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15303         (__ASSUME_O_CLOEXEC): Likewise.
15304         (__ASSUME_SOCK_CLOEXEC): Likewise.
15305         (__ASSUME_IN_NONBLOCK): Likewise.
15306         (__ASSUME_PIPE2): Likewise.
15307         (__ASSUME_EVENTFD2): Likewise.
15308         (__ASSUME_SIGNALFD4): Likewise.
15309         (__ASSUME_DUP3): Likewise.
15310         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15311         (__ASSUME_EVENTFD2): Likewise.
15312         (__ASSUME_SIGNALFD4): Likewise.
15313         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15315 2014-05-12  Andreas Schwab  <schwab@suse.de>
15317         [BZ #16932]
15318         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15319         (_nss_nis_gethostbyname4_r): Return error if item length is larger
15320         than maximum RPC packet size.
15321         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15322         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15323         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15324         (_nss_nis_getservbyport_r): Likewise.
15326 2014-05-12  Will Newton  <will.newton@linaro.org>
15328         * malloc/Makefile (tests): Add tst-mallopt.
15329         * malloc/tst-mallopt.c: New file.
15331 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15333         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15334         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15336 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15338         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15339         (tst-tlsmod6.so): Likewise.
15341 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15343         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15345 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
15347         [BZ #16064]
15348         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15349         and <dl-procinfo.h>.
15350         (__fegetenv): Save SSE state in envp->__eip if supported.
15351         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15352         envp->__eip if supported.
15353         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15354         and <dl-procinfo.h>.
15355         (__fesetenv): Always set __eip, __cs_selector, __opcode,
15356         __data_offset and __data_selector in environment to 0.  Set SSE
15357         state if supported.
15358         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15359         test-fenv-sse.
15360         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15361         -mfpmath=sse.
15362         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15364 2014-05-09  Will Newton  <will.newton@linaro.org>
15366         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15367         and libc_relro_required for ARM.
15368         * sysdeps/arm/preconfigure: Regenerate.
15370 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
15371             Stefan Liebler  <stli@linux.vnet.ibm.com>
15373         * config.make.in (enable-lock-elision): New Makefile variable.
15374         * configure.ac: Likewise.
15375         * configure: Regenerate.
15376         * sysdeps/s390/configure.ac:
15377         Add check for gcc transactions support.
15378         * sysdeps/s390/configure: Regenerate.
15379         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15380         Build elision files if enabled.
15381         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15382         Add lock elision support for s390.
15383         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15384         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15385         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15386         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15387         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15388         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15389         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15390         Likewise.
15391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15392         Likewise.
15393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15394         Likewise.
15395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15396         Likewise.
15397         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15398         (__lll_timedlock_elision, __lll_lock_elision)
15399         (__lll_unlock_elision, __lll_trylock_elision)
15400         (lll_timedlock_elision, lll_lock_elision)
15401         (lll_unlock_elision, lll_trylock_elision): Add.
15402         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15403         (pthread_mutex_t): Add lock elision support for s390.
15405 2014-05-14  Wilco  <wdijkstr@arm.com>
15407         * sysdeps/arm/fclrexcpt.c: Cleanup.
15408         * sysdeps/arm/fedisblxcpt.c: Cleanup.
15409         * sysdeps/arm/feenablxcpt.c: Cleanup.
15410         * sysdeps/arm/fegetenv.c: Cleanup.
15411         * sysdeps/arm/fegetexcept.c: Cleanup.
15412         * sysdeps/arm/fegetround.c: Cleanup.
15413         * sysdeps/arm/feholdexcpt.c: Cleanup.
15414         * sysdeps/arm/fesetenv.c: Cleanup.
15415         * sysdeps/arm/fesetround.c: Cleanup.
15416         * sysdeps/arm/feupdateenv.c: Cleanup.
15417         * sysdeps/arm/fgetexcptflg.c: Cleanup.
15418         * sysdeps/arm/fraiseexcpt.c: Cleanup.
15419         * sysdeps/arm/fsetexcptflg.c: Cleanup.
15420         * sysdeps/arm/ftestexcept.c: Cleanup.
15421         * sysdeps/arm/get-rounding-mode.h: Cleanup.
15422         * sysdeps/arm/setfpucw.c: Cleanup.
15424 2014-05-09  Will Newton  <will.newton@linaro.org>
15426         * sysdeps/arm/armv7/strcmp.S: New file.
15427         * NEWS: Mention addition of ARMv7 optimized strcmp.
15429 2014-05-08  Roland McGrath  <roland@hack.frob.com>
15431         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15432         look for %.ac rather than %.in.
15434         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15435         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15436         * sysdeps/mach/hurd/configure: Regenerated.
15437         * sysdeps/unix/sysv/linux/configure: Regenerated.
15439         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15441 2014-05-07  Steve Ellcey  <sellcey@mips.com>
15443         [BZ# 16922]
15444         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15445         (LONG_SUB): Ditto.
15446         (PTR_SUB): Ditto.
15448 2014-05-07  Andreas Schwab  <schwab@suse.de>
15450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15451         when skipping over non-matching result from nscd.
15453 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
15455         [BZ #16876]
15456         * nptl/sockperf.c (client): Check socket return value.
15458         [BZ #16877]
15459         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15460         nscd security class.
15462 2014-05-06  Roland McGrath  <roland@hack.frob.com>
15464         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15465         * sysdeps/arm/unwind.h: ... here.
15467 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
15469         [BZ# 16916]
15470         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15471         Define.
15473 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15475         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15476         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15477         multiarch strncpy for PPC64.
15478         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15479         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15481         multiarch optimizations.
15482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15483         (__libc_ifunc_impl_list): Likewise.
15484         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15485         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15486         multiarch stpncpy for PPC64.
15487         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15488         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15490 2014-05-06  Andreas Schwab  <schwab@suse.de>
15492         [BZ #16912]
15493         * gmon/mcount.c (_MCOUNT_DECL): Use
15494         atomic_compare_and_exchange_bool_acq instead of
15495         catomic_compare_and_exchange_bool_acq.
15497 2014-05-05  Roland McGrath  <roland@hack.frob.com>
15499         * elf/Makefile (others, install-bin): Remove pldd.
15500         (pldd-modules): Variable removed.
15501         ($(objpfx)pldd): Target removed.
15502         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15503         (others, install-bin): Append pldd here.
15504         ($(objpfx)pldd): New target.
15506         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15507         to 0, so the first #if test emitted later doesn't see it undefined.
15508         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15509         * sysdeps/gnu/errlist.c: Regenerated.
15511 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15514         [libc_hidden_builtin_def]: Define to empty value.
15515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15516         [libc_hidden_builtin_def]: Likewise.
15517         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15518         [libc_hidden_builtin_def]: Likewise.
15519         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15520         [libc_hidden_builtin_def]: Likewise.
15521         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15522         __redirect_memcpy and define ifunc as default hidden symbol.
15523         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15524         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15526 2014-05-04  Adam Conrad  <adconrad@0c3.net>
15528         * locale/iso-4217.def: Reintroduce XDR currency.
15530 2014-05-04  Allan McRae  <allan@archlinux.org>
15532         * po/eo.po: Update Esperanto translation from translation project.
15534 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
15536         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15537         and FEATURE_INDEX_MAX to 1.
15538         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15540 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15542         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15543         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15544         * iconvdata/big5.c (ONE_DIRECTION): Define.
15545         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15546         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15547         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15548         * iconvdata/cp932.c (ONE_DIRECTION): Define.
15549         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15550         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15551         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15552         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15553         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15554         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15555         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15556         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15557         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15558         * iconvdata/gbk.c (ONE_DIRECTION): Define.
15559         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15560         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15561         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15562         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15563         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15564         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15565         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15566         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15567         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15568         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15569         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15570         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15571         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15572         * iconvdata/iso646.c (ONE_DIRECTION): Define.
15573         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15574         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15575         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15576         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15577         * iconvdata/johab.c (ONE_DIRECTION): Define.
15578         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15579         * iconvdata/sjis.c (ONE_DIRECTION): Define.
15580         * iconvdata/t.61.c (ONE_DIRECTION): Define.
15581         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15582         * iconvdata/tscii.c (ONE_DIRECTION): Define.
15583         * iconvdata/uhc.c (ONE_DIRECTION): Define.
15584         * iconvdata/unicode.c (ONE_DIRECTION): Define.
15585         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15586         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15587         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15589 2014-05-01  Roland McGrath  <roland@hack.frob.com>
15591         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15592         (_IO_JUMPS_OFFSET): Define to 0.
15594         * nptl/sysdeps/pthread/bits/libc-lock.h
15595         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15596         (__libc_lock_define_initialized_recursive): Always define using
15597         initializer.  Modern compilers treat uninitialized (implicit zero) and
15598         explicit zero initializers the same (i.e. put the datum in bss).
15600 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15602         * nscd/nscd-client.h: Include <string.h>.
15604 2014-05-01  David S. Miller  <davem@davemloft.net>
15606         [BZ #16885]
15607         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15608         multiple zero bytes exist at the end of a string.
15609         Reported by Aurelien Jarno <aurelien@aurel32.net>
15611         * string/test-strcmp.c (check): Add explicit test for situations where
15612         there are multiple zero bytes after the first.
15614 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15616         [BZ #16890]
15617         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15618         when compiling wprintf.
15619         * stdio-common/tstdiomisc.c (t3): New function.
15620         (main): Call it.
15622 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15624         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15625         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15626         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15627         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15629 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15631         * stdlib/longlong.h: Updated from GCC.
15633 2014-05-01  Will Newton  <will.newton@linaro.org>
15634             Bernard Ogden  <bernie.ogden@linaro.org>
15636         * NEWS: Update fixed bug list.
15638         [BZ #15119]
15639         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15641 2014-04-30  David S. Miller  <davem@davemloft.net>
15643         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15644         (libc_feholdexcept_setround_sparc_ctx): New function.
15645         (libc_fesetenv_sparc_ctx): Likewise.
15646         (libc_feupdateenv_sparc_ctx): Likewise.
15647         (libc_feholdsetround_sparc_ctx): Likewise.
15648         (libc_feholdexcept_setround_ctx): Define.
15649         (libc_feholdexcept_setroundf_ctx): Likewise.
15650         (libc_feholdexcept_setroundl_ctx): Likewise.
15651         (libc_fesetenv_ctx): Likewise.
15652         (libc_fesetenvf_ctx): Likewise.
15653         (libc_fesetenvl_ctx): Likewise.
15654         (libc_feupdateenv_ctx): Likewise.
15655         (libc_feupdateenvf_ctx): Likewise.
15656         (libc_feupdateenvl_ctx): Likewise.
15657         (libc_feresetround_ctx): Likewise.
15658         (libc_feresetroundf_ctx): Likewise.
15659         (libc_feresetroundl_ctx): Likewise.
15660         (libc_feholdsetround_ctx): Likewise.
15661         (libc_feholdsetroundf_ctx): Likewise.
15662         (libc_feholdsetroundl_ctx): Likewise.
15664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15665         with __USE_GNU instead of XOPEN cpp guards.
15667         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15668         0.
15670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15671         with XOPEN cpp guards.
15673 2014-04-30  Julian Brown  <julian@codesourcery.com>
15675         [BZ #16888]
15676         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15677         handling.
15679 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
15681         [BZ #9894]
15682         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15683         Change to 2.6.32.
15684         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15685         * sysdeps/unix/sysv/linux/configure: Regenerated.
15686         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15687         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15688         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15689         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15690         * README: Update reference to required Linux kernel version.
15691         * manual/install.texi (Linux): Update reference to required Linux
15692         kernel headers version.
15693         * INSTALL: Regenerated.
15695         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15696         header inclusion.
15697         [POSIX] (limits.h): Likewise.
15698         [POSIX] (math.h): Likewise.
15699         [POSIX] (sys/wait.h): Likewise.
15700         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15701         function.
15702         [POSIX] (stddef.h): Do not allow header inclusion.
15704 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15706         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15708 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
15710         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15711         Return immediately after lll_futex_wake.
15713 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15715         [BZ #16791]
15716         * nscd/nscd-client.h (datahead_init_common): Initialize entire
15717         structure.
15718         (datahead_init_pos): Call datahead_init_common early.
15719         (datahead_init_neg): Likewise.
15721         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15722         datahead_init_neg): New functions.
15723         * nscd/aicache.c (addhstaiX): Use them.
15724         * nscd/grpcache.c (cache_addgr): Likewise.
15725         * nscd/hstcache.c (cache_addhst): Likewise.
15726         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15727         * nscd/netgroupcache.c (do_notfound): Likewise.
15728         (addgetnetgrentX): Likewise.
15729         (addinnetgrX): Likewise.
15730         * nscd/pwdcache.c (cache_addpw): Likewise.
15731         * nscd/servicescache.c (cache_addserv): Likewise.
15733 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15734             Atsushi Onoe  <atsushi@onoe.org>
15736         [BZ #14308]
15737         [BZ #12994]
15738         [BZ #13651]
15739         * resolv/res_query.c (__libc_res_nsearch): Return if at least
15740         one response is valid.
15741         * resolv/res_send.c (send_dg): Check for validity of other
15742         response if the current response is a referral.
15744 2014-04-29  Steve Ellcey  <sellcey@mips.com>
15746         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15748 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
15750         [BZ #16823]
15751         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15752         Always divide by positive zero when computing -Inf result.
15753         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15754         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15756 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15758         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15759         FPSCR if value do not change.
15760         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15761         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15762         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15763         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15764         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15765         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15766         function.
15768 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
15770         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15771         * sysdeps/unix/sysv/linux/hppa: Move directory from
15772         ports/systeps/unix/sysv/linux/hppa.
15773         * README: Update listing for hppa-*-linux-gnu.
15775 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
15777         [BZ #16754]
15778         * manual/stdio.texi (Hook functions): Fix types of stream hook
15779         functions.
15780         [BZ #16854]
15781         * socket/sys/socket.h: Fix typo in comment.
15783 2014-04-28  Wilco  <wdijkstr@arm.com>
15785         * sysdeps/arm/fenv_private.h: New file.
15786         * sysdeps/arm/math_private.h: New file.
15787         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15789 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
15791         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15792         with __int128_t.
15793         (La_x86_64_retval): Likewise.
15795 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
15797         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15798         fpsr if value didn't change.
15799         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15800         to fpcr if value didn't change.
15801         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15802         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15803         fpsr or fpcr if value didn't change.
15804         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15805         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15806         fpcr if value didn't change.
15807         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15808         to fpsr if value didn't change.
15810 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15812         * nptl/tst-sem3.c: Use test-skeleton.c
15813         (main): Rename to do_test.  Use return instead of
15814         exit.
15815         * nptl/tst-sem4.c: Use test-skeleton.c
15816         (main): Rename to do_test.
15818 2014-04-22  David S. Miller  <davem@davemloft.net>
15820         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15821         (struct sigaction): New struct member __glibc_reserved0, change
15822         type of sa_flags to int.
15824 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
15826         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15827         (COUNT_LEADING_ZEROS_0): Define for AArch64.
15829 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15831         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15832         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15834 2014-04-22  Will Newton  <will.newton@linaro.org>
15835             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
15837         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15838         (__longjmp): Add longjmp and longjmp_target SystemTap
15839         probes.
15840         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15841         (__sigsetjmp): Add setjmp SystemTap probe.
15843 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
15845         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15846         match manual order.
15848 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15850         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15852         * sysdeps/powerpc/fpu/fenv_private.h
15853         (libc_feholdexcept_setroundl_ctx): Define to
15854         libc_feholdexcept_setround_ppc_ctx.
15855         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15856         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15857         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15858         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15860 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15862         * sysdeps/aarch64/math-tests.h: New file.
15864 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
15866         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15867         New.
15868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15869         Check and set bit_AVX2_Usable.
15870         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15871         macro.
15872         (bit_AVX2): Likewise.
15873         (index_AVX2_Usable): Likewise.
15874         (CPUID_AVX2): Likewise.
15875         (HAS_AVX2): Likewise.
15877 2014-04-17  Will Newton  <will.newton@linaro.org>
15879         * manual/setjmp.texi (System V contexts): Add note that
15880         calling setcontext on a context created by a call to a
15881         signal handler is undefined.  Update text to note that
15882         setcontext from a signal handler is possible but not
15883         recommended.
15885         [BZ #16629]
15886         * stdlib/tst-setcontext.c: Include signal.h.
15887         (main): Check that the signal stack before and
15888         after swapcontext is the same.
15890         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15891         Re-implement to restore registers in user code and avoid
15892         rt_sigreturn system call.
15894 2014-04-17  Wilco  <wdijkstr@arm.com>
15896         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15897         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15898         * math/test-fenv.c: Skip exception trap tests on targets which only
15899         support non-stop mode.
15901 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15902             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15904         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15905         (libc_feholdsetround_aarch64_ctx)
15906         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15907         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15908         (libc_feresetround_ctx, libc_feresetroundf_ctx)
15909         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15910         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15911         (libc_feresetround_noexl_ctx): Define.
15913 2014-04-16  Richard Henderson  <rth@redhat.com>
15915         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15917         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15918         unwind tables.
15920         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15921         const from the non-libc, non-ldso copy.
15923         * sysdeps/alpha/libm-test-ulps: Regenerate.
15925 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15926             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15928         * sysdeps/aarch64/fpu/math_private.h: New file.
15930 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15932         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15934 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15936         [BZ #16275]
15937         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15938         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15940         Intel MPX bound registers before _dl_profile_fixup.
15941         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15942         registers after _dl_profile_fixup.  Save and restore bound
15943         registers bnd0/bnd1 when calling _dl_call_pltexit.
15944         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15945         (LR_BND_OFFSET): Likewise.
15946         (LRV_BND0_OFFSET): Likewise.
15947         (LRV_BND1_OFFSET): Likewise.
15949 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15951         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15952         to...
15953         * sysdeps/mach/hurd/i386/tls.h: ... here.
15954         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15955         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15956         fields.
15958 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15960         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15962 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15964         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15966 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15968         [BZ #14770]
15969         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15970         * sysdeps/s390/configure: Regenerate.
15972         [BZ #16824]
15973         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15974         Set round-to-nearest internally to reduce error accumulation.
15976 2014-04-16  Alan Modra  <amodra@gmail.com>
15978         [BZ #16740]
15979         [BZ #16619]
15980         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15981         * math/libm-test.inc (frexp_test_data): Add tests.
15982         * NEWS: Update fixed bug list.
15984 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15986         * benchtests/Makefile: Depend on libraries in build directory.
15987         (bench-math): Separate out math tests.
15988         (bench-pthread): Separate out pthread tests.
15989         (bench): Include math and pthread tests.
15991 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15993         [BZ #16831]
15994         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15995         _dl_debug_initialize.
15997         * configure.ac: Remove SELinux header check.
15998         * configure: Regenerate.
15999         * nscd/selinux.c (perms): Array of const char* to permission names.
16000         (nscd_request_avc_has_perm): Call security_deny_unknown to find
16001         default policy. Call string_to_security_class and string_to_av_perm to
16002         translate strings. Enforce default policy and call avs_has_perm with
16003         results of translated strings.
16005 2014-04-13  David S. Miller  <davem@davemloft.net>
16007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16009 2014-04-12  Allan McRae  <allan@archlinux.org>
16011         [BZ #16838]
16012         * manual/string.texi (Collation Functions): Fix qsort argument
16013         order in example.
16014         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16016 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
16018         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16019         Make the test a no-op if there are no exceptions defined.
16021 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16023         * elf/Makefile (tests): make tst-dlopen-aout conditional on
16024         enable-hardcoded-path-in-tests
16026 2014-04-11  Will Newton  <will.newton@linaro.org>
16028         * benchtests/Makefile (extra-objs): Add json-lib.o.
16029         (bench-func): Tidy up JSON output.
16030         * benchtests/bench-skeleton.c: Include json-lib.h.
16031         (main): Use JSON library functions to do output of
16032         benchmark results.
16033         * benchtests/bench-timing-type.c (main): Output the
16034         timing type simply, leaving formatting to the user.
16035         * benchtests/json-lib.c: New file.
16036         * benchtests/json-lib.h: Likewise.
16038 2014-04-11  Torvald Riegel  <triegel@redhat.com>
16040         [BZ #15215]
16041         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16042         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
16043         memory barriers.  Add comments.
16044         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16045         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16046         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16047         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16048         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16049         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16051 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16053         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16054         * sysdeps/s390/s390-64/configure.ac: ... this ...
16055         * sysdeps/s390/configure.ac: ... to here.
16056         * sysdeps/s390/s390-32/configure: Delete file.
16057         * sysdeps/s390/s390-64/configure: Delete file.
16058         * sysdeps/s390/configure: Regenerate.
16060 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
16062         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16064 2014-04-11  Will Newton  <will.newton@linaro.org>
16066         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16067         to zero if it is not defined elsewhere.  (mtrim): Test
16068         the value of MALLOC_DEBUG with #if rather than #ifdef.
16070 2014-04-10 Torvald Riegel  <triegel@redhat.com>
16072         * benchtests/pthread_once-inputs: New file.
16073         * benchtests/pthread_once-source.c: New file.
16074         * benchtests/README: Update documentation.
16076 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16077             H.J. Lu  <hongjiu.lu@intel.com>
16079         [BZ #16275]
16080         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16081         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16082         * sysdeps/x86_64/configure: Regenerated.
16083         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16084         macro.
16085         (REGISTER_SAVE_RAX): Likewise.
16086         (REGISTER_SAVE_RCX): Likewise.
16087         (REGISTER_SAVE_RDX): Likewise.
16088         (REGISTER_SAVE_RSI): Likewise.
16089         (REGISTER_SAVE_RDI): Likewise.
16090         (REGISTER_SAVE_R8): Likewise.
16091         (REGISTER_SAVE_R9): Likewise.
16092         (REGISTER_SAVE_BND0): Likewise.
16093         (REGISTER_SAVE_BND1): Likewise.
16094         (REGISTER_SAVE_BND2): Likewise.
16095         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
16096         bound registers when calling _dl_fixup.
16098 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16100         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16101         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16102         of its definition.
16103         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16104         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16105         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16106         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16107         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16108         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16109         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16111 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
16113         [BZ #15514]
16114         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16115         pathconf(_PC_NAME_MAX).
16117 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16119         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16120         Remove macro usage.
16121         (__PTHREAD_SPINS): Move definition to ...
16122         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16123         (__PTHREAD_SPINS): ... here.
16124         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16125         (__PTHREAD_SPIN): Likewise.
16126         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16127         (__PTHREAD_SPIN): Likewise.
16128         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16129         (__PTHREAD_SPIN): Likewise.
16130         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16131         (__PTHREAD_SPIN): Likewise.
16132         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16133         (__PTHREAD_SPIN): Likewise.
16134         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16135         (__PTHREAD_SPIN): Likewise.
16136         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16137         (__PTHREAD_SPIN): Likewise.
16138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16139         (__PTHREAD_SPIN): Likewise.
16140         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16141         (__PTHREAD_SPIN): Likewise.
16142         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16143         (__PTHREAD_SPIN): Likewise.
16144         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16145         (__PTHREAD_SPIN): Likewise.
16146         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16147         (__PTHREAD_SPIN): Likewise.
16149         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16150         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16151         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16152         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16153         imply folder.
16154         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16155         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16156         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16157         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16158         correct imply path.
16159         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16160         strlen symbol for non multi-arch builds.
16161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16162         missing hidden_def and weak_alias.
16164 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
16166         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16168 2014-04-07  Will Newton  <will.newton@linaro.org>
16170         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16171         and contents.  [!_LIBC] Remove #ifndef and contents.
16172         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
16173         * string/memccpy.c (__memccpy): Use ANSI prototype.
16174         * string/memfrob.c (memfrob): Likewise.
16175         * string/strcoll.c (STRCOLL): Likewise.
16176         * string/strlen.c (strlen): Likewise.
16177         * string/strtok.c (STRTOK): Likewise.
16178         * string/strcat.c: Remove unused #include of memcopy.h.
16179         (strcat): Use ANSI prototype.
16180         * string/strchr.c: Remove unused #include of memcopy.h.
16181         (strchr): Use ANSI prototype.
16182         * string/strcmp.c: Remove unused #include of memcopy.h.
16183         (strcmp): Use ANSI prototype.
16184         * string/strcpy.c: Remove unused #include of memcopy.h.
16185         (strcpy): Use ANSI prototype.
16187 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16189         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16190         * config.make.in (config-extra-cppflags): Set it from
16191         libc_extra_cppflags.
16192         * configure.ac (libc_extra_cflags): Make it accumulate over
16193         configure fragments.
16194         (libc_extra_cppflags): New flag.
16195         * configure. Regenerate.
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16197         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16198         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16201         [BZ #16815]
16202         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16203         result for FE_DOWNWARD rounding mode.
16204         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16205         Likewise.
16206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16208 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
16210         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16211         in function argument name.
16213 2014-04-03  David Svoboda  <svoboda@cert.org>
16215         [BZ #5666]
16216         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16217         explicitly.
16219 2014-04-03  Roland McGrath  <roland@hack.frob.com>
16221         * elf/dl-unmap-segments.h: New file.
16222         * sysdeps/generic/ldsodefs.h
16223         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16224         * elf/dl-close.c: Include <dl-unmap-segments.h>.
16225         * elf/dl-fptr.c: Likewise.
16226         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16227         * sysdeps/aarch64/tlsdesc.c: Likewise.
16228         * sysdeps/arm/tlsdesc.c: Likewise.
16229         * sysdeps/i386/tlsdesc.c: Likewise.
16230         * sysdeps/tile/dl-runtime.c: Likewise.
16231         * sysdeps/x86_64/tlsdesc.c: Likewise.
16232         * elf/dl-load.h: New file.
16233         * elf/dl-load.c: Include it.
16234         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16235         Macros moved to dl-load.h.
16236         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16237         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16238         Use _dl_unmap_segments in place of __munmap.
16239         Break out segment-mapping loop into ...
16240         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16242 2014-04-03  Will Newton  <will.newton@linaro.org>
16244         * elf/dl-lookup.c (do_lookup_x): Remove comment
16245         referring to nested function and move variable
16246         declarations down to before first use.
16248 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
16250         [BZ #16799]
16251         [BZ #16800]
16252         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16253         with 0 numerator.
16254         * math/s_catanf.c (__catanf): Likewise.
16255         * math/s_catanh.c (__catanh): Likewise.
16256         * math/s_catanhf.c (__catanhf): Likewise.
16257         * math/s_catanhl.c (__catanhl): Likewise.
16258         * math/s_catanl.c (__catanl): Likewise.
16259         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16260         by positive zero when computing -Inf result.
16261         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16262         (catanh_test): Likewise.
16263         * sysdeps/i386/fpu/libm-test-ulps: Update.
16264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16266         [BZ #16789]
16267         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16268         instead of using underflowing value in computing result.
16269         * math/s_clog10.c (__clog10): Likewise.
16270         * math/s_clog10f.c (__clog10f): Likewise.
16271         * math/s_clog10l.c (__clog10l): Likewise.
16272         * math/s_clogf.c (__clogf): Likewise.
16273         * math/s_clogl.c (__clogl): Likewise.
16274         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16275         (clog10_test): Likewise.
16276         * sysdeps/i386/fpu/libm-test-ulps: Update.
16277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16279 2014-04-02  Alan Modra  <amodra@gmail.com>
16281         [BZ #16739]
16282         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16283         output when value is near a power of two.  Use int64_t for lx and
16284         remove casts.  Use decimal rather than hex exponent constants.
16285         Don't use long double multiplication when double will suffice.
16286         * math/libm-test.inc (nextafter_test_data): Add tests.
16287         * NEWS: Add 16739 and 16786 to bug list.
16289         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16291         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16293 2014-04-01  Will Newton  <will.newton@linaro.org>
16295         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16296         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16298 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16300         [BZ #13347]
16301         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16302         * nptl/tst-setuid2.c: New file.
16303         * nptl/Makefile (xtests): Add tst-setuid2.
16305 2014-04-01  Alan Modra  <amodra@gmail.com>
16307         [BZ #16786]
16308         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16310 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16312         [BZ #6803]
16313         [BZ #6804]
16314         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16315         set errno as appropriate.
16316         * math/w_scalbf.c (__scalbf): Likewise.
16317         * math/w_scalbl.c (__scalbl): Likewise.
16318         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16319         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16320         * math/libm-test.inc (scalb_test_data): Add errno expectations.
16321         Add more NaN tests.
16323         [BZ #16349]
16324         * math/w_atan2.c: Include <errno.h>.
16325         (__atan2): Set errno for result underflowing to zero.
16326         * math/w_atan2f.c: Include <errno.h>.
16327         (__atan2f): Set errno for result underflowing to zero.
16328         * math/w_atan2l.c: Include <errno.h>.
16329         (__atan2l): Set errno for result underflowing to zero.
16330         * math/auto-libm-test-in: Don't allow missing errno for some atan2
16331         tests.
16332         * math/auto-libm-test-out: Regenerated.
16334 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16336         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16337         Encode instruction correctly in little endian.
16338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16339         Likewise.
16340         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16341         Likewise.
16342         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16343         Likewise.
16344         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16345         Likewise.
16347 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16349         [BZ #9894]
16350         * sysdeps/unix/sysv/linux/kernel-features.h
16351         [__sparc__ && !__arch64__ && !__sparc_v9__]
16352         (__ASSUME_SET_ROBUST_LIST): Do not define.
16353         [__sparc__ && !__arch64__ && !__sparc_v9__]
16354         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16355         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16356         Likewise.
16357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16358         (__ASSUME_FUTEX_LOCK_PI): Undefine.
16359         (__ASSUME_REQUEUE_PI): Likewise.
16360         (__ASSUME_SET_ROBUST_LIST): Likewise.
16361         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16362         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16363         Undefine.
16364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16365         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16366         Likewise.
16367         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16368         Likewise.
16369         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16372         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16373         Undefine.
16374         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16375         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16376         Likewise.
16378         [BZ #16648]
16379         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16380         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16381         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16383 2014-03-31  Will Newton  <will.newton@linaro.org>
16385         * benchtests/Makefile (bench): Add ffs and ffsll to list
16386         of tests.
16387         * benchtests/ffs-inputs: New file.
16388         * benchtests/ffsll-inputs: Likewise.
16390 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
16392         [BZ #16770]
16393         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16394         too large before casting to int.
16395         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16396         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16397         * math/libm-test.inc (scalb_test_data): Add more tests.
16399 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16401         * benchtests/Makefile (DETAILED_OPT): New make option.
16402         (bench-func): Run benchmark program with -d if DETAILED_OPT is
16403         set.
16404         * benchtests/bench-skeleton.c: Include stdbool.h.
16405         (main): Store and print timings per input.
16406         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16407         member to each argument value.
16408         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16409         (_print_arg_data): Initialize per-input timing to 0.
16411         * benchtests/Makefile (timing-type): New binary.
16412         (bench-clean): Also remove bench-timing-type.
16413         (bench): New target for timing-type.
16414         (bench-func): Print output in JSON format.
16415         * benchtests/bench-skeleton.c (main): Print output in JSON
16416         format.
16417         * benchtests/bench-timing-type.c: New file.
16418         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16419         (TIMING_PRINT_STATS): Remove.
16420         * benchtests/scripts/bench.py (_print_arg_data): Store variant
16421         name separately.
16423         * benchtests/bench-modf.c: Remove.
16424         * benchtests/modf-inputs: New inputs file.
16426 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #16362]
16429         * math/s_clog10.c (M_PI_LOG10E): New macro.
16430         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16431         imaginary parts are 0.
16432         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16433         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16434         imaginary parts are 0.
16435         * math/s_clog10l.c (M_PI_LOG10El): New macro.
16436         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16437         imaginary parts are 0.
16438         * math/libm-test.inc (clog10_test_data): Update expected results
16439         for when real and imaginary parts are 0.
16441 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
16443         * elf/dl-load.c: Finish conversion of __builtin_expect into
16444         __glibc_{un}likely.
16446 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
16448         [BZ #16348]
16449         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16450         1+x for argument with exponent below -67.
16451         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16452         Likewise.
16453         * math/auto-libm-test-in: Add more tests of exp.
16454         * math/auto-libm-test-out: Regenerated.
16456 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16458         [BZ #16759]
16459         * inet/getnetgrent_r.c (get_nonempty_val): New function.
16460         (nscd_getnetgrent): Use it.
16462         [BZ #16760]
16463         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16464         of stpcpy.
16466 2014-03-27  Andi Kleen  <ak@linux.intel.com>
16468         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16469         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16470         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16471         (lll_robust_unlock): Remove out of line section. Use cfi
16472         intrinsics.
16473         (LLL_STUB_UNWIND_INFO*): Remove.
16474         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16475         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16476         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16477         (lll_robust_unlock): Remove out of line section. Use cfi
16478         intrinsics.
16479         (LLL_STUB_UNWIND_INFO*): Remove.
16481 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16483         [BZ #16758]
16484         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16485         blank values.
16487 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16489         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16491 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
16493         [BZ #16198]
16494         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16495         fnstenv.
16496         * math/test-fenv-preserve.c: New file.
16497         * math/Makefile (tests): Add test-fenv-preserve.
16499 2014-03-26  Will Newton <will.newton@linaro.org>
16501         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16503 2014-03-25  Roland McGrath  <roland@hack.frob.com>
16505         * scripts/versionlist.awk: Partition the version sets and emit all
16506         GLIBC_* (sorted) before all others (sorted).
16508 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16510         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16511         GLIBC_2.2.5 version.
16513 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16515         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16516         calls.
16518         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16519         previous change.
16521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16523 2014-03-25  Andreas Schwab  <schwab@suse.de>
16525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16526         label to be used after in6ailist is initialized.
16528 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16530         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16531         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16533 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16535         [BZ #16357]
16536         [BZ #16599]
16537         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16538         min_plus_half.
16539         (fp_formats): Update initializers.
16540         (init_fp_formats): Initialize new field.
16541         (output_for_one_input_case): Allow underflow for results up to
16542         min_plus_half.
16543         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16544         * math/auto-libm-test-in: Don't mark some underflows from asin and
16545         atanh as spurious.
16546         * math/auto-libm-test-out: Regenerated.
16547         * sysdeps/i386/fpu/libm-test-ulps: Update.
16548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16550 2014-03-25  Andreas Schwab  <schwab@suse.de>
16552         * libio/Makefile (tst-ftell-partial-wide-ENV)
16553         (tst-ftell-active-handler-ENV): Define.
16555 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
16557         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16559 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16561         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16563 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16565         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16566         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16567         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16569 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16571         [BZ #16634]
16572         * elf/dl-load.c (open_verify): Add mode parameter.
16573         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16574         (open_path): Change from boolean 'secure' to complete flag 'mode'
16575         (_dl_map_object): Adjust.
16576         * elf/Makefile (tests): Add tst-dlopen-aout.
16577         * elf/tst-dlopen-aout.c: New test.
16579 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
16581         [BZ #16714]
16582         * sysdeps/unix/sysv/linux/s390/bits/stat.h
16583         (struct stat): Rename member pad0 to __glibc_reserved0.
16585         [BZ #16712]
16586         * sysdeps/s390/s390-32/bits/wordsize.h
16587         (__WORDSIZE32_SIZE_ULONG): New define.
16588         * sysdeps/s390/s390-64/bits/wordsize.h
16589         (__WORDSIZE32_SIZE_ULONG): Likewise.
16590         * sysdeps/generic/stdint.h (SIZE_MAX):
16591         Define as UL if __WORDSIZE32_SIZE_ULONG.
16593         [BZ #16713]
16594         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16595         (__glibc_reserved0): New variable.
16596         (sa_flags): Change type to int.
16598         * posix/Makefile (before-compile): Use += before-compile instead
16599         of a :=.
16601         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16602         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16604 2014-03-20  Andreas Schwab  <schwab@suse.de>
16606         [BZ #16743]
16607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16608         non-matching result from nscd.
16610 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16612         * scripts/bench.py: Moved to ...
16613         * benchtests/scripts/bench.py: ... here.
16614         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16616 2014-03-24  Andreas Schwab  <schwab@suse.de>
16618         [BZ #16002]
16619         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16620         alloca_account and account alloca use for struct in6ailist.
16622 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16624         [BZ #16284]
16625         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16626         rounding mode to recompute results that overflow to infinity or
16627         underflow to zero.
16628         * math/auto-libm-test-in: Don't mark tests as expected to fail for
16629         bug 16284.
16630         * math/auto-libm-test-out: Regenerated.
16631         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16632         (ccosh_test): Likewise.
16633         (csin_test_data): Use plus_oflow.
16634         (csin_test): Use ALL_RM_TEST.
16635         (csinh_test_data): Use plus_oflow.
16636         (csinh_test): Use ALL_RM_TEST.
16637         * sysdeps/i386/fpu/libm-test-ulps: Update.
16638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16640 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
16642         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16643         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16644         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16646         [BZ #16731]
16647         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16648         when x - 1 is zero.
16649         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16650         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16651         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16652         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16653         argument is 1.
16654         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16655         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16656         zero.
16657         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16658         * sysdeps/i386/fpu/libm-test-ulps: Update.
16659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16661 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16663         * scripts/bench.pl: Remove file.
16664         * scripts/bench.py: New benchmark script.
16665         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16666         * benchtests/README: Mention python dependency.
16667         * scripts/pylintrc: New file.
16668         * scripts/pylint: New file.
16670         * bits/mathdef.h: Use #ifdef instead of #if.
16671         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16672         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16673         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16674         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16675         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16676         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16678 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16679             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16681         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16683         and strpbrk-ppc64 objects.
16684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16685         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16686         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16687         multiarch strpbrk for POWER7.
16688         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16689         multiarch strpbrk for PPC64.
16690         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16691         ifunc selector.
16692         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16693         strpbrk for POWER7.
16695 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16697         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16698         (atan_test): Likewise.
16699         (atanh_test_data): Use NO_TEST_INLINE for two tests.
16700         (atanh_test): Use ALL_RM_TEST.
16701         (atan2_test_data): Likewise.
16702         (cabs_test): Likewise.
16703         (cacosh_test): Likewise.
16704         (carg_test): Likewise.
16705         (casin_test): Likewise.
16706         (casinh_test): Likewise.
16707         (cbrt_test): Likewise.
16708         (csqrt_test): Likewise.
16709         (erf_test): Likewise.
16710         (erfc_test): Likewise.
16711         (pow10_test): Likewise.
16712         (exp2_test): Likewise.
16713         (hypot_test): Likewise.
16714         (j0_test): Likewise.
16715         (j1_test): Likewise.
16716         (lgamma_test): Likewise.
16717         (gamma_test): Likewise.
16718         (sincos_test): Likewise.
16719         (tanh_test): Likewise.
16720         (y0_test): Likewise.
16721         (y1_test): Likewise.
16722         * sysdeps/i386/fpu/libm-test-ulps: Update.
16723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16725 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16727         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16729         and strcspn-ppc64 objects.
16730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16731         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16732         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16733         multiarch strcspn for POWER7.
16734         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16735         multiarch strcspn for PPC64.
16736         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16737         ifunc selector.
16738         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16739         strcspn for POWER7.
16741 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16743         * math/gen-libm-test.pl (generate_testfile): Expect only function
16744         name as argument to AUTO_TESTS_* and pass results for all rounding
16745         modes to parse_args.
16746         (parse_auto_input): Separate inputs of automatic tests from
16747         outputs before storing in %auto_tests.
16748         * math/libm-test.inc (acos_test_data): Update call to
16749         AUTO_TESTS_f_f.
16750         (acos_test): Use ALL_RM_TEST.
16751         (acos_tonearest_test_data): Remove.
16752         (acos_test_tonearest): Likewise.
16753         (acos_towardzero_test_data): Likewise.
16754         (acos_test_towardzero): Likewise.
16755         (acos_downward_test_data): Likewise.
16756         (acos_test_downward): Likewise.
16757         (acos_upward_test_data): Likewise.
16758         (acos_test_upward): Likewise.
16759         (acosh_test_data): Update call to AUTO_TESTS_f_f.
16760         (asin_test_data): Likewise.
16761         (asin_test): Use ALL_RM_TEST.
16762         (asin_tonearest_test_data): Remove.
16763         (asin_test_tonearest): Likewise.
16764         (asin_towardzero_test_data): Likewise.
16765         (asin_test_towardzero): Likewise.
16766         (asin_downward_test_data): Likewise.
16767         (asin_test_downward): Likewise.
16768         (asin_upward_test_data): Likewise.
16769         (asin_test_upward): Likewise.
16770         (asinh_test_data): Update call to AUTO_TESTS_f_f.
16771         (atan_test_data): Likewise.
16772         (atanh_test_data): Likewise.
16773         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16774         (cabs_test_data): Update call to AUTO_TESTS_c_f.
16775         (carg_test_data): Likewise.
16776         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16777         (ccos_test_data): Update call to AUTO_TESTS_c_c.
16778         (ccosh_test_data): Likewise.
16779         (cexp_test_data): Likewise.
16780         (clog_test_data): Likewise.
16781         (clog10_test_data): Likewise.
16782         (cos_test_data): Update call to AUTO_TESTS_f_f.
16783         (cos_test): Use ALL_RM_TEST.
16784         (cos_tonearest_test_data): Remove.
16785         (cos_test_tonearest): Likewise.
16786         (cos_towardzero_test_data): Likewise.
16787         (cos_test_towardzero): Likewise.
16788         (cos_downward_test_data): Likewise.
16789         (cos_test_downward): Likewise.
16790         (cos_upward_test_data): Likewise.
16791         (cos_test_upward): Likewise.
16792         (cosh_test_data): Update call to AUTO_TESTS_f_f.
16793         (cosh_test): Use ALL_RM_TEST.
16794         (cosh_tonearest_test_data): Remove.
16795         (cosh_test_tonearest): Likewise.
16796         (cosh_towardzero_test_data): Likewise.
16797         (cosh_test_towardzero): Likewise.
16798         (cosh_downward_test_data): Likewise.
16799         (cosh_test_downward): Likewise.
16800         (cosh_upward_test_data): Likewise.
16801         (cosh_test_upward): Likewise.
16802         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16803         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16804         (ctan_test_data): Likewise.
16805         (ctan_test): Use ALL_RM_TEST.
16806         (ctan_tonearest_test_data): Remove.
16807         (ctan_test_tonearest): Likewise.
16808         (ctan_towardzero_test_data): Likewise.
16809         (ctan_test_towardzero): Likewise.
16810         (ctan_downward_test_data): Likewise.
16811         (ctan_test_downward): Likewise.
16812         (ctan_upward_test_data): Likewise.
16813         (ctan_test_upward): Likewise.
16814         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16815         (ctanh_test): Use ALL_RM_TEST.
16816         (ctanh_tonearest_test_data): Remove.
16817         (ctanh_test_tonearest): Likewise.
16818         (ctanh_towardzero_test_data): Likewise.
16819         (ctanh_test_towardzero): Likewise.
16820         (ctanh_downward_test_data): Likewise.
16821         (ctanh_test_downward): Likewise.
16822         (ctanh_upward_test_data): Likewise.
16823         (ctanh_test_upward): Likewise.
16824         (erf_test_data): Update call to AUTO_TESTS_f_f.
16825         (erfc_test_data): Likewise.
16826         (exp_test_data): Likewise.
16827         (exp_test): Use ALL_RM_TEST.
16828         (exp_tonearest_test_data): Remove.
16829         (exp_test_tonearest): Likewise.
16830         (exp_towardzero_test_data): Likewise.
16831         (exp_test_towardzero): Likewise.
16832         (exp_downward_test_data): Likewise.
16833         (exp_test_downward): Likewise.
16834         (exp_upward_test_data): Likewise.
16835         (exp_test_upward): Likewise.
16836         (exp10_test_data): Update call to AUTO_TESTS_f_f.
16837         (exp10_test): Use ALL_RM_TEST.
16838         (exp10_tonearest_test_data): Remove.
16839         (exp10_test_tonearest): Likewise.
16840         (exp10_towardzero_test_data): Likewise.
16841         (exp10_test_towardzero): Likewise.
16842         (exp10_downward_test_data): Likewise.
16843         (exp10_test_downward): Likewise.
16844         (exp10_upward_test_data): Likewise.
16845         (exp10_test_upward): Likewise.
16846         (exp2_test_data): Update call to AUTO_TESTS_f_f.
16847         (expm1_test_data): Likewise.
16848         (expm1_test): Use ALL_RM_TEST.
16849         (expm1_tonearest_test_data): Remove.
16850         (expm1_test_tonearest): Likewise.
16851         (expm1_towardzero_test_data): Likewise.
16852         (expm1_test_towardzero): Likewise.
16853         (expm1_downward_test_data): Likewise.
16854         (expm1_test_downward): Likewise.
16855         (expm1_upward_test_data): Likewise.
16856         (expm1_test_upward): Likewise.
16857         (fma_test_data): Update call to AUTO_TESTS_fff_f.
16858         (fma_test): Use ALL_RM_TEST.
16859         (fma_towardzero_test_data): Remove.
16860         (fma_test_towardzero): Likewise.
16861         (fma_downward_test_data): Likewise.
16862         (fma_test_downward): Likewise.
16863         (fma_upward_test_data): Likewise.
16864         (fma_test_upward): Likewise.
16865         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16866         (j0_test_data): Update call to AUTO_TESTS_f_f.
16867         (j1_test_data): Likewise.
16868         (jn_test_data): Update call to AUTO_TESTS_if_f.
16869         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16870         (log_test_data): Update call to AUTO_TESTS_f_f.
16871         (log10_test_data): Likewise.
16872         (log1p_test_data): Likewise.
16873         (log2_test_data): Likewise.
16874         (pow_test_data): Update call to AUTO_TESTS_ff_f.
16875         (pow_tonearest_test_data): Likewise.
16876         (sin_test_data): Update call to AUTO_TESTS_f_f.
16877         (sin_test): Use ALL_RM_TEST.
16878         (sin_tonearest_test_data): Remove.
16879         (sin_test_tonearest): Likewise.
16880         (sin_towardzero_test_data): Likewise.
16881         (sin_test_towardzero): Likewise.
16882         (sin_downward_test_data): Likewise.
16883         (sin_test_downward): Likewise.
16884         (sin_upward_test_data): Likewise.
16885         (sin_test_upward): Likewise.
16886         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16887         (sinh_test_data): Update call to AUTO_TESTS_f_f.
16888         (sinh_test): Use ALL_RM_TEST.
16889         (sinh_tonearest_test_data): Remove.
16890         (sinh_test_tonearest): Likewise.
16891         (sinh_towardzero_test_data): Likewise.
16892         (sinh_test_towardzero): Likewise.
16893         (sinh_downward_test_data): Likewise.
16894         (sinh_test_downward): Likewise.
16895         (sinh_upward_test_data): Likewise.
16896         (sinh_test_upward): Likewise.
16897         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16898         (sqrt_test): Use ALL_RM_TEST.
16899         (sqrt_tonearest_test_data): Remove.
16900         (sqrt_test_tonearest): Likewise.
16901         (sqrt_towardzero_test_data): Likewise.
16902         (sqrt_test_towardzero): Likewise.
16903         (sqrt_downward_test_data): Likewise.
16904         (sqrt_test_downward): Likewise.
16905         (sqrt_upward_test_data): Likewise.
16906         (sqrt_test_upward): Likewise.
16907         (tan_test_data): Update call to AUTO_TESTS_f_f.
16908         (tan_test): Use ALL_RM_TEST.
16909         (tan_tonearest_test_data): Remove.
16910         (tan_test_tonearest): Likewise.
16911         (tan_towardzero_test_data): Likewise.
16912         (tan_test_towardzero): Likewise.
16913         (tan_downward_test_data): Likewise.
16914         (tan_test_downward): Likewise.
16915         (tan_upward_test_data): Likewise.
16916         (tan_test_upward): Likewise.
16917         (tanh_test_data): Update call to AUTO_TESTS_f_f.
16918         (tgamma_test_data): Likewise.
16919         (y0_test_data): Likewise.
16920         (y1_test_data): Likewise.
16921         (yn_test_data): Update call to AUTO_TESTS_if_f.
16922         (main): Do not call removed functions.
16924 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16926         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16927         (ldexp_test_data): Remove.
16928         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16929         scalbn_test_data.
16930         (scalb_test): Use ALL_RM_TEST.
16932 2014-03-19  Andreas Schwab  <schwab@suse.de>
16934         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16936 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16938         [BZ #16649]
16939         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16940         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16942         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16943         (__ASSUME_PREADV): Undefine.
16944         (__ASSUME_PWRITEV): Likewise.
16946 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16948         * bits/mman-linux.h: Add comment about non-Linux use.
16949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16950         bits/mman-linux.h resting place.
16952         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16953         * bits/mman-linux.h: ... here.
16955 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16957         * conform/conformtest.pl: Add standard definition when calling C
16958         preprocessor on data files.
16959         (checknamespace): Remove unused variable.
16961 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16963         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16964         minus_oflow, plus_uflow and minus_uflow in expected results.
16965         * math/libm-test.inc (scalbn_test_data): Add more tests of
16966         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16967         minus_uflow.
16968         (scalbn_test): Use ALL_RM_TEST.
16969         (scalbln_test_data): Add more tests of negative arguments.  Use
16970         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16971         (scalbln_test): Use ALL_RM_TEST.
16973 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16975         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16977 2014-03-18  Will Newton  <will.newton@linaro.org>
16979         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16980         inaccurate comment.
16982 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16984         * Makerules [!subdir] (check-abi): Exit with error status if a
16985         test failed.
16987 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16989         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16990         for rint.  Include results for all rounding modes.
16991         (nearbyint_test): Use ALL_RM_TEST.
16992         (rint_test_data): Include all tests used for nearbyint.
16994 2014-03-17  Will Newton  <will.newton@linaro.org>
16996         * nptl/sysdeps/pthread/pthread.h: Revert previous
16997         change.
16999         * sysdeps/generic/ldsodefs.h: Revert previous
17000         change.
17002         * libio/genops.c: Revert previous change.
17003         * libio/libioP.h: Likewise.
17004         * stdio-common/vfprintf.c: Likewise.
17006         * sysdeps/generic/math_private.h: Revert previous
17007         change.
17009         * sysdeps/generic/math_private.h: Check whether
17010         HAVE_RM_CTX is defined with #ifdef rather
17011         than #if.
17013         * argp/argp-fmtstream.h: Check whether
17014         __STRICT_ANSI__ is defined with #ifdef rather
17015         than #if.
17016         * argp/argp.h: Likewise.
17018         * libio/genops.c: Check whether
17019         _IO_JUMPS_OFFSET is defined with #ifdef rather
17020         than #if.
17021         * libio/libioP.h: Likewise.
17022         * stdio-common/vfprintf.c: Likewise.
17024         * sysdeps/generic/ldsodefs.h: Check whether
17025         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17026         than #if.
17028         * nptl/sysdeps/pthread/pthread.h: Check
17029         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17030         its value.
17032 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17034         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17035         setting O_APPEND.
17036         * libio/tst-ftell-active-handler.c (do_append_test): Add a
17037         test case.
17039         [BZ #16680]
17040         * libio/fileops.c (_IO_file_open): Seek to end of file but
17041         don't cache the offset.
17042         (get_file_offset): Remove function.
17043         (do_ftell): Use cached offset when available.
17044         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17045         don't cache the offset.
17046         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17047         case.
17048         (do_one_test): Call it.
17049         (do_ftell_test): Fix up expected old offset for a+ mode.
17050         * libio/wfileops.c (do_ftell_wide): Used cached offset when
17051         available.
17053         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17054         up test status with function return status.
17055         (do_write_test): Likewise.
17056         (do_append_test): Likewise.
17058         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17059         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17060         Remove.
17062 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17064         * math/gen-libm-test.pl (parse_args): Handle results specified for
17065         each rounding mode separately.
17066         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17067         tests and results from lrint_tonearest_test_data,
17068         lrint_towardzero_test_data, lrint_downward_test_data and
17069         lrint_upward_test_data.
17070         (lrint_test): Use ALL_RM_TEST.
17071         (lrint_tonearest_test_data): Remove.
17072         (lrint_test_tonearest): Likewise.
17073         (lrint_towardzero_test_data): Likewise.
17074         (lrint_test_towardzero): Likewise.
17075         (lrint_downward_test_data): Likewise.
17076         (lrint_test_downward): Likewise.
17077         (lrint_upward_test_data): Likewise.
17078         (lrint_test_upward): Likewise.
17079         (llrint_test_data): Merge in per-rounding-mode tests and results
17080         from llrint_tonearest_test_data, llrint_towardzero_test_data,
17081         llrint_downward_test_data and llrint_upward_test_data.
17082         (llrint_test): Use ALL_RM_TEST.
17083         (llrint_tonearest_test_data): Remove.
17084         (llrint_test_tonearest): Likewise.
17085         (llrint_towardzero_test_data): Likewise.
17086         (llrint_test_towardzero): Likewise.
17087         (llrint_downward_test_data): Likewise.
17088         (llrint_test_downward): Likewise.
17089         (llrint_upward_test_data): Likewise.
17090         (llrint_test_upward): Likewise.
17091         (rint_test_data): Merge in per-rounding-mode tests and results
17092         from rint_tonearest_test_data, rint_towardzero_test_data,
17093         rint_downward_test_data and rint_upward_test_data.  Add
17094         per-rounding-mode results for tests not in those arrays.
17095         (rint_test): Use ALL_RM_TEST.
17096         (rint_tonearest_test_data): Remove.
17097         (rint_test_tonearest): Likewise.
17098         (rint_towardzero_test_data): Likewise.
17099         (rint_test_towardzero): Likewise.
17100         (rint_downward_test_data): Likewise.
17101         (rint_test_downward): Likewise.
17102         (rint_upward_test_data): Likewise.
17103         (rint_test_upward): Likewise.
17104         (main): Don't call removed functions.
17106 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17108         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17109         "Compiled on ..." crapola.  It is anti-useful.
17111 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
17113         * scripts/evaluate-test.sh: Handle fourth argument to determine
17114         whether test run should stop on failure.
17115         * Makeconfig (stop-on-test-failure): New variable.
17116         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17117         $(stop-on-test-failure).
17118         * Makefile (tests): Give a summary of results from testing and
17119         exit with failure status if they include an ERROR or FAIL.
17120         (xtests): Likewise.
17121         * manual/install.texi (Configuring and compiling): Mention
17122         stop-on-test-failure=y.
17123         * INSTALL: Regenerated.
17125 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17127         * scripts/versionlist.awk: New file.
17128         * Makerules [$(build-shared) = yes]
17129         (postclean-generated): Add Versions.def, not Versions.def.v and
17130         Versions.def.v.i.
17131         ($(common-objpfx)Versions.def.v.i): Target removed.
17132         ($(common-objpfx)Versions.def): New target.
17133         ($(common-objpfx)Versions.all): Depend on that rather that
17134         $(common-objpfx)Versions.def.v.
17135         * Versions.def: File removed.
17137         * Makeconfig (+gccwarn): Add -Wundef.
17138         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17139         a dl-sysdep.h breaking its contract.
17140         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17141         * include/stackinfo.h: New file.
17142         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17143         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17144         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17145         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17146         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17147         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17148         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17149         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17150         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17151         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17152         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17153         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17154         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17155         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17156         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17158 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17160         [BZ #16707]
17161         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17162         implementation.
17163         * math/libm-test.inc (round_test_data): Add more tests.
17165         [BZ #16706]
17166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17167         implementation.
17168         * math/libm-test.inc (nearbyint_test_data): Add more tests.
17170         [BZ #16701]
17171         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17172         implementation.
17173         * math/libm-test.inc (ceil_test_data): Add more tests.
17175         * math/libm-test.inc (trunc_test_data): Add more tests related to
17176         BZ#16414.
17178 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17180         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17181         with #if rather than #ifdef.
17182         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17184 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
17186         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17187         first.  Disable AVX-512 GCC support if assembler doesn't support
17188         it.
17189         * sysdeps/x86_64/configure: Regenerated.
17191 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
17193         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17194         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17195         (__old_pthread_attr_setstack): Likewise.
17196         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17197         [!_STACK_GROWS_DOWN]: Likewise.
17199 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
17201         * config.make.in (have-bash2): Delete.
17202         * configure.ac (libc_cv_have_bash2): Delete.
17203         * configure: Regenerate.
17204         * elf/Makefile (common-ldd-rewrite): Rename to ...
17205         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
17206         (sh-ldd-rewrite): Delete.
17207         (bash-ldd-rewrite): Delete.
17208         (have-bash2): Delete checks.
17209         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17210         ldd-rewrite.
17212         * config.make.in (have-ksh): Delete.
17213         (KSH): Delete.
17214         * configure.ac (libc_cv_have_ksh): Delete.
17215         * configure: Regenerate.
17217         * elf/Makefile: Delete $(have-ksh) check.
17218         ($(objpfx)sotruss): Change KSH to BASH.
17219         * elf/sotruss.ksh: Rename to ...
17220         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
17221         function style to match POSIX.  Drop ksh vim mode setting.
17223         * manual/time.texi (Specifying the Time Zone with TZ): Change
17224         Tuesday to Thursday.
17226         * debug/tst-longjmp_chk2.c: Update header comment.
17227         (stackoverflow_handler): Add comment.  Call assert on pass value.
17229 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
17231         [BZ #16194]
17232         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17233         (HAVE_AVX512_ASM_SUPPORT): Likewise.
17234         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17235         (La_x86_64_vector): Add zmm.
17236         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17237         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17238         ($(objpfx)tst-audit10): New target.
17239         ($(objpfx)tst-audit10.out): Likewise.
17240         (tst-audit10-ENV): New.
17241         (AVX512-CFLAGS): Likewise.
17242         (CFLAGS-tst-audit10.c): Likewise.
17243         (CFLAGS-tst-auditmod10a.c): Likewise.
17244         (CFLAGS-tst-auditmod10b.c): Likewise.
17245         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17246         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17247         * sysdeps/x86_64/configure: Regenerated.
17248         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17249         AVX-512 zmm register support.
17250         (_dl_x86_64_save_sse): Likewise.
17251         (_dl_x86_64_restore_sse): Likewise.
17252         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17253         size vector registers.
17254         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17255         (ZMM_SIZE): Likewise.
17256         * sysdeps/x86_64/tst-audit10.c: New file.
17257         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17258         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17260 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17262         * configure.ac (HAVE_EHDR_START): New check.
17263         * configure: Regenerated.
17264         * config.h.in (HAVE_EHDR_START): New #undef.
17265         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17266         assuming the lowest-addressed segment maps the start of the file.
17268 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17270         * INSTALL: Regenerated.
17272 2014-03-13  Will Newton  <will.newton@linaro.org>
17274         * manual/setjmp.texi (System V contexts): Improve
17275         clarity and grammar of documentation.
17277 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17279         [BZ #16381]
17280         * elf/Makefile (tests): Add tst-pie2.
17281         (tests-pie): Add tst-pie2.
17282         * elf/tst-pie2.c: New file.
17283         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17284         for ET_EXEC.
17285         * elf/rtld.c (map_doit): Load executable as lt_executable.
17286         (dl_main): Likewise.
17288 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17290         [BZ #16642]
17291         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17292         (__ASSUME_PSELECT): Undefine.
17294 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17296         [BZ #16689]
17297         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17298         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17299         static build.
17300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17301         selector for static builds.
17303 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17305         [BZ #16695]
17306         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17307         key in the buffer.
17309 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17311         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17312         IFUNC selector for static builds.
17314 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
17316         * sysdeps/mips/math_private.h [__mips_hard_float]
17317         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17318         libc_feresetround_mips_ctx.
17319         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17320         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17321         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17323         [BZ #16677]
17324         * math/s_nextafter.c (__nextafter): Do not return value from
17325         overflowing computation.
17326         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17327         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17328         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17329         Likewise.
17330         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17331         Likewise.
17332         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17333         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17335 2014-03-11  Roland McGrath  <roland@hack.frob.com>
17337         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17338         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17339         Move sfi_sp use from the load-multiple (that no longer sets sp) to
17340         the new mov targetting sp.
17342 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17344         [BZ #16683]
17345         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17346         Define it for static builds as well.
17347         (NO_BZERO_IMPL): Likewise.
17349 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17351         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17352         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17353         multiarch strspn for PPC64.
17354         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17355         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17357         (__libc_ifunc_impl_list): Likewise.
17358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17359         multiarch optimizations
17360         * string/strspn.c (strspn): Using macro to redefine symbol name.
17362 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17363             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17365         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17366         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17367         multiarch strncat for PPC64.
17368         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17369         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17371         (__libc_ifunc_impl_list): Likewise.
17372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17373         multiarch optimizations
17375 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17377         [BZ #16639]
17378         * nscd/nscd.service: Make service type forking.
17380 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17382         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17383         sign in non default rounding modes.
17384         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17386 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
17388         * math/libm-test.inc (ALL_RM_TEST): New macro.
17389         (ceil_test): Use ALL_RM_TEST.
17390         (cimag_test): Likewise.
17391         (conj_test): Likewise.
17392         (copysign_test): Likewise.
17393         (cproj_test): Likewise.
17394         (creal_test): Likewise.
17395         (fabs_test): Likewise.
17396         (floor_test): Likewise.
17397         (fmax_test): Likewise.
17398         (fmin_test): Likewise.
17399         (fmod_test): Likewise.
17400         (fpclassify_test): Likewise.
17401         (frexp_test): Likewise.
17402         (ilogb_test): Likewise.
17403         (isfinite_test): Likewise.
17404         (finite_test): Likewise.
17405         (isgreater_test): Likewise.
17406         (isgreaterequal_test): Likewise.
17407         (isinf_test): Likewise.
17408         (isless_test): Likewise.
17409         (islessequal_test): Likewise.
17410         (islessgreater_test): Likewise.
17411         (isnan_test): Likewise.
17412         (isnormal_test): Likewise.
17413         (issignaling_test): Likewise.
17414         (isunordered_test): Likewise.
17415         (logb_test): Likewise.
17416         (logb_downward_test_data): Remove.
17417         (logb_test_downward): Likewise.
17418         (lround_test): Use ALL_RM_TEST.
17419         (llround_test): Likewise.
17420         (modf_test): Likewise.
17421         (nexttoward_test): Likewise.
17422         (remainder_test): Likewise.
17423         (drem_test): Likewise.
17424         (remainder_tonearest_test_data): Likewise.
17425         (remainder_test_tonearest): Likewise.
17426         (drem_test_tonearest): Likewise.
17427         (remainder_towardzero_test_data): Likewise.
17428         (remainder_test_towardzero): Likewise.
17429         (drem_test_towardzero): Likewise.
17430         (remainder_downward_test_data): Likewise.
17431         (remainder_test_downward): Likewise.
17432         (drem_test_downward): Likewise.
17433         (remainder_upward_test_data): Likewise.
17434         (remainder_test_upward): Likewise.
17435         (drem_test_upward): Likewise.
17436         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
17437         (round_test): Use ALL_RM_TEST.
17438         (signbit_test): Likewise.
17439         (trunc_test): Likewise.
17440         (significand_test): Likewise.
17441         (main): Don't call removed functions.
17443 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17445         [BZ #16674]
17446         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17447         || __USE_XOPEN2K8].
17448         (ILL_ILLOPN): Likewise.
17449         (ILL_ILLADR): Likewise.
17450         (ILL_ILLTRP): Likewise.
17451         (ILL_PRVOPC): Likewise.
17452         (ILL_PRVREG): Likewise.
17453         (ILL_COPROC): Likewise.
17454         (ILL_BADSTK): Likewise.
17455         (FPE_INTDIV): Likewise.
17456         (FPE_INTOVF): Likewise.
17457         (FPE_FLTDIV): Likewise.
17458         (FPE_FLTOVF): Likewise.
17459         (FPE_FLTUND): Likewise.
17460         (FPE_FLTRES): Likewise.
17461         (FPE_FLTINV): Likewise.
17462         (FPE_FLTSUB): Likewise.
17463         (SEGV_MAPERR): Likewise.
17464         (SEGV_ACCERR): Likewise.
17465         (BUS_ADRALN): Likewise.
17466         (BUS_ADRERR): Likewise.
17467         (BUS_OBJERR): Likewise.
17468         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17469         (TRAP_TRACE): Likewise.
17470         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17471         __USE_XOPEN2K8].
17472         (CLD_KILLED): Likewise.
17473         (CLD_DUMPED): Likewise.
17474         (CLD_TRAPPED): Likewise.
17475         (CLD_STOPPED): Likewise.
17476         (CLD_CONTINUED): Likewise.
17477         (POLL_IN): Likewise.
17478         (POLL_OUT): Likewise.
17479         (POLL_MSG): Likewise.
17480         (POLL_ERR): Likewise.
17481         (POLL_PRI): Likewise.
17482         (POLL_HUP): Likewise.
17483         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17484         Likewise.
17485         (ILL_ILLOPN): Likewise.
17486         (ILL_ILLADR): Likewise.
17487         (ILL_ILLTRP): Likewise.
17488         (ILL_PRVOPC): Likewise.
17489         (ILL_PRVREG): Likewise.
17490         (ILL_COPROC): Likewise.
17491         (ILL_BADSTK): Likewise.
17492         (FPE_INTDIV): Likewise.
17493         (FPE_INTOVF): Likewise.
17494         (FPE_FLTDIV): Likewise.
17495         (FPE_FLTOVF): Likewise.
17496         (FPE_FLTUND): Likewise.
17497         (FPE_FLTRES): Likewise.
17498         (FPE_FLTINV): Likewise.
17499         (FPE_FLTSUB): Likewise.
17500         (SEGV_MAPERR): Likewise.
17501         (SEGV_ACCERR): Likewise.
17502         (BUS_ADRALN): Likewise.
17503         (BUS_ADRERR): Likewise.
17504         (BUS_OBJERR): Likewise.
17505         (BUS_MCEERR_AR): Likewise.
17506         (BUS_MCEERR_AO): Likewise.
17507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17508         (TRAP_TRACE): Likewise.
17509         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17510         __USE_XOPEN2K8].
17511         (CLD_KILLED): Likewise.
17512         (CLD_DUMPED): Likewise.
17513         (CLD_TRAPPED): Likewise.
17514         (CLD_STOPPED): Likewise.
17515         (CLD_CONTINUED): Likewise.
17516         (POLL_IN): Likewise.
17517         (POLL_OUT): Likewise.
17518         (POLL_MSG): Likewise.
17519         (POLL_ERR): Likewise.
17520         (POLL_PRI): Likewise.
17521         (POLL_HUP): Likewise.
17522         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17523         (ILL_ILLOPN): Likewise.
17524         (ILL_ILLADR): Likewise.
17525         (ILL_ILLTRP): Likewise.
17526         (ILL_PRVOPC): Likewise.
17527         (ILL_PRVREG): Likewise.
17528         (ILL_COPROC): Likewise.
17529         (ILL_BADSTK): Likewise.
17530         (FPE_INTDIV): Likewise.
17531         (FPE_INTOVF): Likewise.
17532         (FPE_FLTDIV): Likewise.
17533         (FPE_FLTOVF): Likewise.
17534         (FPE_FLTUND): Likewise.
17535         (FPE_FLTRES): Likewise.
17536         (FPE_FLTINV): Likewise.
17537         (FPE_FLTSUB): Likewise.
17538         (SEGV_MAPERR): Likewise.
17539         (SEGV_ACCERR): Likewise.
17540         (BUS_ADRALN): Likewise.
17541         (BUS_ADRERR): Likewise.
17542         (BUS_OBJERR): Likewise.
17543         (BUS_MCEERR_AR): Likewise.
17544         (BUS_MCEERR_AO): Likewise.
17545         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17546         (TRAP_TRACE): Likewise.
17547         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17548         __USE_XOPEN2K8].
17549         (CLD_KILLED): Likewise.
17550         (CLD_DUMPED): Likewise.
17551         (CLD_TRAPPED): Likewise.
17552         (CLD_STOPPED): Likewise.
17553         (CLD_CONTINUED): Likewise.
17554         (POLL_IN): Likewise.
17555         (POLL_OUT): Likewise.
17556         (POLL_MSG): Likewise.
17557         (POLL_ERR): Likewise.
17558         (POLL_PRI): Likewise.
17559         (POLL_HUP): Likewise.
17560         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17561         Likewise.
17562         (ILL_ILLOPN): Likewise.
17563         (ILL_ILLADR): Likewise.
17564         (ILL_ILLTRP): Likewise.
17565         (ILL_PRVOPC): Likewise.
17566         (ILL_PRVREG): Likewise.
17567         (ILL_COPROC): Likewise.
17568         (ILL_BADSTK): Likewise.
17569         (ILL_BADIADDR): Likewise.
17570         (ILL_BREAK): Likewise.
17571         (FPE_INTDIV): Likewise.
17572         (FPE_INTOVF): Likewise.
17573         (FPE_FLTDIV): Likewise.
17574         (FPE_FLTOVF): Likewise.
17575         (FPE_FLTUND): Likewise.
17576         (FPE_FLTRES): Likewise.
17577         (FPE_FLTINV): Likewise.
17578         (FPE_FLTSUB): Likewise.
17579         (FPE_DECOVF): Likewise.
17580         (FPE_DECDIV): Likewise.
17581         (FPE_DECERR): Likewise.
17582         (FPE_INVASC): Likewise.
17583         (FPE_INVDEC): Likewise.
17584         (SEGV_MAPERR): Likewise.
17585         (SEGV_ACCERR): Likewise.
17586         (SEGV_PSTKOVF): Likewise.
17587         (BUS_ADRALN): Likewise.
17588         (BUS_ADRERR): Likewise.
17589         (BUS_OBJERR): Likewise.
17590         (BUS_MCEERR_AR): Likewise.
17591         (BUS_MCEERR_AO): Likewise.
17592         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17593         (TRAP_TRACE): Likewise.
17594         (TRAP_BRANCH): Likewise.
17595         (TRAP_HWBKPT): Likewise.
17596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17597         __USE_XOPEN2K8].
17598         (CLD_KILLED): Likewise.
17599         (CLD_DUMPED): Likewise.
17600         (CLD_TRAPPED): Likewise.
17601         (CLD_STOPPED): Likewise.
17602         (CLD_CONTINUED): Likewise.
17603         (POLL_IN): Likewise.
17604         (POLL_OUT): Likewise.
17605         (POLL_MSG): Likewise.
17606         (POLL_ERR): Likewise.
17607         (POLL_PRI): Likewise.
17608         (POLL_HUP): Likewise.
17609         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17610         (ILL_ILLOPN): Likewise.
17611         (ILL_ILLADR): Likewise.
17612         (ILL_ILLTRP): Likewise.
17613         (ILL_PRVOPC): Likewise.
17614         (ILL_PRVREG): Likewise.
17615         (ILL_COPROC): Likewise.
17616         (ILL_BADSTK): Likewise.
17617         (FPE_INTDIV): Likewise.
17618         (FPE_INTOVF): Likewise.
17619         (FPE_FLTDIV): Likewise.
17620         (FPE_FLTOVF): Likewise.
17621         (FPE_FLTUND): Likewise.
17622         (FPE_FLTRES): Likewise.
17623         (FPE_FLTINV): Likewise.
17624         (FPE_FLTSUB): Likewise.
17625         (SEGV_MAPERR): Likewise.
17626         (SEGV_ACCERR): Likewise.
17627         (BUS_ADRALN): Likewise.
17628         (BUS_ADRERR): Likewise.
17629         (BUS_OBJERR): Likewise.
17630         (BUS_MCEERR_AR): Likewise.
17631         (BUS_MCEERR_AO): Likewise.
17632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17633         (TRAP_TRACE): Likewise.
17634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17635         __USE_XOPEN2K8].
17636         (CLD_KILLED): Likewise.
17637         (CLD_DUMPED): Likewise.
17638         (CLD_TRAPPED): Likewise.
17639         (CLD_STOPPED): Likewise.
17640         (CLD_CONTINUED): Likewise.
17641         (POLL_IN): Likewise.
17642         (POLL_OUT): Likewise.
17643         (POLL_MSG): Likewise.
17644         (POLL_ERR): Likewise.
17645         (POLL_PRI): Likewise.
17646         (POLL_HUP): Likewise.
17647         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17648         (ILL_ILLOPN): Likewise.
17649         (ILL_ILLADR): Likewise.
17650         (ILL_ILLTRP): Likewise.
17651         (ILL_PRVOPC): Likewise.
17652         (ILL_PRVREG): Likewise.
17653         (ILL_COPROC): Likewise.
17654         (ILL_BADSTK): Likewise.
17655         (FPE_INTDIV): Likewise.
17656         (FPE_INTOVF): Likewise.
17657         (FPE_FLTDIV): Likewise.
17658         (FPE_FLTOVF): Likewise.
17659         (FPE_FLTUND): Likewise.
17660         (FPE_FLTRES): Likewise.
17661         (FPE_FLTINV): Likewise.
17662         (FPE_FLTSUB): Likewise.
17663         (SEGV_MAPERR): Likewise.
17664         (SEGV_ACCERR): Likewise.
17665         (BUS_ADRALN): Likewise.
17666         (BUS_ADRERR): Likewise.
17667         (BUS_OBJERR): Likewise.
17668         (BUS_MCEERR_AR): Likewise.
17669         (BUS_MCEERR_AO): Likewise.
17670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17671         (TRAP_TRACE): Likewise.
17672         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17673         __USE_XOPEN2K8].
17674         (CLD_KILLED): Likewise.
17675         (CLD_DUMPED): Likewise.
17676         (CLD_TRAPPED): Likewise.
17677         (CLD_STOPPED): Likewise.
17678         (CLD_CONTINUED): Likewise.
17679         (POLL_IN): Likewise.
17680         (POLL_OUT): Likewise.
17681         (POLL_MSG): Likewise.
17682         (POLL_ERR): Likewise.
17683         (POLL_PRI): Likewise.
17684         (POLL_HUP): Likewise.
17685         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17686         (ILL_ILLOPN): Likewise.
17687         (ILL_ILLADR): Likewise.
17688         (ILL_ILLTRP): Likewise.
17689         (ILL_PRVOPC): Likewise.
17690         (ILL_PRVREG): Likewise.
17691         (ILL_COPROC): Likewise.
17692         (ILL_BADSTK): Likewise.
17693         (FPE_INTDIV): Likewise.
17694         (FPE_INTOVF): Likewise.
17695         (FPE_FLTDIV): Likewise.
17696         (FPE_FLTOVF): Likewise.
17697         (FPE_FLTUND): Likewise.
17698         (FPE_FLTRES): Likewise.
17699         (FPE_FLTINV): Likewise.
17700         (FPE_FLTSUB): Likewise.
17701         (SEGV_MAPERR): Likewise.
17702         (SEGV_ACCERR): Likewise.
17703         (BUS_ADRALN): Likewise.
17704         (BUS_ADRERR): Likewise.
17705         (BUS_OBJERR): Likewise.
17706         (BUS_MCEERR_AR): Likewise.
17707         (BUS_MCEERR_AO): Likewise.
17708         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17709         (TRAP_TRACE): Likewise.
17710         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17711         __USE_XOPEN2K8].
17712         (CLD_KILLED): Likewise.
17713         (CLD_DUMPED): Likewise.
17714         (CLD_TRAPPED): Likewise.
17715         (CLD_STOPPED): Likewise.
17716         (CLD_CONTINUED): Likewise.
17717         (POLL_IN): Likewise.
17718         (POLL_OUT): Likewise.
17719         (POLL_MSG): Likewise.
17720         (POLL_ERR): Likewise.
17721         (POLL_PRI): Likewise.
17722         (POLL_HUP): Likewise.
17723         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17724         (ILL_ILLOPN): Likewise.
17725         (ILL_ILLADR): Likewise.
17726         (ILL_ILLTRP): Likewise.
17727         (ILL_PRVOPC): Likewise.
17728         (ILL_PRVREG): Likewise.
17729         (ILL_COPROC): Likewise.
17730         (ILL_BADSTK): Likewise.
17731         (ILL_DBLFLT): Likewise.
17732         (ILL_HARDWALL): Likewise.
17733         (FPE_INTDIV): Likewise.
17734         (FPE_INTOVF): Likewise.
17735         (FPE_FLTDIV): Likewise.
17736         (FPE_FLTOVF): Likewise.
17737         (FPE_FLTUND): Likewise.
17738         (FPE_FLTRES): Likewise.
17739         (FPE_FLTINV): Likewise.
17740         (FPE_FLTSUB): Likewise.
17741         (SEGV_MAPERR): Likewise.
17742         (SEGV_ACCERR): Likewise.
17743         (BUS_ADRALN): Likewise.
17744         (BUS_ADRERR): Likewise.
17745         (BUS_OBJERR): Likewise.
17746         (BUS_MCEERR_AR): Likewise.
17747         (BUS_MCEERR_AO): Likewise.
17748         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17749         (TRAP_TRACE): Likewise.
17750         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17751         __USE_XOPEN2K8].
17752         (CLD_KILLED): Likewise.
17753         (CLD_DUMPED): Likewise.
17754         (CLD_TRAPPED): Likewise.
17755         (CLD_STOPPED): Likewise.
17756         (CLD_CONTINUED): Likewise.
17757         (POLL_IN): Likewise.
17758         (POLL_OUT): Likewise.
17759         (POLL_MSG): Likewise.
17760         (POLL_ERR): Likewise.
17761         (POLL_PRI): Likewise.
17762         (POLL_HUP): Likewise.
17763         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17764         (ILL_ILLOPN): Likewise.
17765         (ILL_ILLADR): Likewise.
17766         (ILL_ILLTRP): Likewise.
17767         (ILL_PRVOPC): Likewise.
17768         (ILL_PRVREG): Likewise.
17769         (ILL_COPROC): Likewise.
17770         (ILL_BADSTK): Likewise.
17771         (FPE_INTDIV): Likewise.
17772         (FPE_INTOVF): Likewise.
17773         (FPE_FLTDIV): Likewise.
17774         (FPE_FLTOVF): Likewise.
17775         (FPE_FLTUND): Likewise.
17776         (FPE_FLTRES): Likewise.
17777         (FPE_FLTINV): Likewise.
17778         (FPE_FLTSUB): Likewise.
17779         (SEGV_MAPERR): Likewise.
17780         (SEGV_ACCERR): Likewise.
17781         (BUS_ADRALN): Likewise.
17782         (BUS_ADRERR): Likewise.
17783         (BUS_OBJERR): Likewise.
17784         (BUS_MCEERR_AR): Likewise.
17785         (BUS_MCEERR_AO): Likewise.
17786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17787         (TRAP_TRACE): Likewise.
17788         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17789         __USE_XOPEN2K8].
17790         (CLD_KILLED): Likewise.
17791         (CLD_DUMPED): Likewise.
17792         (CLD_TRAPPED): Likewise.
17793         (CLD_STOPPED): Likewise.
17794         (CLD_CONTINUED): Likewise.
17795         (POLL_IN): Likewise.
17796         (POLL_OUT): Likewise.
17797         (POLL_MSG): Likewise.
17798         (POLL_ERR): Likewise.
17799         (POLL_PRI): Likewise.
17800         (POLL_HUP): Likewise.
17801         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17802         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17804         [BZ #16670]
17805         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17806         before #include of <time.h>.
17807         [!__USE_XOPEN2K] (__need_timespec): Likewise.
17808         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17809         (test-xfail-UNIX98/sched.h/conform): Likewise.
17811 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17813         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17814         error absence of trapping exception support.
17815         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17817 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17819         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17820         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17821         * timezone/Makefile (testdata): Move definition above include of
17822         Rules.
17823         (test-zones): New variable.
17824         (tests-special): Add zone files.
17825         (build-testdata): Use $(evaluate-test).
17827         * elf/Makefile (tests-special): Rename tests to end with .out.
17828         ($(objpfx)noload-mem): Likewise.
17829         ($(objpfx)tst-leaks1-mem): Likewise.
17830         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17831         * iconv/Makefile (xtests-special): Change test-iconvconfig to
17832         $(objpfx)test-iconvconfig.out.
17833         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
17834         set -e inside subshell and redirect output to file.
17835         * iconvdata/Makefile (generated): Rename tests to end with .out.
17836         Correct type.
17837         (tests-special): Rename tests to end with .out.
17838         ($(objpfx)mtrace-tst-loading): Likewise.
17839         * intl/Makefile (generated): Likewise.
17840         (tests-special): Likewise.
17841         ($(objpfx)mtrace-tst-gettext): Likewise.
17842         * misc/Makefile (generated): Likewise.
17843         (tests-special): Likewise.
17844         ($(objpfx)tst-error1-mem): Likewise.
17845         * nptl/Makefile (tests-special): Likewise.
17846         ($(objpfx)tst-stack3-mem): Likewise.
17847         (generated): Likewise.
17848         * posix/Makefile (generated): Likewise.
17849         (tests-special): Likewise.
17850         (xtests-special): Likewise.
17851         ($(objpfx)tst-fnmatch-mem): Likewise.
17852         ($(objpfx)bug-regex2-mem): Likewise.
17853         ($(objpfx)bug-regex14-mem): Likewise.
17854         ($(objpfx)bug-regex21-mem): Likewise.
17855         ($(objpfx)bug-regex31-mem): Likewise.
17856         ($(objpfx)tst-vfork3-mem): Likewise.
17857         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17858         ($(objpfx)tst-pcre-mem): Likewise.
17859         ($(objpfx)tst-boost-mem): Likewise.
17860         ($(objpfx)bug-ga2-mem): Likewise.
17861         ($(objpfx)bug-glob2-mem): Likewise.
17862         * resolv/Makefile (generate): Likewise.
17863         (tests-special): Likewise.
17864         (xtests-special): Likewise.
17865         (generated): Likewise.
17866         ($(objpfx)mtrace-tst-leaks): Likewise.
17867         ($(objpfx)mtrace-tst-leaks2): Likewise.
17869         * scripts/merge-test-results.sh: New file.
17870         * Makefile (tests-special-notdir): New variable.
17871         (tests): Run merge-test-results.sh.
17872         (xtests): Likewise.
17873         * Rules (tests-special-notdir): New variable.
17874         (xtests-special-notdir): Likewise.
17875         (tests): Run merge-test-results.sh
17876         (xtests): Likewise.
17878         * Makeconfig (test-xfail-name): New variable.
17879         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17880         compute variable name for expected failures.
17881         * conform/Makefile (conformtest-headers-data): New variable.
17882         (conformtest-standards): Likewise.
17883         (conformtest-headers-ISO): Likewise.
17884         (conformtest-headers-ISO99): Likewise.
17885         (conformtest-headers-ISO11): Likewise.
17886         (conformtest-headers-POSIX): Likewise.
17887         (conformtest-headers-XPG3): Likewise.
17888         (conformtest-headers-XPG4): Likewise.
17889         (conformtest-headers-UNIX98): Likewise.
17890         (conformtest-headers-XOPEN2K): Likewise.
17891         (conformtest-headers-POSIX2008): Likewise.
17892         (conformtest-headers-XOPEN2K8): Likewise.
17893         (conformtest-header-list-base): Likewise.
17894         (conformtest-header-list-tests): Likewise.
17895         (conformtest-header-base): Likewise.
17896         (conformtest-header-tests): Likewise.
17897         (tests-special): Add $(conformtest-header-list-tests).  If
17898         [$(fast-check) && !$(cross-compiling)], add
17899         $(conformtest-header-tests) instead of
17900         $(objpfx)run-conformtest.out.
17901         (generated): Add $(conformtest-header-list-base).  If
17902         [$(fast-check) && !$(cross-compiling)], add
17903         $(conformtest-header-base).  Remove previous setting.
17904         ($(conformtest-header-list-tests)): New target.
17905         (test-xfail-run-conformtest): Remove variable.
17906         ($(objpfx)run-conformtest.out): Remove target.
17907         (test-xfail-ISO11/complex.h/conform): New variable.
17908         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17909         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17910         (test-xfail-XPG3/varargs.h/conform): Likewise.
17911         (test-xfail-XPG4/varargs.h/conform): Likewise.
17912         (test-xfail-UNIX98/varargs.h/conform): Likewise.
17913         (test-xfail-XPG4/ndbm.h/conform): Likewise.
17914         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17915         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17916         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17917         (test-xfail-XPG3/fcntl.h/conform): Likewise.
17918         (test-xfail-XPG3/ftw.h/conform): Likewise.
17919         (test-xfail-XPG3/grp.h/conform): Likewise.
17920         (test-xfail-XPG3/langinfo.h/conform): Likewise.
17921         (test-xfail-XPG3/limits.h/conform): Likewise.
17922         (test-xfail-XPG3/pwd.h/conform): Likewise.
17923         (test-xfail-XPG3/search.h/conform): Likewise.
17924         (test-xfail-XPG3/signal.h/conform): Likewise.
17925         (test-xfail-XPG3/stdio.h/conform): Likewise.
17926         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17927         (test-xfail-XPG3/string.h/conform): Likewise.
17928         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17929         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17930         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17931         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17932         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17933         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17934         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17935         (test-xfail-XPG3/termios.h/conform): Likewise.
17936         (test-xfail-XPG3/time.h/conform): Likewise.
17937         (test-xfail-XPG3/unistd.h/conform): Likewise.
17938         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17939         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17940         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17941         (test-xfail-XPG4/netdb.h/conform): Likewise.
17942         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17943         (test-xfail-XPG4/signal.h/conform): Likewise.
17944         (test-xfail-XPG4/stdio.h/conform): Likewise.
17945         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17946         (test-xfail-XPG4/stropts.h/conform): Likewise.
17947         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17948         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17949         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17950         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17951         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17952         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17953         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17954         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17955         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17956         (test-xfail-XPG4/termios.h/conform): Likewise.
17957         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17958         (test-xfail-XPG4/unistd.h/conform): Likewise.
17959         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17960         (test-xfail-POSIX/sched.h/conform): Likewise.
17961         (test-xfail-POSIX/signal.h/conform): Likewise.
17962         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17963         (test-xfail-POSIX/tar.h/conform): Likewise.
17964         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17965         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17966         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17967         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17968         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17969         (test-xfail-UNIX98/sched.h/conform): Likewise.
17970         (test-xfail-UNIX98/signal.h/conform): Likewise.
17971         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17972         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17973         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17974         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17975         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17976         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17977         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17978         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17979         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17980         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17981         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17982         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17983         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17984         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17985         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17986         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17987         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17988         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17989         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17990         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17991         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17992         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17993         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17994         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17995         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17996         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17997         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17998         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17999         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18000         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18001         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18002         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18003         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18004         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18005         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18006         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18007         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18008         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18009         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18010         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18011         (test-xfail-POSIX2008/signal.h/conform): Likewise.
18012         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18013         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18014         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18015         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18016         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18017         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18018         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18019         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18020         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18021         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18022         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18023         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18024         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18025         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18026         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18027         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18028         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18029         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18030         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18031         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18032         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18033         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18034         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18035         (conformtest-cc-flags): Likewise.
18036         ($(conformtest-header-tests): New target.
18037         * conform/check-header-lists.sh: New file.
18038         * conform/run-conformtest.sh: Remove.
18040         * conform/conformtest.pl: Allow ' and \ in values given for
18041         constants.
18042         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18043         inclusion.
18044         [POSIX] (sys/types.h): Likewise.
18045         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18046         inclusion.
18047         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18048         inclusion.
18049         * conform/data/signal.h-data (SIGIO): Remove expectation.
18050         [XPG3] (SIGBUS): Do not expect.
18051         [POSIX || XPG3] (SIGPOLL): Likewise.
18052         [POSIX || XPG3] (SIGPROF): Likewise.
18053         [POSIX || XPG3] (SIGSYS): Likewise.
18054         [XPG3] (SIGTRAP): Likewise.
18055         [POSIX || XPG3] (SIGURG): Likewise.
18056         [POSIX || XPG3] (SIGVTALRM): Likewise.
18057         [POSIX || XPG3] (SIGXCPU): Likewise.
18058         [POSIX || XPG3] (SIGXFSZ): Likewise.
18059         [POSIX] (SA_SIGINFO): Expect.
18060         [XPG3] (siginfo_t): Do not expect type or contents.
18061         [POSIX] (si_pid): Do not expect element.
18062         [POSIX] (si_uid): Likewise.
18063         [POSIX] (si_addr): Likewise.
18064         [POSIX] (si_status): Likewise.
18065         [POSIX] (si_band): Likewise.
18066         [XPG4] (si_value): Likewise.
18067         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18068         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18069         [POSIX || XPG3] (ILL_ILLADR): Likewise.
18070         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18071         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18072         [POSIX || XPG3] (ILL_PRVREG): Likewise.
18073         [POSIX || XPG3] (ILL_COPROC): Likewise.
18074         [POSIX || XPG3] (ILL_BADSTK): Likewise.
18075         [POSIX || XPG3] (FPE_INTDIV): Likewise.
18076         [POSIX || XPG3] (FPE_INTOVF): Likewise.
18077         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18078         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18079         [POSIX || XPG3] (FPE_FLTUND): Likewise.
18080         [POSIX || XPG3] (FPE_FLTRES): Likewise.
18081         [POSIX || XPG3] (FPE_FLTINV): Likewise.
18082         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18083         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18084         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18085         [POSIX || XPG3] (BUS_ADRALN): Likewise.
18086         [POSIX || XPG3] (BUS_ADRERR): Likewise.
18087         [POSIX || XPG3] (BUS_OBJERR): Likewise.
18088         [POSIX || XPG3] (CLD_EXITED): Likewise.
18089         [POSIX || XPG3] (CLD_KILLED): Likewise.
18090         [POSIX || XPG3] (CLD_DUMPED): Likewise.
18091         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18092         [POSIX || XPG3] (CLD_STOPPED): Likewise.
18093         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18094         [POSIX || XPG3] (POLL_IN): Likewise.
18095         [POSIX || XPG3] (POLL_OUT): Likewise.
18096         [POSIX || XPG3] (POLL_MSG): Likewise.
18097         [POSIX || XPG3] (POLL_ERR): Likewise.
18098         [POSIX || XPG3] (POLL_PRI): Likewise.
18099         [POSIX || XPG3] (POLL_HUP): Likewise.
18100         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18101         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18102         (SIG*): Do not allow.
18103         [XPG3] (si_*): Likewise.
18104         [XPG3] (SI_*): Likewise.
18105         [XPG3 || XPG4] (sigev_*): Likewise.
18106         [XPG3 || XPG4] (SIGEV_*): Likewise.
18107         [XPG3 || XPG4] (sival_*): Likewise.
18108         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18109         [POSIX || XPG3] (BUS_*): Likewise.
18110         [POSIX || XPG3] (CLD_*): Likewise.
18111         [POSIX || XPG3] (FPE_*): Likewise.
18112         [POSIX || XPG3] (ILL_*): Likewise.
18113         [POSIX || XPG3] (POLL_*): Likewise.
18114         [POSIX || XPG3] (SEGV_*): Likewise.
18115         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18116         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18117         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18118         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18119         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18120         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18121         Specify type and value.
18122         (TVERSLEN): Likewise.
18123         (REGTYPE): Likewise.
18124         (AREGTYPE): Likewise.
18125         (LNKTYPE): Likewise.
18126         (SYMTYPE): Likewise.
18127         (CHRTYPE): Likewise.
18128         (BLKTYPE): Likewise.
18129         (DIRTYPE): Likewise.
18130         (FIFOTYPE): Likewise.
18131         (CONTTYPE): Likewise.
18132         (TSUID): Likewise.
18133         (TSGID): Likewise.
18134         (TSVTX): Likewise.
18135         (TUREAD): Likewise.
18136         (TUWRITE): Likewise.
18137         (TUEXEC): Likewise.
18138         (TGREAD): Likewise.
18139         (TGWRITE): Likewise.
18140         (TGEXEC): Likewise.
18141         (TOREAD): Likewise.
18142         (TOWRITE): Likewise.
18143         (TOEXEC): Likewise.
18144         [POSIX] (TSVTX): Expect constant.
18146 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
18148         * Makefile (tests): Change dependencies to ....
18149         (tests-special): ... additions to this variable.
18150         (tests): Depend on $(tests-special).
18151         * Makerules (check-abi-list): New variable.
18152         (check-abi): Depend on $(check-abi-list).
18153         [$(subdir) = elf] (tests-special): Add
18154         $(objpfx)check-abi-libc.out.
18155         [$(build-shared) = yes && subdir] (tests-special): Add
18156         $(check-abi-list).
18157         [$(build-shared) = yes && subdir] (tests): Do not depend on
18158         check-abi.
18159         * Rules (tests): Depend on $(tests-special).
18160         (xtests): Depend on $(xtests-special).
18161         * catgets/Makefile (tests): Change dependencies to ....
18162         (tests-special): ... additions to this variable.
18163         * conform/Makefile (tests): Change dependencies to ....
18164         (tests-special): ... additions to this variable.
18165         * elf/Makefile (tests): Change dependencies to ....
18166         (tests-special): ... additions to this variable.
18167         * grp/Makefile (tests): Change dependencies to ....
18168         (tests-special): ... additions to this variable.
18169         * iconv/Makefile (xtests): Change dependencies to ....
18170         (xtests-special): ... additions to this variable.
18171         * iconvdata/Makefile (tests): Change dependencies to ....
18172         (tests-special): ... additions to this variable.
18173         * intl/Makefile (tests): Change dependencies to ....
18174         (tests-special): ... additions to this variable.  Also add
18175         $(objpfx)tst-gettext.out.
18176         * io/Makefile (tests): Change dependencies to ....
18177         (tests-special): ... additions to this variable.
18178         * libio/Makefile (tests): Change dependencies to ....
18179         (tests-special): ... additions to this variable.
18180         * malloc/Makefile (tests): Change dependencies to ....
18181         (tests-special): ... additions to this variable.
18182         * misc/Makefile (tests): Change dependencies to ....
18183         (tests-special): ... additions to this variable.
18184         * nptl/Makefile (tests): Change dependencies to ....
18185         (tests-special): ... additions to this variable.
18186         * nptl_db/Makefile (tests): Change dependencies to ....
18187         (tests-special): ... additions to this variable.
18188         * posix/Makefile (tests): Change dependencies to ....
18189         (tests-special): ... additions to this variable.
18190         (xtests): Change dependencies to ....
18191         (xtests-special): ... additions to this variable.
18192         * resolv/Makefile (tests): Change dependencies to ....
18193         (tests-special): ... additions to this variable.
18194         (xtests): Change dependencies to ....
18195         (xtests-special): ... additions to this variable.
18196         * stdio-common/Makefile (tests): Change dependencies to ....
18197         (tests-special): ... additions to this variable.
18198         (do-tst-unbputc): Remove target.
18199         (do-tst-printf): Likewise.
18200         * stdlib/Makefile (tests): Change dependencies to ....
18201         (tests-special): ... additions to this variable.
18202         * string/Makefile (tests): Change dependencies to ....
18203         (tests-special): ... additions to this variable.
18204         * sysdeps/x86/Makefile (tests): Change dependencies to ....
18205         (tests-special): ... additions to this variable.
18207         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18208         whole file.
18209         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18210         whole file.
18211         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18212         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18214         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18215         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18216         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18217         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18218         * conform/data/libgen.h-data [XPG3]: Likewise.
18219         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18220         * conform/data/ndbm.h-data [XPG3]: Likewise.
18221         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18222         * conform/data/netdb.h-data [XPG3]: Likewise.
18223         * conform/data/netinet/in.h-data [XPG3]: Likewise.
18224         * conform/data/poll.h-data [XPG3]: Likewise.
18225         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18226         * conform/data/strings.h-data [XPG3]: Likewise.
18227         * conform/data/stropts.h-data [XPG3]: Likewise.
18228         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18229         * conform/data/sys/resource.h-data [XPG3]: Likewise.
18230         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18231         Likewise.
18232         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18233         * conform/data/sys/time.h-data [XPG3]: Likewise.
18234         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18235         * conform/data/sys/uio.h-data [XPG3]: Likewise.
18236         * conform/data/sys/un.h-data [XPG3]: Likewise.
18237         * conform/data/syslog.h-data [XPG3]: Likewise.
18238         * conform/data/ucontext.h-data [XPG3]: Likewise.
18239         * conform/data/utmpx.h-data [XPG3]: Likewise.
18240         * conform/data/varargs.h-data [UNIX98]: Enable file.
18242         * manual/Makefile (INSTALL_INFO): Remove variable setting.
18244         * math/libm-test.inc (struct test_f_f_data): Move expected results
18245         into structure for each rounding mode.
18246         (struct test_ff_f_data): Likewise.
18247         (struct test_ff_f_data_nexttoward): Likewise.
18248         (struct test_fi_f_data): Likewise.
18249         (struct test_fl_f_data): Likewise.
18250         (struct test_if_f_data): Likewise.
18251         (struct test_fff_f_data): Likewise.
18252         (struct test_c_f_data): Likewise.
18253         (struct test_f_f1_data): Likewise.
18254         (struct test_fF_f1_data): Likewise.
18255         (struct test_ffI_f1_data): Likewise.
18256         (struct test_c_c_data): Likewise.
18257         (struct test_cc_c_data): Likewise.
18258         (struct test_f_i_data): Likewise.
18259         (struct test_ff_i_data): Likewise.
18260         (struct test_f_l_data): Likewise.
18261         (struct test_f_L_data): Likewise.
18262         (struct test_fFF_11_data): Likewise.
18263         (RM_): New macro.
18264         (RM_FE_DOWNWARD): Likewise.
18265         (RM_FE_TONEAREST): Likewise.
18266         (RM_FE_TOWARDZERO): Likewise.
18267         (RM_FE_UPWARD): Likewise.
18268         (RUN_TEST_LOOP_f_f): Update references to expected results.
18269         (RUN_TEST_LOOP_2_f): Likewise.
18270         (RUN_TEST_LOOP_fff_f): Likewise.
18271         (RUN_TEST_LOOP_c_f): Likewise.
18272         (RUN_TEST_LOOP_f_f1): Likewise.
18273         (RUN_TEST_LOOP_fF_f1): Likewise.
18274         (RUN_TEST_LOOP_fI_f1): Likewise.
18275         (RUN_TEST_LOOP_ffI_f1): Likewise.
18276         (RUN_TEST_LOOP_c_c): Likewise.
18277         (RUN_TEST_LOOP_cc_c): Likewise.
18278         (RUN_TEST_LOOP_f_i): Likewise.
18279         (RUN_TEST_LOOP_f_i_tg): Likewise.
18280         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18281         (RUN_TEST_LOOP_f_b): Likewise.
18282         (RUN_TEST_LOOP_f_b_tg): Likewise.
18283         (RUN_TEST_LOOP_f_l): Likewise.
18284         (RUN_TEST_LOOP_f_L): Likewise.
18285         (RUN_TEST_LOOP_fFF_11): Likewise.
18286         * math/gen-libm-test.pl (parse_args): Output four copies of
18287         expected results for each test.
18289         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18290         (__ASSUME_UTIMES): Remove.
18291         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18292         (__ASSUME_UTIMES): Likewise.
18294         * math/gen-auto-libm-tests.c: Update comment on output format.
18295         (output_for_one_input_case): Generate before-rounding and
18296         after-rounding information as conditions on output flags not
18297         floating-point format.
18298         * math/auto-libm-test-out: Regenerated.
18299         * math/gen-libm-test.pl (cond_value): New function.
18300         (or_cond_value): Use cond_value.
18301         (generate_testfile): Handle conditional exceptions.
18303 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18305         * math/libm-test.inc (max_valid_error): New variable.
18306         (init_max_error): Take new argument specifying whether function
18307         results are exactly determined.  Set max_valid_error and bound
18308         other variables for errors based on this argument.
18309         (set_max_error): Do not record results above max_valid_error.
18310         (check_float_internal): Only accept errors of up to 0.5ulps if
18311         also at most max_valid_error.
18312         (START): Take new argument EXACT and pass it to init_max_error.
18313         (acos_test): Update call to START.
18314         (acos_test_tonearest): Likewise.
18315         (acos_test_towardzero): Likewise.
18316         (acos_test_downward): Likewise.
18317         (acos_test_upward): Likewise.
18318         (acosh_test): Likewise.
18319         (asin_test): Likewise.
18320         (asin_test_tonearest): Likewise.
18321         (asin_test_towardzero): Likewise.
18322         (asin_test_downward): Likewise.
18323         (asin_test_upward): Likewise.
18324         (asinh_test): Likewise.
18325         (atan_test): Likewise.
18326         (atanh_test): Likewise.
18327         (atan2_test): Likewise.
18328         (cabs_test): Likewise.
18329         (cacos_test): Likewise.
18330         (cacosh_test): Likewise.
18331         (carg_test): Likewise.
18332         (casin_test): Likewise.
18333         (casinh_test): Likewise.
18334         (catan_test): Likewise.
18335         (catanh_test): Likewise.
18336         (cbrt_test): Likewise.
18337         (ccos_test): Likewise.
18338         (ccosh_test): Likewise.
18339         (ceil_test): Likewise.
18340         (cexp_test): Likewise.
18341         (cimag_test): Likewise.
18342         (clog_test): Likewise.
18343         (clog10_test): Likewise.
18344         (conj_test): Likewise.
18345         (copysign_test): Likewise.
18346         (cos_test): Likewise.
18347         (cos_test_tonearest): Likewise.
18348         (cos_test_towardzero): Likewise.
18349         (cos_test_downward): Likewise.
18350         (cos_test_upward): Likewise.
18351         (cosh_test): Likewise.
18352         (cosh_test_tonearest): Likewise.
18353         (cosh_test_towardzero): Likewise.
18354         (cosh_test_downward): Likewise.
18355         (cosh_test_upward): Likewise.
18356         (cpow_test): Likewise.
18357         (cproj_test): Likewise.
18358         (creal_test): Likewise.
18359         (csin_test): Likewise.
18360         (csinh_test): Likewise.
18361         (csqrt_test): Likewise.
18362         (ctan_test): Likewise.
18363         (ctan_test_tonearest): Likewise.
18364         (ctan_test_towardzero): Likewise.
18365         (ctan_test_downward): Likewise.
18366         (ctan_test_upward): Likewise.
18367         (ctanh_test): Likewise.
18368         (ctanh_test_tonearest): Likewise.
18369         (ctanh_test_towardzero): Likewise.
18370         (ctanh_test_downward): Likewise.
18371         (ctanh_test_upward): Likewise.
18372         (erf_test): Likewise.
18373         (erfc_test): Likewise.
18374         (exp_test): Likewise.
18375         (exp_test_tonearest): Likewise.
18376         (exp_test_towardzero): Likewise.
18377         (exp_test_downward): Likewise.
18378         (exp_test_upward): Likewise.
18379         (exp10_test): Likewise.
18380         (exp10_test_tonearest): Likewise.
18381         (exp10_test_towardzero): Likewise.
18382         (exp10_test_downward): Likewise.
18383         (exp10_test_upward): Likewise.
18384         (pow10_test): Likewise.
18385         (exp2_test): Likewise.
18386         (expm1_test): Likewise.
18387         (expm1_test_tonearest): Likewise.
18388         (expm1_test_towardzero): Likewise.
18389         (expm1_test_downward): Likewise.
18390         (expm1_test_upward): Likewise.
18391         (fabs_test): Likewise.
18392         (fdim_test): Likewise.
18393         (floor_test): Likewise.
18394         (fma_test): Likewise.
18395         (fma_test_towardzero): Likewise.
18396         (fma_test_downward): Likewise.
18397         (fma_test_upward): Likewise.
18398         (fmax_test): Likewise.
18399         (fmin_test): Likewise.
18400         (fmod_test): Likewise.
18401         (fpclassify_test): Likewise.
18402         (frexp_test): Likewise.
18403         (hypot_test): Likewise.
18404         (ilogb_test): Likewise.
18405         (isfinite_test): Likewise.
18406         (finite_test): Likewise.
18407         (isgreater_test): Likewise.
18408         (isgreaterequal_test): Likewise.
18409         (isinf_test): Likewise.
18410         (isless_test): Likewise.
18411         (islessequal_test): Likewise.
18412         (islessgreater_test): Likewise.
18413         (isnan_test): Likewise.
18414         (isnormal_test): Likewise.
18415         (issignaling_test): Likewise.
18416         (isunordered_test): Likewise.
18417         (j0_test): Likewise.
18418         (j1_test): Likewise.
18419         (jn_test): Likewise.
18420         (ldexp_test): Likewise.
18421         (lgamma_test): Likewise.
18422         (gamma_test): Likewise.
18423         (lrint_test): Likewise.
18424         (lrint_test_tonearest): Likewise.
18425         (lrint_test_towardzero): Likewise.
18426         (lrint_test_downward): Likewise.
18427         (lrint_test_upward): Likewise.
18428         (llrint_test): Likewise.
18429         (llrint_test_tonearest): Likewise.
18430         (llrint_test_towardzero): Likewise.
18431         (llrint_test_downward): Likewise.
18432         (llrint_test_upward): Likewise.
18433         (log_test): Likewise.
18434         (log10_test): Likewise.
18435         (log1p_test): Likewise.
18436         (log2_test): Likewise.
18437         (logb_test): Likewise.
18438         (logb_test_downward): Likewise.
18439         (lround_test): Likewise.
18440         (llround_test): Likewise.
18441         (modf_test): Likewise.
18442         (nearbyint_test): Likewise.
18443         (nextafter_test): Likewise.
18444         (nexttoward_test): Likewise.
18445         (pow_test): Likewise.
18446         (pow_test_tonearest): Likewise.
18447         (pow_test_towardzero): Likewise.
18448         (pow_test_downward): Likewise.
18449         (pow_test_upward): Likewise.
18450         (remainder_test): Likewise.
18451         (drem_test): Likewise.
18452         (remainder_test_tonearest): Likewise.
18453         (drem_test_tonearest): Likewise.
18454         (remainder_test_towardzero): Likewise.
18455         (drem_test_towardzero): Likewise.
18456         (remainder_test_downward): Likewise.
18457         (drem_test_downward): Likewise.
18458         (remainder_test_upward): Likewise.
18459         (drem_test_upward): Likewise.
18460         (remquo_test): Likewise.
18461         (rint_test): Likewise.
18462         (rint_test_tonearest): Likewise.
18463         (rint_test_towardzero): Likewise.
18464         (rint_test_downward): Likewise.
18465         (rint_test_upward): Likewise.
18466         (round_test): Likewise.
18467         (scalb_test): Likewise.
18468         (scalbn_test): Likewise.
18469         (scalbln_test): Likewise.
18470         (signbit_test): Likewise.
18471         (sin_test): Likewise.
18472         (sin_test_tonearest): Likewise.
18473         (sin_test_towardzero): Likewise.
18474         (sin_test_downward): Likewise.
18475         (sin_test_upward): Likewise.
18476         (sincos_test): Likewise.
18477         (sinh_test): Likewise.
18478         (sinh_test_tonearest): Likewise.
18479         (sinh_test_towardzero): Likewise.
18480         (sinh_test_downward): Likewise.
18481         (sinh_test_upward): Likewise.
18482         (sqrt_test): Likewise.
18483         (sqrt_test_tonearest): Likewise.
18484         (sqrt_test_towardzero): Likewise.
18485         (sqrt_test_downward): Likewise.
18486         (sqrt_test_upward): Likewise.
18487         (tan_test): Likewise.
18488         (tan_test_tonearest): Likewise.
18489         (tan_test_towardzero): Likewise.
18490         (tan_test_downward): Likewise.
18491         (tan_test_upward): Likewise.
18492         (tanh_test): Likewise.
18493         (tgamma_test): Likewise.
18494         (trunc_test): Likewise.
18495         (y0_test): Likewise.
18496         (y1_test): Likewise.
18497         (yn_test): Likewise.
18498         (significand_test): Likewise.
18500         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18501         individual tests in comment.
18502         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18503         (prev_max_error): New variable.
18504         (prev_real_max_error): Likewise.
18505         (prev_imag_max_error): Likewise.
18506         (compare_ulp_data): Don't refer to test names in comment.
18507         (find_test_ulps): Remove function.
18508         (find_function_ulps): Likewise.
18509         (find_complex_function_ulps): Likewise.
18510         (init_max_error): Take function name as argument.  Look up ulps
18511         for that function.
18512         (print_ulps): Remove function.
18513         (print_max_error): Use prev_max_error instead of calling
18514         find_function_ulps.
18515         (print_complex_max_error): Use prev_real_max_error and
18516         prev_imag_max_error instead of calling find_complex_function_ulps.
18517         (check_float_internal): Take max_ulp parameter instead of calling
18518         find_test_ulps.  Don't call print_ulps.
18519         (check_float): Update call to check_float_internal.
18520         (check_complex): Update calls to check_float_internal.
18521         (START): Pass argument to init_max_error.
18522         * math/gen-libm-test.pl (%results): Don't include "kind"
18523         information.
18524         (parse_ulps): Don't handle ulps of individual tests.
18525         (print_ulps_file): Likewise.
18526         (output_ulps): Likewise.
18527         * math/README.libm-test: Update.
18528         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18529         individual tests.
18530         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18531         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18532         * sysdeps/arm/libm-test-ulps: Likewise.
18533         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18534         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18535         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18536         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18537         * sysdeps/microblaze/libm-test-ulps: Likewise.
18538         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18539         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18540         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18541         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18542         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18543         * sysdeps/sh/libm-test-ulps: Likewise.
18544         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18545         * sysdeps/tile/libm-test-ulps: Likewise.
18546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18548 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
18550         * math/libm-test.inc (print_complex_max_error): Check separately
18551         whether real and imaginary errors are within allowed range and
18552         pass 0 to print_complex_function_ulps instead of value within
18553         allowed range.
18555 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18557         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18558         formatting.
18559         (get_handles_fopen): Likewise.
18560         (do_write_test): Likewise.
18562         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18564         * libio/fileops.c (do_ftell): Use cached offset when
18565         available.
18566         * libio/iofwide.c (do_ftell_wide): Likewise.
18567         * libio/iofdopen.c (_IO_new_fdopen): Don't use
18568         _IO_file_attach.
18569         * libio/wfileops.c (_IO_fwide): Don't cache offset.
18571         [BZ #16532]
18572         * libio/libioP.h (get_file_offset): New function.
18573         * libio/fileops.c (get_file_offset): Likewise.
18574         (do_ftell): Likewise.
18575         (_IO_new_file_seekoff): Split out ftell logic.
18576         * libio/wfileops.c (do_ftell_wide): Likewise.
18577         (_IO_wfile_seekoff): Split out ftell logic.
18578         * libio/tst-ftell-active-handler.c: New test case.
18579         * libio/Makefile (tests): Add it.
18581 2014-03-03  Roland McGrath  <roland@hack.frob.com>
18583         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18584         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18586 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18588         [BZ #16639]
18589         * nscd/connections.c (nscd_init): Call do_exit.
18590         (start_threads): Call do_exit and notify_parent.
18591         (begin_drop_privileges): Call do_exit.
18592         (finish_drop_privileges): Likewise.
18593         * nscd/selinux.c (preserve_capabilities): Likewise.
18594         (install_real_capabilities): Likewise.
18595         (nscd_selinux_enabled): Likewise.
18596         (avc_create_thread): Likewise.
18597         (avc_alloc_lock): Likewise.
18598         (nscd_avc_init): Likewise.
18599         * nscd/nscd.c (parent_fd): New static variable.
18600         (main): Create a pipe between parent and child processes.
18601         Skip closing parent_fd.
18602         (monitor_child): New function.
18603         (do_exit): Likewise.
18604         (notify_parent): Likewise.
18605         * nscd/nscd.h (notify_parent): Likewise.
18606         (do_exit): Likewise.
18608 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
18610         * malloc/malloc.c (__libc_calloc): Revert last change.
18612 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18616 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18618         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18620         implementation.
18621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18622         (__libc_ifunc_impl_list): Likewise.
18623         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18624         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18625         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18626         * string/strrchr.c: Define STRRCHR.
18628 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
18630         * benchtest/bench-strtok.c (simple_strtok): Delete.
18631         (strtok_string): Use as benchmark.
18632         * string/strtok (STRTOK): New macro.
18634 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
18636         * manual/threads.texi: Add header and standard comments to all
18637         functions.
18639         * elf/dl-lookup.c (check_match): New function.
18640         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18641         (do_lookup_x): Remove nested function check_match. Use non-nested
18642         function check_match.
18644 2014-02-28  Roland McGrath  <roland@hack.frob.com>
18646         * csu/Makefile (generated, before-compile): Use += rather than =.
18647         * catgets/Makefile (generated, generated-dirs): Likewise.
18648         * debug/Makefile (generated): Likewise.
18649         * dlfcn/Makefile (generated): Likewise.
18650         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18651         * iconvdata/Makefile (before-compile, generated): Likewise.
18652         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18653         * libio/Makefile (generated): Likewise.
18654         * malloc/Makefile (generated): Likewise.
18655         * manual/Makefile (generated, generated-dirs): Likewise.
18656         * misc/Makefile (generated): Likewise.
18657         * posix/Makefile (generated): Likewise.
18658         * resolv/Makefile (generated): Likewise.
18659         * sunrpc/Makefile (generated, generated-dirs): Likewise.
18660         * timezone/Makefile (generated, generated-dirs): Likewise.
18662         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18664 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18667         power8 implementation.
18668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18669         file: POWER8 llround ifunc implementation.
18670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18671         (__lllround): Add POWER8 implementation.
18672         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18673         POWER8 llround implementation.
18675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18676         power8 implementation.
18677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18678         file: POWER8 llrint ifunc implementation.
18679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18680         Add POWER8 implementation.
18681         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18682         POWER8 llrint implementation.
18684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18685         power8 implementation.
18686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18687         file: POWER8 finite ifunc implementation.
18688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18689         Add POWER8 implementation.
18690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18691         Likewise.
18692         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18693         POWER8 finite implementation.
18694         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18697         power8 implementation.
18698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18699         file: POWER8 isinf ifunc implementation.
18700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18701         POWER8 implementation.
18702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18703         Likewise.
18704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18705         isinf implementation.
18706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18708         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18709         (INIT_ARCH): Add hwcap2 initialization.
18710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18711         power8 implementation.
18712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18713         file: POWER8 isnan ifunc implementation.
18714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18715         POWER8 implementation.
18716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18717         Likewise.
18718         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18719         isnan implementation.
18720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18722 2014-02-27  Joey Ye  <joey.ye@arm.com>
18724         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18725         (_FP_NANFRAC_Q): Set to zero.
18727 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18729         [BZ #16623]
18730         * math/auto-libm-test-in: New test inputs.
18731         * math/auto-libm-test-out: Regenerate.
18732         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18733         and DA.
18734         (__cos): Likewise.
18735         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18737 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
18739         * scripts/evaluate-test.sh: Take new argument indicating whether
18740         failure is expected.
18741         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18742         indicating whether failure is expected.
18743         * conform/Makefile (test-xfail-run-conformtest): New variable.
18744         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18745         level.
18746         * posix/Makefile (test-xfail-annexc): New variable.
18747         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18749 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
18751         * argp/Makefile: Include Makeconfig immediately after defining
18752         subdir.
18753         * assert/Makefile: Likewise.
18754         * benchtests/Makefile: Likewise.
18755         * catgets/Makefile: Likewise.
18756         * conform/Makefile: Likewise.
18757         * crypt/Makefile: Likewise.
18758         * csu/Makefile: Likewise.
18759         (all): Remove target.
18760         * ctype/Makefile: Include Makeconfig immediately after defining
18761         subdir.
18762         * debug/Makefile: Likewise.
18763         * dirent/Makefile: Likewise.
18764         * dlfcn/Makefile: Likewise.
18765         * gmon/Makefile: Likewise.
18766         * gnulib/Makefile: Likewise.
18767         * grp/Makefile: Likewise.
18768         * gshadow/Makefile: Likewise.
18769         * hesiod/Makefile: Likewise.
18770         * hurd/Makefile: Likewise.
18771         (all): Remove target.
18772         * iconvdata/Makefile: Include Makeconfig immediately after
18773         defining subdir.
18774         * inet/Makefile: Likewise.
18775         * intl/Makefile: Likewise.
18776         * io/Makefile: Likewise.
18777         * libio/Makefile: Likewise.
18778         (all): Remove target.
18779         * locale/Makefile: Include Makeconfig immediately after defining
18780         subdir.
18781         * login/Makefile: Likewise.
18782         * mach/Makefile: Likewise.
18783         (all): Remove target.
18784         * malloc/Makefile: Include Makeconfig immediately after defining
18785         subdir.
18786         (all): Remove target.
18787         * manual/Makefile: Include Makeconfig immediately after defining
18788         subdir.
18789         * math/Makefile: Likewise.
18790         * misc/Makefile: Likewise.
18791         * nis/Makefile: Likewise.
18792         * nss/Makefile: Likewise.
18793         * po/Makefile: Likewise.
18794         (all): Remove target.
18795         * posix/Makefile: Include Makeconfig immediately after defining
18796         subdir.
18797         * pwd/Makefile: Likewise.
18798         * resolv/Makefile: Likewise.
18799         * resource/Makefile: Likewise.
18800         * rt/Makefile: Likewise.
18801         * setjmp/Makefile: Likewise.
18802         * shadow/Makefile: Likewise.
18803         * signal/Makefile: Likewise.
18804         * socket/Makefile: Likewise.
18805         * soft-fp/Makefile: Likewise.
18806         * stdio-common/Makefile: Likewise.
18807         * stdlib/Makefile: Likewise.
18808         * streams/Makefile: Likewise.
18809         * string/Makefile: Likewise.
18810         * sunrpc/Makefile: Likewise.
18811         (all): Remove target.
18812         * sysvipc/Makefile: Include Makeconfig immediately after defining
18813         subdir.
18814         * termios/Makefile: Likewise.
18815         * time/Makefile: Likewise.
18816         * timezone/Makefile: Likewise.
18817         (all): Remove target.
18818         * wcsmbs/Makefile: Include Makeconfig immediately after defining
18819         subdir.
18820         * wctype/Makefile: Likewise.
18822 2014-02-26  Steve Ellcey  <sellcey@mips.com>
18824         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18825         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18826         (libc_feholdexcept_setround_mips): Ditto.
18827         (libc_feholdsetround): New.
18828         (libc_feholdsetroundf): New.
18829         (libc_feholdsetroundl): New.
18830         (libc_feupdateenv_test_mips): New.
18831         (libc_feupdateenv_test): New.
18832         (libc_feupdateenv_testf): New.
18833         (libc_feupdateenv_testl): New.
18834         (libc_feresetround): New.
18835         (libc_feresetroundf): New.
18836         (libc_feresetroundl): New.
18837         (libc_fetestexcept_mips): New.
18838         (libc_fetestexcept): New.
18839         (libc_fetestexceptf): New.
18840         (libc_fetestexceptl): New.
18841         (HAVE_RM_CTX): New.
18842         (libc_feholdexcept_setround_mips_ctx): New.
18843         (libc_feholdexcept_setround_ctx): New.
18844         (libc_feholdexcept_setroundf_ctx): New.
18845         (libc_feholdexcept_setroundl_ctx): New.
18846         (libc_fesetenv_mips_ctx): New.
18847         (libc_fesetenv_ctx): New.
18848         (libc_fesetenv_ctxf): New.
18849         (libc_fesetenv_ctxl): New.
18850         (libc_feupdateenv_mips_ctx): New.
18851         (libc_feupdateenv_ctx): New.
18852         (libc_feupdateenvf_ctx): New.
18853         (libc_feupdateenvl_ctx): New.
18854         (libc_feholdsetround_mips_ctx): New.
18855         (libc_feholdsetround_ctx): New.
18856         (libc_feholdsetroundf_ctx): New.
18857         (libc_feholdsetroundl_ctx): New.
18858         (libc_feresetround_mips_ctx): New.
18859         (libc_feresetround_ctx): New.
18860         (libc_feresetroundf_ctx): New.
18861         (libc_feresetroundl_ctx): New.
18863 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
18865         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18867         * manual/ipc.texi: New file.
18868         * manual/Makefile (chapters): Add ipc.
18869         * manual/job.texi: Add "Inter-Process Communication" to next.
18870         * manual/process.texi: Add "Inter-Process Communication" to prev.
18872 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18876 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
18878         * malloc/malloc.c (__libc_calloc): Simplify implementation.
18880         * manual/arith.texi: Fix spaces after sentences.
18881         * manual/charset.texi: Likewise.
18882         * manual/errno.texi: Likewise.
18883         * manual/install.texi: Likewise.
18884         * manual/llio.texi: Likewise.
18885         * manual/locale.texi: Likewise.
18886         * manual/maint.texi: Likewise.
18887         * manual/math.texi: Likewise.
18888         * manual/memory.texi: Likewise.
18889         * manual/message.texi: Likewise.
18890         * manual/probes.texi: Likewise.
18891         * manual/resource.texi: Likewise.
18892         * manual/signal.texi: Likewise.
18893         * manual/socket.texi: Likewise.
18894         * manual/stdio.texi: Likewise.
18895         * manual/string.texi: Likewise.
18896         * manual/time.texi: Likewise.
18897         * manual/users.texi: Likewise.
18899 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
18901         [BZ #16632]
18902         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18903         _DEFAULT_SOURCE is defined.
18905 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
18906             Carlos O'Donell  <carlos@redhat.com>
18908         [BZ #16613]
18909         * elf/dl-tls.c (_dl_count_modids): New function.
18910         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18911         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18912         audit library and increment generation counter.
18913         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18914         * elf/tst-audit9.c: New file.
18915         * elf/tst-auditmod9a.c: New file.
18916         * elf/tst-auditmod9b.c: New file.
18917         * elf/Makefile: Add rules to build and run tst-audit9.
18919 2014-02-25  Florian Weimer  <fweimer@redhat.com>
18921         [BZ #15347]
18922         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18924 2014-02-25  Will Newton  <will.newton@linaro.org>
18926         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18927         (__longjmp): Restore sp and lr before restoring callee
18928         saved registers.  Add longjmp and longjmp_target
18929         SystemTap probe point.
18930         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18931         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18932         Define to zero to match jmpbuf layout.
18933         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18934         (__sigsetjmp): Save sp and lr before saving callee
18935         saved registers.  Add setjmp SystemTap probe point.
18937 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18939         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18941 2014-02-24  Andreas Schwab  <schwab@suse.de>
18943         [BZ #15804]
18944         * elf/pldd.c (wait_for_ptrace_stop): New function.
18945         (main): Call it after attaching.
18947 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18949         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18950         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18951         Versions files is now verboten.
18952         * hurd/Versions (libc: GLIBC_2.0):
18953         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18954         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18955         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18956         * mach/Versions: Likewise.
18958         * csu/Versions: Remove unused %include.
18959         * resolv/Versions: Likewise.
18961 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18963         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18964         ($(objpfx)check-local-headers.out): Likewise.
18965         ($(objpfx)begin-end-check.out): Likewise.
18966         * Makerules (check-abi-%.out): Likewise.
18967         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18968         ($(objpfx)test2.cat): Likewise.
18969         ($(objpfx)de/libc.cat): Likewise.
18970         ($(objpfx)test-gencat.out): Likewise.
18971         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18972         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18973         ($(objpfx)noload-mem): Likewise.
18974         ($(objpfx)tst-pathopt.out): Likewise.
18975         ($(objpfx)tst-rtld-load-self.out): Likewise.
18976         ($(objpfx)tst-array1-cmp.out): Likewise.
18977         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18978         ($(objpfx)tst-array2-cmp.out): Likewise.
18979         ($(objpfx)tst-array3-cmp.out): Likewise.
18980         ($(objpfx)tst-array4-cmp.out): Likewise.
18981         ($(objpfx)tst-array5-cmp.out): Likewise.
18982         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18983         ($(objpfx)check-textrel.out): Likewise.
18984         ($(objpfx)check-execstack.out): Likewise.
18985         ($(objpfx)check-localplt.out): Likewise.
18986         ($(objpfx)order2-cmp.out): Likewise.
18987         ($(objpfx)tst-leaks1-mem): Likewise.
18988         ($(objpfx)tst-leaks1-static-mem): Likewise.
18989         ($(objpfx)tst-initorder-cmp.out): Likewise.
18990         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18991         ($(objpfx)tst-unused-dep.out): Likewise.
18992         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18993         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18994         * iconv/Makefile (test-iconvconfig): Likewise.
18995         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18996         ($(objpfx)iconv-test.out): Likewise.
18997         ($(objpfx)tst-tables.out): Likewise.
18998         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18999         ($(objpfx)tst-gettext.out): Likewise.
19000         ($(objpfx)tst-translit.out): Likewise.
19001         ($(objpfx)tst-gettext2.out): Likewise.
19002         ($(objpfx)tst-gettext4.out): Likewise.
19003         ($(objpfx)tst-gettext6.out): Likewise.
19004         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19005         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19006         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19007         ($(objpfx)tst-fopenloc-mem.out): Likewise.
19008         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19009         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19010         * posix/Makefile ($(objpfx)globtest.out): Likewise.
19011         ($(objpfx)wordexp-tst.out): Likewise.
19012         ($(objpfx)annexc.out): Likewise.
19013         ($(objpfx)tst-fnmatch-mem): Likewise.
19014         ($(objpfx)bug-regex2-mem): Likewise.
19015         ($(objpfx)bug-regex14-mem): Likewise.
19016         ($(objpfx)bug-regex21-mem): Likewise.
19017         ($(objpfx)bug-regex31-mem): Likewise.
19018         ($(objpfx)tst-vfork3-mem): Likewise.
19019         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19020         ($(objpfx)tst-pcre-mem): Likewise.
19021         ($(objpfx)tst-boost-mem): Likewise.
19022         ($(objpfx)tst-getconf.out): Likewise.
19023         ($(objpfx)bug-ga2-mem): Likewise.
19024         ($(objpfx)bug-glob2-mem): Likewise.
19025         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19026         ($(objpfx)mtrace-tst-leaks2): Likewise.
19027         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19028         ($(objpfx)tst-printf.out): Likewise.
19029         ($(objpfx)tst-setvbuf1.out): Likewise.
19030         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19031         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19032         ($(objpfx)tst-fmtmsg.out): Likewise.
19033         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19034         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19036         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19037         * bits/sigaction.h [__USE_MISC]: Likewise.
19038         * bits/waitstatus.h: Update #endif comments.
19039         * ctype/ctype.h: Likewise.
19040         * dirent/dirent.h: Likewise.
19041         [__USE_MISC]: Remove redundant conditionals.
19042         * grp/grp.h: Update #endif comments.
19043         [__USE_GNU]: Remove redundant conditionals.
19044         [__USE_MISC]: Likewise.
19045         * inet/netinet/in.h [__USE_GNU]: Likewise.
19046         * io/sys/stat.h [__USE_MISC]: Likewise.
19047         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19048         * libio/bits/stdio.h: Update #endif comments.
19049         [__USE_MISC]: Remove redundant conditionals.
19050         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19051         * libio/stdio.h: Update #endif comments.
19052         [__USE_MISC]: Remove redundant conditionals.
19053         * math/bits/math-finite.h [__USE_MISC]: Likewise.
19054         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19055         * math/math.h: Update #else and #endif comments.
19056         [__USE_MISC]: Remove redundant conditionals.
19057         * misc/sys/uio.h: Update #endif comments.
19058         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19059         * posix/glob.h [__USE_MISC]: Likewise.
19060         * posix/sys/types.h: Update #endif comments.
19061         [__USE_MISC]: Remove redundant conditionals.
19062         * posix/sys/wait.h: Update #endif comments.
19063         [__USE_MISC]: Remove redundant conditionals.
19064         * posix/unistd.h: Update #endif comments.
19065         [__USE_MISC]: Remove redundant conditionals.
19066         * pwd/pwd.h [__USE_GNU]: Likewise.
19067         [__USE_MISC]: Likewise.
19068         * resolv/netdb.h [__USE_GNU]: Likewise.
19069         * signal/signal.h: Update #endif comments.
19070         [__USE_MISC]: Remove redundant conditionals.
19071         * stdlib/stdlib.h: Update #else and #endif comments.
19072         [__USE_MISC]: Remove redundant conditionals.
19073         [__USE_GNU]: Likewise.
19074         * string/bits/string2.h [__USE_MISC]: Likewise.
19075         * string/string.h: Update #endif comments.
19076         [__USE_MISC]: Remove redundant conditionals.
19077         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19078         Likewise.
19079         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19080         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19081         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19082         Likewise.
19083         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19084         Likewise.
19085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19086         comments.
19087         [__USE_MISC]: Remove redundant conditionals.
19088         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19089         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19090         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19091         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19092         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19093         Likewise.
19094         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19095         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19096         Likewise.
19097         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19098         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19099         Likewise.
19100         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19101         Likewise.
19102         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19103         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19104         Likewise.
19105         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19106         Likewise.
19107         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19108         * sysdeps/x86/bits/string.h: Update #endif comments.
19109         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19110         conditionals.
19111         * time/sys/time.h: Update #endif comments.
19112         * time/time.h: Likewise.
19113         [__USE_MISC]: Remove redundant conditionals.
19115 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
19117         [BZ #16600]
19118         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19120 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
19122         * Versions.def (librt): Add GLIBC_2.17.
19124 2014-02-21  Adam Conrad  <adconrad@0c3.net>
19126         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19127         synonym for _SYS_AUXV_H to allow direct inclusion.
19128         * sysdeps/sparc/bits/hwcap.h: Likewise.
19129         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19130         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19131         * sysdeps/sparc/sysdep.h: Likewise.
19133 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19135         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19137 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19139         * benchtests/bench-strrchr.c: Print length instead of position.
19141 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
19143         [BZ #16611]
19144         * sysdeps/unix/sysv/linux/kernel-features.h
19145         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19146         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19147         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19148         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19149         Likewise.
19150         [__i386__ || __powerpc__ || __sh__ || __sparc__]
19151         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19152         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19153         (__ASSUME_SENDMMSG): Define instead of using previous
19154         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19155         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19156         (__ASSUME_SENDMMSG_SYSCALL): Define.
19157         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19158         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19159         Likewise.
19160         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19161         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19162         Likewise.
19163         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19164         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19165         Likewise.
19166         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19167         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19168         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19169         [__ASSUME_SENDMMSG]: Change conditionals to
19170         [__ASSUME_SENDMMSG_SOCKETCALL].
19171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19172         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19173         Define.
19174         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19175         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19176         Likewise.
19177         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19178         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19179         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19180         [!__ASSUME_SENDMMSG]: Change conditional to
19181         [!__ASSUME_SENDMMSG_SOCKETCALL].
19182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19183         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19184         Define.
19186         [BZ #16610]
19187         * sysdeps/unix/sysv/linux/kernel-features.h
19188         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19189         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19190         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19191         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19192         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19193         [__i386__ || __sparc__]
19194         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19195         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19196         (__ASSUME_RECVMMSG): Define instead of using previous
19197         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19198         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19199         (__ASSUME_RECVMMSG_SYSCALL): Define.
19200         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19202         Likewise.
19203         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19204         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19205         Likewise.
19206         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19207         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19208         Likewise.
19209         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19210         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19211         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19212         [__ASSUME_RECVMMSG]: Change condition to
19213         [__ASSUME_RECVMMSG_SOCKETCALL].
19214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19215         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19216         Define.
19217         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19220         Likewise.
19221         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19222         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19223         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19224         [!__ASSUME_RECVMMSG]: Change condition to
19225         [!__ASSUME_RECVMMSG_SOCKETCALL].
19226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19227         (__ASSUME_RECVMMSG_SYSCALL): Define.
19229         [BZ #16609]
19230         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19231         __powerpc__ || __s390__ || __sh__ || __sparc__]
19232         (__ASSUME_SOCKETCALL): Define.
19233         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19234         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19235         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19236         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19237         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19238         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19239         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19240         (__ASSUME_ACCEPT4): Define instead of using previous
19241         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19242         __powerpc__ || __sparc__ || __s390__)] condition.
19243         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19244         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19245         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19246         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19247         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19248         [!__ASSUME_ACCEPT4]: Change condition to
19249         [!__ASSUME_ACCEPT4_SOCKETCALL].
19250         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19251         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
19252         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19253         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19254         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19255         __ASSUME_ACCEPT4_SYSCALL.
19256         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19257         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19258         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19259         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19260         __ASSUME_ACCEPT4_SYSCALL.
19261         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19262         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19263         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19264         [__ASSUME_ACCEPT4]: Change condition to
19265         [__ASSUME_ACCEPT4_SOCKETCALL].
19266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19267         (__ASSUME_SOCKETCALL): Define.
19268         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19270         (__ASSUME_SOCKETCALL): Define.
19271         (__ASSUME_ACCEPT4): Remove.
19272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19273         Define.
19274         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19275         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19276         Likewise.
19277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19278         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19280         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19281         macro.
19282         (HWCAP_ARM_LPAE): Likewise.
19283         (HWCAP_ARM_EVTSTRM): Likewise.
19284         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19285         Add vpfd32, lpae and evtstrm.
19286         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19287         Increase to 22.
19289 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19291         * math/auto-libm-test-in: Add tests of clog10.
19292         * math/auto-libm-test-out: Regenerated.
19293         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19294         * sysdeps/i386/fpu/libm-test-ulps: Update.
19295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19297 2014-02-18  Andreas Schwab  <schwab@suse.de>
19299         [BZ #16574]
19300         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19301         Store non-zero if the second buffer was newly allocated.
19302         (send_dg): Likewise.
19303         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19304         to send_vc and send_dg.
19305         (res_nsend): Pass NULL for ansp2_malloced.
19306         * resolv/res_query.c (__libc_res_nquery): Add parameter
19307         answerp2_malloced and pass it down to __libc_res_nsend.
19308         (res_nquery): Pass additional NULL to __libc_res_nquery.
19309         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19310         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
19311         second answer buffer if answerp2_malloced was set.
19312         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19313         (__libc_res_nquerydomain): Add parameter
19314         answerp2_malloced and pass it down to __libc_res_nquery.
19315         (res_nquerydomain): Pass additional NULL to
19316         __libc_res_nquerydomain.
19317         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19318         additional NULL to __libc_res_nsend and __libc_res_nquery.
19319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19320         additional NULL to __libc_res_nsearch.
19321         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
19322         parameter of __libc_res_nsearch to check for separately allocated
19323         second buffer.
19324         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19325         __libc_res_nquery.
19326         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19327         additional NULL to __libc_res_nquery.
19328         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19329         __libc_res_nsearch.
19330         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19331         * include/resolv.h: Update prototypes of __libc_res_nquery,
19332         __libc_res_nsearch, __libc_res_nsend.
19334 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
19336         * math/auto-libm-test-in: Add tests of fma.
19337         * math/auto-libm-test-out: Regenerated.
19338         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19339         (fma_towardzero_test_data): Likewise.
19340         (fma_downward_test_data): Likewise.
19341         (fma_upward_test_data): Likewise.
19342         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19343         mpc_mode.
19344         (rounding_modes): Add values for new field.
19345         (func_calc_method): Add value mpfr_fff_f.
19346         (func_calc_desc): Add mpfr_fff_f union field.
19347         (test_function): Add field exact_args.
19348         (FUNC): Add macro argument EXACT_ARGS.
19349         (FUNC_mpfr_f_f): Update call to FUNC.
19350         (FUNC_mpfr_f_f): Likewise.
19351         (FUNC_mpfr_ff_f): Likewise.
19352         (FUNC_mpfr_if_f): Likewise.
19353         (FUNC_mpc_c_f): Likewise.
19354         (FUNC_mpc_c_c): Likewise.
19355         (test_functions): Add fma.  Update calls to FUNC.
19356         (handle_input_arg): Add argument exact_args.
19357         (add_test): Update call to handle_input_arg.
19358         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
19359         (output_for_one_input_case): Update call to calc_generic_results.
19360         Recalculate exact zero results in each rounding mode.
19362         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19363         non-negative before setting low bit.
19364         * math/auto-libm-test-in: Mark one asin test possibly having
19365         spurious underflow.
19366         * math/auto-libm-test-out: Regenerated.
19367         * sysdeps/i386/fpu/libm-test-ulps: Update.
19368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
19372         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19373         * sysdeps/unix/sysv/linux/microblaze: Move directory from
19374         ports/sysdeps/unix/sysv/linux/microblaze.
19375         * README: Add missing listing for microblaze*-*-linux-gnu.
19377 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
19379         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19380         duplicate code
19382 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
19384         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19385         * sysdeps/unix/sysv/linux/ia64: Move directory from
19386         ports/sysdeps/unix/sysv/linux/ia64.
19387         * README: Update listing for ia64-*-linux-gnu.
19389 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
19390             Joseph Myers  <joseph@codesourcery.com>
19392         * Makeconfig (test-name): New variable.
19393         (evaluate-test): Likewise.
19394         * Makerules (do-test-clean): Remove .test-result files.
19395         (common-mostlyclean): Likewise.
19396         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19397         * scripts/evaluate-test.sh: New file.
19399 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
19401         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19402         separate $(objpfx)tst-fopenloc-cmp.out and
19403         $(objpfx)tst-fopenloc-mem.out targets.
19404         (tests): Update dependencies.
19405         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19406         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19407         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19408         (tst-rxspencer-no-utf8-ARGS): New variable.
19409         (tst-rxspencer-no-utf8-ENV): Likewise.
19410         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19411         instead of $(objpfx)tst-rxspencer-mem.
19412         ($(objpfx)tst-rxspencer-mem): Change target to
19413         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
19414         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19415         * posix/tst-rxspencer-no-utf8.c: New file.
19417         * elf/Makefile ($(objpfx)order.out): Remove rule.
19418         [$(run-built-tests) = yes] (tests): Depend on
19419         $(objpfx)order-cmp.out.
19420         ($(objpfx)order-cmp.out): New rule.
19421         [$(run-built-tests) = yes] (tests): Depend on
19422         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19423         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19424         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19425         $(objpfx)tst-array5-static-cmp.out.
19426         ($(objpfx)tst-array1.out): Remove rule.
19427         ($(objpfx)tst-array1-cmp.out): New rule.
19428         ($(objpfx)tst-array1-static.out): Remove rule.
19429         ($(objpfx)tst-array1-static-cmp.out): New rule.
19430         ($(objpfx)tst-array2.out): Remove rule.
19431         ($(objpfx)tst-array2-cmp.out): New rule.
19432         ($(objpfx)tst-array3.out): Remove rule.
19433         ($(objpfx)tst-array3-cmp.out): New rule.
19434         ($(objpfx)tst-array4.out): Remove rule.
19435         ($(objpfx)tst-array4-cmp.out): New rule.
19436         ($(objpfx)tst-array5.out): Remove rule.
19437         ($(objpfx)tst-array5-cmp.out): New rule.
19438         ($(objpfx)tst-array5-static.out): Remove rule.
19439         ($(objpfx)tst-array5-static-cmp.out): New rule.
19440         [$(run-built-tests) = yes] (tests): Depend on
19441         $(objpfx)order2-cmp.out.
19442         ($(objpfx)order2.out): Remove rule.
19443         ($(objpfx)order2-cmp.out): New rule.
19444         ($(objpfx)tst-initorder.out): Remove rule.
19445         [$(run-built-tests) = yes] (tests): Depend on
19446         $(objpfx)tst-initorder-cmp.out.
19447         ($(objpfx)tst-initorder-cmp.out): New rule.
19448         ($(objpfx)tst-initorder2.out): Remove rule.
19449         [$(run-built-tests) = yes] (tests): Depend on
19450         $(objpfx)tst-initorder2-cmp.out.
19451         ($(objpfx)tst-initorder2-cmp.out): New rule.
19452         [$(run-built-tests) = yes] (tests): Depend on
19453         $(objpfx)tst-unused-dep-cmp.out.
19454         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19455         ($(objpfx)tst-unused-dep-cmp.out): New rule.
19456         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19457         on $(objpfx)tst-setvbuf1-cmp.out.
19458         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19459         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19460         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19461         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19462         ($(objpfx)tst-svc.out): Remove rule.
19463         ($(objpfx)tst-svc-cmp.out): New rule.
19465 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
19467         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19468         * ctype/ctype.h [__USE_MISC]: Likewise.
19469         * dirent/dirent.h [__USE_MISC]: Likewise.
19470         * grp/grp.h [__USE_MISC]: Likewise.
19471         * io/fcntl.h [__USE_MISC]: Likewise.
19472         * io/sys/stat.h [__USE_MISC]: Likewise.
19473         * libio/stdio.h [__USE_MISC]: Likewise.
19474         * posix/unistd.h [__USE_MISC]: Likewise.
19475         * pwd/pwd.h [__USE_MISC]: Likewise.
19476         * stdlib.h [__USE_MISC]: Likewise.
19477         * string/bits/string2.h [__USE_MISC]: Likewise.
19478         * string/string.h [__USE_MISC]: Likewise.
19479         * time/time.h [__USE_MISC]: Likewise.
19481 2014-02-13  Andreas Schwab  <schwab@suse.de>
19483         [BZ #16574]
19484         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19485         second answer buffer if it was separately allocated.
19487 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
19489         * sysdeps/mips/math-tests.h: Include <features.h>.
19490         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19491         (ROUNDING_TESTS_long_double): Do not define.
19492         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19493         (EXCEPTION_TESTS_long_double): Likewise.
19494         * sysdeps/mips/mips64/libm-test-ulps: Update.
19496         * include/features.h (__USE_BSD): Remove macro definitions.
19497         (__USE_SVID): Likewise.
19498         (_BSD_SOURCE): Likewise.
19499         (_SVID_SOURCE): Likewise.
19500         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19501         from definition of _DEFAULT_SOURCE.
19502         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19503         [_DEFAULT_SOURCE].
19504         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19505         * bits/mman.h [__USE_BSD]: Likewise.
19506         * bits/termios.h [__USE_BSD]: Likewise.
19507         * bits/waitstatus.h [__USE_BSD]: Likewise.
19508         * ctype/ctype.h [__USE_SVID]: Likewise.
19509         * dirent/dirent.h [__USE_BSD]: Likewise.
19510         * grp/grp.h [__USE_SVID]: Likewise.
19511         [__USE_BSD]: Likewise.
19512         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19513         * io/fcntl.h [__USE_BSD]: Likewise.
19514         * io/ftw.h [__USE_BSD]: Likewise.
19515         * io/sys/stat.h [__USE_BSD]: Likewise.
19516         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19517         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19518         * libio/stdio.h [__USE_SVID]: Likewise.
19519         [__USE_BSD]: Likewise.
19520         * math/math.h [__USE_SVID]: Likewise.
19521         [__USE_BSD]: Likewise.
19522         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19523         * misc/bits/syslog.h [__USE_BSD]: Likewise.
19524         * misc/search.h [__USE_SVID]: Likewise.
19525         * misc/sys/mman.h [__USE_BSD]: Likewise.
19526         * misc/sys/syslog.h [__USE_BSD]: Likewise.
19527         * misc/sys/uio.h [__USE_BSD]: Likewise.
19528         * posix/bits/unistd.h [__USE_BSD]: Likewise.
19529         * posix/glob.h [__USE_BSD]: Likewise.
19530         * posix/regex.h [__USE_BSD]: Likewise.
19531         * posix/sys/types.h [__USE_BSD]: Likewise.
19532         [__USE_SVID]: Likewise.
19533         * posix/sys/utsname.h [__USE_SVID]: Likewise.
19534         * posix/sys/wait.h [__USE_BSD]: Likewise.
19535         [__USE_SVID]: Likewise.
19536         * posix/unistd.h [__USE_BSD]: Likewise.
19537         [__USE_SVID]: Likewise.
19538         * pwd/pwd.h [__USE_SVID]: Likewise.
19539         * resolv/netdb.h [__USE_BSD]: Likewise.
19540         * setjmp/setjmp.h [__USE_BSD]: Likewise.
19541         * signal/signal.h [__USE_BSD]: Likewise.
19542         [__USE_SVID]: Likewise.
19543         * socket/sys/socket.h [__USE_BSD]: Likewise.
19544         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19545         * stdlib/stdlib.h [__USE_BSD]: Likewise.
19546         [__USE_SVID]: Likewise.
19547         * string/bits/string2.h [__USE_BSD]: Likewise.
19548         [__USE_SVID]: Likewise.
19549         * string/bits/string3.h [__USE_BSD]: Likewise.
19550         * string/endian.h [__USE_BSD]: Likewise.
19551         * string/string.h [__USE_SVID]: Likewise.
19552         [__USE_BSD]: Likewise.
19553         * string/strings.h [__USE_BSD]: Likewise.
19554         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19555         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19556         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19557         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19558         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19559         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19560         Likewise.
19561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19562         Likewise.
19563         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19564         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19565         Likewise.
19566         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19567         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19570         Likewise.
19571         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19572         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19573         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19574         Likewise.
19575         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19576         Likewise.
19577         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19578         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19579         * termios/termios.h [__USE_BSD]: Likewise.
19580         * time/sys/time.h [__USE_BSD]: Likewise.
19581         * time/time.h [__USE_BSD]: Likewise.
19582         [__USE_SVID]: Likewise.
19584         * Makefile (subdir_targets): Remove subdir_lint.out.
19586         * stdio-common/Makefile (do-tst-unbputc): Remove target.
19587         (do-tst-printf): Likewise.
19588         (tests): Depend directly on $(objpfx)tst-unbputc.out and
19589         $(objpfx)tst-printf.out.
19591         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19593         * Makerules (check-abi-%): Change target to
19594         $(objpfx)check-abi-%.out.
19595         (check-abi target): Update dependencies.
19596         (check-abi-pattern variable): Redirect output of diff to $@.
19597         (check-abi variable): Likewise.
19598         * elf/Makefile (check-abi): Update dependencies.
19600         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19601         unused.
19602         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19603         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19604         subnormal range.
19605         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19606         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19607         value has largest subnormal exponent.
19608         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19609         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19610         * sysdeps/aarch64/soft-fp/sfp-machine.h
19611         (_FP_TININESS_AFTER_ROUNDING): New macro.
19612         * sysdeps/alpha/soft-fp/sfp-machine.h
19613         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19614         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19615         Likewise.
19616         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19617         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19618         * sysdeps/mips/soft-fp/sfp-machine.h
19619         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19620         * sysdeps/powerpc/soft-fp/sfp-machine.h
19621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19622         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19623         Likewise.
19624         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19626         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19628         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19629         Likewise.
19631 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
19633         [BZ #16545]
19634         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19635         model 1.
19637 2014-02-12  Richard Henderson  <rth@redhat.com>
19639         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19640         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19641         * sysdeps/unix/sysv/linux/alpha: Move directory from
19642         ports/sysdeps/unix/sysv/linux/alpha.
19643         * README: Update listing for alpha-*-linux-gnu.
19645 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
19647         * include/features.h: Update comment documenting feature test
19648         macros.
19649         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
19650         _DEFAULT_SOURCE.
19651         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19652         (_SVID_SOURCE): Likewise.
19653         (_DEFAULT_SOURCE): Update description of default features.
19654         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19655         with _GNU_SOURCE.
19656         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19657         (S_ISVTX): Likewise.
19658         * manual/math.texi (Mathematical Constants): Likewise.
19659         * manual/signal.texi (Interrupted Primitives): Likewise.
19660         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19661         * math/test-matherr.c (_SVID_SOURCE): Do not define.
19662         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19663         Don't refer to _SVID_SOURCE in warning text.
19665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19667         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19668         already defined.
19669         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19670         * sysdeps/mips/dl-lookup.c: Remove.
19671         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19673 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19675         [BZ #16447]
19676         * math/auto-libm-test-in: Add testcase for expl.
19677         * math/auto-libm-test-out: Regenerate.
19678         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19679         calculation of unsafe.
19680         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19682 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19684         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19685         * sysdeps/unix/sysv/linux/aarch64: Move directory from
19686         ports/sysdeps/unix/sysv/linux/aarch64.
19687         * README: Update listing for aarch64*-*-linux-gnu.
19689 2014-02-11  Will Newton  <will.newton@linaro.org>
19691         * manual/probes.texi (Mathematical Function Probes): Use
19692         "triggered" instead of "hit".
19694         * manual/probes.texi (Internal Probes): Add documentation
19695         of setjmp, longjmp and longjmp_target probes.
19697         * include/stap-probe.h: Add comment about probe argument
19698         format.
19700         * malloc/mtrace.c (attribute_hidden): Remove unused macro
19701         definition.  (tr_where, tr_freehook, tr_mallochook,
19702         tr_reallochook, tr_memalignhook): Use ANSI protoype.
19704 2014-02-11  David S. Miller  <davem@davemloft.net>
19706         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19707         processing int_tests.
19709 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
19711         * sysdeps/mips: Move directory from ports/sysdeps/mips.
19712         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19713         * sysdeps/unix/sysv/linux/mips: Move directory from
19714         ports/sysdeps/unix/sysv/linux/mips.
19715         * README: Update listing for mips-*-linux-gnu and
19716         mips64-*-linux-gnu.
19718 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
19720         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19721         * sysdeps/unix/sysv/linux/m68k: Move directory from
19722         ports/sysdeps/unix/sysv/linux/m68k.
19723         * README: Update listing for m68k-*-linux-gnu.
19725 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
19727         * sysdeps/tile: Move directory from ports/sysdeps/tile.
19728         * sysdeps/unix/sysv/linux/generic: Move directory from
19729         ports/sysdeps/unix/sysv/linux/generic.
19730         * sysdeps/unix/sysv/linux/tile: Move directory from
19731         ports/sysdeps/unix/sysv/linux/tile.
19732         * README: Update listing for tile*-*-linux-gnu.
19734 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
19736         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19737         __builtin_expect.
19738         * benchtests/bench-memmem.c (simple_memmem): Likewise.
19739         * catgets/open_catalog.c (__open_catalog): Likewise.
19740         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19741         * debug/confstr_chk.c: Likewise.
19742         * debug/fread_chk.c (__fread_chk): Likewise.
19743         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19744         * debug/getgroups_chk.c: Likewise.
19745         * debug/mbsnrtowcs_chk.c: Likewise.
19746         * debug/mbsrtowcs_chk.c: Likewise.
19747         * debug/mbstowcs_chk.c: Likewise.
19748         * debug/memcpy_chk.c: Likewise.
19749         * debug/memmove_chk.c: Likewise.
19750         * debug/mempcpy_chk.c: Likewise.
19751         * debug/memset_chk.c: Likewise.
19752         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19753         * debug/strcat_chk.c (__strcat_chk): Likewise.
19754         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19755         * debug/strncat_chk.c (__strncat_chk): Likewise.
19756         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19757         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19758         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19759         * debug/wcpncpy_chk.c: Likewise.
19760         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19761         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19762         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19763         * debug/wcsncpy_chk.c: Likewise.
19764         * debug/wcsnrtombs_chk.c: Likewise.
19765         * debug/wcsrtombs_chk.c: Likewise.
19766         * debug/wcstombs_chk.c: Likewise.
19767         * debug/wmemcpy_chk.c: Likewise.
19768         * debug/wmemmove_chk.c: Likewise.
19769         * debug/wmempcpy_chk.c: Likewise.
19770         * debug/wmemset_chk.c: Likewise.
19771         * dirent/scandirat.c (SCANDIRAT): Likewise.
19772         * dlfcn/dladdr1.c (dladdr1): Likewise.
19773         * dlfcn/dladdr.c (dladdr): Likewise.
19774         * dlfcn/dlclose.c (dlclose_doit): Likewise.
19775         * dlfcn/dlerror.c (__dlerror): Likewise.
19776         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19777         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19778         * dlfcn/dlopen.c (dlopen_doit): Likewise.
19779         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19780         * dlfcn/dlsym.c (dlsym_doit): Likewise.
19781         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19782         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19783         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19784         Likewise.
19785         * elf/dl-conflict.c: Likewise.
19786         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19787         * elf/dl-dst.h: Likewise.
19788         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19789         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19790         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19791         * elf/dl-init.c (call_init, _dl_init): Likewise.
19792         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19793         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19794         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19795         Likewise.
19796         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19797         Likewise.
19798         * elf/dl-minimal.c (__libc_memalign): Likewise.
19799         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19800         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19801         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19802         * elf/dl-sym.c (do_sym): Likewise.
19803         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19804         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19805         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19806         * elf/dl-writev.h (_dl_writev): Likewise.
19807         * elf/ldconfig.c (search_dir): Likewise.
19808         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19809         (dl_main): Likewise.
19810         * elf/setup-vdso.h (setup_vdso): Likewise.
19811         * grp/compat-initgroups.c (compat_call): Likewise.
19812         * grp/fgetgrent.c (fgetgrent): Likewise.
19813         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19814         * grp/putgrent.c (putgrent): Likewise.
19815         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19816         Likewise.
19817         * hurd/hurdinit.c: Likewise.
19818         * iconvdata/8bit-gap.c (struct): Likewise.
19819         * iconvdata/ansi_x3.110.c : Likewise.
19820         * iconvdata/big5.c : Likewise.
19821         * iconvdata/big5hkscs.c : Likewise.
19822         * iconvdata/cp1255.c: Likewise.
19823         * iconvdata/cp1258.c : Likewise.
19824         * iconvdata/cp932.c : Likewise.
19825         * iconvdata/euc-cn.c: Likewise.
19826         * iconvdata/euc-jisx0213.c : Likewise.
19827         * iconvdata/euc-jp.c: Likewise.
19828         * iconvdata/euc-jp-ms.c : Likewise.
19829         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19830         * iconvdata/gb18030.c : Likewise.
19831         * iconvdata/gbbig5.c (const): Likewise.
19832         * iconvdata/gbgbk.c: Likewise.
19833         * iconvdata/gbk.c : Likewise.
19834         * iconvdata/ibm1364.c : Likewise.
19835         * iconvdata/ibm930.c : Likewise.
19836         * iconvdata/ibm932.c: Likewise.
19837         * iconvdata/ibm933.c : Likewise.
19838         * iconvdata/ibm935.c : Likewise.
19839         * iconvdata/ibm937.c : Likewise.
19840         * iconvdata/ibm939.c : Likewise.
19841         * iconvdata/ibm943.c: Likewise.
19842         * iconvdata/iso_11548-1.c: Likewise.
19843         * iconvdata/iso-2022-cn.c : Likewise.
19844         * iconvdata/iso-2022-cn-ext.c : Likewise.
19845         * iconvdata/iso-2022-jp-3.c: Likewise.
19846         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19847         * iconvdata/iso-2022-kr.c : Likewise.
19848         * iconvdata/iso646.c (gconv_end): Likewise.
19849         * iconvdata/iso_6937-2.c : Likewise.
19850         * iconvdata/iso_6937.c : Likewise.
19851         * iconvdata/iso8859-1.c: Likewise.
19852         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19853         * iconvdata/shift_jisx0213.c : Likewise.
19854         * iconvdata/sjis.c : Likewise.
19855         * iconvdata/t.61.c : Likewise.
19856         * iconvdata/tcvn5712-1.c : Likewise.
19857         * iconvdata/tscii.c: Likewise.
19858         * iconvdata/uhc.c : Likewise.
19859         * iconvdata/unicode.c (gconv_end): Likewise.
19860         * iconvdata/utf-16.c (gconv_end): Likewise.
19861         * iconvdata/utf-32.c (gconv_end): Likewise.
19862         * iconvdata/utf-7.c (base64): Likewise.
19863         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19864         * iconv/gconv_close.c (__gconv_close): Likewise.
19865         * iconv/gconv_open.c (__gconv_open): Likewise.
19866         * iconv/gconv_simple.c (internal_ucs4_loop_single)
19867         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19868         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19869         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19870         (ucs4le_internal_loop_single): Likewise.
19871         * iconv/iconv.c (iconv): Likewise.
19872         * iconv/iconv_close.c: Likewise.
19873         * iconv/loop.c (SINGLE): Likewise.
19874         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19875         * include/atomic.h: Likewise.
19876         * inet/inet6_option.c (option_alloc): Likewise.
19877         * intl/bindtextdom.c (set_binding_values): Likewise.
19878         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19879         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19880         * intl/localealias.c (read_alias_file): Likewise.
19881         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19882         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19883         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19884         * libio/fmemopen.c (fmemopen): Likewise.
19885         * libio/iofgets.c (_IO_fgets): Likewise.
19886         * libio/iofgets_u.c (fgets_unlocked): Likewise.
19887         * libio/iofgetws.c (fgetws): Likewise.
19888         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19889         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19890         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19891         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19892         * locale/findlocale.c (_nl_find_locale): Likewise.
19893         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19894         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19895         Likewise.
19896         * locale/setlocale.c (setlocale): Likewise.
19897         * login/programs/pt_chown.c (main): Likewise.
19898         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19899         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19900         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19901         (mmap, mmap64, mremap, munmap): Likewise.
19902         * math/e_exp2l.c: Likewise.
19903         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19904         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19905         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19906         * math/s_catan.c (__catan): Likewise.
19907         * math/s_catanf.c (__catanf): Likewise.
19908         * math/s_catanh.c (__catanh): Likewise.
19909         * math/s_catanhf.c (__catanhf): Likewise.
19910         * math/s_catanhl.c (__catanhl): Likewise.
19911         * math/s_catanl.c (__catanl): Likewise.
19912         * math/s_ccosh.c (__ccosh): Likewise.
19913         * math/s_ccoshf.c (__ccoshf): Likewise.
19914         * math/s_ccoshl.c (__ccoshl): Likewise.
19915         * math/s_cexp.c (__cexp): Likewise.
19916         * math/s_cexpf.c (__cexpf): Likewise.
19917         * math/s_cexpl.c (__cexpl): Likewise.
19918         * math/s_clog10.c (__clog10): Likewise.
19919         * math/s_clog10f.c (__clog10f): Likewise.
19920         * math/s_clog10l.c (__clog10l): Likewise.
19921         * math/s_clog.c (__clog): Likewise.
19922         * math/s_clogf.c (__clogf): Likewise.
19923         * math/s_clogl.c (__clogl): Likewise.
19924         * math/s_csin.c (__csin): Likewise.
19925         * math/s_csinf.c (__csinf): Likewise.
19926         * math/s_csinh.c (__csinh): Likewise.
19927         * math/s_csinhf.c (__csinhf): Likewise.
19928         * math/s_csinhl.c (__csinhl): Likewise.
19929         * math/s_csinl.c (__csinl): Likewise.
19930         * math/s_csqrt.c (__csqrt): Likewise.
19931         * math/s_csqrtf.c (__csqrtf): Likewise.
19932         * math/s_csqrtl.c (__csqrtl): Likewise.
19933         * math/s_ctan.c (__ctan): Likewise.
19934         * math/s_ctanf.c (__ctanf): Likewise.
19935         * math/s_ctanh.c (__ctanh): Likewise.
19936         * math/s_ctanhf.c (__ctanhf): Likewise.
19937         * math/s_ctanhl.c (__ctanhl): Likewise.
19938         * math/s_ctanl.c (__ctanl): Likewise.
19939         * math/w_pow.c: Likewise.
19940         * math/w_powf.c: Likewise.
19941         * math/w_powl.c: Likewise.
19942         * math/w_scalb.c (sysv_scalb): Likewise.
19943         * math/w_scalbf.c (sysv_scalbf): Likewise.
19944         * math/w_scalbl.c (sysv_scalbl): Likewise.
19945         * misc/error.c (error_tail): Likewise.
19946         * misc/pselect.c (__pselect): Likewise.
19947         * nis/nis_callback.c (__nis_create_callback): Likewise.
19948         * nis/nis_call.c (__nisfind_server): Likewise.
19949         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19950         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19951         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19952         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19953         * nis/nis_lookup.c (nis_lookup): Likewise.
19954         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19955         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19956         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19957         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19958         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19959         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19960         * nis/nss_compat/compat-initgroups.c (add_group)
19961         (internal_getgrent_r): Likewise.
19962         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19963         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19964         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19965         (internal_getspnam_r): Likewise.
19966         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19967         (_nss_nis_getaliasbyname_r): Likewise.
19968         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19969         (_nss_nis_getntohost_r): Likewise.
19970         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19971         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19972         (_nss_nis_getgrgid_r): Likewise.
19973         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19974         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19975         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19976         (_nss_nis_gethostbyname4_r): Likewise.
19977         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19978         (initgroups_netid): Likewise.
19979         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19980         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19981         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19982         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19983         (_nss_nis_getprotobynumber_r): Likewise.
19984         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19985         (_nss_nis_getsecretkey): Likewise.
19986         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19987         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19988         (_nss_nis_getpwuid_r): Likewise.
19989         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19990         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19991         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19992         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19993         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19994         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19995         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19996         Likewise.
19997         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19998         (_nss_nisplus_getntohost_r): Likewise.
19999         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20000         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20001         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20002         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20003         Likewise.
20004         * nis/nss_nisplus/nisplus-initgroups.c
20005         (_nss_nisplus_initgroups_dyn): Likewise.
20006         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20007         (_nss_nisplus_getnetbyaddr_r): Likewise.
20008         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20009         (_nss_nisplus_getprotobynumber_r): Likewise.
20010         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20011         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20012         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20013         Likewise.
20014         * nis/nss_nisplus/nisplus-service.c
20015         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20016         (_nss_nisplus_getservbyport_r): Likewise.
20017         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20018         (_nss_nisplus_getspnam_r): Likewise.
20019         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20020         Likewise.
20021         * nscd/aicache.c (addhstaiX): Likewise.
20022         * nscd/cache.c (cache_search, prune_cache): Likewise.
20023         * nscd/connections.c (register_traced_file, send_ro_fd)
20024         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20025         (main_loop_epoll): Likewise.
20026         * nscd/grpcache.c (addgrbyX): Likewise.
20027         * nscd/hstcache.c (addhstbyX): Likewise.
20028         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20029         * nscd/mem.c (gc, mempool_alloc): Likewise.
20030         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20031         (addinnetgrX): Likewise.
20032         * nscd/nscd-client.h (__nscd_acquire_maplock)
20033         (__nscd_drop_map_ref): Likewise.
20034         * nscd/nscd_getai.c (__nscd_getai): Likewise.
20035         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20036         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20037         Likewise.
20038         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20039         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20040         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20041         (__nscd_get_map_ref): Likewise.
20042         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20043         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20044         Likewise.
20045         * nscd/pwdcache.c (addpwbyX): Likewise.
20046         * nscd/selinux.c (preserve_capabilities): Likewise.
20047         * nscd/servicescache.c (addservbyX): Likewise.
20048         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20049         * posix/fnmatch.c (fnmatch): Likewise.
20050         * posix/getopt.c (_getopt_internal_r): Likewise.
20051         * posix/glob.c (glob, glob_in_dir): Likewise.
20052         * posix/wordexp.c (exec_comm_child): Likewise.
20053         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20054         (getanswer_r, gaih_getanswer_slice): Likewise.
20055         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20056         * resolv/res_init.c: Likewise.
20057         * resolv/res_mkquery.c (res_nmkquery): Likewise.
20058         * resolv/res_query.c (__libc_res_nquery): Likewise.
20059         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20060         Likewise.
20061         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20062         * stdio-common/perror.c (perror): Likewise.
20063         * stdio-common/printf_fp.c (___printf_fp): Likewise.
20064         * stdio-common/tmpnam.c (tmpnam): Likewise.
20065         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20066         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20067         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20068         Likewise.
20069         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20070         * stdlib/putenv.c (putenv): Likewise.
20071         * stdlib/setenv.c (__add_to_environ): Likewise.
20072         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20073         * stdlib/strtol_l.c (INTERNAL): Likewise.
20074         * string/memmem.c (memmem): Likewise.
20075         * string/strerror.c (strerror): Likewise.
20076         * string/strnlen.c (__strnlen): Likewise.
20077         * string/test-memmem.c (simple_memmem): Likewise.
20078         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20079         * sunrpc/pm_getport.c (__get_socket): Likewise.
20080         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20081         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20082         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20083         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20084         Likewise.
20085         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20086         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20087         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20088         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20089         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20090         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20091         Likewise.
20092         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20093         Likewise.
20094         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20095         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20096         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20097         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20098         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20100         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20101         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20102         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20103         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20104         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20105         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20106         Likewise.
20107         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20108         Likewise.
20109         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20110         Likewise.
20111         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20112         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20113         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20114         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20115         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20116         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20117         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20118         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20120         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20121         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20123         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20124         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20125         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20126         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20127         Likewise.
20128         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20129         Likewise.
20130         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20131         Likewise.
20132         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20133         Likewise.
20134         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20135         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20136         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20137         Likewise.
20138         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20139         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20140         * sysdeps/posix/opendir.c (__opendirat): Likewise.
20141         * sysdeps/posix/sleep.c: Likewise.
20142         * sysdeps/posix/tempname.c: Likewise.
20143         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20144         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20145         Likewise.
20146         * sysdeps/powerpc/powerpc32/dl-machine.h
20147         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20148         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20150         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20151         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20152         Likewise.
20153         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20154         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20155         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20156         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20157         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20158         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20159         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20160         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20161         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20162         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20163         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20164         (elf_machine_lazy_rel): Likewise.
20165         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20166         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20167         (elf_machine_lazy_rel): Likewise.
20168         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20169         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20170         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20171         * sysdeps/unix/grantpt.c (grantpt): Likewise.
20172         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20173         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20174         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20176         Likewise.
20177         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20178         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20179         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20180         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20181         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20182         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20183         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20184         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20185         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20186         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20187         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20188         Likewise.
20189         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20190         (__posix_fallocate64_l64): Likewise.
20191         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20192         (posix_fallocate): Likewise.
20193         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20194         Likewise.
20195         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20196         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20197         (getifaddrs_internal): Likewise.
20198         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20199         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20200         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20201         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20202         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20203         (__posix_fallocate64_l64): Likewise.
20204         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20205         Likewise.
20206         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20207         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20208         (__get_clockfreq): Likewise.
20209         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20210         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20211         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20214         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20215         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20216         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20217         Likewise.
20218         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20219         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20220         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20221         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20222         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20223         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20224         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20225         Likewise.
20226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20227         (posix_fallocate): Likewise.
20228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20229         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20230         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20231         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20232         (elf_machine_rela, elf_machine_rela_relative)
20233         (elf_machine_lazy_rel): Likewise.
20234         * time/asctime.c (asctime_internal): Likewise.
20235         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20236         * time/tzset.c (__tzset_parse_tz): Likewise.
20237         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20238         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20239         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20240         * wcsmbs/wcsmbsload.h: Likewise.
20242         [BZ #15894]
20243         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20245         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20246         (arena_get2): Remove THREAD_STATS conditionals.
20247         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20248         (__malloc_stats, int): Likewise.
20250 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
20252         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20253         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
20255         * manual/setjmp.texi: Fix typos/grammar errors.
20257         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20258         Only return early when n is <= 0.  Delete unused return statement.
20260         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20261         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20262         * debug/tst-longjmp_chk3.c: New file.
20264         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20265         (test_main): Replace code with set_fortify_handler call.
20266         * debug/test-strcpy_chk.c: Likewise.
20267         * debug/tst-chk1.c: Likewise.
20268         * debug/tst-longjmp_chk.c: Likewise.
20269         * test-skeleton.c: Include fcntl.h & paths.h
20270         (set_fortify_handler): Define.
20272         * debug/tst-longjmp_chk.c: Add header comment and include
20273         ../test-skeleton.c.
20274         (do_test): Mark static.
20275         (TEST_FUNCTION): Define.
20277         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20278         (IP_PMTUDISC_INTERFACE): Likewise.
20279         (IP_MULTICAST_IF): Likewise.
20280         (IP_MULTICAST_TTL): Likewise.
20281         (IP_MULTICAST_LOOP): Likewise.
20282         (IP_ADD_MEMBERSHIP): Likewise.
20283         (IP_DROP_MEMBERSHIP): Likewise.
20284         (IP_UNBLOCK_SOURCE): Likewise.
20285         (IP_BLOCK_SOURCE): Likewise.
20286         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20287         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20288         (IP_MSFILTER): Likewise.
20289         (MCAST_JOIN_GROUP): Likewise.
20290         (MCAST_BLOCK_SOURCE): Likewise.
20291         (MCAST_UNBLOCK_SOURCE): Likewise.
20292         (MCAST_LEAVE_GROUP): Likewise.
20293         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20294         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20295         (MCAST_MSFILTER): Likewise.
20296         (IP_MULTICAST_ALL): Likewise.
20297         (IP_UNICAST_IF): Likewise.
20299         * timezone/Makefile: Delete $(have-ksh) check.
20300         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20301         * timezone/tzselect.ksh: Add +x mode bits.
20303         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20304         (ANON_INODE_FS_MAGIC): Likewise.
20305         (BDEVFS_MAGIC): Likewise.
20306         (BINFMTFS_MAGIC): Likewise.
20307         (BTRFS_TEST_MAGIC): Likewise.
20308         (CRAMFS_MAGIC_WEND): Likewise.
20309         (DEBUGFS_MAGIC): Likewise.
20310         (ECRYPTFS_SUPER_MAGIC): Likewise.
20311         (EXT3_SUPER_MAGIC): Likewise.
20312         (EXT4_SUPER_MAGIC): Likewise.
20313         (FUTEXFS_SUPER_MAGIC): Likewise.
20314         (HOSTFS_SUPER_MAGIC): Likewise.
20315         (HUGETLBFS_MAGIC): Likewise.
20316         (MINIX3_SUPER_MAGIC): Likewise.
20317         (MTD_INODE_FS_MAGIC): Likewise.
20318         (NILFS_SUPER_MAGIC): Likewise.
20319         (OPENPROM_SUPER_MAGIC): Likewise.
20320         (PIPEFS_MAGIC): Likewise.
20321         (PSTOREFS_MAGIC): Likewise.
20322         (QNX6_SUPER_MAGIC): Likewise.
20323         (RAMFS_MAGIC): Likewise.
20324         (REISERFS_SUPER_MAGIC_STRING): Likewise.
20325         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20326         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20327         (SECURITYFS_MAGIC): Likewise.
20328         (SELINUX_MAGIC): Likewise.
20329         (SMACK_MAGIC): Likewise.
20330         (SOCKFS_MAGIC): Likewise.
20331         (SQUASHFS_MAGIC): Likewise.
20332         (STACK_END_MAGIC): Likewise.
20333         (TMPFS_MAGIC): Likewise.
20334         (USBDEVICE_SUPER_MAGIC): Likewise.
20335         (V9FS_MAGIC): Likewise.
20336         (XENFS_SUPER_MAGIC): Likewise.
20337         (CRAMFS_MAGIC): Fix typo in comment.
20338         (EXT2_SUPER_MAGIC): Update comment.
20339         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20341 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
20343         * sysdeps/arm: Move directory from ports/sysdeps/arm.
20344         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20345         * sysdeps/unix/sysv/linux/arm: Move directory from
20346         ports/sysdeps/unix/sysv/linux/arm.
20347         * README: Update listing for arm-*-linux-gnueabi.
20349         * README: Remove mention of am33.
20351 2014-02-07  Roland McGrath  <roland@hack.frob.com>
20353         * bits/sigset.h (__sigemptyset): Use a statement expression rather
20354         than the comma operator, to avoid "rhs of comma has no effect"
20355         compiler warnings.
20356         (__sigfillset, __sigandset, __sigorset): Likewise.
20357         * include/signal.h (__sigemptyset): Likewise.
20358         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20360 2014-02-07  Allan McRae  <allan@archlinux.org>
20362         * version.h (RELEASE): Set to "development".
20363         (VERSION): Set to "2.19.90"
20364         * NEWS: Add 2.20 section.
20366 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
20368         [BZ #16529]
20369         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20371 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20373         * manual/contrib.texi: Update entry for Carlos O'Donell,
20374         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20376 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
20378         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20380         * sysdeps/unix/sysv/linux/kernel-features.h
20381         [__LINUX_KERNEL_VERSION >= 0x020621]
20382         (__ASSUME_PROC_PID_TASK_COMM): Define.
20384 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20386         [BZ #16398]
20387         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20388         conversion when destination buffer does not have enough space.
20389         * libio/tst-ftell-partial-wide.c: New test case.
20390         * libio/Makefile (tests): Add tst-ftell-partial-wide.
20392         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20393         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
20394         Leonard and Allan McRae.
20396 2014-02-04  David S. Miller  <davem@davemloft.net>
20398         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20399         32-bit.
20401 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20404         New file
20405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20406         New file
20407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20408         New file.
20409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20410         New file.
20411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20412         New file.
20413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20414         New file.
20415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20416         New file.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20418         New file.
20419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20420         New file.
20421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20422         New file.
20423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20424         New file.
20425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20426         New file.
20427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20428         New file.
20430 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20432         * nptl/shlib-versions: Change powerpc*le start to 2.17.
20433         * shlib-versions: Likewise.
20435 2014-02-04  Roland McGrath  <roland@hack.frob.com>
20436             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20438         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20439         (abilist-pattern): New variable, set to %-le.abilist.
20441         * Makerules (abilist-pattern): New variable.
20442         (vpath): Use $(abilist-pattern) in place of %.abilist.
20443         (check-abi-% pattern rule): Likewise.
20444         (check-abi, update-abi): Likewise.
20446 2014-02-04  Eric Wong  <normalperson@yhbt.net>
20448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20450 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
20452         * manual/startup.texi: Add next, previous, and top entries for
20453         the `Program Arguments' and `Environment Variables' nodes.
20455 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
20457         * manual/macros.texi: Add comments before MTASC-safety macros.
20459         * manual/users.texi: Document MTASC-safety properties.
20461         * manual/threads.texi (pthread_key_create, pthread_key_delete)
20462         (pthread_getspecific, pthread_setspecific): Format with
20463         @deftypefun, and add @safety note.
20464         * manual/signal.texi: Move comments that analyze the above
20465         functions to their home place.
20467 2014-02-03  Allan McRae  <allan@archlinux.org>
20469         * po/sl.po: Update Slovenian translation from translation project.
20471 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
20473         * manual/time.texi (timegm): Add missing blank after @c.
20474         Reported by Joseph Myers <joseph@codesourcery.com>.
20476 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
20478         * manual/check-safety.sh: New.
20479         * manual/Makefile ($(objpfx)stamp-summary): Run it.
20481         * manual/terminal.texi: Document MTASC-safety properties.
20483         * manual/filesys.texi: Document MTASC-safety properties.
20485         * manual/errno.texi: Document MTASC-safety properties.
20487         * manual/intro.texi: Document safety identifiers and
20488         conditionals.
20490         * manual/string.texi (wcstok): Fix prototype.
20491         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20493         * manual/time.texi: Document MTASC-safety properties.
20495         * manual/string.texi: Document MTASC-safety properties.
20497         * manual/threads.texi: Document MTASC-safety properties.
20499         * manual/stdio.texi: Document MTASC-safety properties.
20501         * manual/syslog.texi: Document MTASC-safety properties.
20503         * manual/sysinfo.texi: Document MTASC-safety properties.
20505         * manual/startup.texi: Document MTASC-safety properties.
20507         * manual/socket.texi: Document MTASC-safety properties.
20509         * manual/signal.texi: Document MTASC-safety properties.
20511 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
20513         * manual/setjmp.texi: Document MTASC-safety properties.
20515         * manual/search.texi: Document MTASC-safety properties.
20517         * manual/resource.texi: Document MTASC-safety properties.
20519         * manual/process.texi: Document MTASC-safety properties.
20521         * manual/platform.texi: Document MTASC-safety properties.
20523         * manual/pipe.texi: Document MTASC-safety properties.
20525         * manual/pattern.texi: Document MTASC-safety properties.
20527         * manual/message.texi: Document MTASC-safety properties.
20529         [BZ #12751]
20530         * manual/memory.texi: Document MTASC-safety properties.
20532         * manual/math.texi: Document MTASC-safety properties.
20534         * manual/locale.texi: Document MTASC-safety properties.
20536         * manual/llio.texi: Document MTASC-safety properties.
20538         * manual/libdl.texi: New.
20540         * manual/lang.texi: Document MTASC-safety properties.
20542         * manual/job.texi: Document MTASC-safety properties.
20544         * manual/getopt.texi: Document MTASC-safety properties.
20546         * manual/ctype.texi: Document MTASC-safety properties.
20548 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
20550         [BZ #16046]
20551         * csu/libc-tls.c (static_map): Remove variable.
20552         (__libc_setup_tls): Use main executable's link map for TLS data.
20553         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20554         casing for LM_ID_BASE and GL(dl_nns).
20555         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20556         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
20557         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20558         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20559         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20560         member.
20561         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20562         l_phnum members.
20564 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
20566         * manual/debug.texi: Document MTASC-safety properties.
20568 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
20570         [BZ #16510]
20571         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20572         of __x86_64__ when disabling x87 inline functions.
20574 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
20576         * manual/charset.texi: Document MTASC-safety properties.
20578         * manual/crypt.texi: Document MTASC-safety properties.
20580         * manual/conf.texi: Document MTASC-safety properties.
20582         * manual/arith.texi: Document MTASC-safety properties.
20584         * manual/argp.texi: Document MTASC-safety properties.
20586         * manual/macros.texi: Introduce macros to document multi
20587         thread, asynchronous signal and asynchronous cancellation
20588         safety properties.
20589         * manual/intro.texi: Introduce the properties themselves.
20591 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20593         * sysdeps/sh/sh4/Makefile: New file.
20595 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
20597         * math/gen-libm-test.pl ($srcdir): New variable.
20598         ($auto_input): Use it.
20600 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20602         [BZ #16506]
20603         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20604         access beyond array bounds when parsing netgroups file.
20606         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20607         the old buffer before realloc.
20609 2014-01-27  Allan McRae  <allan@archlinux.org>
20611         * po/fr.po: Update French translation from translation project.
20613 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20615         * sysdeps/sh/libm-test-ulps: Regenerate.
20617 2014-01-24  David S. Miller  <davem@davemloft.net>
20619         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20621 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20623         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20624         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20626 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20628         [BZ #16474]
20629         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20630         string pointers after reallocation.
20632 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20634         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20635         __SH4A__ instead of __SH_FPU_ANY__.
20637 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20639         * sysdeps/sh/fpu_control.h: New file.
20640         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20641         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20642         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20643         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20644         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20645         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20646         * sysdeps/sh/sys/ucontext.h: Remove.
20647         * sysdeps/sh/sys: Remove directory.
20649 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20651         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20652         s390/sys/ucontext.h.
20653         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20654         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20656 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
20658         [BZ #15605]
20659         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20661 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20663         [BZ#16431]
20664         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20665         Adjust the vDSO correctly for internal calls.
20666         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20668 2014-01-20  Allan McRae  <allan@archlinux.org>
20670         * po/ca.po: Update Catalan translation from translation project.
20672 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
20674         * sysdeps/s390/sotruss-lib.c: New file.
20676 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20678         [BZ#16430]
20679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20680         (__GI___gettimeofday): Alias for a different internal symbol to avoid
20681         local calls issues by not having a PLT stub required for IFUNC calls.
20682         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20684 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
20686         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20687         * math/test-fpucw-static.c: Likewise.
20689 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20691         [BZ #16453]
20692         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20694 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20696         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20697         implementation for powerpc.
20699 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
20701         [BZ #14782]
20702         * sysdeps/posix/system.c (__libc_system): Do not enable
20703         asynchronous cancellation.
20705 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20707         [BZ #16427]
20708         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20709         handling only for numbers special also in the IEEE case.
20711 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20715 2014-01-11  Allan McRae  <allan@archlinux.org>
20717         * po/bg.po: Update Bulgarian translation from translation project.
20719         * po/de.po: Update German translation from translation project.
20721 2014-01-10  Roland McGrath  <roland@hack.frob.com>
20723         * sysdeps/generic/gcc-compat.h: New file.
20725 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20727         * benchtests/asin-inputs: Correct slow inputs.
20728         * benchtests/acos-inputs: Likewise.
20730 2014-01-10  Allan McRae  <allan@archlinux.org>
20732         * po:sv.po: Update Swedish translation from translation project.
20734         * po/vi.po: Update Vietnamese translation from translation project.
20736         * po/eo.po: Update Esperanto translation from translation project.
20738         * po/cs.po: Update Czech translation from translation project.
20740         * po/nl.po: Update Dutch translation from translation project.
20742         * po/pl.po: Update Polish translation from translation project.
20744         * po/ru.po: Update Russian translation from translation project.
20746         * po/uk.po: Update Ukrainian translation from translation project.
20748 2014-01-08  Brooks Moses  <bmoses@google.com>
20750         * elf/dl-load.c: Fix comment typo.
20752 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
20754         * po/header.pot: Rename to...
20755         * po/pot.header: ... this.
20756         * po/Makefile: Use pot.header.
20758 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
20759             Maxim Kuvyrkov  <maxim@kugelworks.com>
20761         [BZ #16394]
20762         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20763         SRC and DEST against LEN.
20765 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20767         [BZ #16414]
20768         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20769         implementation.
20770         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20772 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20776 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
20778         [BZ #16408]
20779         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20780         for large positive arguments.
20782 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
20784         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20786         * math/auto-libm-test-in: Mark various tests with
20787         xfail-rounding:ldbl-128ibm.
20788         * math/auto-libm-test-out: Regenerated.
20790         [BZ #16407]
20791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20792         Increase overflow threshold.
20794 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
20796         [BZ #14286]
20797         * stdio-common/vfprintf.c: Check for integer overflow.
20799 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20801         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20802         the first argument and return value of __tls_get_addr_internal.
20804 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20806         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20807         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20809 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20811         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20812         * sysdeps/s390/rtld-global-offsets.sym: New file.
20813         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20814         GLIBC_2.19 symbol.
20815         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20816         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20817         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20818         ... this.
20819         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20820         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20821         ... this.
20822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20823         Regenerate.
20824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20825         Regenerate.
20826         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20827         halfs of GPRs for high_gprs contexts.
20828         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20829         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
20830         field.
20831         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20832         uc_flags field.
20833         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20834         64 bit versions:
20835         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20836         for high GPRs (uc_high_gprs) and for future extensions
20837         (__reserved).
20838         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20839         for future extensions (__reserved).
20840         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20841         64 bit versions:
20842         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20843         SC_HIGHGPRS offset definition.
20844         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20845         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20847         * Versions.def: Add GLIBC_2.19 for libpthread.
20848         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20849         siglongjmp for libpthread with GLIBC_2.19 symver.
20850         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20851         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20852         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20853         * sysdeps/s390/__longjmp.c: New file.
20854         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20855         * sysdeps/s390/longjmp.c: New file.
20856         * sysdeps/s390/setjmp.S: New file.
20857         * sysdeps/s390/sigjmp.S: New file.
20858         * sysdeps/s390/v1-longjmp.c: New file.
20859         * sysdeps/s390/v1-setjmp.h: New file.
20860         * sysdeps/s390/v1-sigjmp.c: New file.
20861         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20862         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20863         GLIBC_2.19 version.
20864         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20865         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20866         versioned symbols for ____longjmp_chk.
20867         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20868         Likewise.
20869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20870         Regenerate.
20871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20872         Regenerate.
20873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20874         Regenerate.
20875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20876         Regenerate.
20877         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20878         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20879         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20880         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20881         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20882         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20883         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20884         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20885         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20886         * sysdeps/s390/rtld-__longjmp.c: New file.
20887         * sysdeps/s390/rtld-setjmp.S: New file.
20889 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
20891         [BZ #16400]
20892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20893         Return -__logl (x) for small positive arguments without evaluating
20894         a polynomial.
20896 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
20898         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20899         Rename to ...
20900         (__ptrace_peeksiginfo_args): ... this.
20901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20902         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20903         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20905 2014-01-06  Allan McRae  <allan@archlinux.org>
20907         * inet/netinet/in.h: Fix typo in comment.
20909 2014-01-05  Andreas Jaeger  <aj@suse.de>
20911         * sysdeps/i386/fpu/libm-test-ulps: Update.
20913 2014-01-05  Allan McRae  <allan@archlinux.org>
20915         * po/libc.pot: Regenerated.
20917         * malloc/memusagestat.c: Fix gettext call formatting.
20919 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
20921         * nscd/nscd.c: Improve usage() output.
20923 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20925         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20926         * sysdeps/unix/sysv/linux/configure: Regenerated.
20927         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20928         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20930 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20932         [BZ #16390]
20933         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20934         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20936 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20938         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20939         extra tokens at end of #undef directive.
20940         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20941         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20944 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20946         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20948         * math/auto-libm-test-in: Mark various tests with
20949         xfail-rounding:ldbl-128ibm.
20950         * math/auto-libm-test-out: Regenerated.
20952 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20954         [BZ #16386]
20955         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20956         numbers with subnormal high part when calculating exponent.
20958         [BZ #16385]
20959         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20960         fabs.
20962         [BZ #16384]
20963         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20964         M_LN2l.
20965         (__ieee754_acoshl): Use __log1pl not __log1p.
20967 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20969         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20970         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20971         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20972         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20973         (reused_arena, arena_get2): Convert to GNU style.
20974         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20975         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20976         (memalign_check, __malloc_set_state): Likewise.
20977         * malloc/mallocbug.c (main): Likewise.
20978         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20979         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20980         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20981         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20982         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20983         (__posix_memalign, malloc_info): Likewise.
20984         * malloc/malloc.h: Likewise.
20985         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20986         (mallochook, memalignhook, reallochook, mabort): Likewise.
20987         * malloc/mcheck.h: Likewise.
20988         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20989         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20990         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20991         * malloc/morecore.c (__default_morecore): Likewise.
20992         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20993         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20994         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20995         (print_and_abort): Likewise.
20996         * malloc/obstack.h: Likewise.
20997         * malloc/set-freeres.c (__libc_freeres): Likewise.
20998         * malloc/tst-mallocstate.c (main): Likewise.
20999         * malloc/tst-mtrace.c (main): Likewise.
21000         * malloc/tst-realloc.c (do_test): Likewise.
21002 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21004         [BZ #16366]
21005         * nscd/netgroupcache.c (do_notfound): New function.
21006         (addgetnetgrentX): Use it.
21008         [BZ # 16365]
21009         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21010         NSS_STATUS_NOTFOUND.
21012 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
21014         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21017 2014-01-01  Allan McRae  <allan@archlinux.org>
21019         * scripts/update-copyrights: Update configure input file suffix.
21021         * NEWS: Update copyright year.
21022         * catgets/gencat.c: Likewise.
21023         * csu/version.c: Likewise.
21024         * debug/catchsegv.sh: Likewise.
21025         * debug/pcprofiledump.c: Likewise.
21026         * debug/xtrace.sh: Likewise.
21027         * elf/ldconfig.c: Likewise.
21028         * elf/ldd.bash.in: Likewise.
21029         * elf/pldd.c: Likewise.
21030         * elf/sotruss.ksh: Likewise.
21031         * elf/sprof.c: Likewise.
21032         * iconv/iconv_prog.c: Likewise.
21033         * iconv/iconvconfig.c: Likewise.
21034         * locale/programs/locale.c: Likewise.
21035         * locale/programs/localedef.c: Likewise.
21036         * login/programs/pt_chown.c: Likewise.
21037         * malloc/memusage.sh: Likewise.
21038         * malloc/memusagestat.c: Likewise.
21039         * malloc/mtrace.pl: Likewise.
21040         * manual/libc.texinfo: Likewise.
21041         * nscd/nscd.c: Likewise.
21042         * nss/getent.c: Likewise.
21043         * nss/makedb.c: Likewise.
21044         * posix/getconf.c: Likewise.
21045         * scripts/test-installation.pl: Likewise.
21047         * All files with FSF copyright notices: Update copyright dates
21048         using scripts/update-copyrights.
21049         * intl/plural.c: Regenerated.
21050         * locale/programs/charmap-kw.h: Likewise.
21051         * locale/programs/locfile-kw.h: Likewise.
21053 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
21055         * sysdeps/unix/sysv/linux/configure: Regenerated.
21056         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21057         the linux/fanotify.h header.
21058         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21059         HAVE_LINUX_FANOTIFY_H is defined.
21061 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21063         * benchtests/cos-inputs: New inputs.
21064         * benchtests/sin-inputs: Likewise.
21066         * benchtests/atan-inputs: New inputs. Fix name of multiple
21067         precision fallback inputs.
21069         * benchtests/atanh-inputs: New inputs.
21070         * benchtests/tanh-inputs: Likewise.
21072         * benchtests/acosh-inputs: New inputs.
21073         * benchtests/asinh-inputs: Likewise.
21075         * benchtests/cosh-inputs: New inputs.
21076         * benchtests/sinh-inputs: Likewise.
21078         * benchtests/acos-inputs: Add more inputs.
21079         * benchtests/asin-inputs: Likewise.
21081 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
21083         [BZ #16375]
21084         * manual/arith.texi: Fix spelling.
21085         * manual/charset.texi: Likewise.
21086         * manual/errno.texi: Likewise.
21087         * manual/filesys.texi: Likewise.
21088         * manual/lang.texi: Likewise.
21089         * manual/llio.texi: Likewise.
21090         * manual/locale.texi: Likewise.
21091         * manual/message.texi: Likewise.
21092         * manual/resource.texi: Likewise.
21093         * manual/search.texi: Likewise.
21094         * manual/setjmp.texi: Likewise.
21095         * manual/stdio.texi: Likewise.
21096         * manual/string.texi: Likewise.
21097         * manual/sysinfo.texi: Likewise.
21098         * manual/time.texi: Likewise.
21100 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21102         * po/sl.po: New file.
21104 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
21106         * .gitignore: Add core/.gdbinit/.gdb_history.
21108 2013-12-27  Allan McRae  <allan@archlinux.org>
21110         [BZ #16369]
21111         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21112         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21114 2013-12-24  Brooks Moses  <bmoses@google.com>
21116         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21117         all compilers that claim C++98 compliance, not just GCC.
21118         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21119         Likewise.
21121 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21123         * NEWS: Restore accidentally deleted bug-fix entries.
21125 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21126             Ondřej Bílka  <neleai@seznam.cz>
21128         [BZ #15073]
21129         * malloc/malloc.c (_int_free): Perform sanity check only if we
21130         have_lock.
21132 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21134         [BZ #12986]
21135         * manual/stdio.texi (String Input Conversions): Clarify that character
21136         classes are not supported.
21138 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21142 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
21144         [BZ #16337]
21145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21146         Calculate results for small negative arguments directly rather
21147         than using reflection formula with special underflow handling.
21149         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21150         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21151         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21152         (fchflags): Likewise.
21153         (revoke): Likewise.
21154         (setlogin): Likewise.
21155         (sigaltstack): Likewise.
21156         (wait4): Likewise.
21157         (sigblock): Remove.
21158         (sigsetmask): Likewise.
21159         (wait3): Likewise.
21160         (waitpid): Likewise.
21161         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21162         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21163         file.
21164         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21165         * sysdeps/unix/bsd/Makefile: ... here.
21166         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21167         * sysdeps/unix/bsd/Versions: ... here.
21168         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21169         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21170         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21171         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21172         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21173         * sysdeps/unix/bsd/sigblock.c: ... here.
21174         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21175         * sysdeps/unix/bsd/sigsetmask.c: ... here.
21176         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21177         * sysdeps/unix/bsd/sigvec.c: ... here.
21178         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21179         * sysdeps/unix/bsd/tcdrain.c: ... here.
21180         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21181         * sysdeps/unix/bsd/tcgetattr.c: ... here.
21182         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21183         * sysdeps/unix/bsd/tcsetattr.c: ... here.
21184         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21185         * sysdeps/unix/bsd/wait.c: ... here.
21186         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21187         * sysdeps/unix/bsd/wait3.c: ... here.
21188         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21189         * sysdeps/unix/bsd/waitpid.c: ... here.
21191 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
21193         [BZ #16356]
21194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21195         round-to-nearest for [!USE_AS_EXPM1L].
21196         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21197         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
21198         more tests of exp and exp10.  Expect some exp10 tests to miss
21199         exceptions or fail in directed rounding modes.
21200         * math/auto-libm-test-out: Regenerated.
21201         * math/libm-test.inc (exp10_tonearest_test_data): New array.
21202         (exp10_test_tonearest): New function.
21203         (exp10_towardzero_test_data): New array.
21204         (exp10_test_towardzero): New function.
21205         (exp10_downward_test_data): New array.
21206         (exp10_test_downward): New function.
21207         (exp10_upward_test_data): New array.
21208         (exp10_test_upward): New function.
21209         (main): Call the new functions.
21210         * sysdeps/i386/fpu/libm-test-ulps: Update.
21211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21213 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
21215         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21216         asinh, atan, atan2, atanh, cbrt, cos and cosh.
21217         * math/auto-libm-test-out: Regenerated.
21218         * math/libm-test.inc (acosh_test_data): Add more tests.
21219         (atanh_test_data): Likewise.
21220         (ceil_test_data): Likewise.
21221         (copysign_test_data): Likewise.
21222         * sysdeps/i386/fpu/libm-test-ulps: Update.
21223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21225         * timezone/checktab.awk: Update from tzcode 2013i.
21226         * timezone/private.h: Likewise.
21227         * timezone/scheck.c: Likewise.
21228         * timezone/tzfile.h: Likewise.
21229         * timezone/tzselect.ksh: Likewise.
21230         * timezone/zdump.c: Likewise.
21231         * timezone/zic.c: Likewise.
21233         * math/auto-libm-test-in: Add tests of cpow.
21234         * math/auto-libm-test-out: Regenerated.
21235         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21236         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21237         mpc_cc_c.
21238         (func_calc_desc): Add mpc_cc_c union field.
21239         (test_functions): Add cpow.
21240         (special_fill_2pi): New function.
21241         (special_real_inputs): Add 2pi.
21242         (calc_generic_results): Handle mpc_cc_c.
21243         * sysdeps/i386/fpu/libm-test-ulps: Update.
21244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21246         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21247         csqrt, ctan and ctanh.
21248         * math/auto-libm-test-out: Regenerated.
21249         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21250         (TEST_COND_x86): Likewise.
21251         (ccos_test_data): Use AUTO_TESTS_c_c.
21252         (ccosh_test_data): Likewise.
21253         (cexp_test_data): Likewise.
21254         (clog_test_data): Likewise.
21255         (csqrt_test_data): Likewise.
21256         (ctan_test_data): Likewise.
21257         (ctan_tonearest_test_data): Likewise.
21258         (ctan_towardzero_test_data): Likewise.
21259         (ctan_downward_test_data): Likewise.
21260         (ctan_upward_test_data): Likewise.
21261         (ctanh_test_data): Likewise.
21262         (ctanh_tonearest_test_data): Likewise.
21263         (ctanh_towardzero_test_data): Likewise.
21264         (ctanh_downward_test_data): Likewise.
21265         (ctanh_upward_test_data): Likewise.
21266         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21267         mpc_c_c.
21268         (func_calc_desc): Add mpc_c_c union field.
21269         (FUNC_mpc_c_c): New macro.
21270         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21271         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21272         ctanh.
21273         (special_fill_min_subnorm_p120): New function.
21274         (special_real_inputs): Add min_subnorm_p120.
21275         (calc_generic_results): Handle mpc_c_c.
21276         * sysdeps/i386/fpu/libm-test-ulps: Update.
21277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21279 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21282         (do_sin_slow): New functions.
21283         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21284         (cslow2, csloww1, csloww2): Use the new functions.
21286         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21287         Use M to change sign of result instead of X.  Assume X is
21288         positive.
21289         (csloww1): Likewise.
21290         (__sin): Adjust.
21291         (__cos): Adjust.
21293         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21294         arguments A and DA.
21295         (__sin): Adjust.
21296         (__cos): Likewise.
21298         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21299         (__cos): Likewise.
21300         (sloww1): Don't adjust sign of DX.
21301         (csloww1): Likewise.
21302         (sloww2): Use X directly and don't adjust sign of DX.
21303         (csloww2): Likewise.
21305 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21307         * math/auto-libm-test-in: Add tests of cabs and carg.
21308         * math/auto-libm-test-out: Regenerated.
21309         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21310         (carg_test_data): Likewise.
21311         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21312         mpc_c_f.
21313         (func_calc_desc): Add mpc_c_f union field.
21314         (test_functions): Add cabs and carg.
21315         (calc_generic_results): Handle mpc_c_f.
21317         * sysdeps/powerpc/powerpc32/libgcc-compat.S
21318         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21319         as a macro and a compat symbol.
21320         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21321         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21322         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21323         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21324         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21325         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21326         not use .hidden.
21327         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21328         Likewise.
21329         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21330         Likewise.
21331         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21332         Likewise.
21333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21334         Likewise.
21335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21336         Likewise.
21337         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21338         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21339         from GLIBC_2.3.2.
21341 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21345 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21347         * manual/texinfo.tex: Update to version 2013-11-26.10 with
21348         trailing whitespace removed.
21349         * scripts/config.guess: Update to version 2013-11-29.
21350         * scripts/config.sub: Update to version 2013-10-01.
21352         * math/auto-libm-test-in: Add tests of sincos.
21353         * math/auto-libm-test-out: Regenerated.
21354         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21356         mpfr_f_11.
21357         (func_calc_desc): Add mpfr_f_11 union field.
21358         (test_functions): Add sincos.
21359         (calc_generic_results): Handle mpfr_f_11.
21360         * sysdeps/i386/fpu/libm-test-ulps: Update.
21361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21363 2013-12-19  Andreas Schwab  <schwab@suse.de>
21365         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21366         CALL_MCOUNT.
21367         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21368         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21369         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21371 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21373         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21374         * sysdeps/i386/fpu/libm-test-ulps: Update.
21375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21377         [BZ #16293]
21378         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21379         round-to-nearest mode when using frndint.
21380         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21381         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21382         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21383         Likewise.
21384         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
21385         sinh test to fail.
21386         * math/auto-libm-test-out: Regenerated.
21387         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21388         (TEST_COND_x86): Likewise.
21389         (expm1_tonearest_test_data): New array.
21390         (expm1_test_tonearest): New function.
21391         (expm1_towardzero_test_data): New array.
21392         (expm1_test_towardzero): New function.
21393         (expm1_downward_test_data): New array.
21394         (expm1_test_downward): New function.
21395         (expm1_upward_test_data): New array.
21396         (expm1_test_upward): New function.
21397         (main): Run the new test functions.
21398         * sysdeps/i386/fpu/libm-test-ulps: Update.
21399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21401         * include/features.h: Update comment documenting feature test
21402         macros.  Mention _DEFAULT_SOURCE in comment.
21403         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21404         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21405         _BSD_SOURCE and _SVID_SOURCE.
21406         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21407         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21408         !_SVID_SOURCE]: Likewise.
21409         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21410         (__USE_POSIX_IMPLICITLY): Define.
21411         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21412         (_POSIX_SOURCE): Undefine and redefine.
21413         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21414         (_POSIX_C_SOURCE): Likewise.
21415         * manual/creature.texi (_DEFAULT_SOURCE): Document.
21416         (Feature Test Macros): Update documentation of default features.
21418 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21420         * benchtests/Makefile: Add bench-strtok.
21421         * benchtests/bench-strtok.c: New file: strtok benchtest.
21423 2013-12-19  Allan McRae  <allan@archlinux.org>
21425         * manual/install.texi: Suppress menu for plain text output.
21426         * INSTALL: Regenerated.
21428 2013-12-18  Brooks Moses  <bmoses@google.com>
21430         [BZ #15846]
21431         * misc/getauxval.c: Include errno.h.
21432         (__getauxval): Set errno to ENOENT if the requested type is not
21433         found.
21434         * misc/sys/auxv.h (getauxval): Document that it may set errno;
21435         don't declare with __attribute_const__.
21436         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21437         * manual/startup.texi: Document that getauxval sets errno.
21439 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21441         * math/auto-libm-test-in: Add tests of jn and yn.
21442         * math/auto-libm-test-out: Regenerated.
21443         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21444         (yn_test_data): Likewise.
21445         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21446         mpfr_if_f.
21447         (func_calc_desc): Add mpfr_if_f union field.
21448         (FUNC_mpfr_if_f): New macro.
21449         (test_functions): Add jn and yn.
21450         (calc_generic_results): Assert type of second input for
21451         mpfr_ff_f.  Handle mpfr_if_f.
21452         (output_for_one_input_case): Disable all checking for arguments
21453         fitting floating-point types in case of an integer argument.
21454         * sysdeps/i386/fpu/libm-test-ulps: Update.
21455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21458         Don't expect fegetround reference in libm.so.
21460 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21462         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21463         $(config-cflags-nofma).
21465 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21467         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21468         * math/auto-libm-test-out: Regenerated.
21470         [BZ #16338]
21471         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21472         to determine exponent and adjust argument to have exponent of -1.
21473         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21474         log2.
21475         * math/auto-libm-test-out: Regenerated.
21476         * sysdeps/i386/fpu/libm-test-ulps: Update.
21477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21479 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
21481         * manual/probes.texi: Remove cases when per-thread arenas are
21482         disabled.
21484 2013-12-18  Andreas Schwab  <schwab@suse.de>
21486         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21487         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21488         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21489         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21490         * sysdeps/i386/i686/multiarch/Makefile: Update.
21491         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21493 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21495         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21496         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21498 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
21500         [BZ #15968]
21501         Support TZ transition times < 00:00:00.
21502         This is needed for version-3 tz-format files; it supports time
21503         stamps past 2037 for America/Godthab (the only entry in the tz
21504         database for which this change is relevant).
21505         * manual/time.texi (TZ Variable): Document transition times
21506         from -167:59:59 through -00:00:01.
21507         * time/tzset.c (tz_rule): Time of day is now signed.
21508         (__tzset_parse_tz): Parse negative time of day.
21510         Document TZ transition times >= 25:00:00.
21511         * manual/time.texi (TZ Variable): Document transition times from
21512         25:00:00 through 167:59:59.  These are already supported, and this
21513         support will help with version-3 tz-format files.
21515         * manual/time.texi (TZ Variable): Modernize North America example
21516         to reflect current (i.e., 2007-and-later) daylight saving rules.
21518         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21520 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21522         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21523         * sysdeps/unix/bsd/bits/stat.h: Likewise.
21524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21526         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21527         * sysdeps/unix/bsd/bsdstat.h: Likewise.
21528         * sysdeps/unix/bsd/clock.c: Likewise.
21529         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21530         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21531         * sysdeps/unix/bsd/init-posix.c: Likewise.
21532         * sysdeps/unix/bsd/poll.c: Likewise.
21533         * sysdeps/unix/bsd/ptsname.c: Likewise.
21534         * sysdeps/unix/bsd/seekdir.c: Likewise.
21535         * sysdeps/unix/bsd/setegid.c: Likewise.
21536         * sysdeps/unix/bsd/seteuid.c: Likewise.
21537         * sysdeps/unix/bsd/setgid.c: Likewise.
21538         * sysdeps/unix/bsd/setrgid.c: Likewise.
21539         * sysdeps/unix/bsd/setruid.c: Likewise.
21540         * sysdeps/unix/bsd/setsid.c: Likewise.
21541         * sysdeps/unix/bsd/setuid.c: Likewise.
21542         * sysdeps/unix/bsd/sigaction.c: Likewise.
21543         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21544         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21545         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21546         * sysdeps/unix/bsd/telldir.c: Likewise.
21547         * sysdeps/unix/bsd/times.c: Likewise.
21548         * sysdeps/unix/bsd/usleep.c: Likewise.
21550         * misc/Makefile (install-lib): Remove libbsd-compat.a.
21551         ($(objpfx)libbsd-compat.a): Remove rule.
21553         * include/features.h (__FAVOR_BSD): Do not define.
21554         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21555         features conflicting with POSIX.
21556         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21557         (_BSD_SOURCE): Remove description of not being a subset of other
21558         feature test macros.
21559         * manual/job.texi (getpgrp): Do not document BSD version.
21560         (getpgid): Do not document by reference to BSD getpgrp.
21561         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21562         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21563         * signal/signal.h [__FAVOR_BSD]: Likewise.
21564         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21565         instead of making contents conditional on [__FAVOR_BSD].
21566         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21568 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21572 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21574         [BZ #16314]
21575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21576         values below 2**-450, not 2**-500.
21577         * math/auto-libm-test-in: Don't allow spurious underflow from
21578         hypot.
21579         * math/auto-libm-test-out: Regenerated.
21581         [BZ #16316]
21582         [BZ #16330]
21583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21584         values of ha and hb and sort them after adjusting subnormal
21585         arguments.
21586         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21587         Likewise.
21588         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21589         values of ea and eb and sort them after adjusting subnormal
21590         arguments.
21591         * math/auto-libm-test-in: Do not expect some hypot tests of
21592         subnormals to fail.  Add more hypot tests.
21593         * math/auto-libm-test-out: Regenerated.
21595 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21597         [BZ #13304]
21598         * sysdeps/sh/s_fma.c: New file.
21599         * sysdeps/sh/s_fmaf.c: New file.
21600         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
21601         version.
21602         * sysdeps/sh/Implies: Add sh/soft-fp.
21604 2013-12-16  Roland McGrath  <roland@hack.frob.com>
21606         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
21607         level of indirection to members `objname', `errstring', `malloced'.
21608         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21609         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
21610         it as the __longjmp argument (just pass 1 instead).
21611         (_dl_catch_error): Initialize C with argument pointers and address of
21612         volatile local ERRCODE rather than copying values out of C at return.
21614 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
21616         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21617         * math/auto-libm-test-out: Regenerated.
21618         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21619         (hypot_test_data): Likewise.
21620         (pow_test_data): Likewise.
21621         (pow_tonearest_test_data): Likewise.
21622         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21623         mpfr_ff_f.
21624         (func_calc_desc): Add mpfr_ff_f union field.
21625         (FUNC_mpfr_ff_f): New macro.
21626         (test_functions): Add atan2, hypot and pow.
21627         (special_fill_min): New function.
21628         (special_fill_minus_min): Likewise.
21629         (special_fill_min_subnorm): Likewise.
21630         (special_fill_minus_min_subnorm): Likewise.
21631         (special_real_inputs): Add min, -min, min_subnorm and
21632         -min_subnorm.
21633         (calc_generic_results): Handle mpfr_ff_f.
21634         * sysdeps/i386/fpu/libm-test-ulps: Update.
21635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21637 2013-12-16  Will Newton  <will.newton@linaro.org>
21639         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21640         (Aligned Memory Blocks): Add documentation for aligned_alloc
21641         and suggest it as an alternative to posix_memalign.
21642         (Hooks for Malloc): Document __memalign_hook is also called
21643         for aligned_alloc.  (Summary of Malloc): Add summary for
21644         aligned alloc.  Document __memalign_hook is also called
21645         for aligned_alloc.
21647 2013-12-16  Will Newton  <will.newton@linaro.org>
21649         * manual/memory.texi (Malloc Examples): Clarify default
21650         alignment documentation.  Suggest posix_memalign rather
21651         than memalign or valloc.
21652         (Aligned Memory Blocks): Remove suggestion to use memalign
21653         or valloc.  Remove obsolete comment about BSD.
21654         Document memalign errno values and mark the function obsolete.
21655         Document posix_memalign returned error codes.  Mark valloc
21656         as obsolete.  (Hooks for Malloc): __memalign_hook is also
21657         called for posix_memalign and valloc.
21658         (Summary of Malloc): Add posix_memalign to function summary.
21659         __memalign_hook is also called for posix_memalign and valloc.
21661 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21663         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21664         TAYLOR_SIN.
21665         (__sin): Adjust.
21666         (__cos): Likewise.
21667         (sloww): Use mynumber union.  Expand ternary operator into
21668         if-else statements.
21669         (cslow): use mynumber union.
21671 2013-12-16  Allan McRae  <allan@archlinux.org>
21673         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21674         * configure: Regenerated.
21676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21678         [BZ #14120]
21679         * configure.ac: Added --enable-maintainer-mode. Check for
21680         autoconf when enabled.
21681         * configure: Regenerated.
21683         * nscd/nscd.service: New file.
21684         * nscd/nscd.tmpfiles: New file.
21686 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
21688         [BZ #12100]
21689         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21690         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21691         * sysdeps/x86_64/multiarch/strstr.c: ... here.
21692         (strstr): Add __strstr_sse2_unaligned ifunc.
21693         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21694         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21695         (strcasestr): Remove __strcasestr_sse42 ifunc.
21696         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21700 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21702         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21703         * sysdeps/sh/bits/fenv.h: ... here.
21704         * sysdeps/sh/sh4/fpu/bits: Remove directory.
21706 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21708         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21711         hypotf multiarch implementations.
21712         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21713         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21714         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21715         multiarch hypot for PPC64.
21716         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21719         multiarch hypotf for PPC64.
21721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21722         modff multiarch implementations.
21723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21726         multiarch modf for PPC64.
21727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21730         multiarch modff for PPC64.
21732         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21733         and logl multiarch implementations.
21734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21737         multiarch logb for PPC64.
21738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21741         multiarch logb for PPC64.
21742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21745         multiarch logb for PPC64.
21747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21748         isinff multiarch implementation.
21749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21750         file.
21751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21753         multiarch isinf for PPC64.
21754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21755         file.
21756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21757         multiarch isinff for PPC64.
21759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21760         finitef multiarch implementation.
21761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21762         file.
21763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21765         multiarch finite for PPC64.
21766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21767         file.
21768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21769         multiarch finitef for PPC64.
21771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21772         lrint multiarch implementation.
21773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21774         file.
21775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21777         multiarch llrint for PPC64.
21778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21779         multiarch lrint for PPC64.
21781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21782         copysignf multiarch implementation.
21783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21784         file.
21785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21786         file.
21787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21788         multiarch copysign for PPC64.
21789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21790         multiarch copysignf for PPC64.
21792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21793         multiarch implementation.
21794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21795         file.
21796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21797         file.
21798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21799         file.
21800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21801         file.
21802         multiarch llround for PPC64.
21803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21804         multiarch trunc for PPC64.
21805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21806         multiarch truncf for PPC64.
21808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21809         multiarch implementation.
21810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21811         file.
21812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21813         file.
21814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21815         file.
21816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21817         file.
21818         multiarch llround for PPC64.
21819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21820         multiarch round for PPC64.
21821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21822         multiarch roundf for PPC64.
21824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21825         multiarch implementation.
21826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21827         file.
21828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21829         file.
21830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21831         file.
21832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21833         file.
21834         multiarch llround for PPC64.
21835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21836         multiarch floor for PPC64.
21837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21838         multiarch floorf for PPC64.
21840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21841         multiarch implementation.
21842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21843         file.
21844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21845         file.
21846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21847         file.
21848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21849         file.
21850         multiarch llround for PPC64.
21851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21852         multiarch ceil for PPC64.
21853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21854         multiarch ceilf for PPC64.
21856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21857         multiarch implementation.
21858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21859         file.
21860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21861         file.
21862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21863         file.
21864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21865         multiarch llround for PPC64.
21866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21867         multiarch lround for PPC64.
21869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21870         multiarch implementation.
21871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21874         file.
21875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21878         multiarch isnan for PPC64.
21879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21880         multiarch isnanf for PPC64.
21882         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21883         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21884         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21885         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21886         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21889         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21890         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21891         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21892         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21895         multiarch implementations.
21896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21897         (__libc_ifunc_impl_list): Likewise.
21898         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21901         multiarch stpcpy for PPC64.
21903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21904         multiarch implementations.
21905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21906         (__libc_ifunc_impl_list): Likewise.
21907         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21908         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21909         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21910         multiarch strcpy for PPC64.
21912         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21913         redefine function name.
21914         (_wordcopy_fwd_dest_aligned): Likewise.
21915         (_wordcopy_bwd_aligned): Likewise.
21916         (_wordcopy_bwd_dest_aligned): Likewise.
21917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21918         multiarch implementations.
21919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21920         (__libc_ifunc_impl_list): Likewise.
21921         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21922         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21925         multiarch wcscpy for PPC64.
21927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21928         multiarch implementations.
21929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21930         (__libc_ifunc_impl_list): Likewise.
21931         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21932         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21933         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21934         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21935         multiarch wcscpy for PPC64.
21937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21938         multiarch implementations.
21939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21940         (__libc_ifunc_impl_list): Likewise.
21941         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21942         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21943         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21944         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21945         multiarch wcsrchr for PPC64.
21947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21948         multiarch implementations.
21949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21950         (__libc_ifunc_impl_list): Likewise.
21951         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21952         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21953         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21954         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21955         multiarch wcschr for PPC64.
21957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21958         multiarch implementations.
21959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21960         (__libc_ifunc_impl_list): Likewise.
21961         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21962         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21963         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21964         multiarch strchrnul for PPC64.
21966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21967         implementations.
21968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21969         (__libc_ifunc_impl_list): Likewise.
21970         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21971         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21972         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21973         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21974         strchr for PPC64.
21976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21977         implementations.
21978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21979         (__libc_ifunc_impl_list): Likewise.
21980         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21981         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21982         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21983         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21984         strncmp for PPC64.
21986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21987         multiarch implementations.
21988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21989         (__libc_ifunc_impl_list): Likewise.
21990         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21991         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21992         strncasecmp for PPC64.
21993         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21994         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21995         multiarch strncasecmp_l for PPC64.
21997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21998         multiarch implementations.
21999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22000         (__libc_ifunc_impl_list): Likewise.
22001         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22002         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22003         multiarch strcasecmp for PPC64.
22004         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22005         file.
22006         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22007         multiarch strcasecmp_l for PPC64.
22009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22010         implementations.
22011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22012         (__libc_ifunc_impl_list): Likewise.
22013         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22014         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22015         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22016         strnlen for PPC64.
22018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22019         implementations.
22020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22021         (__libc_ifunc_impl_list): Likewise.
22022         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22023         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22024         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22025         strlen for PPC64.
22027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22028         implementations.
22029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22030         (__libc_ifunc_impl_list): Likewise.
22031         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22032         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22033         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22034         rawmemrchr for PPC64.
22036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22037         implementation.
22038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22039         (__libc_ifunc_impl_list): Likewise.
22040         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22041         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22042         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22043         memrchr for PPC64.
22045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22046         implementation.
22047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22048         (__libc_ifunc_impl_list): Likewise.
22049         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22050         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22051         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22052         memchr for PPC64.
22054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22055         implementation.
22056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22057         (__libc_ifunc_impl_list): Likewise.
22058         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22059         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22060         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22061         mempcpy for PPC64.
22063         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22064         avoid cretion of __bzero symbol.
22065         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22066         Likewise.
22067         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22068         Likewise.
22069         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22070         Likewise.
22071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22072         multiarch implementations.
22073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22074         (__libc_ifunc_impl_list): Likewise.
22075         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22076         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22077         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22078         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22079         bzero for PPC32.
22080         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22081         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22082         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22083         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22084         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22085         memset for PPC64.
22086         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22088         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22090         implementations.
22091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22092         (__libc_ifunc_impl_list): Likewise.
22093         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22094         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22095         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22096         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22097         memcmp for PPC64.
22099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22100         multiarch for POWER/PPC64.
22101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22102         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22103         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22104         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22105         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22106         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22107         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22108         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22109         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22110         memcpy for PPC64.
22112         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22113         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22114         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22115         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22116         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22117         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22118         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22119         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22120         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22121         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22122         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22123         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22124         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22125         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22126         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22135 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22137         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22139 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22141         * benchtests/Makefile (bench): Add exp2 and log2.
22142         (LDLIBS-bench-exp2): Add -lm.
22143         (LDLIBS-bench-log2): Likewise.
22144         * benchtests/exp2-inputs: New inputs file.
22145         * benchtests/log2-inputs: New inputs file.
22146         * benchtests/log-inputs: Add new inputs.
22147         * benchtests/tan-inputs: Likewise.
22149 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22151         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22152         definition...
22153         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22154         (csloww2): ... from here.
22156         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22157         instead of structures.
22158         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22159         (POLYNOMIAL): Likewise.
22160         (TAYLOR_SLOW): Likewise.
22161         (__sin): Likewise.
22162         (__cos): Likewise.
22163         (slow1): Likewise.
22164         (slow2): Likewise.
22165         (sloww): Likewise.
22166         (sloww1); Likewise.
22167         (sloww2): Likewise.
22168         (bsloww1): Likewise.
22169         (bsloww2): Likewise.
22170         (cslow2): Likewise.
22171         (csloww): Likewise.
22172         (csloww1): Likewise.
22173         (csloww2): Likewise.
22175 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
22177         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22178         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22179         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22180         * malloc/hooks.c (realloc_check): Likewise.
22182         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22183         * malloc/arena.c: Remove PER_THREAD conditional.
22184         [!PER_THREAD]: Remove code.
22185         (ptmalloc_unlock_all2): Likewise.
22186         (ptmalloc_init): Likewise.
22187         (_int_new_arena): Likewise.
22188         (arena_get2): Likewise.
22189         * malloc/hooks.c (__malloc_get_state): Likewise.
22190         (__malloc_set_state): Likewise.
22191         * malloc/malloc.c: Likewise.
22192         (struct malloc_state): Likewise.
22193         (struct malloc_par): Likewise.
22194         (__libc_realloc): Likewise.
22195         (__libc_mallopt): Likewise.
22197 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22199         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22201 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
22203         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22204         macro to a function.  Check for zero perturb_byte.
22205         (_int_malloc, _int_free): Remove zero perturb_byte checks.
22207         * malloc/malloc.c: (force_reg): Remove.
22208         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22209         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22210         force_reg by atomic_forced_read.
22211         * malloc/arena.c (ptmalloc_init): Likewise.
22212         * malloc/hooks.c (top_check): Likewise.
22214 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22218 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
22220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22222 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
22224         * math/auto-libm-test-in: Add tests of lgamma.
22225         * math/auto-libm-test-out: Regenerated.
22226         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22227         (M_LOG_2_SQRT_PIl): Likewise.
22228         (lgamma_test_data): Use AUTO_TESTS_f_f1.
22229         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22230         mpfr_f_f1.
22231         (func_calc_desc): Add mpfr_f_f1 union field.
22232         (ARGS1): New macro.
22233         (ARGS2): Likewise.
22234         (ARGS3): Likewise.
22235         (ARGS4): Likewise.
22236         (RET1): Likewise.
22237         (RET2): Likewise.
22238         (CALC): Likewise.
22239         (FUNC): Likewise.
22240         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22241         (test_functions): Add lgamma.
22242         (calc_generic_results): Handle mpfr_f_f1.
22243         * sysdeps/i386/fpu/libm-test-ulps: Update.
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22248         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22249         __mpn_add_n for PowerPC64/POWER7.
22250         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22251         __mpn_sub_n for PowerPC64/POWER7.
22253         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22254         __mpn_addmul_1 for PowerPC64.
22255         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22256         __mpn_submul_1 for PowerPC64.
22257         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22258         for PowerPC64.
22259         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22260         for PowerPC64.
22262 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22264         [BZ #15089]
22265         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22267 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22269         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22271         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22272         add multiarch folders.
22273         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22274         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22275         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22276         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22277         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22278         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22279         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22280         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22281         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22282         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22283         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22292         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22294         New file.
22295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22296         New file.
22297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22298         multiarch __ieee754_hypot for PowerPC32.
22299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22300         New file.
22301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22302         New file.
22303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22304         multiarch __ieee754_hypotf for PowerPC32.
22306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22307         long_double_symbol only if __logbl is defined.
22308         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22309         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22310         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22311         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22312         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22313         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22314         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22315         path for implementation.
22316         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22317         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22319         logb, and logbl multiarch implementations for PowerPC32.
22320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22321         file.
22322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22323         file.
22324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22325         multiarch logb for PowerPC32.
22326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22327         file.
22328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22329         file.
22330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22331         multiarch logbf for PowerPC32.
22332         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22334         file.
22335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22336         multiarch logbl implementation for PowerPC32.
22338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22339         and modff multiarch implementations.
22340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22341         New file.
22342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22343         New file.
22344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22345         multiarch modf for PowerPC32.
22346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22347         New file.
22348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22349         New file.
22350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22351         multiarch modff for PowerPC32.
22353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22354         and lrintf multiarch implementations.
22355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22356         New file.
22357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22358         New file.
22359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22360         multiarch lrint for PowerPC32.
22361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22362         file: multiarch lrintf for PowerPC32.
22364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22365         and lroundf multiarch implementations.
22366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22367         New file.
22368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22369         New file.
22370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22371         New file.
22372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22373         multiarch lround for PowerPC32.
22374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22375         file: multiarch lroundf for PowerPC32.
22377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22378         copysign and copysignf multiarch implementations.
22379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22380         New file.
22381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22382         New file.
22383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22384         file: multiarch copysign for PowerPC32.
22385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22386         file: multiarch copysignf for PowerPC32.
22388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22389         and truncf multiarch implementations.
22390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22391         New file.
22392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22393         file.
22394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22395         multiarch trunc for PowerPC32.
22396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22397         New file.
22398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22399         New file.
22400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22401         multiarch truncf for PowerPC32.
22403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22404         and roundf multiarch implementations.
22405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22406         New file.
22407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22408         file.
22409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22410         multiarch round for PowerPC32.
22411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22412         New file.
22413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22414         New file.
22415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22416         multiarch roundf for PowerPC32.
22418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22419         and floorf multiarch implementations.
22420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22421         New file.
22422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22423         file.
22424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22425         multiarch floor for PowerPC32.
22426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22427         New file.
22428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22429         New file.
22430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22431         multiarch floorf for PowerPC32.
22433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22434         and ceilf multiarch implementations.
22435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22436         New file.
22437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22438         file.
22439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22440         multiarch ceil for PowerPC32.
22441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22442         New file.
22443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22444         file.
22445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22446         multiarch ceilf for PowerPC32.
22448         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22449         is defined.
22450         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22451         FINITEF is defined.
22452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22453         and finitef multiarch implementations.
22454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22455         New file.
22456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22457         file.
22458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22459         multiarch finite for PowerPC32.
22460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22461         New file.
22462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22463         file: multiarch finitef for PowerPC32.
22465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22466         and isinff multiarch implementations.
22467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22468         file.
22469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22470         file.
22471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22472         multiarch isinf for PowerPC32.
22473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22474         New file.
22475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22476         multiarch isinff for PowerPC32.
22478         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22479         alias when __isnan is defined.
22480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22481         and isnanf multiarch implementations.
22482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22483         file.
22484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22485         file.
22486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22487         file.
22488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22489         file.
22490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22491         multiarch isnan for PowerPC32.
22492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22493         New file.
22494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22495         New file.
22496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22497         multiarch isnanf for PowerPC32.
22499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22500         and sqrtf multiarch implementations.
22501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22502         file.
22503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22504         file.
22505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22506         multiarch sqrt for PowerPC32.
22507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22508         file.
22509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22510         file.
22511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22512         multiarch sqrtf for PowerPC32.
22514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22515         and llroundf multiarch implementations.
22516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22517         New file.
22518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22519         New file.
22520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22521         New file.
22522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22523         file: multiarch llround for PowerPC32.
22524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22525         file: multiarch llroundf for PowerPC32.
22527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22528         multiarch PowerPC32 fpu implementations.
22529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22530         New file.
22531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22532         New file.
22533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22534         multiarch llrint for PowerPC32.
22535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22536         New file.
22537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22538         New file.
22539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22540         file.
22542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22544         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22545         file.
22546         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22547         file.
22548         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22549         file.
22550         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22551         multiarch wordcopy for PPC32.
22552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22553         wordcopy objects.
22554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22555         (__libc_ifunc_impl_list): Likewise.
22556         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22557         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22558         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22559         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22560         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22561         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22563         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22565         file.
22566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22567         file.
22568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22569         file.
22570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22571         multiarch wcscpy for PPC32.
22572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22573         multiarch objects.
22574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22575         (__libc_ifunc_impl_list): Likewise.
22576         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22577         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22578         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22579         sysdeps/powerpc/power6/wcscpy.c.
22581         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22582         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22583         file.
22584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22585         file.
22586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22587         file.
22588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22589         multiarch wcsrchr for PPC32.
22590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22591         multiarch objects.
22592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22593         (__libc_ifunc_impl_list): Likewise.
22594         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22595         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22596         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22597         sysdeps/powerpc/power6/wcsrchr.c.
22599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22600         file.
22601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22602         file.
22603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22605         multiarch wcschr for PPc32.
22606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22607         multiarch objects.
22608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22609         (__libc_ifunc_impl_list): Likewise.
22610         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22611         * sysdeps/powerpc/power6/wcschr.c: ... to here.
22612         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22613         sysdeps/powerpc/power6/wcschr.c.
22615         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22616         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22617         file.
22618         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22619         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22620         file: multiarch strchr for PPC32.
22621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22622         multiarch objects.
22623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22624         (__libc_ifunc_impl_list): Likewise.
22626         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22627         name.
22628         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22629         file.
22630         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22631         file.
22632         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22633         multiarch strchrnul for PPC32.
22634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22635         multiarch objects.
22636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22637         (__libc_ifunc_impl_list): Likewise.
22639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22640         file.
22641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22642         multiarch strncasecmp for PPC32.
22643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22644         file.
22645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22646         multiarch strncasecmp_l for PPC32.
22647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22648         strncasecmp multiarch objects.
22649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22650         (__libc_ifunc_impl_list): Likewise.
22652         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22653         file.
22654         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22655         multiarch strncasecmp for PPC32.
22656         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22657         New file.
22658         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22659         multiarch strcasecmp_l for PPC32.
22660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22661         multiarch objects.
22662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22663         (__libc_ifunc_impl_list): Likewise.
22665         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22666         file.
22667         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22668         file.
22669         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22670         multiarch strncmp for PPC32.
22671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22672         multiarch objects.
22673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22674         (__libc_ifunc_impl_list): Likewise.
22676         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22677         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22678         file.
22679         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22680         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22682         multiarch objects.
22683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22684         (__libc_ifunc_impl_list): Likewise.
22686         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22687         file.
22688         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22689         file.
22690         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22692         multiarch objects.
22693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22694         (__libc_ifunc_impl_list): Likewise.
22696         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22697         file.
22698         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22699         file.
22700         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22701         multiarch rawmemchr for PPC32.
22702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22703         multiarch objects.
22704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22705         (__libc_ifunc_impl_list): Likewise.
22707         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22708         file.
22709         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22710         file.
22711         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22712         file: memrchr multiarch for PPC32.
22713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22714         multiarch objects.
22715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22716         (__libc_ifunc_impl_list): Likewise.
22718         * string/memchr.c (__memchr): Using macro to redefine symbol name.
22719         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22720         file.
22721         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22722         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22723         multiarch memchr for PPC32.
22724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22725         multiarch objects.
22726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22727         (__libc_ifunc_impl_list): Likewise.
22729         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22730         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22731         file.
22732         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22733         file.
22734         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22735         file: multiarch mempcpy for PPC32.
22736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22737         multiarch objects.
22738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22739         (__libc_ifunc_impl_list): Likewise.
22741         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22742         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22744         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22745         multiarch bzero for PPC32.
22746         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22747         file.
22748         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22749         file.
22750         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22751         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22752         file: multiarch memset for PPC32.
22753         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22755         memset multiarch objects.
22756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22757         (__libc_ifunc_impl_list): Likewise.
22759         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22760         file.
22761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22763         memcmp for PPC32.
22764         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22766         multiarch objects.
22767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22768         (__libc_ifunc_impl_list): Likewise.
22770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22771         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22772         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22773         file.
22774         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22775         file.
22776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22777         file.
22778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22779         multiarch memcpy for PPC32.
22780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22781         multiarch objects.
22782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22783         (__libc_ifunc_impl_list): Likewise.
22785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22786         support multiarch for POWER/PPC32.
22787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22788         Likewise.
22789         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22791         Implies file to make multiarch folder appers before the fpu and
22792         default folder for power4 configuration.
22794 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22796         * scripts/bench.pl: Append volatile keyword to type.
22798 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22800         * sysdeps/sh/sotruss-lib.c: New file.
22801         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22803 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22807 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
22809         [BZ #6810]
22810         * math/w_tgamma.c: Include <errno.h>.
22811         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
22812         * math/w_tgammaf.c: Include <errno.h>.
22813         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
22814         * math/w_tgammal.c: Include <errno.h>.
22815         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
22816         * math/auto-libm-test-in: Do not allow missing errno on tgamma
22817         underflow.  Add more tgamma tests.
22818         * math/auto-libm-test-out: Regenerated.
22819         * sysdeps/i386/fpu/libm-test-ulps: Update.
22820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22822         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22823         sin, sinh, tan, tanh, tgamma, y0 and y1.
22824         * math/auto-libm-test-out: Regenerated.
22825         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22826         (TEST_COND_x86): Likewise.
22827         (M_E2l): Remove macro.
22828         (M_E3l): Likewise.
22829         (M_2_SQRT_PIl): Likewise.
22830         (M_SQRT_PIl): Likewise.
22831         (M_1_DIV_El): Likewise.
22832         (log_test_data): Use AUTO_TESTS_f_f.
22833         (log10_test_data): Likewise.
22834         (log1p_test_data): Likewise.
22835         (log2_test_data): Likewise.
22836         (sin_test_data): Likewise.
22837         (sin_tonearest_test_data): Likewise.
22838         (sin_towardzero_test_data): Likewise.
22839         (sin_downward_test_data): Likewise.
22840         (sin_upward_test_data): Likewise.
22841         (sinh_test_data): Likewise.
22842         (sinh_tonearest_test_data): Likewise.
22843         (sinh_towardzero_test_data): Likewise.
22844         (sinh_downward_test_data): Likewise.
22845         (sinh_upward_test_data): Likewise.
22846         (tan_test_data): Likewise.
22847         (tan_tonearest_test_data): Likewise.
22848         (tan_towardzero_test_data): Likewise.
22849         (tan_downward_test_data): Likewise.
22850         (tan_upward_test_data): Likewise.
22851         (tanh_test_data): Likewise.
22852         (tgamma_test_data): Likewise.
22853         (y0_test_data): Likewise.
22854         (y1_test_data): Likewise.
22855         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22856         (special_real_inputs): Add pi/4.
22857         * sysdeps/i386/fpu/libm-test-ulps: Update.
22858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22860 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22862         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22863         "longjmp_target" static probes.
22864         (__longjmp): Rename to __longjmp_symbol.
22865         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22866         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22867         on which longjmp to generate.
22868         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22869         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22870         probe.
22871         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22872         (__sigjmp_save): Rename to __sigjmp_save_symbol.
22873         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22874         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22875         and __sigjmp_save_symbol based on which sigsetjmp to generated.
22876         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22878         __longjmp_symbol based on which __longjmp to generate.
22879         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22880         probe.
22881         (setjmp): Rename to setjmp_symbol.
22882         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22883         (_setjmp): Rename to _setjmp_symbol.
22884         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22885         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22886         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22887         which setjmp to generate.
22888         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22889         "longjmp_target" static probes.
22891 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22893         * benchtests/README: Add note about output arguments.
22894         * benchtests/bench-sincos.c: Remove file.
22895         * benchtests/sincos-inputs: New file.
22896         * scripts/bench.pl: Identify output arguments and define
22897         static variables for them.
22899         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22901         [BZ #15941]
22902         * Makefile (INSTALL): Add install-plain.texi as the primary
22903         dependency.
22904         * manual/install-plain.texi: New file.
22905         * manual/install.texi: Include node directive only for
22906         non-plaintext output.
22908 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
22910         * stdlib/longlong.h: Update from GCC.
22912         [BZ #6807]
22913         [BZ #15901]
22914         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22915         * math/w_j0f.c (y0f): Likewise.
22916         * math/w_j0l.c (__y0l): Likewise.
22917         * math/w_j1.c (y1): Likewise.
22918         * math/w_j1f.c (y1f): Likewise.
22919         * math/w_j1l.c (__y1l): Likewise
22920         * math/w_jn.c (yn): Likewise.
22921         * math/w_jnf.c (ynf): Likewise.
22922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22923         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22924         value for Bessel function domain errors outside _SVID_ mode.
22925         Adjust sign of return value for yn (negative integer, 0).
22926         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22927         by zero in return for negative x and set sign appropriately for
22928         negative n.
22929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22930         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22931         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22932         expectations in error cases.
22933         (y1_test_data): Likewise.
22934         (yn_test_data): Likewise.
22935         * sysdeps/i386/fpu/libm-test-ulps: Update.
22936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22938 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22940         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22941         "64" to "64-v1".  Add "64-v2".
22942         (abi-64-options): Rename to ...
22943         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22944         (abi-64-condition): Rename to ...
22945         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22946         (abi-64-ld-soname): Rename to ...
22947         (abi-64-v1-ld-soname): ... this.
22948         (abi-64-v2-options): Define.
22949         (abi-64-v2-condition): Likewise.
22950         (abi-64-v2-ld-soname): Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22952         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22957 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22958             Alan Modra  <amodra@gmail.com>
22960         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22961         New versions for use with the ELFv2 ABI.
22962         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22963         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22964         declaration.
22965         (struct La_ppc64v2_retval): Likewise.
22966         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22967         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22968         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22969         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22970         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22971         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22972         Do not save or restore CR.
22973         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22974         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22975         return values for ELFv2 ABI.  Fix location of FPR return registers.
22976         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22977         updated values for _CALL_ELF == 2.
22978         (La_regs, La_retval, int_retval): Likewise.
22980 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22982         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22983         (FRAME_MIN_SIZE_PARM): Likewise.
22984         (FRAME_BACKCHAIN): Likewise.
22985         (FRAME_CR_SAVE): Likewise.
22986         (FRAME_LR_SAVE): Likewise.
22987         (FRAME_TOC_SAVE): Likewise.
22988         (FRAME_PARM_SAVE): Likewise.
22989         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22990         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22991         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22992         (call_mcount_parm_offset): New macro.
22993         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22994         (PROF): Use symbolic stack frame offsets.
22995         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22996         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22997         Redefine in terms of FRAME_MIN_SIZE.
22998         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22999         (_dl_profile_resolve): Likewise.  Update comment.
23000         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23001         symbols stack frame offsets.
23002         (__sigsetjmp): Likewise.
23003         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23004         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23005         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23006         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23009         (FRAME_BACKCHAIN): Remove.
23010         (FRAME_CR_SAVE): Likewise.
23011         (FRAME_LR_SAVE): Likewise.
23012         (FRAME_COMPILER_DW): Likewise.
23013         (FRAME_LINKER_DW): Likewise.
23014         (FRAME_TOC_SAVE): Likewise.
23015         (FRAME_PARM_SAVE): Likewise.
23016         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23017         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23018         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23020         (CHECK_SP): Use symbolic stack frame offsets.
23021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23022         zone" instead of caller's parameter save area for temp storage.
23023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23024         Likewise.  Also, use symbolic stack frame offsets.
23025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23026         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23027         our own stack frame instead of the caller's.
23028         (__socket): Use symbolic stack frame offsets.
23030 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23031             Alan Modra  <amodra@gmail.com>
23033         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23034         Define.
23035         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23036         (PPC64_LOCAL_ENTRY_OFFSET): Define.
23037         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23038         New function.
23039         (elf_machine_fixup_plt): Call it.
23040         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
23041         reloc arguments.
23042         (elf_machine_rela): Update call to elf_machine_plt_conflict.
23043         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23044         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23045         r2 before calling target.
23047 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23048             Alan Modra  <amodra@gmail.com>
23050         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23051         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23052         versions of macros to support ELFv2 ABI.
23053         (LOCALENTRY): New macro.
23054         (ENTRY, EALIGN): Use it.
23055         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23056         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23057         fall through into ENTRY entry point.
23058         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23059         Only define if _CALL_ELF != 2.
23061         (elf_machine_matches_host): Verify ABI version matches.
23062         (RTLD_START): Use LOCALENTRY.
23063         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23064         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23065         (PLT_ENTRY_WORDS): New macro.
23066         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23067         (elf_machine_runtime_setup): Support ELFv2 ABI.
23068         (elf_machine_fixup_plt): Likewise.
23069         (elf_machine_plt_conflict): Likewise.
23070         (resolve_ifunc): Likewise.
23071         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23072         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23073         Likewise.
23074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23075         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23077         (makecontext): Support ELFv2 ABI.
23078         * elf/elf.h (EF_PPC64_ABI): Define.
23080 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23082         * sysdeps/powerpc/powerpc64/sysdep.h
23083         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23084         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23085         (ENTRY) [ASSEMBLER]: ... but instead here ...
23086         (EALIGN) [ASSEMBLER]: ... and here.
23087         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23088         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23089         (ENTRY_2) [!ASSEMBLER]: Use it.
23090         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23091         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
23092         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23093         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23094         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23096         Use PPC64_LOAD_FUNCPTR.
23098         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23100 2013-12-04  Alan Modra  <amodra@gmail.com>
23102         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23103         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23104         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23105         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23108         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23109         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23110         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23111         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23112         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23114 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23117         (__makecontext): Fix incorrect CFI when backtracing out of
23118         context created via makecontext.
23119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23120         (__setcontext): Fix incorrect CFI during switch to new context.
23121         (__novec_setcontext): Likewise.
23123 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23125         [BZ #4772]
23126         * time/strptime_l.c (__strptime_internal): Allow modifiers
23127         in strptime.
23128         * time/tst-strptime.c (day_tests): Add testcase.
23130 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23132         * scripts/bench.pl: Skip over blank lines.
23134 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23136         [BZ #926]
23137         * manual/time.texi (Calendar Time): Clarify what timezone functions
23138         use.
23140 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23144 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23146         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23147         implementation.
23148         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23149         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23150         * debug/memset_chk.c (__memset_chk): Likewise.
23151         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23152         * debug/strncpy_chk.c: Likewise.
23154 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23156         [BZ #15268]
23157         [BZ #15425]
23158         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23159         (__ieee754_exp): For possibly underflowing results, check size of
23160         result and force underflow exception if required.
23161         * math/auto-libm-test-in: Add more tests of exp.
23162         * math/auto-libm-test-out: Regenerated.
23163         * sysdeps/i386/fpu/libm-test-ulps: Update.
23164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23166         [BZ #16283]
23167         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23168         * math/w_exp2f.c (__exp2f): Likewise.
23169         * math/w_exp2l.c (__exp2l): Likewise.
23170         * math/auto-libm-test-in: Do not allow missing errno on exp2
23171         underflow.
23172         * math/auto-libm-test-out: Regenerated.
23174 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
23176         [BZ #16274]
23177         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23178         handle filename validation.
23179         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23180         (do_open): Delete.
23182 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23184         [BZ #6786]
23185         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23186         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23187         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23188         <float.h>.
23189         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23190         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23191         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23193         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23194         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23195         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23196         * math/auto-libm-test-in: Don't allow missing errno from erfc.
23197         Add more erfc tests.
23198         * math/auto-libm-test-out: Regenerated.
23199         * sysdeps/i386/fpu/libm-test-ulps: Update.
23200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23202         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23203         exp2, expm1, j0 and j1.
23204         * math/auto-libm-test-out: Regenerated.
23205         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23206         (erfc_test_data): Likewise.
23207         (exp_test_data): Likewise.
23208         (exp_tonearest_test_data): Likewise.
23209         (exp_towardzero_test_data): Likewise.
23210         (exp_downward_test_data): Likewise.
23211         (exp_upward_test_data): Likewise.
23212         (exp10_test_data): Likewise.
23213         (exp2_test_data): Likewise.
23214         (expm1_test_data): Likewise.
23215         (j0_test_data): Likewise.
23216         (j1_test_data): Likewise.
23217         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23218         (input_flag_type): Add flag_xfail_rounding.
23219         (input_flags): Add xfail-rounding.
23220         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23221         (output_for_one_input_case): Handle flag_xfail_rounding.
23222         * sysdeps/i386/fpu/libm-test-ulps: Update.
23223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23225 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
23227         [BZ #16289]
23228         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23229         division by 0.
23231 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23233         [BZ #16195]
23234         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23235         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23236         (STAP_PROBE0): New macro.
23237         (STAP_PROBE1): Likewise.
23238         (STAP_PROBE2): Likewise.
23239         (STAP_PROBE3): Likewise.
23240         (STAP_PROBE4): Likewise.
23242 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
23244         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23246 2013-12-02  Steve Ellcey  <sellcey@mips.com>
23248         * benchtests/Makefile (bench): Add sqrt.
23249         (LDLIBS-bench-sqrt): New.
23250         * benchtests/sqrt-input: New.
23252 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
23254         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23255         (GAIH_EAI): Likewise.
23256         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23257         (gaih_inet): Likewise.
23258         (getaddrinfo): Don't use GAIH_EAI.
23260         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23261         (struct gaih): Remove definition.
23263 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23265         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23266         Use HERRNOP directly.
23268 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23272 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23274         * math/gen-auto-libm-tests.c (test_functions): Add more
23275         single-argument functions.
23276         (special_fill_pi_2): New function.
23277         (special_fill_minus_pi_2): Likewise.
23278         (special_fill_pi_6): Likewise.
23279         (special_fill_minus_pi_6): Likewise.
23280         (special_fill_pi_3): Likewise.
23281         (special_fill_2pi_3): Likewise.
23282         (special_fill_e): Likewise.
23283         (special_fill_1_e): Likewise.
23284         (special_fill_e_minus_1): Likewise.
23285         (special_real_inputs): Add more special inputs.
23286         (output_for_one_input_case): Do not require ERANGE on underflow to
23287         zero if round-to-nearest result does not underflow to zero, unless
23288         exact results required.
23289         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23290         atan, atanh, cbrt, cos and cosh.
23291         * math/auto-libm-test-out: Regenerated.
23292         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23293         (acos_tonearest_test_data): Likewise.
23294         (acos_towardzero_test_data): Likewise.
23295         (acos_downward_test_data): Likewise.
23296         (acos_upward_test_data): Likewise.
23297         (acosh_test_data): Likewise.
23298         (asin_test_data): Likewise.
23299         (asin_tonearest_test_data): Likewise.
23300         (asin_towardzero_test_data): Likewise.
23301         (asin_upward_test_data): Likewise.
23302         (asinh_test_data): Likewise.
23303         (atan_test_data): Likewise.
23304         (atanh_test_data): Likewise.
23305         (cbrt_test_data): Likewise.
23306         (cos_test_data): Likewise.
23307         (cos_tonearest_test_data): Likewise.
23308         (cos_towardzero_test_data): Likewise.
23309         (cos_downward_test_data): Likewise.
23310         (cos_upward_test_data): Likewise.
23311         (cosh_test_data): Likewise.
23312         (cosh_tonearest_test_data): Likewise.
23313         (cosh_towardzero_test_data): Likewise.
23314         (cosh_downward_test_data): Likewise.
23315         (cosh_upward_test_data): Likewise.
23316         * sysdeps/i386/fpu/libm-test-ulps: Update.
23317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23319 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
23321         [BZ #6787]
23322         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23323         * math/w_exp10f.c (__exp10f): Likewise.
23324         * math/w_exp10l.c (__exp10l): Likewise.
23325         * math/libm-test.inc (exp10_test_data): Add more tests and expect
23326         errno settings in existing tests.
23328         [BZ #14032]
23329         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23330         precision control set to double precision.
23331         * sysdeps/i386/fpu/w_sqrt.c: New file.
23332         * math/auto-libm-test-in: Add more tests.
23333         * math/auto-libm-test-out: Update.
23335         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23336         (sqrt_test_tonearest): New function.
23337         (sqrt_towardzero_test_data): New variable.
23338         (sqrt_test_towardzero): New function.
23339         (sqrt_downward_test_data): New variable.
23340         (sqrt_test_downward): New function.
23341         (sqrt_upward_test_data): New variable.
23342         (sqrt_test_upward): New function.
23343         (main): Call the new functions.
23345         * math/gen-auto-libm-tests.c: New file.
23346         * math/auto-libm-test-in: Likewise.
23347         * math/auto-libm-test-out: New generated file.
23348         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23349         variables.
23350         (%beautify): Add generated representations of zero.
23351         (top level): Set $auto_input and call parse_auto_input.
23352         (beautify): Remove trailing "f" from hex float constants.
23353         (parse_args): Handle XFAIL_TEST.
23354         (convert_condition): New function.
23355         (or_value): Likewise.
23356         (or_cond_value): Likewise.
23357         (generate_testfile): Handle AUTO_TESTS_* lines.
23358         (parse_auto_input): New function.
23359         * math/libm-test.inc (XFAIL_TEST): New macro.
23360         (ERRNO_UNCHANGED): Update value.
23361         (ERRNO_EDOM): Likewise.
23362         (ERRNO_ERANGE): Likewise.
23363         (IGNORE_RESULT): Likewise.
23364         (TEST_COND_flt_32): New macro.
23365         (TEST_COND_dbl_64): Likewise.
23366         (TEST_COND_ldbl_96_intel): Likewise.
23367         (TEST_COND_ldbl_96_m68k): Likewise.
23368         (TEST_COND_ldbl_128): Likewise.
23369         (TEST_COND_ldbl_128ibm): Likewise.
23370         (TEST_COND_long32): Likewise.
23371         (TEST_COND_long64): Likewise.
23372         (TEST_COND_before_rounding): Likewise.
23373         (TEST_COND_after_rounding): Likewise.
23374         (enable_test): Handle XFAIL_TEST flag.
23375         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23376         with finite results.
23377         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23378         auto-libm-test-out.
23380 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23381             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23383         [BZ #16214]
23384         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23385         __tls_get_addr_internal instead of __tls_get_offset in order to
23386         avoid GOT pointer dependency.  Make rtld export
23387         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23388         __tls_get_addr since we are a __tls_get_offset platform.
23389         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23390         GOT pointer being set up before.
23391         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23393 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
23395         * manual/math.texi (Errors in Math Functions): Document accuracy
23396         goals.
23398         [BZ #15004]
23399         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23400         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23401         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23402         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23403         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23404         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23405         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23406         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23407         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23408         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23409         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23411         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23412         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23413         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23414         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23416         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23417         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23418         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23419         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23420         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23421         Likewise.
23422         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23423         Likewise.
23424         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23425         Likewise.
23426         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23427         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23428         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23429         atomic-feupdateenv and flt-rounds.
23430         * sysdeps/powerpc/nofpu/Versions (libc): Add
23431         __atomic_feholdexcept, __atomic_feclearexcept,
23432         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23433         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23434         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23435         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23436         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23437         here.
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23439         Update.
23441         * manual/arith.texi (FP Exceptions): Document that exceptions may
23442         not be raised when matherr is used.
23443         (Math Error Reporting): Document overflow in directed rounding
23444         modes.  Document that errno may not be set when finite values are
23445         returned on overflow.  Document intent to set errno on underflow
23446         only for underflow to zero.
23448         [BZ #16271]
23449         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23450         round-to-nearest then adjust result for other rounding modes.
23451         * include/fenv.h (fegetround): Use libm_hidden_proto.
23452         * math/fegetround.c (fegetround): Use libm_hidden_def.
23453         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23454         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23455         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23456         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23457         Likewise.
23458         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23459         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23460         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23461         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23463 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23465         [BZ #16077]
23466         * nss/Versions (libnss_files): Add
23467         _nss_files_gethostbyname3_r.
23468         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23469         New function.
23470         (HOST_DB_LOOKUP): Remove macro.
23471         (_nss_files_gethostbyname_r): Implement function without the
23472         HOST_DB_LOOKUP macro.
23473         (_nss_files_gethostbyname2_r): Likewise.
23475 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
23477         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23479 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
23481         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23482         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23483         warning.
23485 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23487         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23488         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23489         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23490         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23491         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23492         __fe_nomask_env_priv and attribute_hidden.
23493         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23494         (libc_feupdateenv_test_ppc): Likewise.
23495         (libc_feresetround_ppc): Likewise.
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23497         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23498         compat_symbol macro.
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23500         (__fe_nomask_env): Likewise.
23501         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23503 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23505         * string/Makefile: Remove ifunc tests.
23506         * string/test-string.h: Define TEST_IFUNC.
23507         * string/test-bcopy-ifunc.c: Remove.
23508         * string/test-bzero-ifunc.c: Likewise.
23509         * string/test-memccpy-ifunc.c: Likewise.
23510         * string/test-memchr-ifunc.c: Likewise.
23511         * string/test-memcmp-ifunc.c: Likewise.
23512         * string/test-memcpy-ifunc.c: Likewise.
23513         * string/test-memmem-ifunc.c: Likewise.
23514         * string/test-memmove-ifunc.c: Likewise.
23515         * string/test-mempcpy-ifunc.c: Likewise.
23516         * string/test-memrchr-ifunc.c: Likewise.
23517         * string/test-memset-ifunc.c: Likewise.
23518         * string/test-rawmemchr-ifunc.c: Likewise.
23519         * string/test-stpcpy-ifunc.c: Likewise.
23520         * string/test-stpncpy-ifunc.c: Likewise.
23521         * string/test-strcasecmp-ifunc.c: Likewise.
23522         * string/test-strcasestr-ifunc.c: Likewise.
23523         * string/test-strcat-ifunc.c: Likewise.
23524         * string/test-strchr-ifunc.c: Likewise.
23525         * string/test-strchrnul-ifunc.c: Likewise.
23526         * string/test-strcmp-ifunc.c: Likewise.
23527         * string/test-strcpy-ifunc.c: Likewise.
23528         * string/test-strcspn-ifunc.c: Likewise.
23529         * string/test-strlen-ifunc.c: Likewise.
23530         * string/test-strncasecmp-ifunc.c: Likewise.
23531         * string/test-strncat-ifunc.c: Likewise.
23532         * string/test-strncmp-ifunc.c: Likewise.
23533         * string/test-strncpy-ifunc.c: Likewise.
23534         * string/test-strnlen-ifunc.c: Likewise.
23535         * string/test-strpbrk-ifunc.c: Likewise.
23536         * string/test-strrchr-ifunc.c: Likewise.
23537         * string/test-strspn-ifunc.c: Likewise.
23538         * string/test-strstr-ifunc.c: Likewise.
23540 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23542         * benchtests/Makefile: Remove ifunc tests.
23543         * benchtests/bench-string.h: Define TEST_IFUNC.
23544         * benchtests/bench-bcopy-ifunc.c: Remove.
23545         * benchtests/bench-bzero-ifunc.c: Likewise.
23546         * benchtests/bench-memccpy-ifunc.c: Likewise.
23547         * benchtests/bench-memchr-ifunc.c: Likewise.
23548         * benchtests/bench-memcmp-ifunc.c: Likewise.
23549         * benchtests/bench-memcpy-ifunc.c: Likewise.
23550         * benchtests/bench-memmem-ifunc.c: Likewise.
23551         * benchtests/bench-memmove-ifunc.c: Likewise.
23552         * benchtests/bench-mempcpy-ifunc.c: Likewise.
23553         * benchtests/bench-memrchr-ifunc.c: Likewise.
23554         * benchtests/bench-memset-ifunc.c: Likewise.
23555         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23556         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23557         * benchtests/bench-stpcpy-ifunc.c: Likewise.
23558         * benchtests/bench-stpncpy-ifunc.c: Likewise.
23559         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23560         * benchtests/bench-strcasestr-ifunc.c: Likewise.
23561         * benchtests/bench-strcat-ifunc.c: Likewise.
23562         * benchtests/bench-strchr-ifunc.c: Likewise.
23563         * benchtests/bench-strchrnul-ifunc.c: Likewise.
23564         * benchtests/bench-strcmp-ifunc.c: Likewise.
23565         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23566         * benchtests/bench-strcpy-ifunc.c: Likewise.
23567         * benchtests/bench-strcspn-ifunc.c: Likewise.
23568         * benchtests/bench-strlen-ifunc.c: Likewise.
23569         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23570         * benchtests/bench-strncat-ifunc.c: Likewise.
23571         * benchtests/bench-strncmp-ifunc.c: Likewise.
23572         * benchtests/bench-strncpy-ifunc.c: Likewise.
23573         * benchtests/bench-strnlen-ifunc.c: Likewise.
23574         * benchtests/bench-strpbrk-ifunc.c: Likewise.
23575         * benchtests/bench-strrchr-ifunc.c: Likewise.
23576         * benchtests/bench-strsep-ifunc.c: Likewise.
23577         * benchtests/bench-strspn-ifunc.c: Likewise.
23578         * benchtests/bench-strstr-ifunc.c: Likewise.
23580 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23582         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23584 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23586         * resolv/netdb.h: Use __glibc_reserved instead __unused.
23587         * rt/aio.h: Likewise.
23588         * sysdeps/gnu/bits/utmp.h: Likewise.
23589         * sysdeps/gnu/bits/utmpx.h: Likewise.
23590         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23591         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23592         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23593         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23594         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23595         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23596         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23597         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23598         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23599         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23600         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23601         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23602         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23604         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23605         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23606         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23607         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23608         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23609         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23610         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23611         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23612         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23613         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23614         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23616         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23617         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23618         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23619         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23620         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23621         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23622         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23623         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23624         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23625         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23626         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23627         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23628         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23629         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23630         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23631         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23633 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
23635         [BZ #16245]
23636         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23637         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23639 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
23641         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23642         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23643         Likewise.
23645 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23647         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23648         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23649         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23650         (__fesetround): Remove define.
23651         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23652         rounding and exceptions handling.
23653         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23654         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23655         (__fe_nomask_env): Likewise.
23656         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23657         __fegetround instead of fegetround.
23658         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23659         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23661 2013-11-21  Roland McGrath  <roland@hack.frob.com>
23663         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23664         it's there.
23666         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23668 2013-11-21  Meador Inge  <meadori@codesourcery.com>
23670         [BZ #11157]
23671         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23672         (encrypt_r): Likewise.
23673         * malloc/obstack.h (obstack_free): Likewise.
23674         * posix/unistd.h (encrypt): Likewise.
23676 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
23678         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23679         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23680         DL_CALL_DT_FINI() that call the functions directly.
23681         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23682         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23683         * elf/dl-fini.c: Likewise.
23685 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
23687         * malloc/hooks.c (memalign_check): Add alignment rounding.
23688         * malloc/malloc.c (_mid_memalign): New function.
23689         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23690         Implement by calling _mid_memalign.
23691         * manual/probes.texi (Memory Allocation Probes): Remove
23692         memory_valloc_retry and memory_pvalloc_retry.
23694 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23696         * locale/programs/locarchive.c (open_archive): Add const
23697         qualifier to ARCHIVEFNAME and copy default fname to
23698         DEFAULT_FNAME.
23700         [BZ #15601]
23701         * libio/tst-widetext.input: Rename Oriya to Odia.
23702         * locale/iso-639.def: Likewise.
23704         * manual/probes.texi (Mathematical Function Probes): Add
23705         documentation for sin, cos, asin and acos probes.
23706         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23707         (__sin32): Add slowasin probe.
23708         (__cos32): Add slowacos probe.
23709         (__mpsin): Add slowsin probe.
23710         (__mpcos): Add slowcos probe.
23712 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
23714         [BZ #15483]
23715         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23716         thread-local __sim_exceptions_thread and global
23717         __sim_exceptions_global.
23718         (__sim_disabled_exceptions): Change to thread-local
23719         __sim_disabled_exceptions_thread and global
23720         __sim_disabled_exceptions_global.
23721         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23722         and global __sim_round_mode_global.
23723         (__simulate_exceptions): Use thread-local floating-point state and
23724         set global state from it as needed.
23725         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23726         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23727         __sim_round_mode_thread.
23728         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23729         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23730         and global __sim_exceptions_global.
23731         (__sim_disabled_exceptions): Change to thread-local
23732         __sim_disabled_exceptions_thread and global
23733         __sim_disabled_exceptions_global.
23734         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23735         and global __sim_round_mode_global.
23736         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23737         (SIM_SET_GLOBAL): Likewise.
23738         * sysdeps/powerpc/soft-fp/sfp-machine.h
23739         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23740         __sim_round_mode_thread.
23741         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23742         __sim_disabled_exceptions_thread.
23743         (__sim_exceptions): Change to __sim_exceptions_thread.
23744         (__sim_disabled_exceptions): Change to
23745         __sim_disabled_exceptions_thread.
23746         (__sim_round_mode): Change to __sim_round_mode_thread.
23747         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23748         thread-local floating-point state and set global state from it as
23749         needed.
23750         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23751         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23752         (__sim_disabled_exceptions): Remove extern declaration.
23753         (feenableexcept): Use thread-local floating-point state and set
23754         global state from it as needed.
23755         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23756         extern declaration.
23757         (__sim_disabled_exceptions): Likewise.
23758         (__sim_round_mode): Likewise.
23759         (__fegetenv): Use thread-local floating-point state.
23760         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23761         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23762         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23763         floating-point state and set global state from it as needed.
23764         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23765         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23766         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23767         Likewise.
23768         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23769         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23770         Likewise.
23771         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23772         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23773         Use __sim_round_mode_thread.
23774         * math/test-fenv-tls.c: New file.
23775         * math/Makefile (tests): Add test-fenv-tls.
23776         ($(objpfx)test-fenv-tls): Depend on
23777         $(common-objpfx)nptl/libpthread.so.
23779 2013-11-19  Andreas Schwab  <schwab@suse.de>
23781         * locale/programs/locale.c (show_info): Decode wordarray elements.
23782         * locale/categories.def (LC_MONETARY): Add element for
23783         _NL_MONETARY_CRNCYSTR.
23784         * locale/C-monetary.c (conversion_rate): New variable.
23785         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23786         element.
23788 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
23790         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23791         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23793 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23795         * elf/Makefile (tst-auxv): New test.
23796         * elf/tst-auxv.c: New
23797         * elf/rtld.c (dl_main): Adjust AT_EXECFN
23799 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
23801         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23802         (hidden_proto): Caller changed.
23803         (hidden_tls_proto): New macro.
23804         (libc_hidden_tls_proto): Likewise.
23805         (rtld_hidden_tls_proto): Likewise.
23806         (libm_hidden_tls_proto): Likewise.
23807         (libresolv_hidden_tls_proto): Likewise.
23808         (librt_hidden_tls_proto): Likewise.
23809         (libdl_hidden_tls_proto): Likewise.
23810         (libnss_files_hidden_tls_proto): Likewise.
23811         (libnsl_hidden_tls_proto): Likewise.
23812         (libnss_nisplus_hidden_tls_proto): Likewise.
23813         (libutil_hidden_tls_proto): Likewise.
23815 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
23817         [BZ #10253]
23818         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23819         (decompose_rpath): Defer expansion to fillin_rpath.
23820         (_dl_init_paths): Pass linkmap to fillin_rpath.
23822 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23824         * benchtests/Makefile: Add strsep.
23825         * benchtests/bench-strsep.c: New file: strsep benchtest.
23826         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23828 2013-11-18  Andreas Schwab  <schwab@suse.de>
23830         * locale/programs/locale.c (show_info) [case byte]: Check for
23831         '\377' instead of '\177'.
23832         * locale/C-monetary.c (not_available): Always use "\377".
23833         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23834         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
23835         detect unavailable sign_posn locale elements.
23836         * locale/localeconv.c (__localeconv): For grouping and
23837         mon_grouping handle "\177" and "\377" like no grouping.
23838         (INT_ELEM): New macro.  Use it to set all numeric members.
23839         * locale/programs/ld-monetary.c (monetary_read)
23840         <tok_mon_grouping>: Normalize single -1 to the empty string.
23841         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23842         Likewise.
23844 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23846         [BZ #16055]
23847         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23848         when we match (nil).
23849         * stdio-common/tst-sscanf.c (struct test): Add testcase.
23851 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
23853         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23854         (NO_TEST_INLINE): Update value.
23855         (ERRNO_UNCHANGED): Likewise.
23856         (ERRNO_EDOM): Likewise.
23857         (ERRNO_ERANGE): Likewise.
23858         (IGNORE_RESULT): Likewise.
23859         (check_float_internal): Check signs of NaN results if
23860         TEST_NAN_SIGN used.
23861         (check_complex): Pass TEST_NAN_SIGN flag through to second
23862         check_float_internal call.
23863         (copysign_test_data): Add tests with quiet NaNs as second
23864         argument.  Use TEST_NAN_SIGN.
23865         (fabs_test_data): Add test of negative quiet NaN argument.  Use
23866         TEST_NAN_SIGN.
23867         (signbit_test_data): Add tests of quiet NaN argument.
23868         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23870         * math/gen-libm-test.pl (show_exceptions): Take extra argument
23871         $ignore_result.
23872         (parse_args): Handle function results specified as IGNORE.
23873         * math/libm-test.inc (IGNORE_RESULT): New macro.
23874         (check_float_internal): Do not check numerical result if flag
23875         IGNORE_RESULT set.
23876         (check_complex): Pass through IGNORE_RESULT to second
23877         check_float_internal call.
23878         (check_int): Do not check numerical result if flag IGNORE_RESULT
23879         set.
23880         (check_long): Likewise.
23881         (check_bool): Likewise.
23882         (check_longlong): Likewise.
23883         (lrint_test_data): Add tests of infinite and NaN arguments.
23884         (lrint_tonearest_test_data): Likewise.
23885         (lrint_towardzero_test_data): Likewise.
23886         (lrint_downward_test_data): Likewise.
23887         (lrint_upward_test_data): Likewise.
23888         (llrint_test_data): Likewise.
23889         (llrint_tonearest_test_data): Likewise.
23890         (llrint_towardzero_test_data): Likewise.
23891         (llrint_downward_test_data): Likewise.
23892         (llrint_upward_test_data): Likewise.
23893         (lround_test_data): Likewise.
23894         (llround_test_data): Likewise.
23896         * math/libm-test.inc (NO_TEST_INLINE): New macro.
23897         (ERRNO_UNCHANGED): Update value.
23898         (ERRNO_EDOM): Likewise.
23899         (ERRNO_ERANGE): Likewise.
23900         (NO_TEST_INLINE_FLOAT): New macro.
23901         (NO_TEST_INLINE_DOUBLE): Likewise.
23902         (enable_test): New function.
23903         (RUN_TEST_f_f): Check enable_test before running test.
23904         (RUN_TEST_2_f): Likewise.
23905         (RUN_TEST_fff_f): Likewise.
23906         (RUN_TEST_c_f): Likewise.
23907         (RUN_TEST_f_f1): Likewise.
23908         (RUN_TEST_fF_f1): Likewise.
23909         (RUN_TEST_fI_f1): Likewise.
23910         (RUN_TEST_ffI_f1): Likewise.
23911         (RUN_TEST_c_c): Likewise.
23912         (RUN_TEST_cc_c): Likewise.
23913         (RUN_TEST_f_i): Likewise.
23914         (RUN_TEST_f_i_tg): Likewise.
23915         (RUN_TEST_ff_i_tg): Likewise.
23916         (RUN_TEST_f_b): Likewise.
23917         (RUN_TEST_f_b_tg): Likewise.
23918         (RUN_TEST_f_l): Likewise.
23919         (RUN_TEST_f_L): Likewise.
23920         (RUN_TEST_fFF_11): Likewise.
23921         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23922         conditionals.
23923         (cosh_test_data): Likewise.
23924         (exp_test_data): Likewise.
23925         (expm1_test_data): Likewise.
23926         (hypot_test_data): Likewise.
23927         (pow_test_data): Likewise.
23928         (sinh_test_data): Likewise.
23929         (tanh_test_data): Likewise.
23930         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23931         flags argument.
23933         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23934         tests with quiet NaN input and output.
23935         (acosh_test_data): Likewise.
23936         (asin_test_data): Likewise.
23937         (asinh_test_data): Likewise.
23938         (atan_test_data): Likewise.
23939         (atanh_test_data): Likewise.
23940         (atan2_test_data): Likewise.
23941         (cbrt_test_data): Likewise.
23942         (cos_test_data): Likewise.
23943         (cosh_test_data): Likewise.
23944         (erf_test_data): Likewise.
23945         (erfc_test_data): Likewise.
23946         (exp_test_data): Likewise.
23947         (exp10_test_data): Likewise.
23948         (exp2_test_data): Likewise.
23949         (expm1_test_data): Likewise.
23950         (hypot_test_data): Likewise.
23951         (j0_test_data): Likewise.
23952         (j1_test_data): Likewise.
23953         (jn_test_data): Likewise.
23954         (lgamma_test_data): Likewise.
23955         (log_test_data): Likewise.
23956         (log10_test_data): Likewise.
23957         (log1p_test_data): Likewise.
23958         (log2_test_data): Likewise.
23959         (pow_test_data): Likewise.
23960         (scalb_test_data): Likewise.
23961         (sin_test_data): Likewise.
23962         (sincos_test_data): Likewise.
23963         (sinh_test_data): Likewise.
23964         (tan_test_data): Likewise.
23965         (tanh_test_data): Likewise.
23966         (tgamma_test_data): Likewise.
23967         (y0_test_data): Likewise.
23968         (y1_test_data): Likewise.
23969         (yn_test_data): Likewise.
23971         [BZ #16167]
23972         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23973         argument being NaN and avoid computations with second argument in
23974         that case.
23975         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23976         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23977         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23979 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23981         * locale/iso-639.def: Add Chitwani Tharu (the).
23983 2013-11-14  Andreas Schwab  <schwab@suse.de>
23985         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23986         word instead of empty string.
23988 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23991         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23993         (__fe_nomask_env): Likewise.
23995 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23997         * benchtests/bench-timing.h: Include time.h.
23999 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
24001         [BZ #15997]
24002         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24003         to 3.4.0 for x32.
24004         * sysdeps/unix/sysv/linux/configure: Regenerated.
24006 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
24008         [BZ #16151]
24009         * stdlib/strtod_l.c (round_and_return): Do not consider
24010         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24011         exponent one less than half the least subnormal exponent.
24012         * stdlib/test-strtod-round-data: Add more tests.
24013         * stdlib/tst-strtod-round.c (tests): Regenerated.
24015 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24017         [BZ #14143]
24018         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24019         (__fe_mask_env): Likewise.
24020         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24021         libm_hidden_proto and add function prototype.
24022         (__fe_mask_env): Add function prototype.
24023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24024         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24026         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24028         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24030 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24032         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24033         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24035 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24037         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24038         of htab_find_slot().
24040 2013-11-11  David S. Miller  <davem@davemloft.net>
24042         [BZ #16150]
24043         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24044         symbol in the non-vis3 case in static builds.
24045         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24046         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24047         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24048         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24050 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
24052         [BZ #387]
24053         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24054         it is empty.
24056 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24058         * benchtests/Makefile: Add bench-strtod.
24059         * benchtests/bench-strtod.c: New file: strtod benchtest
24061 2013-11-11  Andreas Schwab  <schwab@suse.de>
24063         [BZ #16153]
24064         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24065         terminating NUL in key length.
24067 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24069         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24070         Add artificial ODP entry for vDSO symbol for PPC64.
24071         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24072         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24074 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24076         [BZ #15374]
24077         * nss/getent.c (services_keys): Recognize services starting with digit.
24079 2013-11-06  David S. Miller  <davem@davemloft.net>
24081         [BZ #15985]
24082         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24083         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24085 2013-11-06  Will Newton  <will.newton@linaro.org>
24087         * manual/memory.texi (Malloc Examples): Remove register
24088         keyword from examples.
24090 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
24092         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24094 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
24096         [BZ #6981]
24097         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24098         depending on [__GCC_IEC_559 > 0].
24099         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24100         depending on [__GCC_IEC_559_COMPLEX > 0].
24102 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
24104         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24105         to iso-639.def.
24107 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
24109         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24111 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
24113         [BZ #16112]
24114         * malloc/malloc (malloc_info): Do not handle first bin as
24115         special case.
24117 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
24119         * locale/iso-639.def: Add Central Nahuatl (nhn).
24121 2013-11-01  Bruno Haible  <bruno@clisp.org>
24123         [BZ #7003]
24124         * manual/math.texi (BSD Random): Specify range upper bound as
24125         in POSIX.
24127 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
24129         * locale/iso-639.def: Add Meadow Mari (mhr).
24131 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
24133         [BZ #14752], [BZ #15763]
24134         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24135         Validate name.
24136         * rt/tst_shm.c: Add test for escaping directory.
24138 2013-10-31  Andreas Schwab  <schwab@suse.de>
24140         [BZ #15917]
24141         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24142         followed by 'x' as part of digit sequence.
24143         * stdio-common/tst-sscanf.c (double_tests2): New tests.
24145 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24147         [BZ #16037]
24148         * configure.ac: allow GNU Make 4.0 and greater.
24149         * configure: Regenerated.
24151 2013-10-30  Will Newton  <will.newton@linaro.org>
24153         [BZ #16038]
24154         * malloc/hooks.c (memalign_check): Limit alignment to the
24155         maximum representable power of two.
24156         * malloc/malloc.c (__libc_memalign): Likewise.
24157         * malloc/tst-memalign.c (do_test): Add test for very
24158         large alignment values.
24159         * malloc/tst-posix_memalign.c (do_test): Likewise.
24161 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24163         [BZ #11087]
24164         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24165         (munmap_chunk): Likewise.
24166         (mremap_chunk): Likewise.
24168 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24170         [BZ #15799]
24171         * stdlib/div.c (div): Remove obsolete code.
24172         * stdlib/ldiv.c (ldiv): Likewise.
24173         * stdlib/lldiv.c (lldiv): Likewise.
24175 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24177         [BZ #16071]
24178         * nss/nss_files/files-XXX.c (get_contents_ret): New
24179         enumerator.
24180         (get_contents): New function.
24181         (internal_getent): Use it.  Expand size of LINEBUFLEN.
24183 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
24185         * configure.in: Moved to ...
24186         * configure.ac: ... here. Change reference to configure.in
24187         to configure.ac.
24188         * sysdeps/arm/preconfigure.ac: ... here.
24189         configure.in to configure.ac.
24190         * sysdeps/gnu/configure.in: Moved to ...
24191         * sysdeps/gnu/configure.ac: ... here.
24192         * sysdeps/i386/configure.in: Moved to ...
24193         * sysdeps/i386/configure.ac: ... here.
24194         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24195         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24196         * sysdeps/mach/configure.in: Moved to ...
24197         * sysdeps/mach/configure.ac: ... here.
24198         * sysdeps/mach/hurd/configure.in: Moved to ...
24199         * sysdeps/mach/hurd/configure.ac: ... here.
24200         * sysdeps/powerpc/configure.in: Moved to ...
24201         * sysdeps/powerpc/configure.ac: ... here.
24202         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24203         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24204         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24205         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24206         * sysdeps/s390/s390-32/configure.in: Moved to ...
24207         * sysdeps/s390/s390-32/configure.ac: ... here.
24208         * sysdeps/s390/s390-64/configure.in: Moved to ...
24209         * sysdeps/s390/s390-64/configure.ac: ... here.
24210         * sysdeps/sh/configure.in: Moved to ...
24211         * sysdeps/sh/configure.ac: ... here.
24212         * sysdeps/sparc/configure.in: Moved to ...
24213         * sysdeps/sparc/configure.ac: ... here.
24214         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24215         * sysdeps/unix/sysv/linux/configure.ac: ... here.
24216         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24217         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24218         * sysdeps/x86_64/configure.in: Moved to ...
24219         * sysdeps/x86_64/configure.ac: ... here.
24220         * sysdeps/x86_64/preconfigure.in: Moved to ...
24221         * sysdeps/x86_64/preconfigure.ac: ... here.
24222         * aclocal.m4: Change reference to configure.in to configure.ac.
24223         * config.h.in: Likewise.
24224         * manual/install.texi: Likewise.
24225         * manual/maint.texi: Likewise.
24226         * Makefile: Likewise.
24227         * malloc/Makefile: Likewise.
24228         * nscd/Makefile: Likewise.
24229         * Makeconfig: Change reference to configure.in and
24230         preconfigure.in to configure.ac and preconfigure.ac
24231         respectively.
24232         * INSTALL: Regenerated.
24233         * configure: Likewise.
24234         * sysdeps/gnu/configure: Likewise.
24235         * sysdeps/i386/configure: Likewise.
24236         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24237         * sysdeps/mach/configure: Likewise.
24238         * sysdeps/mach/hurd/configure: Likewise.
24239         * sysdeps/powerpc/configure: Likewise.
24240         * sysdeps/powerpc/powerpc32/configure: Likewise.
24241         * sysdeps/powerpc/powerpc64/configure: Likewise.
24242         * sysdeps/s390/s390-32/configure: Likewise.
24243         * sysdeps/s390/s390-64/configure: Likewise.
24244         * sysdeps/sh/configure: Likewise.
24245         * sysdeps/sparc/configure: Likewise.
24246         * sysdeps/unix/sysv/linux/configure: Likewise.
24247         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24248         * sysdeps/x86_64/configure: Likewise.
24249         * sysdeps/x86_64/preconfigure: Likewise.
24251 2013-10-29  Andreas Schwab  <schwab@suse.de>
24253         * stdio-common/Makefile (tst-swscanf-ENV): Define.
24255 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24257         * benchtests/pow-inputs: Add new inputs.
24259         * benchtests/exp-inputs: Add new inputs.
24261         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24262         conditional check for return value.
24263         (__cos32): Likewise.
24265 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24267         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24268         to provide a boost for large inputs with word alignment.
24269         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24270         implementation based on optimized PPC64 strcpy.
24271         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24272         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24273         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24274         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24276 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24278         [BZ #2801]
24279         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24281 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24283         [BZ #14876]
24284         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24285         * time/tst-strptime.c (day_tests): Add testcase.
24287 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24289         [BZ #14029]
24290         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24292 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24294         [BZ #16074]
24295         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24296         MAP_FAILED on error.
24298 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24300         [BZ #16072]
24301         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24302         heap for large requests.
24304 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24306         [BZ #9954]
24307         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24308         result if the result has no associated interface.
24309         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24310         interface for all 127.X.Y.Z addresses.
24312 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
24314         * locale/iso-639.def: Add Ligurian (lij)
24316 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
24318         [BZ #15825]
24319         * sunrpc/rpc_main.c: Document rpcgen -5.
24321 2013-10-19  Michael Stahl  <mstahl@redhat.com>
24323         * elf/rtld.c (do_preload): Print the reason why preloading failed.
24325 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24327         [BZ #10278]
24328         * posix/glob.c: Match only directories when trailing slash is present.
24329         * posix/tst-gnuglob.c (my_opendir): Do not open files.
24330         (main): Add testcase.
24332 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24334         [BZ #15670]
24335         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24337 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
24339         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24340         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24341         AUTH_DES and cindex for FIPS 140-2.
24342         (DES Encryption): Add cindex FIPS 46-3.
24344         * locale/locarchive.h (struct locarhandle): Add fname.
24345         * locale/programs/localedef.c (main): Pass ARGV[remaining]
24346         if an optional argument was specified to --list-archive,
24347         otherwise NULL.
24348         * locale/programs/locarchive.c (show_archive_content): Take new
24349         argument fname and pass it via ah.fname to open_archive.
24350         * locale/programs/localedef.h: Update decl.
24351         (open_archive): If AH->fname is non-null, open that file
24352         rather than the default file name, and don't ignore ENOENT.
24353         (create_archive): Set AH.fname to NULL.
24354         (delete_locales_from_archive): Likewise.
24355         (add_locales_to_archive): Likewise.
24356         * locale/programs/locfile.c (write_all_categories): Likewise.
24358 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
24359             Aldy Hernandez  <aldyh@redhat.com>
24361         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24362         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24363         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24364         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24365         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24366         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24367         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24368         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24369         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24370         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24371         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24372         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24373         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24374         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24375         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24376         Likewise.
24377         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24378         Likewise.
24379         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24380         Likewise.
24381         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24382         Likewise.
24383         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24384         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24385         Likewise.
24386         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24387         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24388         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24389         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24390         Likewise.
24391         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24392         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24393         * sysdeps/powerpc/preconfigure: Likewise.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24395         Likewise.
24396         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24397         Replace contents of file by #include of <fenv_libc.h>.
24398         * sysdeps/powerpc/soft-fp/sfp-machine.h
24399         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24400         and <sys/prctl.h>.
24401         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24402         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24405         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24406         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24408         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24414         Allow copysignl PLT reference to be missing.
24416 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
24417             Joseph Myers  <joseph@codesourcery.com
24419         [BZ #15948]
24420         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24421         single character.
24422         (add_to_tablewc): Assert sequence of wide characters is nonempty.
24424 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24426         * elf/tst-tls-dlinfo.c: Don't include tls.h.
24427         * elf/tst-tls1.c: Likewise.
24428         * elf/tst-tls10.h: Likewise.
24429         * elf/tst-tls14.c: Likewise.
24430         * elf/tst-tls2.c: Likewise.
24431         * elf/tst-tls3.c: Likewise.
24432         * elf/tst-tls4.c: Likewise.
24433         * elf/tst-tls5.c: Likewise.
24434         * elf/tst-tls6.c: Likewise.
24435         * elf/tst-tls7.c: Likewise.
24436         * elf/tst-tls8.c: Likewise.
24437         * elf/tst-tls9.c: Likewise.
24438         * elf/tst-tlsmod1.c: Likewise.
24439         * elf/tst-tlsmod13.c: Likewise.
24440         * elf/tst-tlsmod13a.c: Likewise.
24441         * elf/tst-tlsmod14a.c: Likewise.
24442         * elf/tst-tlsmod16a.c: Likewise.
24443         * elf/tst-tlsmod16b.c: Likewise.
24444         * elf/tst-tlsmod2.c: Likewise.
24445         * elf/tst-tlsmod3.c: Likewise.
24446         * elf/tst-tlsmod4.c: Likewise.
24447         * elf/tst-tlsmod5.c: Likewise.
24448         * elf/tst-tlsmod6.c: Likewise.
24450 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
24452         [BZ #12486]
24453         * malloc/malloc.c: remove checks for statistics.
24455 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24457         [BZ #15277]
24458         * inet/inet_net.c (inet_network): Detect additional invalid strings.
24459         * inet/tst-network.c: Add testcase.
24461 2013-10-17  Andreas Schwab  <schwab@suse.de>
24463         [BZ #15218]
24464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24465         to determine canonical name.
24467 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24469         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24470         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24471         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24472         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24473         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24474         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24475         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24476         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24477         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24478         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24479         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24480         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24481         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24482         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24483         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24484         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24486         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24487         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24488         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24489         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24492         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24493         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24494         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24495         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24496         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24497         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24498         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24499         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24500         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24501         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24502         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24503         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24504         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24505         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24506         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24507         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24509         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24510         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24511         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24512         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24513         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24514         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24515         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24516         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24517         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24518         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24519         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24520         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24521         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24522         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24523         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24524         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24525         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24526         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24528 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
24530         [BZ #16041]
24531         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24532         make result into a quiet NaN.
24534 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
24536         * soft-fp/adddf3.c: Fix horizontal whitespace.
24537         * soft-fp/addsf3.c: Likewise.
24538         * soft-fp/addtf3.c: Likewise.
24539         * soft-fp/divdf3.c: Likewise.
24540         * soft-fp/divsf3.c: Likewise.
24541         * soft-fp/divtf3.c: Likewise.
24542         * soft-fp/double.h: Likewise.
24543         * soft-fp/eqdf2.c: Likewise.
24544         * soft-fp/eqsf2.c: Likewise.
24545         * soft-fp/eqtf2.c: Likewise.
24546         * soft-fp/extenddftf2.c: Likewise.
24547         * soft-fp/extended.h: Likewise.
24548         * soft-fp/extendsfdf2.c: Likewise.
24549         * soft-fp/extendsftf2.c: Likewise.
24550         * soft-fp/extendxftf2.c: Likewise.
24551         * soft-fp/fixdfdi.c: Likewise.
24552         * soft-fp/fixdfsi.c: Likewise.
24553         * soft-fp/fixdfti.c: Likewise.
24554         * soft-fp/fixsfdi.c: Likewise.
24555         * soft-fp/fixsfsi.c: Likewise.
24556         * soft-fp/fixsfti.c: Likewise.
24557         * soft-fp/fixtfdi.c: Likewise.
24558         * soft-fp/fixtfsi.c: Likewise.
24559         * soft-fp/fixtfti.c: Likewise.
24560         * soft-fp/fixunsdfdi.c: Likewise.
24561         * soft-fp/fixunsdfsi.c: Likewise.
24562         * soft-fp/fixunsdfti.c: Likewise.
24563         * soft-fp/fixunssfdi.c: Likewise.
24564         * soft-fp/fixunssfsi.c: Likewise.
24565         * soft-fp/fixunssfti.c: Likewise.
24566         * soft-fp/fixunstfdi.c: Likewise.
24567         * soft-fp/fixunstfsi.c: Likewise.
24568         * soft-fp/fixunstfti.c: Likewise.
24569         * soft-fp/floatdidf.c: Likewise.
24570         * soft-fp/floatdisf.c: Likewise.
24571         * soft-fp/floatditf.c: Likewise.
24572         * soft-fp/floatsidf.c: Likewise.
24573         * soft-fp/floatsisf.c: Likewise.
24574         * soft-fp/floatsitf.c: Likewise.
24575         * soft-fp/floattidf.c: Likewise.
24576         * soft-fp/floattisf.c: Likewise.
24577         * soft-fp/floattitf.c: Likewise.
24578         * soft-fp/floatundidf.c: Likewise.
24579         * soft-fp/floatundisf.c: Likewise.
24580         * soft-fp/floatunditf.c: Likewise.
24581         * soft-fp/floatunsidf.c: Likewise.
24582         * soft-fp/floatunsisf.c: Likewise.
24583         * soft-fp/floatunsitf.c: Likewise.
24584         * soft-fp/floatuntidf.c: Likewise.
24585         * soft-fp/floatuntisf.c: Likewise.
24586         * soft-fp/floatuntitf.c: Likewise.
24587         * soft-fp/fmadf4.c: Likewise.
24588         * soft-fp/fmasf4.c: Likewise.
24589         * soft-fp/fmatf4.c: Likewise.
24590         * soft-fp/gedf2.c: Likewise.
24591         * soft-fp/gesf2.c: Likewise.
24592         * soft-fp/getf2.c: Likewise.
24593         * soft-fp/ledf2.c: Likewise.
24594         * soft-fp/lesf2.c: Likewise.
24595         * soft-fp/letf2.c: Likewise.
24596         * soft-fp/muldf3.c: Likewise.
24597         * soft-fp/mulsf3.c: Likewise.
24598         * soft-fp/multf3.c: Likewise.
24599         * soft-fp/negdf2.c: Likewise.
24600         * soft-fp/negsf2.c: Likewise.
24601         * soft-fp/negtf2.c: Likewise.
24602         * soft-fp/op-1.h: Likewise.
24603         * soft-fp/op-2.h: Likewise.
24604         * soft-fp/op-4.h: Likewise.
24605         * soft-fp/op-8.h: Likewise.
24606         * soft-fp/op-common.h: Likewise.
24607         * soft-fp/quad.h: Likewise.
24608         * soft-fp/single.h: Likewise.
24609         * soft-fp/soft-fp.h: Likewise.
24610         * soft-fp/sqrtdf2.c: Likewise.
24611         * soft-fp/sqrtsf2.c: Likewise.
24612         * soft-fp/sqrttf2.c: Likewise.
24613         * soft-fp/subdf3.c: Likewise.
24614         * soft-fp/subsf3.c: Likewise.
24615         * soft-fp/subtf3.c: Likewise.
24616         * soft-fp/truncdfsf2.c: Likewise.
24617         * soft-fp/trunctfdf2.c: Likewise.
24618         * soft-fp/trunctfsf2.c: Likewise.
24619         * soft-fp/trunctfxf2.c: Likewise.
24620         * soft-fp/unorddf2.c: Likewise.
24621         * soft-fp/unordsf2.c: Likewise.
24622         * soft-fp/unordtf2.c: Likewise.
24624 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
24626         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24627         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24629 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
24631         * elf/dl-libc.c: Clear initfini list after freeing.
24633 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
24635         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24636         * soft-fp/addsf3.c: Likewise.
24637         * soft-fp/addtf3.c: Likewise.
24638         * soft-fp/divdf3.c: Likewise.
24639         * soft-fp/divsf3.c: Likewise.
24640         * soft-fp/divtf3.c: Likewise.
24641         * soft-fp/double.h: Likewise.
24642         * soft-fp/eqdf2.c: Likewise.
24643         * soft-fp/eqsf2.c: Likewise.
24644         * soft-fp/eqtf2.c: Likewise.
24645         * soft-fp/extenddftf2.c: Likewise.
24646         * soft-fp/extended.h: Likewise.
24647         * soft-fp/extendsfdf2.c: Likewise.
24648         * soft-fp/extendsftf2.c: Likewise.
24649         * soft-fp/extendxftf2.c: Likewise.
24650         * soft-fp/fixdfdi.c: Likewise.
24651         * soft-fp/fixdfsi.c: Likewise.
24652         * soft-fp/fixdfti.c: Likewise.
24653         * soft-fp/fixsfdi.c: Likewise.
24654         * soft-fp/fixsfsi.c: Likewise.
24655         * soft-fp/fixsfti.c: Likewise.
24656         * soft-fp/fixtfdi.c: Likewise.
24657         * soft-fp/fixtfsi.c: Likewise.
24658         * soft-fp/fixtfti.c: Likewise.
24659         * soft-fp/fixunsdfdi.c: Likewise.
24660         * soft-fp/fixunsdfsi.c: Likewise.
24661         * soft-fp/fixunsdfti.c: Likewise.
24662         * soft-fp/fixunssfdi.c: Likewise.
24663         * soft-fp/fixunssfsi.c: Likewise.
24664         * soft-fp/fixunssfti.c: Likewise.
24665         * soft-fp/fixunstfdi.c: Likewise.
24666         * soft-fp/fixunstfsi.c: Likewise.
24667         * soft-fp/fixunstfti.c: Likewise.
24668         * soft-fp/floatdidf.c: Likewise.
24669         * soft-fp/floatdisf.c: Likewise.
24670         * soft-fp/floatditf.c: Likewise.
24671         * soft-fp/floatsidf.c: Likewise.
24672         * soft-fp/floatsisf.c: Likewise.
24673         * soft-fp/floatsitf.c: Likewise.
24674         * soft-fp/floattidf.c: Likewise.
24675         * soft-fp/floattisf.c: Likewise.
24676         * soft-fp/floattitf.c: Likewise.
24677         * soft-fp/floatundidf.c: Likewise.
24678         * soft-fp/floatundisf.c: Likewise.
24679         * soft-fp/floatunsidf.c: Likewise.
24680         * soft-fp/floatunsisf.c: Likewise.
24681         * soft-fp/floatuntidf.c: Likewise.
24682         * soft-fp/floatuntisf.c: Likewise.
24683         * soft-fp/floatuntitf.c: Likewise.
24684         * soft-fp/fmadf4.c: Likewise.
24685         * soft-fp/fmasf4.c: Likewise.
24686         * soft-fp/fmatf4.c: Likewise.
24687         * soft-fp/gedf2.c: Likewise.
24688         * soft-fp/gesf2.c: Likewise.
24689         * soft-fp/getf2.c: Likewise.
24690         * soft-fp/ledf2.c: Likewise.
24691         * soft-fp/lesf2.c: Likewise.
24692         * soft-fp/letf2.c: Likewise.
24693         * soft-fp/muldf3.c: Likewise.
24694         * soft-fp/mulsf3.c: Likewise.
24695         * soft-fp/multf3.c: Likewise.
24696         * soft-fp/negdf2.c: Likewise.
24697         * soft-fp/negsf2.c: Likewise.
24698         * soft-fp/negtf2.c: Likewise.
24699         * soft-fp/op-1.h: Likewise.
24700         * soft-fp/op-2.h: Likewise.
24701         * soft-fp/op-4.h: Likewise.
24702         * soft-fp/op-8.h: Likewise.
24703         * soft-fp/op-common.h: Likewise.
24704         * soft-fp/quad.h: Likewise.
24705         * soft-fp/single.h: Likewise.
24706         * soft-fp/soft-fp.h: Likewise.
24707         * soft-fp/sqrtdf2.c: Likewise.
24708         * soft-fp/sqrtsf2.c: Likewise.
24709         * soft-fp/sqrttf2.c: Likewise.
24710         * soft-fp/subdf3.c: Likewise.
24711         * soft-fp/subsf3.c: Likewise.
24712         * soft-fp/subtf3.c: Likewise.
24713         * soft-fp/truncdfsf2.c: Likewise.
24714         * soft-fp/trunctfdf2.c: Likewise.
24715         * soft-fp/trunctfsf2.c: Likewise.
24716         * soft-fp/trunctfxf2.c: Likewise.
24717         * soft-fp/unorddf2.c: Likewise.
24718         * soft-fp/unordsf2.c: Likewise.
24719         * soft-fp/unordtf2.c: Likewise.
24721 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
24723         [BZ #15672]
24724         * misc/error.c (error_tail): Fix possible buffer overflow.
24726 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
24728         [BZ #13028]
24729         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24730         address.
24732 2013-10-14  P. J. McDermott  <pj@pehjota.net>
24734         [BZ #832]
24735         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
24736         testing pipefail option.
24738 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24740         * soft-fp/double.h: Indent preprocessor directives inside #if.
24741         * soft-fp/extended.h: Likewise.
24742         * soft-fp/op-2.h: Likewise.
24743         * soft-fp/op-4.h: Likewise.
24744         * soft-fp/op-common.h: Likewise.
24745         * soft-fp/quad.h: Likewise.
24746         * soft-fp/single.h: Likewise.
24747         * soft-fp/soft-fp.h: Likewise.
24749 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
24751         * iconv/iconv_prog.c: Fix typos.
24752         * stdio-common/psiginfo-data.h: Likewise.
24754 2013-10-12   Reuben Thomas <rrt@sc3d.org>
24756         [BZ #15764]
24757         * locale/setlocale.c: Fix typo.
24759 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24761         [BZ #16036]
24762         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24763         signaling NaN arguments.
24764         * soft-fp/unordsf2.c (__unordsf2): Likewise.
24765         * soft-fp/unordtf2.c (__unordtf2): Likewise.
24767         [BZ #14910]
24768         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24769         unordered operands.
24770         * soft-fp/gesf2.c (__gesf2): Likewise.
24771         * soft-fp/getf2.c (__getf2): Likewise.
24772         * soft-fp/ledf2.c (__ledf2): Likewise.
24773         * soft-fp/lesf2.c (__lesf2): Likewise.
24774         * soft-fp/letf2.c (__letf2): Likewise.
24776         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24777         * soft-fp/eqsf2.c (__eqsf2): Likewise.
24778         * soft-fp/eqtf2.c (__eqtf2): Likewise.
24779         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24780         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24781         * soft-fp/fixdfti.c (__fixdfti): Likewise.
24782         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24783         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24784         * soft-fp/fixsfti.c (__fixsfti): Likewise.
24785         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24786         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24787         * soft-fp/fixtfti.c (__fixtfti): Likewise.
24788         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24789         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24790         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24791         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24792         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24793         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24794         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24795         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24796         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24797         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24798         * soft-fp/floatdisf.c (__floatdisf): Likewise.
24799         * soft-fp/floatsisf.c (__floatsisf): Likewise.
24800         * soft-fp/floattidf.c (__floattidf): Likewise.
24801         * soft-fp/floattisf.c (__floattisf): Likewise.
24802         * soft-fp/floattitf.c (__floattitf): Likewise.
24803         * soft-fp/floatundidf.c (__floatundidf): Likewise.
24804         * soft-fp/floatundisf.c (__floatundisf): Likewise.
24805         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24806         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24807         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24808         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24809         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24810         * soft-fp/gesf2.c (__gesf2): Likewise.
24811         * soft-fp/getf2.c (__getf2): Likewise.
24812         * soft-fp/ledf2.c (__ledf2): Likewise.
24813         * soft-fp/lesf2.c (__lesf2): Likewise.
24814         * soft-fp/letf2.c (__letf2): Likewise.
24816         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24817         Undefine and redefine.
24818         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24819         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24820         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24821         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24822         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24823         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24824         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24825         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24826         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24827         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24828         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24829         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24830         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24831         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24832         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24834         [BZ #16032]
24835         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24836         without decrementing exponent if mantissa >= that for the
24837         denominator, not >.
24838         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24839         denominator, not >.  Decrement exponent in < case instead of
24840         incrementing in >= case.
24841         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24842         without decrementing exponent if mantissa >= that for the
24843         denominator, not >.
24845         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24846         computing saturated result for unsigned overflow.
24848 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24849             Jeff Law  <law@redhat.com>
24851         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24852         (atan2Mp): Add systemtap probe marker.
24853         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24854         (__ieee754_log): Add systemtap probe marker.
24855         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24856         (atanMp): Add systemtap probe marker.
24857         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24858         (tanMp): Add systemtap probe marker.
24859         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24860         (__slowexp): Add systemtap probe marker.
24861         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24862         (__slowpow): Add systemtap probe marker.
24863         * manual/probes.texi: Document probes.
24865 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
24867         [BZ #15362]
24868         * libio/fileops.c (_IO_new_file_write): Return count of bytes
24869         written.
24870         (_IO_new_file_xsputn): Don't return EOF if nothing has been
24871         written.
24872         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24873         written to buffer but not flushed.
24874         * libio/iofwrite_u.c:  Likewise.
24875         * libio/iopadn.c:  Return bytes returned even if EOF was
24876         encountered.
24877         * libio/iowpadn.c:  Likewise.
24878         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24879         if _IO_padn does not write the whole buffer.
24880         [!COMPILE_WPRINTF] (PAD): Likewise.
24882 2013-10-10  David S. Miller  <davem@davemloft.net>
24884         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24885         directory block.
24887 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24889         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
24890         instead of FSF address.
24891         * soft-fp/fixdfti.c: Likewise.
24892         * soft-fp/fixsfti.c: Likewise.
24893         * soft-fp/fixtfti.c: Likewise.
24894         * soft-fp/fixunsdfti.c: Likewise.
24895         * soft-fp/fixunssfti.c: Likewise.
24896         * soft-fp/fixunstfti.c: Likewise.
24897         * soft-fp/floattidf.c: Likewise.
24898         * soft-fp/floattisf.c: Likewise.
24899         * soft-fp/floattitf.c: Likewise.
24900         * soft-fp/floatuntidf.c: Likewise.
24901         * soft-fp/floatuntisf.c: Likewise.
24902         * soft-fp/floatuntitf.c: Likewise.
24903         * soft-fp/trunctfxf2.c: Likewise.
24905         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
24906         * soft-fp/fixdfti.c: Likewise.
24907         * soft-fp/fixsfti.c: Likewise.
24908         * soft-fp/fixtfti.c: Likewise.
24909         * soft-fp/fixunsdfti.c: Likewise.
24910         * soft-fp/fixunssfti.c: Likewise.
24911         * soft-fp/fixunstfti.c: Likewise.
24912         * soft-fp/floattidf.c: Likewise.
24913         * soft-fp/floattisf.c: Likewise.
24914         * soft-fp/floattitf.c: Likewise.
24915         * soft-fp/floatuntidf.c: Likewise.
24916         * soft-fp/floatuntisf.c: Likewise.
24917         * soft-fp/floatuntitf.c: Likewise.
24918         * soft-fp/trunctfxf2.c: Likewise.
24920 2013-10-10  David S. Miller  <davem@davemloft.net>
24922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24924 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24926         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24927         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24928         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24929         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24930         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24931         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24932         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24935         for NaNs before doing comparisons on argument.
24936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24937         Likewise.
24939 2013-10-10  Will Newton  <will.newton@linaro.org>
24941         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24942         passed to _int_memalign does not overflow.
24944 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24946         * scripts/bench.pl: Add include-sources directive.
24947         * benchtests/README: Update documentation.
24949 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24951         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24952         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24953         instead of FP_INIT_ROUNDMODE.
24954         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24955         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24957         [BZ #16034]
24958         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24959         copy class of input value.
24960         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24961         not handle exceptions.
24962         * soft-fp/negsf2.c (__negsf2): Likewise.
24963         * soft-fp/negtf2.c (__negtf2): Likewise.
24964         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24966 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24968         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24969         semicolon.  From Linux kernel.
24971 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24973         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24975 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24977         [BZ #156]
24978         * manual/socket.texi: Added statement about buffer
24979         for gethostbyname2_r.
24981 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24983         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24984         Use .p2align directive instead, throughout.
24985         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24986         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24987         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24989         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24990         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24991         * sysdeps/x86_64/strchr.S: Likewise.
24992         * sysdeps/x86_64/strrchr.S: Likewise.
24994 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24996         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24998         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25000         * sysdeps/generic/math_private.h (__mpsin1): Remove
25001         declaration.
25002         (__mpcos1): Likewise.
25003         (__mpsin): New argument __range_reduce.
25004         (__mpcos): Likewise.
25005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25006         (slow): Use __mpsin and __mpcos.
25007         (slow1): Likewise.
25008         (slow2): Likewise.
25009         (sloww): Likewise.
25010         (sloww1): Likewise.
25011         (sloww2): Likewise.
25012         (bsloww): Likewise.
25013         (bsloww1): Likewise.
25014         (bsloww2): Likewise.
25015         (cslow2): Likewise.
25016         (csloww): Likewise.
25017         (csloww1): Likewise.
25018         (csloww2): Likewise.
25019         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25020         range_reduce.  Merge in __mpsin1.
25021         (__mpcos): Likewise.
25022         (__mpsin1): Remove.
25023         (__mpcos1): Likewise.
25025 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
25027         * locale/loadlocale.c (_nl_intern_locale_data): Use
25028         LOCFILE_ALIGNED_P.
25029         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25030         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25031         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25032         obstack data is appropriately aligned.
25033         (obstack_int32_grow_fast): Likewise.
25034         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25035         * locale/programs/locfile.c (add_locale_uint32): Likewise.
25036         (add_locale_uint32_array): Likewise.
25038 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25040         * benchtests/Makefile: Remove ARGLIST and RET variables.
25041         ($(objpfx)bench-%.c): Pass only function name to the script.
25042         * benchtests/README: Update documentation.
25043         * benchtests/acos-inputs: Add new directives.
25044         * benchtests/acosh-inputs: Likewise.
25045         * benchtests/asin-inputs: Likewise.
25046         * benchtests/asinh-inputs: Likewise.
25047         * benchtests/atan-inputs: Likewise.
25048         * benchtests/atanh-inputs: Likewise.
25049         * benchtests/cos-inputs: Likewise.
25050         * benchtests/cosh-inputs: Likewise.
25051         * benchtests/exp-inputs: Likewise.
25052         * benchtests/log-inputs: Likewise.
25053         * benchtests/pow-inputs: Likewise.
25054         * benchtests/rint-inputs: Likewise.
25055         * benchtests/sin-inputs: Likewise.
25056         * benchtests/sinh-inputs: Likewise.
25057         * benchtests/tan-inputs: Likewise.
25058         * benchtests/tanh-inputs: Likewise.
25059         * scripts/bench.pl: Add support for new directives.
25061 2013-10-07  Alan Modra  <amodra@gmail.com>
25063         * README: Fix careless merge.
25065 2013-10-05  Alan Modra  <amodra@gmail.com>
25067         * NEWS: Mention powerpc64le support and bugs fixed.
25068         * README: Both big-endian and little-endian powerpc64 supported.
25070 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25072         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25073         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25074         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25075         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25077 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
25079         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25080         match prototype.
25082 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
25084         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25085         Move -mhard-float appending from
25086         ports/sysdeps/powerpc/powerpc32/Makefile.
25087         [$(with-fp) = yes] (ASFLAGS): Likewise.
25088         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25089         * sysdeps/powerpc/nofpu: Move directory from
25090         ports/sysdeps/powerpc/nofpu.
25091         * sysdeps/powerpc/soft-fp: Move directory from
25092         ports/sysdeps/powerpc/soft-fp.
25093         * sysdeps/powerpc/powerpc32/405: Move directory from
25094         ports/sysdeps/powerpc/powerpc32/405.
25095         * sysdeps/powerpc/powerpc32/440: Move directory from
25096         ports/sysdeps/powerpc/powerpc32/440.
25097         * sysdeps/powerpc/powerpc32/464: Move directory from
25098         ports/sysdeps/powerpc/powerpc32/464.
25099         * sysdeps/powerpc/powerpc32/476: Move directory from
25100         ports/sysdeps/powerpc/powerpc32/476.
25101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25102         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25104         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25106         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25108         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25111         * README: Update for powerpc-*-linux-gnu software floating point
25112         support in libc.
25114         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25115         case to powerpc/powerpc32*.
25116         * sysdeps/unix/sysv/linux/configure: Regenerated.
25118         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25119         (_FPU_MASK_OM): Define as 0x04.
25120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25122         0x00c10080.
25123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25124         0x0000003c.
25125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25128         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25129         getcontext_e500.
25130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25131         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25132         setcontext_e500.
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25134         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25135         and setcontext_e500.
25137 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
25139         * locale/iso-3166.def: Update iso-1366.def and related occurrences
25141 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25143         * manual/threads.texi (Default Thread Attributes): Fix typo.
25145 2013-10-04  Will Newton  <will.newton@linaro.org>
25147         * malloc/Makefile: Add tst-memalign.
25148         * malloc/tst-memalign.c: New file.
25150         * malloc/tst-posix_memalign.c: Add comments.
25151         (do_test): Add comments and call free on all potentially
25152         allocated pointers. Add space after cast.
25154         * malloc/tst-pvalloc.c: Add comments.
25155         (do_test): Add comments and call free on all potentially
25156         allocated pointers. Remove duplicate check for NULL pointer.
25157         Add space after cast.
25159         * malloc/tst-valloc.c: Add comments.
25160         (do_test): Add comments and call free on all potentially
25161         allocated pointers. Remove duplicate check for NULL pointer.
25162         Add space after cast.
25164 2013-10-04  Alan Modra  <amodra@gmail.com>
25166         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25167         Use stdint types in rather than __attribute__((mode())).
25168         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25170 2013-10-04  Alan Modra  <amodra@gmail.com>
25172         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25173         Correct handling of unaligned relocs for little-endian.
25174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25176 2013-10-04  Alan Modra  <amodra@gmail.com>
25178         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25179         * configure: Regenerate.
25180         * nptl/shlib-versions: Powerpc*le starts at 2.18.
25181         * shlib-versions: Likewise.
25183 2013-10-04  Alan Modra  <amodra@gmail.com>
25185         * string/tester.c (test_memrchr): Increment reported test cycle.
25187 2013-10-04  Alan Modra  <amodra@gmail.com>
25189         * string/test-memcpy.c (do_one_test): When reporting errors, print
25190         string address and don't overrun end of string.
25192 2013-10-04  Alan Modra  <amodra@gmail.com>
25194         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25195         insrdi.  Make better use of reg selection to speed exit slightly.
25196         Schedule entry path a little better.  Remove useless "are we done"
25197         checks on entry to main loop.  Handle wrapping around zero address.
25198         Correct main loop count.  Handle single left-over word from main
25199         loop inline rather than by using loop_small.  Remove extra word
25200         case in loop_small caused by wrong loop count.  Add little-endian
25201         support.
25202         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25203         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
25204         cache hint.
25205         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25206         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25207         support.  Avoid rlwimi.
25208         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25210 2013-10-04  Alan Modra  <amodra@gmail.com>
25212         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25213         insrdi.  Formatting.
25214         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25215         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25216         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25217         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25218         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25219         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25221 2013-10-04  Alan Modra  <amodra@gmail.com>
25223         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25225         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25226         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25227         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25228         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25229         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25230         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25231         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
25232         use of regs.  Use power7 mtocrf.  Tidy function tails.
25234 2013-10-04  Alan Modra  <amodra@gmail.com>
25236         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25237         Formatting.  Consistently use rXXX register defines or rN defines.
25238         Use early exit labels that avoid restoring unused non-volatile regs.
25239         Make cr field use more consistent with rWORDn compares.  Rename
25240         regs used as shift registers for unaligned loop, using rN defines
25241         for short lifetime/multiple use regs.
25242         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25243         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
25244         addi 1,1,64 to pop stack frame.  Simplify return value code.
25245         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25247 2013-10-04  Alan Modra  <amodra@gmail.com>
25249         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25250         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
25251         rather than rlwimi.
25252         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25253         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25254         little-endian support.  Correct typos.
25255         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
25256         rather than rlwimi.
25257         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25258         in loop and entry code to keep "and." results.
25259         (strchr): Add little-endian support.  Comment.  Move cntlzd
25260         earlier in tail.
25261         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25263 2013-10-04  Alan Modra  <amodra@gmail.com>
25265         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25266         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25267         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25268         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25270 2013-10-04  Alan Modra  <amodra@gmail.com>
25272         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25273         (rTMP): Define as r11.
25274         (strcmp): Add little-endian support.  Optimise tail.
25275         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25276         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25277         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25278         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25279         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25280         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25281         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25283 2013-10-04  Alan Modra  <amodra@gmail.com>
25285         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25286         little-endian support.  Remove unnecessary "are we done" tests.
25287         Handle "s" wrapping around zero and extremely large "size".
25288         Correct main loop count.  Handle single left-over word from main
25289         loop inline rather than by using small_loop.  Correct comments.
25290         Delete "zero" tail, use "end_max" instead.
25291         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25293 2013-10-04  Alan Modra  <amodra@gmail.com>
25295         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25296         support.  Don't branch over align.
25297         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25298         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25299         support.  Rearrange tmp reg use to suit.  Comment.
25300         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25302 2013-10-04  Alan Modra  <amodra@gmail.com>
25304         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25306 2013-10-04  Alan Modra  <amodra@gmail.com>
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25309         conditional form of branch and link when obtaining pc.
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25312 2013-10-04  Alan Modra  <amodra@gmail.com>
25314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25315         HIWORD/LOWORD.
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25319 2013-10-04  Alan Modra  <amodra@gmail.com>
25321         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25322         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25323         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25324         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25325         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25326         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25327         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25328         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25329         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25330         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25332 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25333             Alistair Popple <alistair@ozlabs.au.ibm.com>
25334             Alan Modra <amodra@gmail.com>
25336         [BZ #15723]
25337         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25338         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25339         _dl_hwcap access for little-endian.
25340         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
25341         destroy vmx regs when saving unaligned.
25342         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25343         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
25344         destroy vmx regs when saving unaligned.
25346 2013-10-04  Alan Modra  <amodra@gmail.com>
25348         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25349         Don't use a union to pack hi/low value.
25351 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25353         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25354         for little-endian.
25355         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25357         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25358         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25359         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25361 2013-10-04  Alan Modra  <amodra@gmail.com>
25363         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25364         constants to usual value for .cst8 section, and remove redundant
25365         high address load.
25366         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25367         constant for 0x1p52.  Load little-endian words of double from
25368         correct stack offsets.
25370 2013-10-04  Alan Modra  <amodra@gmail.com>
25372         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25373         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25374         words of double from correct stack offsets.
25375         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25376         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25377         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25378         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25380         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25382         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25383         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25387         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25388         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25389         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25390         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25391         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25393 2013-10-04  Alan Modra  <amodra@gmail.com>
25395         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25396         64-bit int/double union.
25397         (_FPU_SETCW): Likewise.
25398         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25399         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25401 2013-10-04  Alan Modra  <amodra@gmail.com>
25403         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25404         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25406 2013-10-04  Alan Modra  <amodra@gmail.com>
25408         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25409         use vector int constants.
25410         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25412 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25414         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25415         array with long long.
25416         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25417         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25418         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25419         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25420         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25421         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25422         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25423         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25424         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25425         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25426         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25427         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25428         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25430 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25432         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25433         (__signbit): Likewise.  Correct for little-endian.
25434         (__signbitl): Call __signbit.
25435         (lrint): Correct for little-endian.
25436         (lrintf): Call lrint.
25438 2013-10-04  Alan Modra  <amodra@gmail.com>
25440         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25441         union 32-bit int array member with 64-bit int array.
25442         (t515, tm256): Double rather than long double.
25443         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25445 2013-10-04  Alan Modra  <amodra@gmail.com>
25447         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25448         Delete.
25449         (IEEE854_LONG_DOUBLE_BIAS): Delete.
25450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25451         version of math_ldbl.h.
25453 2013-10-04  Alan Modra  <amodra@gmail.com>
25455         [BZ #15734], [BZ #15735]
25456         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25457         all uses of ieee875 long double macros and unions.  Simplify test
25458         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
25459         ldbl_extract_mantissa value for ix,iy exponents.  Properly
25460         normalize after ldbl_extract_mantissa, and don't add hidden bit
25461         already handled.  Don't treat low word of ieee854 mantissa like
25462         low word of IBM long double and mask off bit when testing for
25463         zero.
25464         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25465         all uses of ieee875 long double macros and unions.  Simplify tests
25466         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
25467         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
25468         two1022, instead use their values.  Recognise that tests for large
25469         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
25470         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25471         Rewrite all uses of ieee875 long double macros and unions.  Simplify
25472         test for 0.0L and nan.  Correct negation.
25473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25474         ieee875 long double macros and unions.  Correct output for large
25475         magnitude x.  Correct absolute value calculation.
25476         (__erfcl): Likewise.
25477         * math/libm-test.inc: Add tests for errors discovered in IBM long
25478         double versions of fmodl, remainderl, erfl and erfcl.
25480 2013-10-04  Alan Modra  <amodra@gmail.com>
25482         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25483         all uses of ieee854 long double macros and unions.  Simplify tests
25484         for long doubles that are fully specified by the high double.
25485         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25486         Likewise.
25487         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25488         Remove dead code too.
25489         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25490         (__ieee754_ynl): Likewise.
25491         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25492         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25493         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25494         Remove dead code too.
25495         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25496         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25498         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25499         Simplify.
25500         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25501         Simplify.
25502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25503         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25504         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25505         Comment on variable precision.
25506         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25507         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25508         Likewise.
25509         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25510         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25511         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25512         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25513         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25515 2013-10-04  Alan Modra  <amodra@gmail.com>
25517         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25518         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25519         all uses of ieee854 long double macros and unions.
25520         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25522         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25523         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25524         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25525         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25526         Likewise.
25527         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25528         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25529         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25530         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25531         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25532         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25533         Simplify sign and nan test too.
25534         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25535         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25536         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25537         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25538         Likewise.
25539         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25540         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25541         Likewise.
25542         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25543         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25544         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25545         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25546         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25547         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25549 2013-10-04  Alan Modra  <amodra@gmail.com>
25551         * stdio-common/printf_size.c (__printf_size): Don't use
25552         union ieee854_long_double in fpnum union.
25553         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
25554         signbit macro to retrieve sign from long double.
25555         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25556         retrieve sign from long double.
25557         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25558         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25559         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25560         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25561         * math/test-misc.c (main): Don't use union ieee854_long_double.
25563 2013-10-04  Alan Modra  <amodra@gmail.com>
25565         [BZ #15680]
25566         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25567         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25568         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25569         calculation.  Remove unnecessary test for denormal exponent.
25570         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25571         Correct handling of denormals.  Avoid undefined shift behaviour.
25572         Correct normalisation of low mantissa when low double is denormal.
25573         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25574         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
25575         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25576         Correct normalisation of low mantissa.  Test for overflow of high
25577         mantissa and normalise.
25578         (ldbl_nearbyint): Use more readable constant for two52.
25579         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25580         (__mpn_construct_long_double): Fix test for overflow of high
25581         mantissa and correct normalisation.  Avoid undefined shift.
25583 2013-10-04  Alan Modra  <amodra@gmail.com>
25585         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25586         (union ibm_extended_long_double): Define as an array of ieee754_double.
25587         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25588         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25589         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25590         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25591         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25592         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25594         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25595         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25596         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25597         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25599 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
25601         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25602         page size instead of calling getpagesize.
25604         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25605         (LOCFILE_ALIGN_MASK): Likewise.
25606         (LOCFILE_ALIGN_UP): Likewise.
25607         (LOCFILE_ALIGNED_P): Likewise.
25608         * locale/programs/ld-collate.c (collate_output): Use the new
25609         macros instead of __alignof__ (int32_t).
25610         * locale/weight.h (findidx): Likewise.
25612 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
25614         [BZ #431]
25615         * manual/string.texi: Fix strncat and wcsncat.
25617 2013-10-03  Brooks Moses  <bmoses@google.com>
25619         [BZ #15915]
25620         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25621         * Makerules: ...here, and adjust associated comments.
25623 2013-10-02  Will Newton  <will.newton@linaro.org>
25625         * malloc/Makefile: Add tst-pvalloc.
25626         * malloc/tst-pvalloc.c: New file.
25628 2013-10-02  Will Newton  <will.newton@linaro.org>
25630         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25631         improve test coverage.
25633 2013-10-02  Will Newton  <will.newton@linaro.org>
25635         * malloc/Makefile: Add tst-posix_memalign.
25636         * malloc/tst-posix_memalign.c: New file.
25638 2013-10-01  Eric Blake  <eblake@redhat.com>
25640         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25641         Use __THROWNL rather than __THROW on static functions.
25643 2013-09-30  Petr Machata  <pmachata@redhat.com>
25645         * elf/elf.h (R_AARCH64_ABS16): New macro.
25646         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25647         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25648         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25649         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25650         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25651         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25652         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25653         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25654         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25655         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25656         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25657         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25658         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25659         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25660         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25661         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25662         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25663         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25664         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25665         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25666         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25667         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25668         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25669         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25670         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25671         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25672         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25673         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25674         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25675         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25676         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25677         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25678         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25679         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25680         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25681         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25682         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25683         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25684         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25685         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25686         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25687         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25688         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25689         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25690         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25691         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25692         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25693         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25694         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25695         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25696         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25697         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25698         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25699         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25700         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25701         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25702         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25703         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25704         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25705         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25706         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25707         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25708         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25709         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25710         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25711         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25712         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25713         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25714         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25715         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25716         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25717         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25718         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25719         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25720         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25721         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25722         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25723         (R_AARCH64_TLSDESC_LDR): Likewise.
25724         (R_AARCH64_TLSDESC_ADD): Likewise.
25725         (R_AARCH64_TLSDESC_CALL): Likewise.
25727 2013-09-30  Andreas Schwab  <schwab@suse.de>
25729         [BZ #15048]
25730         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25731         the nss database lookup.
25732         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25735 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
25737         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25739 2013-09-28  P. J. McDermott  <pj@pehjota.net>
25741         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25742         ${Bash-specific parameter/pattern/string} parameter expansion.
25743         * sysdeps/unix/make-syscalls.sh: Likewise.
25745 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25747         * sysdeps/sh/stackguard-macros.h: New file.
25749 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
25751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25753         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25754         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25755         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25756         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25758 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25760         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25761         Fix thread ID register.
25763 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
25765         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25766         [POSIX || UNIX98]: Require rather than permitting all symbols from
25767         <time.h>.
25768         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25769         element of struct sched_param.
25770         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25771         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25772         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25773         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25774         constant.
25776 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
25778         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25779         argument calculation.
25781 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25783         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25784         Expect macro.
25785         [POSIX] (pthread_attr_t): Do not require type.
25786         [POSIX] (pthread_cond_t): Likewise.
25787         [POSIX] (pthread_condattr_t): Likewise.
25788         [POSIX] (pthread_key_t): Likewise.
25789         [POSIX] (pthread_mutex_t): Likewise.
25790         [POSIX] (pthread_mutexattr_t): Likewise.
25791         [POSIX] (pthread_once_t): Likewise.
25792         [POSIX] (pthread_t): Likewise.
25793         [POSIX-based standards] (pthread_atfork): Expect function.
25795 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25796             Richard Sandiford  <richard@codesourcery.com>
25798         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25799         (swap_endianness_p): New extern variable.
25800         (set_big_endian): New inline function.
25801         (maybe_swap_uint32): Likewise.
25802         (maybe_swap_uint32_array): Likewise.
25803         (maybe_swap_uint32_obstack): Likewise.
25804         * locale/programs/locfile.c: Include <stdbool.h>.
25805         (swap_endianness_p): New variable.
25806         (add_locale_uint32): Call maybe_swap_uint32.
25807         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25808         (write_locale_data): Call maybe_swap_uint32_array.
25809         * locale/programs/ld-collate.c (obstack_int32_grow): Call
25810         maybe_swap_uint32.
25811         (obstack_int32_grow_fast): Likewise.
25812         (output_weightwc): Call maybe_swap_uint32_obstack.
25813         (collate_output): Likewise.
25814         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25815         (OPT_LITTLE_ENDIAN): Likewise.
25816         (options): Add --little-endian and --big-endian options.
25817         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25818         * locale/programs/locarchive.c: Include "locfile.h".
25819         (GET): New macro.
25820         (SET): Likewise.
25821         (INC): Likewise.
25822         (create_archive): Use the new macros to access fields of
25823         structures directly mapped from or written to locale archives.
25824         (oldlocrecentcmp): Likewise.
25825         (enlarge_archive): Likewise.
25826         (insert_name): Likewise.
25827         (add_alias): Likewise.
25828         (add_locale): Likewise.
25829         (delete_locales_from_archive): Likewise.
25830         (show_archive_content): Likewise.
25831         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
25832         locale data.
25834 2013-09-24  Roland McGrath  <roland@hack.frob.com>
25836         * manual/freemanuals.texi: Updated from (newly) canonical copy at
25837         http://www.gnu.org/doc/freemanuals.texi.
25838         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25840 2013-09-24  Will Newton  <will.newton@linaro.org>
25842         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25843         macro.
25845 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
25847         * locale/hashval.h (compute_hashval): Interpret bytes of key as
25848         unsigned char.
25850 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
25852         * manual/threads.texi (POSIX Threads): Fix a typo.
25854 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25856         [BZ #14547]
25857         * string/tst-strcoll-overflow.c: New test case.
25858         * string/Makefile (xtests): Add tst-strcoll-overflow.
25859         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25860         cache if string sizes may cause integer overflow.
25862         [BZ #14547]
25863         * string/strcoll_l.c (coll_seq): New members rule, idx,
25864         save_idx and back_us.
25865         (get_next_seq_nocache): New function.
25866         (do_compare_nocache): New function.
25867         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25868         when malloc fails.
25870 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
25872         [BZ #15754]
25873         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25874         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25875         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25877         [BZ #15754]
25878         * elf/Makefile (tests): Add tst-ptrguard1.
25879         (tests-static): Add tst-ptrguard1-static.
25880         (tst-ptrguard1-ARGS): Define.
25881         (tst-ptrguard1-static-ARGS): Define.
25882         * elf/tst-ptrguard1.c: New file.
25883         * elf/tst-ptrguard1-static.c: New file.
25884         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25885         * sysdeps/i386/stackguard-macros.h: Likewise.
25886         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25887         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25888         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25889         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25890         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25891         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25893 2013-09-23  Hector Marco  <hecmargi@upv.es>
25894             Ismael Ripoll  <iripoll@disca.upv.es>
25895             Carlos O'Donell  <carlos@redhat.com>
25897         [BZ #15754]
25898         * sysdeps/generic/stackguard-macros.h: Define
25899         __pointer_chk_guard_local and POINTER_CHK_GUARD.
25900         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25901         Define __pointer_chk_guard_local.
25902         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25903         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25905 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
25907         [BZ #15859]
25908         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25910 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
25912         * include/string.h (__ffs): Declare as hidden.
25913         * string/ffs.c (__ffs): Define as hidden.
25914         * sysdeps/i386/ffs.c (__ffs): Likewise.
25915         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25916         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25917         * sysdeps/s390/ffs.c (__ffs): Likewise.
25918         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25920 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25922         * NEWS: Mention malloc probes.
25924         * malloc/arena.c (new_heap): New memory_heap_new probe.
25925         (grow_heap): New memory_heap_more probe.
25926         (shrink_heap): New memory_heap_less probe.
25927         (heap_trim): New memory_heap_free probe.
25928         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25929         (systrim): New memory_sbrk_less probe.
25930         * manual/probes.texi: Document them.
25932         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25933         * manual/probes.texi: Document it.
25935         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25936         (__libc_realloc): Add memory_realloc_retry probe.
25937         (__libc_memalign): Add memory_memalign_retry probe.
25938         (__libc_valloc): Add memory_valloc_retry probe.
25939         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25940         (__libc_calloc): Add memory_calloc_retry probe.
25941         * manual/probes.texi: Document them.
25943         * malloc/arena.c (get_free_list): Add probe
25944         memory_arena_reuse_free_list.
25945         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25946         and memory_arena_reuse.
25947         (arena_get2) [!PER_THREAD]: Likewise.
25948         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25949         memory_arena_reuse_realloc.
25950         * manual/probes.texi: Document them.
25952         * malloc/malloc.c (__libc_free): Add
25953         memory_mallopt_free_dyn_thresholds probe.
25954         (__libc_mallopt): Add multiple memory_mallopt probes.
25955         * manual/probes.texi: Document them.
25957         * malloc/malloc.c: Include stap-probe.h.
25958         (__libc_mallopt): Add memory_mallopt probe.
25959         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25960         * manual/probes.texi: New.
25961         * manual/Makefile (chapters): Add probes.
25962         * manual/threads.texi: Set next node.
25964 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25966         [BZ #15963, #13985]
25967         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25968         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25969         Add `Chinese' to `nan' entry name.
25971 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25973         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25974         (POLYNOMIAL): Likewise.
25975         (TAYLOR_SINCOS): Likewise.
25976         (TAYLOR_SLOW): Likewise.
25977         (__sin): Use TAYLOR_SINCOS.
25978         (__cos): Likewise.
25979         (slow): Use TAYLOR_SLOW.
25980         (sloww): Likewise.
25981         (bsloww): Likewise.
25982         (csloww): Likewise.
25984 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25986         * stdlib/strtod_l.c: Fix buffer overrun.
25988 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25990         * benchtests/Makefile (bench): Add sincos.
25991         * benchtests/bench-sincos.c: New file.
25993         * math/libm-test.inc (cos_test_data): New test inputs.
25994         (sin_test_data): Likewise.
25996         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25997         macro.
25998         (__sin): Use it.
25999         (__cos): Likewise.
26000         (slow1): Likewise.
26001         (slow2): Likewise.
26002         (sloww1): Likewise.
26003         (sloww2): Likewise.
26004         (bsloww1): Likewise.
26005         (bsloww2): Likewise.
26006         (cslow2): Likewise.
26007         (csloww1): Likewise.
26008         (csloww2): Likewise.
26010         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26011         function.
26012         (__sin): Use it.
26013         (__cos): Likewise.
26015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26016         gotos.
26017         (__cos): Likewise.
26019 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
26021         * config.h.in (HAVE_MIPS_NAN2008): New macro.
26022         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26023         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26024         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26025         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26026         * elf/cache.c (print_entry): Handle the new cache flags.
26028 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26029             Aldy Hernandez  <aldyh@redhat.com>
26031         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26032         Change condition to [_SOFT_FLOAT].
26033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26045         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26048         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26049         declaration.
26051 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26053         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26054         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26055         (__longjmp): Use LOAD_GP to load saved GPRs.
26056         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26057         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26058         (__sigsetjmp): Use SAVE_GP to save GPRs.
26060         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26061         Do not append -msoft-float.
26062         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26064 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26066         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26068 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
26070         [BZ #15966]
26071         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26072         (_FPU_GETCW): Use initial "__" on variable and field names but not
26073         on macro parameter name.
26074         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
26075         parentheses around reference to macro parameter.
26077 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
26079         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26080         prototype.
26081         (ctype_startup): Use uint32_t in cast and sizeof for
26082         ctype->charnames.
26084 2013-09-11  Jia Liu  <proljc@gmail.com>
26086         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26087         __daddr_t_defined.
26088         [__FreeBSD__]: Likewise.
26090 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
26092         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26093         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26094         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26095         (strchr): Remove __strchr_sse42 ifunc selection.
26096         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26097         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26099 2013-09-11  Will Newton  <will.newton@linaro.org>
26101         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26102         parameter to RES. Remove hardcoded 1000 value.
26103         * benchtests/bench-skeleton.c (main): Pass RES parameter
26104         to TIMING_INIT and multiply result by 1000.
26106 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26110 2013-09-11  Andreas Schwab  <schwab@suse.de>
26112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26113         if not defined.
26114         (O_TMPFILE) [__USE_GNU]: Define.
26115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26116         Define.
26118 2013-09-11  Will Newton  <will.newton@linaro.org>
26120         [BZ #15857]
26121         * malloc/malloc.c (__libc_memalign): Check the value of bytes
26122         does not overflow.
26124 2013-09-11  Will Newton  <will.newton@linaro.org>
26126         [BZ #15856]
26127         * malloc/malloc.c (__libc_valloc): Check the value of bytes
26128         does not overflow.
26130 2013-09-11  Will Newton  <will.newton@linaro.org>
26132         [BZ #15855]
26133         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26134         does not overflow.
26136 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
26138         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26140         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26141         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26142         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26144 2013-09-10  Allan McRae  <allan@archlinux.org>
26146         [BZ #15748]
26147         * manual/arith.texi (Parsing of Floats): Clarify
26148         cross-reference.
26150         [BZ #15849]
26151         * manual/install.texi (Running make install): Mention
26152         --enable-pt-chown.
26153         * INSTALL: Regenerated.
26155 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
26157         * csu/init-first.c (_init): Remove the !SHARED condition around
26158         FPU control word initialization.
26159         * elf/dl-support.c (_dl_fpu_control): New variable.
26160         (_dl_aux_init) <AT_FPUCW>: Initialize it.
26161         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26162         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26163         * math/test-fpucw-static.c: New file.
26164         * math/test-fpucw-ieee.c: New file.
26165         * math/test-fpucw-ieee-static.c: New file.
26166         * math/Makefile (tests): Add `test-fpucw-ieee' and
26167         `$(tests-static)'.
26168         (tests-static): New variable.
26169         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26170         dependency to...
26171         [($(build-shared),yes)]
26172         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26173         ... this.
26174         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26175         New dependency.
26177 2013-09-09  Allan McRae  <allan@archlinux.org>
26179         [BZ #15939]
26180         * manual/string.texi (Collation Functions): Fix typo in
26181         strcoll example.
26182         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26184         [BZ #15893]
26185         * stdlib/isomac.c (get_null_defines): Fix memory leak.
26187         [BZ #15892]
26188         * libio/memstream.c (open_memstream): Fix memory leak.
26189         * libio/wmemstream.c (open_wmemstream): Likewise.
26191         [BZ #15895]
26192         * nscd/netgroupcache.c: Fix nesting of ifdefs.
26194 2013-09-09  Will Newton  <will.newton@linaro.org>
26196         * malloc/Makefile: Add tst-realloc to tests.
26197         * malloc/tst-realloc.c: New file.
26199 2013-09-09  Allan McRae  <allan@archlinux.org>
26201         [BZ #15844]
26202         * COPYING: Update from GNU website to fix FSF address.
26203         * COPYING.LIB: Likewise.
26205 2013-09-06  David S. Miller  <davem@davemloft.net>
26207         * po/zh_TW.po: Update Chinese (traditional) translation from
26208         translation project.
26210 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
26211             Joseph Myers  <joseph@codesourcery.com>
26213         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26214         "localeinfo.h".
26215         (obstack_chunk_alloc): New macro.
26216         (obstack_chunk_free): Likewise.
26217         (record_offset): New function.
26218         (init_locale_data): Likewise.
26219         (align_locale_data): Likewise.
26220         (add_locale_empty): Likewise.
26221         (add_locale_raw_data): Likewise.
26222         (add_locale_raw_obstack): Likewise.
26223         (add_locale_string): Likewise.
26224         (add_locale_wstring): Likewise.
26225         (add_locale_uint32): Likewise.
26226         (add_locale_uint32_array): Likewise.
26227         (add_locale_char): Likewise.
26228         (start_locale_structure): Likewise.
26229         (end_locale_structure): Likewise.
26230         (start_locale_prelude): Likewise.
26231         (end_locale_prelude): Likewise.
26232         (write_locale_data): Take locale_file structure rather than an
26233         iovec.
26234         * locale/programs/locfile.h: Include "obstack.h".
26235         (struct locale_file): Change to store locale file contents instead
26236         of header.
26237         (init_locale_data): New prototype.
26238         (align_locale_data): Likewise.
26239         (add_locale_empty): Likewise.
26240         (add_locale_raw_data): Likewise.
26241         (add_locale_raw_obstack): Likewise.
26242         (add_locale_string): Likewise.
26243         (add_locale_wstring): Likewise.
26244         (add_locale_uint32): Likewise.
26245         (add_locale_uint32_array): Likewise.
26246         (add_locale_char): Likewise.
26247         (start_locale_structure): Likewise.
26248         (end_locale_structure): Likewise.
26249         (start_locale_prelude): Likewise.
26250         (end_locale_prelude): Likewise.
26251         (write_locale_data): Update prototype.
26252         * locale/programs/3level.h (struct TABLE): Remove result field.
26253         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26254         Use new locale_file interface.
26255         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26256         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26257         * locale/programs/ld-address.c (address_output): Use new
26258         locale_file interface.
26259         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26260         NO_ADD_LOCALE.
26261         (collate_finish): Don't call collseq_table_finalize.
26262         (collate_output): Use new locale_file interface.
26263         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26264         in file.
26265         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26266         (TABLE): Move defines earlier in file.
26267         (ELEMENT): Likewise.
26268         (DEFAULT): Likewise.
26269         (wctrans_table_add): Move macro and inline function earlier in
26270         file.
26271         (struct wctype_table): Move type earlier in file.
26272         (add_locale_wctype_table): New static prototype.
26273         (struct locale_ctype_t): Use logical types instead of struct iovec
26274         pointers for members.
26275         (ctype_output): Use new locale_file interface.
26276         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26277         new locale_file interface.
26278         (allocate_arrays): Update for use of new locale_file interface.
26279         * locale/programs/ld-identification.c (identification_output): Use
26280         new locale_file interface.
26281         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26282         * locale/programs/ld-messages.c (messages_output): Likewise.
26283         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26284         * locale/programs/ld-name.c (name_output): Likewise.
26285         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26286         * locale/programs/ld-paper.c (paper_output): Likewise.
26287         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26288         * locale/programs/ld-time.c (time_output): Likewise.
26290 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26292         * benchtests/Makefile: Add memrchr benchmark.
26293         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26294         benchmark as memrchr.
26295         * benchtests/bench-memrchr-ifunc.c: New file.
26296         * benchtests/bench-memrchr.c: New file.
26298 2013-09-06   Will Newton  <will.newton@linaro.org>
26300         * benchtests/Makefile (string-bench): Add memcpy.
26302 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26303             Cong Wang  <amwang@redhat.com>
26305         [BZ #15850]
26306         * sysdeps/unix/sysv/linux/bits/in.h
26307         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26308         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26309         before __USE_KERNEL_IPV6_DEFS uses.
26310         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26311         IPPROTO_BEETPH.
26312         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26313         sockaddr_in6, or ipv6_mreq.
26315 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26317         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26318         memory access for final bytes in some large inputs.
26319         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26321 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26323         * string/test-memrchr.c: New file.
26324         * string/test-memrchr-ifunc.c: New file.
26325         * string/Makefile: Add new memrchr testcase.
26327 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
26329         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26330         fanotify_init returns EPERM.
26332 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26334         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26335         errors.
26336         (top level): Treat second token from macro or constant entries for
26337         allowed headers as allowed.
26338         * include/complex.h: Condition internal declarations on
26339         [!_ISOMAC].
26340         * include/fenv.h: Condition include of <stdbool.h> and internal
26341         declarations on [!_ISOMAC].
26343 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
26345         [BZ #15923]
26346         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26348 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26350         * configure.in (--enable-versioning): Remove configure option.
26351         (libc_cv_asm_symver_directive): Remove configure test.
26352         (libc_cv_ld_version_script_option): Likewise.
26353         (VERSIONING): Remove variable and AC_SUBST.
26354         (DO_VERSIONING): Remove AC_DEFINE.
26355         * configure: Regenerated.
26356         * config.h.in (DO_VERSIONING): Remove macro.
26357         * Makerules [$(versioning) = yes]: Change conditionals to
26358         [$(build-shared) = yes].
26359         * config.make.in (versioning): Remove variable.
26360         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26361         [$(build-shared) = yes].
26362         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26363         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26364         * elf/Makefile [$(versioning) = yes]: Change conditionals to
26365         [$(build-shared) = yes].
26366         * extra-lib.mk [$(versioning) = yes]: Likewise.
26367         * hurd/Makefile [$(versioning) = yes]: Likewise.
26368         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26369         [SHARED].
26370         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26371         [SHARED].
26372         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26373         [SHARED && !NO_HIDDEN].
26374         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26375         [SHARED].
26376         [SHARED && DO_VERSIONING]: Likewise..
26377         * libio/Makefile [$(versioning) = yes]: Change conditionals to
26378         [$(build-shared) = yes].
26379         * manual/install.texi (--disable-versioning): Remove
26380         documentation.
26381         * INSTALL: Regenerated.
26382         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26383         to [SHARED].
26384         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26385         [$(build-shared) = yes].
26386         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26387         * sysdeps/i386/i686/multiarch/strstr-c.c
26388         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26389         [SHARED && !NO_HIDDEN].
26390         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26391         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26392         * sysdeps/powerpc/powerpc32/dl-machine.c
26393         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26394         * sysdeps/powerpc/powerpc32/sysdep.h
26395         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26396         to [SHARED && PIC && !NO_HIDDEN].
26397         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26398         conditional to [SHARED].
26400 2013-09-04   Will Newton  <will.newton@linaro.org>
26402         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26403         * benchtests/bench-string.h: Include bench-timing.h instead
26404         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26405         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26406         call to HP_TIMING_DIFF_INIT.
26407         * benchtests/bench-memccpy.c: Use bench-timing.h macros
26408         instead of hp-timing.h macros.
26409         * benchtests/bench-memchr.c: Likewise.
26410         * benchtests/bench-memcmp.c: Likewise.
26411         * benchtests/bench-memcpy.c: Likewise.
26412         * benchtests/bench-memmem.c: Likewise.
26413         * benchtests/bench-memmove.c: Likewise.
26414         * benchtests/bench-memset.c: Likewise.
26415         * benchtests/bench-rawmemchr.c: Likewise.
26416         * benchtests/bench-strcasecmp.c: Likewise.
26417         * benchtests/bench-strcasestr.c: Likewise.
26418         * benchtests/bench-strcat.c: Likewise.
26419         * benchtests/bench-strchr.c: Likewise.
26420         * benchtests/bench-strcmp.c: Likewise.
26421         * benchtests/bench-strcpy.c: Likewise.
26422         * benchtests/bench-strcpy_chk.c: Likewise.
26423         * benchtests/bench-strlen.c: Likewise.
26424         * benchtests/bench-strncasecmp.c: Likewise.
26425         * benchtests/bench-strncat.c: Likewise.
26426         * benchtests/bench-strncmp.c: Likewise.
26427         * benchtests/bench-strncpy.c: Likewise.
26428         * benchtests/bench-strnlen.c: Likewise.
26429         * benchtests/bench-strpbrk.c: Likewise.
26430         * benchtests/bench-strrchr.c: Likewise.
26431         * benchtests/bench-strspn.c: Likewise.
26432         * benchtests/bench-strstr.c: Likewise.
26434 2013-09-04  Will Newton  <will.newton@linaro.org>
26436         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26438 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
26440         [BZ #15427]
26441         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26442         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26443         * math/libm-test.inc (lgamma_test_data): Add more tests.
26444         * sysdeps/i386/fpu/libm-test-ulps: Update.
26445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26447 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
26449         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26451         Add ifunc.
26452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26453         Add strcmp-sse2-unaligned
26454         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26456 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26458         * Versions.def (libc): Add GLIBC_2.19.
26460 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26462         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26463         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26465 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
26467         [BZ #14155]
26468         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26469         intermediate calculations in recurrence.
26470         (__ieee754_ynf): Likewise.
26471         * math/libm-test.inc (jn_test_data): Do not allow spurious
26472         underflow exception.  Add more tests.
26473         (yn_test_data): Add more tests.
26474         * sysdeps/i386/fpu/libm-test-ulps: Update.
26475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26477 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
26479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26481 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26483         * csu/init-first.c: Fix then/than typos.
26484         * locale/programs/ld-collate.c: Likewise.
26485         * locale/programs/linereader.h: Likewise.
26486         * manual/charset.texi: Likewise.
26487         * manual/filesys.texi: Likewise.
26488         * manual/stdio.texi: Likewise.
26489         * manual/string.texi: Likewise.
26490         * stdlib/fmtmsg.c: Likewise.
26491         * sysdeps/i386/stpncpy.S: Likewise.
26492         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26493         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26495         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26497 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26499         * elf/dl-open.c: Fix typos.
26500         * iconvdata/gbbig5.c: Likewise.
26501         * iconvdata/iso-2022-jp.c: Likewise.
26502         * iconv/gconv_int.h: Likewise.
26503         * iconv/loop.c: Likewise.
26504         * nis/rpcsvc/nis.h: Likewise.
26505         * resolv/ns_name.c: Likewise.
26506         * stdio-common/vfscanf.c: Likewise.
26507         * streams/stropts.h: Likewise.
26508         * sunrpc/rpc_thread.c: Likewise.
26509         * sysdeps/i386/strpbrk.S: Likewise.
26510         * sysdeps/ieee754/k_standard.c: Likewise.
26511         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26513         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26514         * sysdeps/mach/hurd/profil.c: Likewise.
26515         * sysdeps/s390/dl-procinfo.h: Likewise.
26516         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26517         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26518         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26519         * sysdeps/x86_64/dl-trampoline.S: Likewise.
26520         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26522 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
26524         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26527 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
26529         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26530         aix specific files.
26531         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26532         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26533         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26534         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26535         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26536         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26537         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26538         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26540 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26541             Roland McGrath  <roland@hack.frob.com>
26543         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26544         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26546 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26548         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26549         __executable_start symbol instead of _start.
26551 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26553         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26554         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26555         Move macros to...
26556         * sysdeps/gnu/ldsodefs.h: ... this new file.
26558         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26559         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26560         instead of ELFOSABI_LINUX.
26562         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26563         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26564         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26565         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26566         Likewise.
26567         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26568         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26569         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26570         Likewise.
26571         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26572         (ibm_extended_long_double): Add ieee_nan member.
26573         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26574         (do_test): New function.
26576         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26577         TEST_TRUNC.
26578         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26579         functions, renamed from truncdfsf_test, trunctfsf_test,
26580         trunctfdf_test.
26581         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26582         functions.
26583         (do_test): Run all these.
26585 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
26587         * argp/argp-help.c: Fix typos.
26588         * argp/argp-parse.c: Likewise.
26589         * debug/backtracesyms.c: Likewise.
26590         * elf/elf.h: Likewise.
26591         * malloc/malloc.c: Likewise.
26592         * nis/nis_print.c: Likewise.
26593         * resolv/res_comp.c: Likewise.
26594         * stdlib/stdlib.h: Likewise.
26595         * sunrpc/clnt_tcp.c: Likewise.
26596         * sunrpc/clnt_udp.c: Likewise.
26597         * sunrpc/clnt_unix.c: Likewise.
26598         * sysdeps/unix/bsd/ptsname.c: Likewise.
26599         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26600         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26602         Likewise.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26604         Likewise.
26605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26606         Likewise.
26607         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26609 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26611         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26614 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
26616         [BZ #15897]
26617         * dlfcn/Makefile (tests): Add bug-dl-leaf.
26618         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26619         ($(objpfx)bug-dl-leaf): New rule.
26620         ($(objpfx)bug-dl-leaf.so): Likewise.
26621         ($(objpfx)bug-dl-leaf.out): Likewise.
26622         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26623         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26624         * dlfcn/bug-dl-leaf.c: New test.
26625         * dlfcn/bug-dl-leaf-lib.c: Likewise.
26626         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26627         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26628         (dlclose): Likewise.
26629         (dlmopen): Likewise.
26631 2013-08-27  Roland McGrath  <roland@hack.frob.com>
26633         * include/netdb.h [!_ISOMAC]:
26634         Don't include <tls.h>.
26635         (h_errno, __libc_h_errno): Move declaration and macros out of
26636         [_LIBC_REENTRANT].
26638         * include/resolv.h [_RESOLV_H_]:
26639         Don't include <tls.h>.
26640         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26641         * resolv/res_libc.c: Don't include <tls.h>.
26642         (_res): Use __attribute__ ((nocommon)) in place of
26643         __attribute__ ((section (".bss"))).
26645         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26646         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26648         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26650         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26651         only under [SIOCGIFCONF && SIOCGIFNETMASK].
26653         * resolv/res_mkquery.c: Include <sys/time.h>.
26655         * inet/ifreq.c: Moved to ...
26656         * sysdeps/unix/ifreq.c: ... here.
26657         * inet/ifreq.c: New file, true stub version.
26659         * socket/sa_len.c: New file.
26660         * socket/Makefile (aux): Add it.
26661         * sysdeps/unix/sysv/linux/Makefile
26662         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26663         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26664         and #include <socket/sa_len.c>.
26665         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26666         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26668         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26669         * bits/socket.h: ... here.
26671         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26672         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26673         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26675 2013-08-27  Andreas Schwab  <schwab@suse.de>
26677         [BZ #15736]
26678         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26679         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26680         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26681         * string/test-strcasecmp.c (test_main): Run tests in several
26682         locales.
26683         * string/test-strncasecmp.c (test_main): Likewise.
26685         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26686         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26687         to __strcasecmp_nonascii and __strncasecmp_nonascii.
26688         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26689         (__strncasecmp_ssse3) [PIC]: Likewise.
26691 2013-08-26  Roland McGrath  <roland@hack.frob.com>
26693         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26695         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26696         instead of explicitly declaring xdecrypt.
26697         * nis/nss_nis/nis-publickey.c: Likewise.
26699 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26701         [BZ #15890]
26702         * nscd/aicache.c: Include res_hconf.h.
26703         (addhstaiX): Initialize res_hconf.
26705 2013-08-26  Andreas Schwab  <schwab@suse.de>
26707         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26708         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26710 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26712         * nscd/aicache.c (addhstaiX): Fix indentation.
26714 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
26716         * configure.ac: Quote $build_pt_chown test.
26717         * configure: Regenerated.
26719 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
26721         [BZ #15532]
26722         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26723         * math/s_cexpf.c (__cexpf): Likewise.
26724         * math/s_cexpl.c (__cexpl): Likewise.
26725         * math/libm-test.inc (cexp_test_data): Correct expected return
26726         value for NaN + i0.  Add another test.
26728 2013-08-22  David S. Miller  <davem@davemloft.net>
26730         * po/ca.po: Update Catalan translation from translation project.
26731         * po/uk.po: Add Ukrainian translations from translation project.
26733 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
26735         [BZ #15797]
26736         * math/s_fdim.c (__fdim): Check for infinite arguments if result
26737         is infinite, not alongside NaN test.
26738         * math/s_fdimf.c (__fdimf): Likewise.
26739         * math/s_fdiml.c (__fdiml): Likewise.
26740         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
26741         errno is unchanged.
26743 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
26745         * argp/argp-help.c: Fix typos.
26746         * crypt/speeds.c: Likewise.
26747         * csu/check_fds.c: Likewise.
26748         * elf/dl-load.c: Likewise.
26749         * elf/dl-open.c: Likewise.
26750         * elf/reldep3.c: Likewise.
26751         * elf/reldep.c: Likewise.
26752         * elf/sprof.c: Likewise.
26753         * iconv/iconv_charmap.c: Likewise.
26754         * iconv/skeleton.c: Likewise.
26755         * iconv/strtab.c: Likewise.
26756         * io/lockf64.c: Likewise.
26757         * libio/libioP.h: Likewise.
26758         * resolv/gai_notify.c: Likewise.
26759         * resolv/ns_name.c: Likewise.
26760         * resolv/ns_samedomain.c: Likewise.
26761         * resolv/res_send.c: Likewise.
26762         * stdlib/random.c: Likewise.
26763         * sunrpc/rpc/xdr.h: Likewise.
26764         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26765         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26766         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26767         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26771         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26772         * sysdeps/mach/hurd/check_fds.c: Likewise.
26773         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26774         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26776         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26777         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26778         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26779         * sysdeps/pthread/aio_notify.c: Likewise.
26780         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26781         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26782         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26783         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26784         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26786 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26788         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26789         version if bit_Slow_SSE4_2 is set.
26790         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26791         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26793 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26795         [BZ #15867]
26796         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26797         trampoline stack frame information.
26798         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26799         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26800         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26801         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26802         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26803         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26804         (_libc_vdso_platform_setup): Initialize the signal trampolines.
26805         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26806         sa_flags value.
26807         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26808         interrupting a syscall and set with option SA_SIGINFO.
26810 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26812         [BZ #15531]
26813         * math/s_cproj.c (__cproj): Only return an infinity if one part of
26814         argument is infinite.
26815         * math/s_cprojf.c (__cprojf): Likewise.
26816         * math/s_cprojl.c (__cprojl): Likewise.
26817         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26818         * math/libm-test.inc (cproj_test_data): Add more tests.
26820         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26822         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26823         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26824         size.  Use __ffs to determine corresponding shift.
26826 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26827             Roland McGrath  <roland@hack.frob.com>
26829         * Makefile (INSTALL): Remove trailing blank lines from output of
26830         makeinfo.
26832 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26834         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26835         Align 32 bit compat elf_greg to 8 bytes.
26837 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
26839         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26841 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26843         * string/strcoll_l.c (coll_seq): New structure.
26844         (get_next_seq_cached): New function.
26845         (get_next_seq): New function.
26846         (do_compare): New function.
26847         (STRCOLL): Use GNU style definition.  Simplify implementation
26848         by using get_next_seq, get_next_seq_cached and do_compare.
26850 2013-08-16  Florian Weimer  <fweimer@redhat.com>
26852         [BZ #14699]
26853         CVE-2013-4237
26854         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26855         member.
26856         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26857         member.
26858         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26859         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26860         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
26861         conditional.
26862         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26863         GETDENTS_64BIT_ALIGNED.
26864         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26865         * manual/filesys.texi (Reading/Closing Directory): Document
26866         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
26867         strongly.
26868         * manual/conf.texi (Limits for Files): Add portability note to
26869         NAME_MAX, PATH_MAX.
26870         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26872 2013-08-13  Andreas Schwab  <schwab@suse.de>
26874         [BZ #15749]
26875         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26876         of fabs.
26877         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26878         LDBL_MAX_EXP >= 16384]: Add tests for it.
26880 2013-08-12  David S. Miller  <davem@davemloft.net>
26882         * version.h (RELEASE): Set to "development".
26883         (VERSION): Set to "2.18.90".
26884         * NEWS: Add 2.19 section.
26886 2013-08-03  David S. Miller  <davem@davemloft.net>
26888         * po/ko.po: Update Korean translation from translation project.
26890 2013-08-01  David S. Miller  <davem@davemloft.net>
26892         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
26893         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26894         Bilka.
26896 2013-07-30  David S. Miller  <davem@davemloft.net>
26898         * po/fr.po: Update French translation from translation project.
26900 2013-07-28  David S. Miller  <davem@davemloft.net>
26902         * po/cs.po: Update Czech translation from translation project.
26904         * po/sv.po: Update Swedish translation from translation project.
26906 2013-07-27  David S. Miller  <davem@davemloft.net>
26908         * po/eo.po: Update Esperanto translation from translation project.
26910         * po/vi.po: Update Vietnamese translation from translation project.
26912         * po/de.po: Update German translation from translation project.
26914 2013-07-26  David S. Miller  <davem@davemloft.net>
26916         * po/bg.po: Update Bulgarian translation from translation project.
26918         * po/nl.po: Update Dutch translation from translation project.
26919         * po/pl.po: Update Polish translation from translation project.
26920         * po/ru.po: Update Russian translation from translation project.
26922 2013-07-24  David S. Miller  <davem@davemloft.net>
26924         * po/libc.pot: Update.
26926 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26928         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26929         variable page size.
26930         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26931         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26932         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26934 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26936         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26938 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26939             Andreas Schwab  <schwab@suse.de>
26940             Roland McGrath  <roland@hack.frob.com>
26941             Joseph Myers  <joseph@codesourcery.com>
26942             Carlos O'Donell  <carlos@redhat.com>
26944         [BZ #15755]
26945         * config.h.in: Define HAVE_PT_CHOWN.
26946         * config.make.in (build-pt-chown): New variable.
26947         * configure.in (--enable-pt_chown): New configure option.
26948         * configure: Regenerate.
26949         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26950         build-pt-chown is enabled.
26951         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26952         pt_chown to fix pty ownership.
26953         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26954         CLOSE_ALL_FDS.
26955         * manual/install.texi (Configuring and compiling): Mention
26956         --enable-pt_chown. Add @findex for grantpt.
26957         * INSTALL: Regenerate.
26959 2013-07-20  David S. Miller  <davem@davemloft.net>
26961         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26962         difference between 32-bit and 64-bit.
26964 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26966         [BZ #15711]
26967         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26968         Avoid system header dependency with -ffreestanding.
26969         ($(objpfx)bits/syscall%d): Likewise.
26971 2013-07-13  David S. Miller  <davem@davemloft.net>
26973         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26974         underflows from atanl/atan2l due to bug 15319.
26975         (casinh_test_data): Likewise.
26977 2013-07-07  David S. Miller  <davem@davemloft.net>
26979         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26981 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26983         * sysdeps/i386/fpu/libm-test-ulps: Update.
26984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26986 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26988         * configure.in (--enable-lock-elision): Fix message text.
26989         * INSTALL: Regenerate.
26990         * configure: Regenerate.
26992 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26996 2013-07-03  Andreas Jaeger  <aj@suse.de>
26998         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26999         define.
27000         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27001         (ptrace_peeksiginfo_args): Add.
27002         (__ptrace_peeksiginfo_flags): Add.
27003         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27004         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27005         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27007 2013-07-03  Allan McRae  <allan@archlinux.org>
27009         * sysdeps/i386/fpu/libm-test-ulps: Update.
27011 2013-07-02  David S. Miller  <davem@davemloft.net>
27013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27015 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
27017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27019 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27021         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27024 2013-07-02  Andi Kleen <ak@linux.intel.com>
27026         * config.h.in (ENABLE_LOCK_ELISION): Add.
27027         * configure.in (--enable-lock-elision): Add option.
27028         * manual/install.texi: Document --enable lock elision.
27029         * configure: Regenerate
27030         * INSTALL: Regenerate.
27032 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
27034         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27035         SSE4.2 strcasecmp for libc.a.
27036         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27038 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27040         [BZ #13304]
27041         * soft-fp/op-common.h (_FP_FMA): New macro.
27042         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27043         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
27044         (_FP_MUL_MEAT_1_imm): ... here.
27045         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
27046         (_FP_MUL_MEAT_1_wide): ... here.
27047         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
27048         (_FP_MUL_MEAT_1_hard): ... here.
27049         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27050         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
27051         (_FP_MUL_MEAT_2_wide): ... here.
27052         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
27053         (_FP_MUL_MEAT_2_wide_3mul): ... here.
27054         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
27055         (_FP_MUL_MEAT_2_gmp): ... here.
27056         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27057         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
27058         (_FP_MUL_MEAT_4_wide): ... here.
27059         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
27060         (_FP_MUL_MEAT_4_gmp): ... here.
27061         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27062         (_FP_WFRACBITS_DW_S): Likewise.
27063         (_FP_WFRACXBITS_DW_S): Likewise.
27064         (_FP_HIGHBIT_DW_S): Likewise.
27065         (FP_FMA_S): Likewise.
27066         (_FP_FRAC_HIGH_DW_S): Likewise.
27067         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27068         (_FP_WFRACBITS_DW_D): Likewise.
27069         (_FP_WFRACXBITS_DW_D): Likewise.
27070         (_FP_HIGHBIT_DW_D): Likewise.
27071         (FP_FMA_D): Likewise.
27072         (_FP_FRAC_HIGH_DW_D): Likewise.
27073         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27074         (_FP_WFRACBITS_DW_E): Likewise.
27075         (_FP_WFRACXBITS_DW_E): Likewise.
27076         (_FP_HIGHBIT_DW_E): Likewise.
27077         (FP_FMA_E): Likewise.
27078         (_FP_FRAC_HIGH_DW_E): Likewise.
27079         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27080         (_FP_WFRACBITS_DW_Q): Likewise.
27081         (_FP_WFRACXBITS_DW_Q): Likewise.
27082         (_FP_HIGHBIT_DW_Q): Likewise.
27083         (FP_FMA_Q): Likewise.
27084         (_FP_FRAC_HIGH_DW_Q): Likewise.
27085         * soft-fp/fmasf4.c: New file.
27086         * soft-fp/fmadf4.c: Likewise.
27087         * soft-fp/fmatf4.c: Likewise.
27089 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27092         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27093         Silvermont.
27094         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27095         macro.
27096         (index_Slow_SSE4_2): Likewise.
27097         (index_Prefer_PMINUB_for_stringop): Likewise.
27098         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27099         bit_Slow_SSE4_2 is set.
27100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27101         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27103 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27105         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27106         rtld_global._dl_hwcap2.
27107         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27108         POWER8.
27109         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27110         POWER8 feature descriptions defined in _dl_hwcap2.
27111         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27112         string handling for POWER8 feature bits.
27113         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27114         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27115         _dl_powerpc_cap_flags.
27116         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27117         * sysdeps/powerpc/rtld-global-offsets.sym
27118         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27119         _dl_hwcap2 in the rtld_global_ro structure.
27121 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27123         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27124         hardware capabilities in support of AT_HWCAP2.
27125         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27126         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27127         GLRO(dl_hwcap2).
27128         (_dl_show_auxv): Add support for calling _dl_procinfo to display
27129         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
27130         explicitly the unknown a_type display mechanism is used.
27131         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27132         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27133         struct member.
27134         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27135         to macro prototype for AT_HWCAP2 support.
27136         * sysdeps/i386/dl-procinfo.h: Likewise.
27137         * sysdeps/s390/dl-procinfo.h: Likewise.
27138         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27139         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
27140         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
27141         return -1 for unknown a_type display fallback.
27142         * sysdeps/sparc/dl-procinfo.h: Likewise.
27143         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27144         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27146 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
27148         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27149         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27151 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
27153         [BZ #12492]
27154         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27155         mprotect making __stack_prot writable.
27157 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
27158             Joseph Myers  <joseph@codesourcery.com>
27160         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27161         as being properly aligned.
27163 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
27165         * dlfcn/modstatic5.c: New file.
27166         * dlfcn/tststatic5.c: New file.
27167         * dlfcn/Makefile (tests): Add tststatic5.
27168         (tests-static): Likewise.
27169         (modules-names): Add modstatic5.
27170         (tststatic5-ENV): New variable.
27171         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27173         [BZ #15022]
27174         * elf/dl-support.c (_dl_main_map): New variable.
27175         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27176         (_dl_nns, _dl_load_adds): Set to 1.
27177         (_dl_initial_searchlist): Refer to _dl_main_map.
27178         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27179         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27180         call to _dl_get_origin.
27181         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27182         around call_map.
27183         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27184         * dlfcn/modstatic3.c: New file.
27185         * dlfcn/tststatic3.c: New file.
27186         * dlfcn/tststatic4.c: New file.
27187         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27188         (tests-static): Likewise.
27189         (modules-names): Add modstatic3.
27190         (tststatic3-ENV, tststatic4-ENV): New variables.
27191         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27192         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27194 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
27196         * configure.in (CC): Require GCC version 4.4 or later.
27197         * configure: Regenerated.
27198         * manual/install.texi (Tools for Compilation): Update GCC version
27199         requirement.
27200         * INSTALL: Regenerated.
27202 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27204         [BZ #15674]
27205         * string/test-memcmp.c (check2): New.
27206         (main): Call check2.
27208         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27210 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
27212         [BZ #15022]
27213         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27214         over to...
27215         (dl_open_worker) [!SHARED]: ... here.
27217 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27219         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27221 2013-06-25  Richard Henderson  <rth@redhat.com>
27223         * locale/programs/locarchive.c: Include <libc-internal.h>
27225 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
27227         * manual/texinfo.tex: Update to version 2013-06-21.17, with
27228         trailing whitespace removed.
27230 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27232         [BZ #10283]
27233         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27234         * locale/programs/locarchive.c: Include libc-mmap.h.
27235         (prepare_address_space): Take two new outputs (the mmap base and len).
27236         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
27237         values.
27238         (create_archive): Declare new mmap base and len values for
27239         prepare_address_space, and store the result in ah.
27240         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27241         (enlarge_archive): If ah->mmap_base is not NULL, use that and
27242         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27243         Declare new mmap base and len values for
27244         prepare_address_space, and store the result in new_ah.
27245         (open_archive): Declare new mmap base and len values for
27246         prepare_address_space, and store the result in ah.
27247         (close_archive): If ah->mmap_base is not NULL, use that and
27248         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27249         * sysdeps/generic/libc-mmap.h: New file.
27251 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27253         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27254         (ALIGN_UP): Likewise.
27255         (PTR_ALIGN_DOWN): Likewise.
27256         (PTR_ALIGN_UP): Likewise.
27258 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27260         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27261         entry mapped to PPC_PLATFORM_POWER8.
27262         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27263         POWER8.
27264         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27265         (_dl_string_platform): Add case for exporting platform position for
27266         POWER8.
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27268         search path to sysdeps/powerpc/powerpc32/power8 directory.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27270         search path to sysdeps/powerpc/powerpc64/power8 directory.
27271         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27272         power7 directories.
27273         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27274         power7 directories.
27276 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278         * INSTALL: Regenerate.
27280         * nscd/connections.c (nscd_init): Fix comment.
27282 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27284         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27286         [BZ #15667]
27287         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27288         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27290 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27292         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27293         DL_DST_REQ_STATIC.
27294         (DL_DST_REQ_STATIC): Remove macro.
27296 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27298         [BZ #7006]
27299         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27300         with a shift of 0 bits.
27302 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27304         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27305         $(tststatic-ENV).
27307 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27309         [BZ #15655]
27310         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27312 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27314         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27315         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27316         accepts -fno-tree-loop-distribute-patterns.
27317         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27318         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27319         recursive call.
27320         * string/memset.c (memset): Likewise.
27321         * string/test-memmove.c (simple_memmove): Disable loop transformation
27322         to library calls.
27323         * string/test-memset.c (simple_memset): Likewise.
27324         * benchtests/bench-memmove.c (simple_memmove): Likewise.
27325         * benchtests/bench-memset.c (simple_memset): Likewise.
27326         * configure: Regenerated.
27328 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
27330         * math/test-misc.c (main): Ignore fesetround failure when failures
27331         of subsequent rounding tests would be ignored.
27333         [BZ #15654]
27334         * math/fedisblxcpt.c (fedisableexcept): Return 0.
27335         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27336         * math/fegetenv.c (__fegetenv): Return 0.
27337         * math/fegetexcept.c (fegetexcept): Return 0.
27338         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27339         FE_TONEAREST.
27340         * math/feholdexcpt.c (feholdexcept): Return 0.
27341         * math/fesetenv.c (__fesetenv): Return 0.
27342         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27343         argument FE_TONEAREST.
27344         * math/feupdateenv.c (__feupdateenv): Return 0.
27345         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27347 2013-06-18  Roland McGrath  <roland@hack.frob.com>
27349         * elf/rtld-Rules (rtld-compile-command.S): New variable.
27350         (rtld-compile-command.s, rtld-compile-command.c): New variables.
27351         ($(objpfx)rtld-%.os rules): Use them.
27353 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27355         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27356         fields.
27358 2013-06-17  Roland McGrath  <roland@hack.frob.com>
27360         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27361         length of target pattern, then descending length of dependency pattern.
27362         * configure.in (AWK): Require gawk 3.1.2 or newer.
27363         * manual/install.texi (Tools for Compilation): Say that we do.
27364         * configure: Regenerated.
27366         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27367         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27368         * scripts/sysd-rules.awk: ... this new script.
27369         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27370         than a glob-style pattern.
27372 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
27374         * math/test-misc.c (main): Do not treat incorrectly rounded
27375         conversions as failure unless ROUNDING_TESTS passes.
27377 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
27379         [BZ #15631]
27380         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27381         restore exception state around main square root computation, then
27382         check for inexactness explicitly.
27384         * math/libm-test.inc (fma_test_data): Add another test.
27386 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27388         * manual/threads.texi (Non-POSIX Extensions): New document
27389         node.  Document pthread_getattr_default_np and
27390         pthread_setattr_default_np.
27392         * Versions.def (libpthread): Add GLIBC_2.18.
27393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27395         Likewise.
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27397         Likewise.
27398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27399         Likewise.
27400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27401         Likewise.
27402         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27403         Likewise.
27404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27405         Likewise.
27406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27407         Likewise.
27408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27409         Likewise.
27410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27411         Likewise.
27413 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27416         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27418 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27419             H.J. Lu  <hjl.tools@gmail.com>
27421         [BZ #15627]
27422         * sysdeps/x86_64/rtld-memset.c: Remove file.
27423         * sysdeps/x86_64/rtld-memset.S: New file.
27425 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
27427         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27428         (test_in_one_mode): Take arguments for whether the rounding mode
27429         is supported for each floating-point type.
27430         (do_test): Pass new arguments to test_in_one_mode using
27431         ROUNDING_TESTS.
27433 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27435         * posix/tst-waitid.c (do_test): Distinguish different instances of
27436         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
27437         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27438         before entering the kernel for waitpid.
27440 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27442         * NEWS: Fix note on clock function precision.  Text by Roland
27443         McGrath.
27445 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27447         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27448         it into place only when and if the sanity check passes.
27450 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
27452         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27453         output for whether conversion result is exact.  Take argument
27454         indicating whether type is IBM long double.
27455         (round_for_all): Change need_exact field to ibm_ld.
27456         * stdlib/tst-strtod-round.c (struct exactness): New type.
27457         (struct test): Change bool ld_ok field to struct exactness exact.
27458         (TEST): Update all definitions for change to field.
27459         (tests): Regenerate array contents.
27460         (test_in_one_mode): Take pointer to new field instead of old ld_ok
27461         field value.  Check for IBM long double here.
27462         (do_test): Update calls to test_in_one_mode.
27464 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27466         [BZ #12515]
27467         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27468         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27470 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27472         [BZ #15605]
27473         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27474         generated by the compiler on loop optimizations.
27475         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27476         general definitions.
27478 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
27480         * math/bug-nextafter.c: Include <math-tests.h>.
27481         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27482         the relevant type.
27483         * math/bug-nexttoward.c: Include <math-tests.h>.
27484         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27485         the relevant type.
27486         * math/test-misc.c: Include <math-tests.h>.
27487         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27488         the relevant type.
27490 2013-06-12  Andreas Jaeger  <aj@suse.de>
27492         * po/ia.po: Update Interlingua translation from translation
27493         project.
27495 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497         * include/fenv.h: Include stdbool.h.
27498         (struct rm_ctx): New structure.
27499         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27500         Define macro.
27501         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27502         (SET_RESTORE_ROUNDF): Likewise.
27503         (SET_RESTORE_ROUNDL): Likewise.
27504         (SET_RESTORE_ROUND_NOEX): Likewise.
27505         (SET_RESTORE_ROUND_NOEXF): Likewise.
27506         (SET_RESTORE_ROUND_NOEXL): Likewise.
27507         (SET_RESTORE_ROUND_53BIT): Likewise.
27508         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27509         (libc_feresetround_noexf_ctx): Likewise.
27510         (libc_feresetround_noexl_ctx): Likewise.
27511         (libc_feholdsetround_53bit_ctx): Likewise.
27512         (libc_feresetround_53bit_ctx): Likewise.
27513         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27514         (libc_feholdexcept_setround_sse_ctx): New function.
27515         (libc_fesetenv_sse_ctx): Likewise.
27516         (libc_feupdateenv_sse_ctx): Likewise.
27517         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27518         (libc_feholdexcept_setround_387_ctx): Likewise.
27519         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27520         (libc_feholdsetround_387_prec_ctx): Likewise.
27521         (libc_feholdsetround_387_ctx): Likewise.
27522         (libc_feholdsetround_387_53bit_ctx): Likewise.
27523         (libc_feholdsetround_sse_ctx): Likewise.
27524         (libc_feresetround_sse_ctx): Likewise.
27525         (libc_feresetround_387_ctx): Likewise.
27526         (libc_feupdateenv_387_ctx): Likewise.
27527         (libc_feholdexcept_setroundf_ctx): Define macro.
27528         (libc_fesetenvf_ctx): Likewise.
27529         (libc_feupdateenvf_ctx): Likewise.
27530         (libc_feholdsetroundf_ctx): Likewise.
27531         (libc_feresetroundf_ctx): Likewise.
27532         (libc_feholdexcept_setround_ctx): Likewise.
27533         (libc_fesetenv_ctx): Likewise.
27534         (libc_feupdateenv_ctx): Likewise.
27535         (libc_feholdsetround_ctx): Likewise.
27536         (libc_feresetround_ctx): Likewise.
27537         (libc_feholdexcept_setroundl_ctx): Likewise.
27538         (libc_feupdateenvl_ctx): Likewise.
27539         (libc_feholdsetroundl_ctx): Likewise.
27540         (libc_feresetroundl_ctx): Likewise.
27541         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27542         (libc_feresetround_53bit_ctx): Likewise.
27544 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27546         * locale/iso-639.def: Convert to UTF-8.
27548 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
27550         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27551         (EXCEPTION_TESTS_double): Likewise.
27552         (EXCEPTION_TESTS_long_double): Likewise.
27553         (EXCEPTION_TESTS): Likewise.
27554         * math/libm-test.inc (test_exceptions): Only test exceptions if
27555         EXCEPTION_TESTS (FLOAT).
27557 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27559         * benchtests/Makefile (string-bench): Add strcpy_chk and
27560         stpcpy_chk.
27561         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27562         * benchtests/bench-stpcpy_chk.c: New file.
27563         * benchtests/bench-strcpy_chk-ifunc.c: New file.
27564         * benchtests/bench-strcpy_chk.c: New file.
27565         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27566         code.
27567         (do_test): Likewise.
27569 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27571         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27572         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27573         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27574         with tabs where appropriate.
27575         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27576         dl-procinfo.h.
27577         [PPC_PLATFORM_PPC440]: Likewise.
27578         [PPC_PLATFORM_PPC464]: Likewise.
27579         [PPC_PLATFORM_PPC476]: Likewise.
27580         (_dl_string_platform): Add support for detecting ppc405, ppc440,
27581         ppc464, and ppc476 platform strings merging from ports/
27582         dl-procinfo.h.
27584 2013-06-11  Andreas Schwab  <schwab@suse.de>
27586         [BZ #14991]
27587         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27588         (from_ucs4_idx): Regenerate.
27589         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27590         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27591         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27592         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27593         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27594         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27595         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27596         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27597         from FROM_LOOP and TO_LOOP specific macros.
27598         (BODY): Handle combining characters.
27599         * iconvdata/BIG5HKSCS.irreversible: Update.
27600         * iconvdata/BIG5HKSCS.precomposed: New file.
27601         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27602         characters.
27603         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27605 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27607         * include/sys/time.h: Fix indentation and add copyright header.
27609         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27610         (do_test): Likewise.
27611         * string/test-memchr.c (do_one_test): Likewise.
27612         (do_test): Likewise.
27613         * string/test-memcmp.c (do_one_test): Likewise.
27614         (do_test): Likewise.
27615         * string/test-memcpy.c (do_one_test): Likewise.
27616         (do_test): Likewise.
27617         * string/test-memmem.c (do_one_test): Likewise.
27618         (do_test): Likewise.
27619         (do_random_tests): Likewise.
27620         * string/test-memmove.c (do_one_test): Likewise.
27621         (do_test): Likewise.
27622         * string/test-memset.c (do_one_test): Likewise.
27623         (do_test): Likewise.
27624         * string/test-rawmemchr.c (do_one_test): Likewise.
27625         (do_test): Likewise.
27626         * string/test-strcasecmp.c (do_one_test): Likewise.
27627         (do_test): Likewise.
27628         * string/test-strcasestr.c (do_one_test): Likewise.
27629         (do_test): Likewise.
27630         * string/test-strcat.c (do_one_test): Likewise.
27631         (do_test): Likewise.
27632         * string/test-strchr.c (do_one_test): Likewise.
27633         (do_test): Likewise.
27634         * string/test-strcmp.c (do_one_test): Likewise.
27635         (do_test): Likewise.
27636         * string/test-strcpy.c (do_one_test): Likewise.
27637         (do_test): Likewise.
27638         * string/test-string.h: Likewise.
27639         (test_init): Likewise.
27640         * string/test-strlen.c (do_one_test): Likewise.
27641         (do_test): Likewise.
27642         * string/test-strncasecmp.c (do_one_test): Likewise.
27643         (do_test): Likewise.
27644         * string/test-strncat.c (do_one_test): Likewise.
27645         (do_test): Likewise.
27646         * string/test-strncmp.c (do_one_test): Likewise.
27647         (do_test_limit): Likewise.
27648         (do_test): Likewise.
27649         * string/test-strncpy.c (do_one_test): Likewise.
27650         (do_test): Likewise.
27651         * string/test-strnlen.c (do_one_test): Likewise.
27652         (do_test): Likewise.
27653         * string/test-strpbrk.c (do_one_test): Likewise.
27654         (do_test): Likewise.
27655         * string/test-strrchr.c (do_one_test): Likewise.
27656         (do_test): Likewise.
27657         * string/test-strspn.c (do_one_test): Likewise.
27658         (do_test): Likewise.
27659         * string/test-strstr.c (do_one_test): Likewise.
27660         (do_test): Likewise.
27662         * benchtests/Makefile (string-bench): Add string benchmarks.
27663         * benchtests/bench-bcopy-ifunc.c: New file.
27664         * benchtests/bench-bcopy.c: New file.
27665         * benchtests/bench-bzero-ifunc.c: New file.
27666         * benchtests/bench-bzero.c: New file.
27667         * benchtests/bench-memccpy-ifunc.c: New file.
27668         * benchtests/bench-memccpy.c: New file.
27669         * benchtests/bench-memchr-ifunc.c: New file.
27670         * benchtests/bench-memchr.c: New file.
27671         * benchtests/bench-memcmp-ifunc.c: New file.
27672         * benchtests/bench-memcmp.c: New file.
27673         * benchtests/bench-memmem-ifunc.c: New file.
27674         * benchtests/bench-memmem.c: New file.
27675         * benchtests/bench-memmove-ifunc.c: New file.
27676         * benchtests/bench-memmove.c: New file.
27677         * benchtests/bench-mempcpy-ifunc.c: New file.
27678         * benchtests/bench-mempcpy.c: New file.
27679         * benchtests/bench-memset-ifunc.c: New file.
27680         * benchtests/bench-memset.c: New file.
27681         * benchtests/bench-rawmemchr-ifunc.c: New file.
27682         * benchtests/bench-rawmemchr.c: New file.
27683         * benchtests/bench-stpcpy-ifunc.c: New file.
27684         * benchtests/bench-stpcpy.c: New file.
27685         * benchtests/bench-stpncpy-ifunc.c: New file.
27686         * benchtests/bench-stpncpy.c: New file.
27687         * benchtests/bench-strcasecmp-ifunc.c: New file.
27688         * benchtests/bench-strcasecmp.c: New file.
27689         * benchtests/bench-strcasestr-ifunc.c: New file.
27690         * benchtests/bench-strcasestr.c: New file.
27691         * benchtests/bench-strcat-ifunc.c: New file.
27692         * benchtests/bench-strcat.c: New file.
27693         * benchtests/bench-strchr-ifunc.c: New file.
27694         * benchtests/bench-strchr.c: New file.
27695         * benchtests/bench-strchrnul-ifunc.c: New file.
27696         * benchtests/bench-strchrnul.c: New file.
27697         * benchtests/bench-strcmp-ifunc.c: New file.
27698         * benchtests/bench-strcmp.c: New file.
27699         * benchtests/bench-strcpy-ifunc.c: New file.
27700         * benchtests/bench-strcpy.c: New file.
27701         * benchtests/bench-strcspn-ifunc.c: New file.
27702         * benchtests/bench-strcspn.c: New file.
27703         * benchtests/bench-strlen-ifunc.c: New file.
27704         * benchtests/bench-strlen.c: New file.
27705         * benchtests/bench-strncasecmp-ifunc.c: New file.
27706         * benchtests/bench-strncasecmp.c: New file.
27707         * benchtests/bench-strncat-ifunc.c: New file.
27708         * benchtests/bench-strncat.c: New file.
27709         * benchtests/bench-strncmp-ifunc.c: New file.
27710         * benchtests/bench-strncmp.c: New file.
27711         * benchtests/bench-strncpy-ifunc.c: New file.
27712         * benchtests/bench-strncpy.c: New file.
27713         * benchtests/bench-strnlen-ifunc.c: New file.
27714         * benchtests/bench-strnlen.c: New file.
27715         * benchtests/bench-strpbrk-ifunc.c: New file.
27716         * benchtests/bench-strpbrk.c: New file.
27717         * benchtests/bench-strrchr-ifunc.c: New file.
27718         * benchtests/bench-strrchr.c: New file.
27719         * benchtests/bench-strspn-ifunc.c: New file.
27720         * benchtests/bench-strspn.c: New file.
27721         * benchtests/bench-strstr-ifunc.c: New file.
27722         * benchtests/bench-strstr.c: New file.
27724         * benchtests/Makefile: Disable parallel execution of targets.
27725         (string-bench): Add memcpy.
27726         (benchset): New variable to store a list of benchmark sets.
27727         (bench-func): Renamed from bench.
27728         (bench-set): New target.
27729         (bench): Depend on bench-func and bench-set.
27730         * benchtests/README: Add section on benchmark sets.
27731         * benchtests/bench-memcpy-ifunc.c: New file.
27732         * benchtests/bench-memcpy.c: New file.
27733         * benchtests/bench-string.h: New file.
27735 2013-06-11  Andreas Schwab  <schwab@suse.de>
27737         [BZ #15577]
27738         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27739         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27740         values in the triple.
27741         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27742         terminator in the group key.
27744 2013-06-11  Andreas Jaeger  <aj@suse.de>
27746         * po/zh_TW.po: Update Chinese (traditional) translation from
27747         translation project.
27749 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27751         * include/time.h (__clock_gettime): Add libc_hidden_proto.
27752         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27753         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
27754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27755         (clock_getcpuclockid): Likewise.
27756         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27757         Add weak_alias and libc_hidden_def.
27758         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27759         * rt/clock_gettime.c (clock_gettime): Rename to
27760         __clock_gettime.  Add weak_alias and libc_hidden_def.
27761         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27762         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27763         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
27764         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27765         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27766         Likewise.
27767         * rt/clock_settime.c (clock_settime): Rename to
27768         __clock_settime.  Add weak_alias and libc_hidden_def.
27769         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27771 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
27773         * mach/err_boot.sub: Remove trailing whitespace.
27774         * mach/err_ipc.sub: Likewise.
27775         * mach/err_mach.sub: Likewise.
27777         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27778         (ROUNDING_TESTS_double): Likewise.
27779         (ROUNDING_TESTS_long_double): Likewise.
27780         (ROUNDING_TESTS): Likewise.
27781         * math/libm-test.inc: Include <math-tests.h>.
27782         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27783         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27784         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27785         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27787 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27789         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27790         of assigning.
27792 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
27794         * sysdeps/gnu/errlist.awk: Do not generate space at end of
27795         otherwise empty TRANS lines.
27796         * sysdeps/gnu/errlist.c: Regenerated.
27798         * catgets/gencat.c (error_print): Use (void) in function
27799         definition.
27800         * crypt/crypt_util.c (__init_des): Likewise.
27801         * crypt/speeds.c (Stop): Likewise.
27802         (main): Likewise.
27803         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27804         * inet/ruserpass.c (token): Likewise.
27805         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27806         * intl/localealias.c (extend_alias_table): Likewise.
27807         * intl/plural-exp.c (init_germanic_plural): Likewise.
27808         * libio/fcloseall.c (__fcloseall): Likewise.
27809         * libio/genops.c (_IO_flush_all): Likewise.
27810         (_IO_flush_all_linebuffered): Likewise.
27811         (_IO_cleanup): Likewise.
27812         (_IO_iter_begin): Likewise.
27813         (_IO_iter_end): Likewise.
27814         (_IO_list_lock): Likewise.
27815         (_IO_list_unlock): Likewise.
27816         (_IO_list_resetlock): Likewise.
27817         * libio/getchar.c (getchar): Likewise.
27818         * libio/getchar_u.c (getchar_unlocked): Likewise.
27819         * libio/getwchar.c (getwchar): Likewise.
27820         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27821         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27822         * login/getpt.c (__getpt): Likewise.
27823         * login/tst-utmp.c (main): Likewise.
27824         * malloc/hooks.c (__malloc_check_init): Likewise.
27825         * malloc/malloc.c (__malloc_stats): Likewise.
27826         * malloc/mtrace.c (tr_break): Likewise.
27827         (mtrace): Likewise.
27828         (muntrace): Likewise.
27829         * misc/fstab.c (endfsent): Likewise.
27830         * misc/getclktck.c (__getclktck): Likewise.
27831         * misc/getdtsz.c (__getdtablesize): Likewise.
27832         * misc/gethostid.c (gethostid): Likewise.
27833         * misc/getpagesize.c (__getpagesize): Likewise.
27834         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27835         (__get_nprocs): Likewise.
27836         (__get_phys_pages): Likewise.
27837         (__get_avphys_pages): Likewise.
27838         * misc/getttyent.c (getttyent): Likewise.
27839         (setttyent): Likewise.
27840         (endttyent): Likewise.
27841         * misc/getusershell.c (getusershell): Likewise.
27842         (endusershell): Likewise.
27843         (setusershell): Likewise.
27844         (initshells): Likewise.
27845         * misc/hsearch.c (__hdestroy): Likewise.
27846         * misc/sync.c (sync): Likewise.
27847         * misc/syslog.c (closelog_internal): Likewise.
27848         (closelog): Likewise.
27849         * misc/ttyslot.c (ttyslot): Likewise.
27850         * misc/vhangup.c (vhangup): Likewise.
27851         * posix/fork.c (__fork): Likewise.
27852         * posix/getegid.c (__getegid): Likewise.
27853         * posix/geteuid.c (__geteuid): Likewise.
27854         * posix/getgid.c (__getgid): Likewise.
27855         * posix/getpid.c (__getpid): Likewise.
27856         * posix/getppid.c (__getppid): Likewise.
27857         * posix/getuid.c (__getuid): Likewise.
27858         * posix/pause.c (pause): Likewise.
27859         * posix/setpgrp.c (setpgrp): Likewise.
27860         * posix/setsid.c (__setsid): Likewise.
27861         * posix/test-vfork.c (noop): Likewise.
27862         * resolv/gethnamaddr.c (_endhtent): Likewise.
27863         (_gethtent): Likewise.
27864         (ht_endhostent): Likewise.
27865         (gethostent): Likewise.
27866         (dns_service): Likewise.
27867         * stdlib/drand48.c (drand48): Likewise.
27868         * stdlib/lrand48.c (lrand48): Likewise.
27869         * stdlib/mrand48.c (mrand48): Likewise.
27870         * stdlib/rand.c (rand): Likewise.
27871         * stdlib/random.c (__random): Likewise.
27872         * stdlib/setenv.c (clearenv): Likewise.
27873         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27874         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27875         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27876         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27877         (__get_nprocs): Likewise.
27878         (__get_phys_pages): Likewise.
27879         (__get_avphys_pages): Likewise.
27880         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27881         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27882         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27883         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27884         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27885         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27886         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27887         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27888         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27889         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27890         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27891         * sysdeps/mach/hurd/sync.c (sync): Likewise.
27892         * sysdeps/posix/clock.c (clock): Likewise.
27893         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27894         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27895         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27896         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27897         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27899         (__get_nprocs_conf): Likewise.
27900         (__get_phys_pages): Likewise.
27901         (__get_avphys_pages): Likewise.
27902         * time/clock.c (clock): Likewise.
27903         * time/tzset.c (__tzname_max): Likewise.
27905 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
27907         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27908         (__bswap_32): Do not use "register".
27909         * crypt/crypt.c (_ufc_doit_r): Likewise.
27910         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27911         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27912         * gmon/gmon.c (__monstartup): Likewise.
27913         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27914         * hurd/hurdmalloc.c (more_memory): Likewise.
27915         (malloc): Likewise.
27916         (free): Likewise.
27917         (realloc): Likewise.
27918         (malloc_fork_prepare): Likewise.
27919         (malloc_fork_parent): Likewise.
27920         (malloc_fork_child): Likewise.
27921         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27922         (_svcauth_des): Likewise.
27923         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27924         * inet/inet_net.c (inet_network): Likewise.
27925         * inet/inet_netof.c (inet_netof): Likewise.
27926         * inet/rcmd.c (__validuser2_sa): Likewise.
27927         * io/fts.c (fts_open): Likewise.
27928         (fts_load): Likewise.
27929         (fts_close): Likewise.
27930         (fts_read): Likewise.
27931         (fts_children): Likewise.
27932         (fts_build): Likewise.
27933         (fts_stat): Likewise.
27934         (fts_sort): Likewise.
27935         (fts_alloc): Likewise.
27936         (fts_lfree): Likewise.
27937         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27938         (_IO_file_xsgetn): Likewise.
27939         (_IO_file_xsgetn_mmap): Likewise.
27940         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27941         (_IO_cookie_write): Likewise.
27942         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27943         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27944         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27945         * malloc/obstack.c (_obstack_begin): Likewise.
27946         (_obstack_begin_1): Likewise.
27947         (_obstack_newchunk): Likewise.
27948         (_obstack_allocated_p): Likewise.
27949         (obstack_free): Likewise.
27950         (_obstack_memory_used): Likewise.
27951         * misc/getttyent.c (getttynam): Likewise.
27952         (getttyent): Likewise.
27953         (skip): Likewise.
27954         (value): Likewise.
27955         * misc/getusershell.c (initshells): Likewise.
27956         * misc/syslog.c (__vsyslog_chk): Likewise.
27957         * misc/ttyslot.c (ttyslot): Likewise.
27958         * nis/nis_hash.c (__nis_hash): Likewise.
27959         * posix/fnmatch_loop.c (FCT): Likewise.
27960         * posix/getconf.c (print_all): Likewise.
27961         (main): Likewise.
27962         * posix/getopt.c (exchange): Likewise.
27963         * posix/glob.c (globfree): Likewise.
27964         (prefix_array): Likewise.
27965         (__glob_pattern_type): Likewise.
27966         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27967         (NS_GET32): Likewise.
27968         (NS_PUT16): Likewise.
27969         (NS_PUT32): Likewise.
27970         * resolv/gethnamaddr.c (getanswer): Likewise.
27971         (gethostbyname2): Likewise.
27972         (gethostbyaddr): Likewise.
27973         (_gethtent): Likewise.
27974         (_gethtbyname2): Likewise.
27975         (_gethtbyaddr): Likewise.
27976         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27977         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27978         * resolv/res_init.c (__res_vinit): Likewise.
27979         (net_mask): Likewise.
27980         * resolv/res_mkquery.c (outchar): Likewise.
27981         (PRINT): Likewise.
27982         * stdio-common/printf_fp.c (outchar): Likewise.
27983         (PRINT): Likewise.
27984         * stdio-common/printf_fphex.c (outchar): Likewise.
27985         (PRINT): Likewise.
27986         * stdio-common/printf_size.c (outchar): Likewise.
27987         (PRINT): Likewise.
27988         * stdio-common/test_rdwr.c (main): Likewise.
27989         * stdio-common/tfformat.c (matches): Likewise.
27990         * stdio-common/vfprintf.c (outchar): Likewise.
27991         (printf_unknown): Likewise.
27992         (buffered_vfprintf): Likewise.
27993         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27994         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27995         (ReadFile): Likewise.
27996         * stdlib/qsort.c (SWAP): Likewise.
27997         (_quicksort): Likewise.
27998         * stdlib/setenv.c (__add_to_environ): Likewise.
27999         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28000         * stdlib/strtol_l.c (__strtol_l): Likewise.
28001         * stdlib/tst-strtod.c (main): Likewise.
28002         * stdlib/tst-strtol.c (main): Likewise.
28003         * stdlib/tst-strtoll.c (main): Likewise.
28004         * string/bits/string2.h (__strcmp_cc): Likewise.
28005         (__strcmp_cg): Likewise.
28006         (__strcspn_c1): Likewise.
28007         (__strcspn_c2): Likewise.
28008         (__strcspn_c3): Likewise.
28009         (__strspn_c1): Likewise.
28010         (__strspn_c2): Likewise.
28011         (__strspn_c3): Likewise.
28012         (__strsep_1c): Likewise.
28013         (__strsep_2c): Likewise.
28014         (__strsep_3c): Likewise.
28015         * string/memccpy.c (__memccpy): Likewise.
28016         * string/stpcpy.c (__stpcpy): Likewise.
28017         * string/strcmp.c (strcmp): Likewise.
28018         * string/strrchr.c (strrchr): Likewise.
28019         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28020         Likewise.
28021         * sysdeps/mach/hurd/getcwd.c
28022         (_hurd_canonicalize_directory_name_internal): Likewise.
28023         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28024         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28025         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28026         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28027         Likewise, in both definitions.
28028         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28029         definitions.
28030         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28031         64] (__bswap_64): Likewise.
28032         * time/test_time.c (main): Likewise.
28033         * time/tzfile.c (__tzfile_read): Likewise.
28034         (__tzfile_compute): Likewise.
28035         * time/tzset.c (__tzset_parse_tz): Likewise.
28036         (tzset_internal): Likewise.
28037         (compute_change): Likewise.
28038         * wcsmbs/wcscat.c (__wcscat): Likewise.
28039         * wcsmbs/wcschr.c (wcschr): Likewise.
28040         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28041         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28042         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28043         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28044         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28045         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28046         * wcsmbs/wmemchr.c (wmemchr): Likewise.
28047         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28048         * wcsmbs/wmemset.c (wmemset): Likewise.
28050 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
28052         * scripts/config.guess: Update to version 2013-05-16.
28053         * scripts/config.sub: Update to version 2013-04-24.
28054         * scripts/install-sh: Update to version 2011-11-20.07.
28055         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28056         * scripts/move-if-change: Update to version 2012-01-06 07:23.
28058 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
28060         * debug/fgetws_u_chk.c: Fix leading whitespaces.
28061         * elf/sln.c: Likewise.
28062         * hurd/hurd/ioctl.h: Likewise.
28063         * hurd/hurdmalloc.c: Likewise.
28064         * hurd/xattr.c: Likewise.
28065         * include/shlib-compat.h: Likewise.
28066         * inet/ruserpass.c: Likewise.
28067         * libio/iofgets_u.c: Likewise.
28068         * libio/iofgetws_u.c: Likewise.
28069         * locale/programs/ld-identification.c: Likewise.
28070         * locale/programs/ld-time.c: Likewise.
28071         * mach/msg-destroy.c: Likewise.
28072         * nss/nss_files/files-netgrp.c: Likewise.
28073         * resolv/res_data.c: Likewise.
28074         * soft-fp/op-1.h: Likewise.
28075         * soft-fp/op-2.h: Likewise.
28076         * soft-fp/op-4.h: Likewise.
28077         * soft-fp/op-common.h: Likewise.
28078         * stdio-common/printf_fphex.c: Likewise.
28079         * stdlib/strtod_l.c: Likewise.
28080         * sunrpc/rpc/clnt.h: Likewise.
28081         * sysdeps/generic/framestate.c: Likewise.
28082         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28083         * sysdeps/i386/bsd-setjmp.S: Likewise.
28084         * sysdeps/i386/__longjmp.S: Likewise.
28085         * sysdeps/i386/setjmp.S: Likewise.
28086         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28087         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28088         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28089         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28091         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28092         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28095         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28096         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28097         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28099         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28100         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28101         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28102         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28103         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28104         * sysdeps/ieee754/support.c: Likewise.
28105         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28106         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28107         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28108         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28109         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28110         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28111         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28112         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28113         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28114         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28115         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28116         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28117         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28118         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28119         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28120         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28121         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28124 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
28126         * posix/transbug.c: Remove executable mode.
28128 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
28130         * crypt/speeds.c: Remove trailing whitespace.
28131         * dlfcn/default.c: Likewise.
28132         * elf/ifuncdep2.c: Likewise.
28133         * elf/ifuncmain1.c: Likewise.
28134         * elf/ifuncmain1vis.c: Likewise.
28135         * elf/testobj.h: Likewise.
28136         * elf/tst-stackguard1.c: Likewise.
28137         * gmon/sys/gmon.h: Likewise.
28138         * hurd/hurdmsg.c: Likewise.
28139         * hurd/new-fd.c: Likewise.
28140         * hurd/ports-get.c: Likewise.
28141         * iconvdata/ibm1008_420.c: Likewise.
28142         * inet/tst-getni1.c: Likewise.
28143         * inet/tst-getni2.c: Likewise.
28144         * libio/ioungetc.c: Likewise.
28145         * libio/wfiledoalloc.c: Likewise.
28146         * manual/libm-err-tab.pl: Likewise.
28147         * math/w_dremf.c: Likewise.
28148         * misc/ftruncate.c: Likewise.
28149         * posix/bug-glob2.c: Likewise.
28150         * posix/tst-pcre.c: Likewise.
28151         * posix/wait4.c: Likewise.
28152         * resolv/README: Likewise.
28153         * resolv/res_debug.h: Likewise.
28154         * resolv/tst-inet_ntop.c: Likewise.
28155         * setjmp/bug269-setjmp.c: Likewise.
28156         * soft-fp/extended.h: Likewise.
28157         * soft-fp/op-1.h: Likewise.
28158         * soft-fp/op-2.h: Likewise.
28159         * soft-fp/op-4.h: Likewise.
28160         * soft-fp/op-8.h: Likewise.
28161         * soft-fp/testit.c: Likewise.
28162         * stdio-common/bug16.c: Likewise.
28163         * stdlib/random.c: Likewise.
28164         * sunrpc/rpcsvc/rquota.x: Likewise.
28165         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28166         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28167         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28168         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28169         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28170         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28171         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28172         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28173         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28174         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28175         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28176         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28177         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28178         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28179         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28180         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28181         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28182         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28183         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28184         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28185         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28186         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28187         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28188         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28189         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28190         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28192         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28193         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28194         * sysdeps/ieee754/s_lib_version.c: Likewise.
28195         * sysdeps/mach/hurd/check_fds.c: Likewise.
28196         * sysdeps/mach/hurd/getsockname.c: Likewise.
28197         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28198         * sysdeps/mach/hurd/recvfrom.c: Likewise.
28199         * sysdeps/powerpc/bits/link.h: Likewise.
28200         * sysdeps/powerpc/dl-procinfo.c: Likewise.
28201         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28202         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28203         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28204         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28205         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28206         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28207         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28208         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28209         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28210         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28211         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28212         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28213         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28214         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28215         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28216         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28219         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28220         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28221         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28222         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28223         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28224         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28225         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28226         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28227         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28228         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28229         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28233         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28234         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28235         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28236         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28237         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28238         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28239         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28240         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28241         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28242         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28243         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28244         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28245         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28246         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28247         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28248         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28249         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28252         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28253         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28254         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28255         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28256         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28257         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28258         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28259         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28260         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28262         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28263         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28264         * sysdeps/powerpc/sysdep.h: Likewise.
28265         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28266         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28267         * sysdeps/sh/dl-trampoline.S: Likewise.
28268         * sysdeps/sh/memset.S: Likewise.
28269         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28270         * sysdeps/sh/strlen.S: Likewise.
28271         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28272         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28273         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28274         * sysdeps/sparc/sparc32/rem.S: Likewise.
28275         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28276         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28277         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28278         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28279         * sysdeps/sparc/sparc32/urem.S: Likewise.
28280         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28281         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28282         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28283         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28285         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28286         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28287         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28288         * sysdeps/unix/bsd/times.c: Likewise.
28289         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28290         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28294         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28295         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28296         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28297         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28298         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28299         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28300         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28301         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28302         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28303         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28304         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28305         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28306         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28307         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28308         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28309         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28310         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28311         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28312         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28313         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28314         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28315         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28316         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28317         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28318         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28319         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28320         * sysdeps/x86_64/strcspn.S: Likewise.
28322 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28324         * locale/C-translit.h: Revert #include <stdint.h> because this is a
28325         generated file.  Regenerate properly from gen-translit.pl.
28326         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
28327         locale/C-translit.h.
28329 2013-06-05  Andreas Schwab  <schwab@suse.de>
28331         [BZ #15100]
28332         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28333         week as 6 instead of -1.
28334         * time/tst-strptime.c (day_tests): Add test case.
28336 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28338         * sysdeps/generic/math_private.h
28339         (libc_feholdexcept_setround_53bit): Replace with
28340         libc_feholdsetround_53bit.
28341         (libc_feupdateenv_53bit): Replace with
28342         libc_feresetround_53bit.
28343         (SET_RESTORE_ROUND_53BIT): Adjust.
28345 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28347         * string/test-strchrnul.c: Add copyright header.
28349         * posix/tst-getaddrinfo4.c: Increase test timeout.
28351 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
28353         [BZ #15536]
28354         * math/libm-test.inc (MAX_EXP): Remove
28355         (MIN_EXP): Define.
28356         (ulp): Use MIN_EXP - MANT_DIG.
28357         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28359 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
28361         * po/be.po: Revert last change.
28362         * po/zh_CN.po: Likewise.
28363         * po/header.pot: Likewise.
28365 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
28367         * Makefile ($(common-objpfx)linkobj/libc.so): Define
28368         link-libc-deps to empty as target-specific variable.
28369         * Makerules (link-libc-args): New variable.
28370         (libc-for-link): Likewise.
28371         (link-libc-deps): Likewise.
28372         (lib%.so): Depend on $(link-libc-deps).  Link with
28373         $(link-libc-args).
28374         (build-module): Link with $(link-libc-args).
28375         (build-module-asneeded): Likewise.
28376         (build-module-helper-objlist): Filter out $(link-libc-deps) from
28377         list of objects.
28378         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28379         target-specific variable.
28380         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28381         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28382         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28383         libc.
28384         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28385         libc and ld.so.
28386         ($(objpfx)libpcprofile.so): Likewise.
28387         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28388         libc_nonshared.a.
28389         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28390         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28391         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28392         $(link-libc-deps).
28393         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28394         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28395         * login/Makefile ($(objpfx)libutil.so): Likewise.
28396         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28397         * math/Makefile ($(objpfx)libm.so): Likewise.
28398         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28399         $(objpfx)libnsl.so): Define libc-for-link as target-specific
28400         variable instead of depending directly on libc.
28401         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28402         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28403         $(link-libc-deps).
28404         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28405         libc.
28406         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28407         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28408         ($(objpfx)libanl.so): Likewise.
28409         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28410         ld.so.
28411         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28412         $(link-libc-deps).
28413         * sysdeps/i386/fpu/Makefile: Remove file.
28414         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28415         ($(objpfx)libm.so): Remove dependency on ld.so.
28417 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
28419         [BZ # 15553]
28420         * nis/yp_xdr.c (XDRMAXNAME): Define.
28421         (XDRMAXRECORD): Define.
28422         (xdr_domainname): Use XDRMAXNAME.
28423         (xdr_mapname): Likewise.
28424         (xdr_peername): Likewise.
28425         (xdr_keydat): Use XDRMAXRECORD.
28426         (xdr_valdat): Likewise.
28428 2013-05-30  Jeff Law  <law@redhat.com>
28430         [BZ #14256]
28431         * manual/errno.texi (ESTALE): Update to account for more than
28432         just NFS file systems.
28433         * sysdeps/gnu/errlist.c: Regenerated.
28435 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28437         [BZ #15465]
28438         * elf/Makefile (tests): Add tst-null-argv.
28439         (modules-names):  Add tst-null-argv-lib.
28440         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28441         (tst-null-argv-ENV): Set environment for tst-null-argv.
28442         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28443         (RTLD_PROGNAME): New macro.
28444         * elf/tst-null-argv.c: New test case.
28445         * elf/tst-null-argv-lib.c: Library for test case.
28446         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28447         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28448         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28449         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28450         * elf/dl-init.c (call_init): Likewise.
28451         (_dl_init): Likewise.
28452         * elf/dl-load.c (print_search_path): Likewise.
28453         (_dl_map_object): Likewise.
28454         * elf/dl-lookup.c (do_lookup_x): Likewise.
28455         (add_dependency): Likewise.
28456         (_dl_lookup_symbol_x): Likewise.
28457         (_dl_debug_bindings): Likewise.
28458         * elf/dl-open.c (_dl_show_scope): Likewise.
28459         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28460         * elf/dl-version.c (match_symbol): Likewise.
28461         (_dl_check_map_versions): Likewise.
28462         * elf/rtld.c (dl_main): Likewise.
28463         (print_unresolved): Use RTLD_PROGNAME.
28464         (print_missing_version): Likewise.
28465         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28466         (elf_machine_rela): Likewise.
28467         * sysdeps/powerpc/powerpc32/dl-machine.c
28468         (__process_machine_rela): Likewise.
28469         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28470         Likewise.
28471         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28472         Likewise.
28473         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28474         Likewise.
28475         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28476         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28477         Likewise.
28478         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28479         Likewise.
28480         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28482 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
28484         * po/be.po: Add descriptive title.
28485         * po/zh_CN.po: Likewise.
28486         * po/header.pot: Likewise.
28488 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
28490         * locale/programs/locarchive.c (create_archive): Inlucde fname in
28491         error message.
28492         (enlarge_archive): Likewise.
28494 2013-05-28  Ben North  <ben@redfrontdoor.org>
28496         * manual/arith.texi (frexp): It is the magnitude of the return
28497         value which lies in [0.5, 1), not the return value itself.
28499 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28503 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
28505         * stdio-common/bug26.c (main): Correct fscanf template.
28507         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28508         declare _dl_skip_args.
28510         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28511         Don't declare.
28513         * manual/platform.texi: Add missing @end deftypefun.
28515 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28517         [BZ #15529]
28518         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28519         bit of mantissa of 2^16382.
28520         * math/libm-test.inc (hypot_test_data): Add more tests.
28522         * math/libm-test.inc: Add drem and pow10 to list of tested
28523         functions.
28524         (pow10_test): New function.
28525         (drem_test): Likewise.
28526         (drem_test_tonearest): Likewise.
28527         (drem_test_towardzero): Likewise.
28528         (drem_test_downward): Likewise.
28529         (drem_test_upward): Likewise.
28530         (main): Call the new functions.
28532         * math/libm-test.inc (finite_test_data): Remove.
28533         (finite_test): Run tests from isfinite_test_data.
28534         (gamma_test_data): Remove.
28535         (gamma_test): Run tests from lgamma_test_data.
28536         * sysdeps/i386/fpu/libm-test-ulps: Update.
28537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28539 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28541         * manual/platform.texi: Add PowerPC PPR function set documentation.
28542         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28543         implementation.
28545 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
28547         * math/libm-test.inc (MAX_EXP): Define.
28548         (ULPDIFF): Define.
28549         (ulp): New function.
28550         (check_float_internal): Use ULPDIFF.
28551         (cpow_test): Disable failing test.
28552         (check_ulp): Test ulp() implemetnation.
28553         (main): Call check_ulp before starting tests.
28555 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28557         * math/gen-libm-test.pl (generate_testfile): Do not handle
28558         START_DATA and END_DATA.
28559         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28560         END_DATA.
28561         (acos_tonearest_test_data): Likewise.
28562         (acos_towardzero_test_data): Likewise.
28563         (acos_downward_test_data): Likewise.
28564         (acos_upward_test_data): Likewise.
28565         (acosh_test_data): Likewise.
28566         (asin_test_data): Likewise.
28567         (asin_tonearest_test_data): Likewise.
28568         (asin_towardzero_test_data): Likewise.
28569         (asin_downward_test_data): Likewise.
28570         (asin_upward_test_data): Likewise.
28571         (asinh_test_data): Likewise.
28572         (atan_test_data): Likewise.
28573         (atanh_test_data): Likewise.
28574         (atan2_test_data): Likewise.
28575         (cabs_test_data): Likewise.
28576         (cacos_test_data): Likewise.
28577         (cacosh_test_data): Likewise.
28578         (carg_test_data): Likewise.
28579         (casin_test_data): Likewise.
28580         (casinh_test_data): Likewise.
28581         (catan_test_data): Likewise.
28582         (catanh_test_data): Likewise.
28583         (cbrt_test_data): Likewise.
28584         (ccos_test_data): Likewise.
28585         (ccosh_test_data): Likewise.
28586         (ceil_test_data): Likewise.
28587         (cexp_test_data): Likewise.
28588         (cimag_test_data): Likewise.
28589         (clog_test_data): Likewise.
28590         (clog10_test_data): Likewise.
28591         (conj_test_data): Likewise.
28592         (copysign_test_data): Likewise.
28593         (cos_test_data): Likewise.
28594         (cos_tonearest_test_data): Likewise.
28595         (cos_towardzero_test_data): Likewise.
28596         (cos_downward_test_data): Likewise.
28597         (cos_upward_test_data): Likewise.
28598         (cosh_test_data): Likewise.
28599         (cosh_tonearest_test_data): Likewise.
28600         (cosh_towardzero_test_data): Likewise.
28601         (cosh_downward_test_data): Likewise.
28602         (cosh_upward_test_data): Likewise.
28603         (cpow_test_data): Likewise.
28604         (cproj_test_data): Likewise.
28605         (creal_test_data): Likewise.
28606         (csin_test_data): Likewise.
28607         (csinh_test_data): Likewise.
28608         (csqrt_test_data): Likewise.
28609         (ctan_test_data): Likewise.
28610         (ctan_tonearest_test_data): Likewise.
28611         (ctan_towardzero_test_data): Likewise.
28612         (ctan_downward_test_data): Likewise.
28613         (ctan_upward_test_data): Likewise.
28614         (ctanh_test_data): Likewise.
28615         (ctanh_tonearest_test_data): Likewise.
28616         (ctanh_towardzero_test_data): Likewise.
28617         (ctanh_downward_test_data): Likewise.
28618         (ctanh_upward_test_data): Likewise.
28619         (erf_test_data): Likewise.
28620         (erfc_test_data): Likewise.
28621         (exp_test_data): Likewise.
28622         (exp_tonearest_test_data): Likewise.
28623         (exp_towardzero_test_data): Likewise.
28624         (exp_downward_test_data): Likewise.
28625         (exp_upward_test_data): Likewise.
28626         (exp10_test_data): Likewise.
28627         (exp2_test_data): Likewise.
28628         (expm1_test_data): Likewise.
28629         (fabs_test_data): Likewise.
28630         (fdim_test_data): Likewise.
28631         (finite_test_data): Likewise.
28632         (floor_test_data): Likewise.
28633         (fma_test_data): Likewise.
28634         (fma_towardzero_test_data): Likewise.
28635         (fma_downward_test_data): Likewise.
28636         (fma_upward_test_data): Likewise.
28637         (fmax_test_data): Likewise.
28638         (fmin_test_data): Likewise.
28639         (fmod_test_data): Likewise.
28640         (fpclassify_test_data): Likewise.
28641         (frexp_test_data): Likewise.
28642         (gamma_test_data): Likewise.
28643         (hypot_test_data): Likewise.
28644         (ilogb_test_data): Likewise.
28645         (isfinite_test_data): Likewise.
28646         (isgreater_test_data): Likewise.
28647         (isgreaterequal_test_data): Likewise.
28648         (isinf_test_data): Likewise.
28649         (isless_test_data): Likewise.
28650         (islessequal_test_data): Likewise.
28651         (islessgreater_test_data): Likewise.
28652         (isnan_test_data): Likewise.
28653         (isnormal_test_data): Likewise.
28654         (issignaling_test_data): Likewise.
28655         (isunordered_test_data): Likewise.
28656         (j0_test_data): Likewise.
28657         (j1_test_data): Likewise.
28658         (jn_test_data): Likewise.
28659         (ldexp_test_data): Likewise.
28660         (lgamma_test_data): Likewise.
28661         (lrint_test_data): Likewise.
28662         (lrint_tonearest_test_data): Likewise.
28663         (lrint_towardzero_test_data): Likewise.
28664         (lrint_downward_test_data): Likewise.
28665         (lrint_upward_test_data): Likewise.
28666         (llrint_test_data): Likewise.
28667         (llrint_tonearest_test_data): Likewise.
28668         (llrint_towardzero_test_data): Likewise.
28669         (llrint_downward_test_data): Likewise.
28670         (llrint_upward_test_data): Likewise.
28671         (log_test_data): Likewise.
28672         (log10_test_data): Likewise.
28673         (log1p_test_data): Likewise.
28674         (log2_test_data): Likewise.
28675         (logb_test_data): Likewise.
28676         (logb_downward_test_data): Likewise.
28677         (lround_test_data): Likewise.
28678         (llround_test_data): Likewise.
28679         (modf_test_data): Likewise.
28680         (nearbyint_test_data): Likewise.
28681         (nextafter_test_data): Likewise.
28682         (nexttoward_test_data): Likewise.
28683         (pow_test_data): Likewise.
28684         (pow_tonearest_test_data): Likewise.
28685         (pow_towardzero_test_data): Likewise.
28686         (pow_downward_test_data): Likewise.
28687         (pow_upward_test_data): Likewise.
28688         (remainder_test_data): Likewise.
28689         (remainder_tonearest_test_data): Likewise.
28690         (remainder_towardzero_test_data): Likewise.
28691         (remainder_downward_test_data): Likewise.
28692         (remainder_upward_test_data): Likewise.
28693         (remquo_test_data): Likewise.
28694         (rint_test_data): Likewise.
28695         (rint_tonearest_test_data): Likewise.
28696         (rint_towardzero_test_data): Likewise.
28697         (rint_downward_test_data): Likewise.
28698         (rint_upward_test_data): Likewise.
28699         (round_test_data): Likewise.
28700         (scalb_test_data): Likewise.
28701         (scalbn_test_data): Likewise.
28702         (scalbln_test_data): Likewise.
28703         (signbit_test_data): Likewise.
28704         (sin_test_data): Likewise.
28705         (sin_tonearest_test_data): Likewise.
28706         (sin_towardzero_test_data): Likewise.
28707         (sin_downward_test_data): Likewise.
28708         (sin_upward_test_data): Likewise.
28709         (sincos_test_data): Likewise.
28710         (sinh_test_data): Likewise.
28711         (sinh_tonearest_test_data): Likewise.
28712         (sinh_towardzero_test_data): Likewise.
28713         (sinh_downward_test_data): Likewise.
28714         (sinh_upward_test_data): Likewise.
28715         (sqrt_test_data): Likewise.
28716         (tan_test_data): Likewise.
28717         (tan_tonearest_test_data): Likewise.
28718         (tan_towardzero_test_data): Likewise.
28719         (tan_downward_test_data): Likewise.
28720         (tan_upward_test_data): Likewise.
28721         (tanh_test_data): Likewise.
28722         (tgamma_test_data): Likewise.
28723         (trunc_test_data): Likewise.
28724         (y0_test_data): Likewise.
28725         (y1_test_data): Likewise.
28726         (yn_test_data): Likewise.
28727         (significand_test_data): Likewise.
28729         * math/gen-libm-test.pl (@functions): Remove variable.
28730         (generate_testfile): Don't handle START and END lines.
28731         * math/libm-test.inc (START): New macro.
28732         (END): Likewise.
28733         (END_COMPLEX): Likewise.
28734         (acos_test): Use END macro without arguments.
28735         (acos_test_tonearest): Likewise.
28736         (acos_test_towardzero): Likewise.
28737         (acos_test_downward): Likewise.
28738         (acos_test_upward): Likewise.
28739         (acosh_test): Likewise.
28740         (asin_test): Likewise.
28741         (asin_test_tonearest): Likewise.
28742         (asin_test_towardzero): Likewise.
28743         (asin_test_downward): Likewise.
28744         (asin_test_upward): Likewise.
28745         (asinh_test): Likewise.
28746         (atan_test): Likewise.
28747         (atanh_test): Likewise.
28748         (atan2_test): Likewise.
28749         (cabs_test): Likewise.
28750         (cacos_test): Use END_COMPLEX macro without arguments.
28751         (cacosh_test): Likewise.
28752         (carg_test): Use END macro without arguments.
28753         (casin_test): Use END_COMPLEX macro without arguments.
28754         (casinh_test): Likewise.
28755         (catan_test): Likewise.
28756         (catanh_test): Likewise.
28757         (cbrt_test): Use END macro without arguments.
28758         (ccos_test): Use END_COMPLEX macro without arguments.
28759         (ccosh_test): Likewise.
28760         (ceil_test): Use END macro without arguments.
28761         (cexp_test): Use END_COMPLEX macro without arguments.
28762         (cimag_test): Use END macro without arguments.
28763         (clog_test): Use END_COMPLEX macro without arguments.
28764         (clog10_test): Likewise.
28765         (conj_test): Likewise.
28766         (copysign_test): Use END macro without arguments.
28767         (cos_test): Likewise.
28768         (cos_test_tonearest): Likewise.
28769         (cos_test_towardzero): Likewise.
28770         (cos_test_downward): Likewise.
28771         (cos_test_upward): Likewise.
28772         (cosh_test): Likewise.
28773         (cosh_test_tonearest): Likewise.
28774         (cosh_test_towardzero): Likewise.
28775         (cosh_test_downward): Likewise.
28776         (cosh_test_upward): Likewise.
28777         (cpow_test): Use END_COMPLEX macro without arguments.
28778         (cproj_test): Likewise.
28779         (creal_test): Use END macro without arguments.
28780         (csin_test): Use END_COMPLEX macro without arguments.
28781         (csinh_test): Likewise.
28782         (csqrt_test): Likewise.
28783         (ctan_test): Likewise.
28784         (ctan_test_tonearest): Likewise.
28785         (ctan_test_towardzero): Likewise.
28786         (ctan_test_downward): Likewise.
28787         (ctan_test_upward): Likewise.
28788         (ctanh_test): Likewise.
28789         (ctanh_test_tonearest): Likewise.
28790         (ctanh_test_towardzero): Likewise.
28791         (ctanh_test_downward): Likewise.
28792         (ctanh_test_upward): Likewise.
28793         (erf_test): Use END macro without arguments.
28794         (erfc_test): Likewise.
28795         (exp_test): Likewise.
28796         (exp_test_tonearest): Likewise.
28797         (exp_test_towardzero): Likewise.
28798         (exp_test_downward): Likewise.
28799         (exp_test_upward): Likewise.
28800         (exp10_test): Likewise.
28801         (exp2_test): Likewise.
28802         (expm1_test): Likewise.
28803         (fabs_test): Likewise.
28804         (fdim_test): Likewise.
28805         (finite_test): Likewise.
28806         (floor_test): Likewise.
28807         (fma_test): Likewise.
28808         (fma_test_towardzero): Likewise.
28809         (fma_test_downward): Likewise.
28810         (fma_test_upward): Likewise.
28811         (fmax_test): Likewise.
28812         (fmin_test): Likewise.
28813         (fmod_test): Likewise.
28814         (fpclassify_test): Likewise.
28815         (frexp_test): Likewise.
28816         (gamma_test): Likewise.
28817         (hypot_test): Likewise.
28818         (ilogb_test): Likewise.
28819         (isfinite_test): Likewise.
28820         (isgreater_test): Likewise.
28821         (isgreaterequal_test): Likewise.
28822         (isinf_test): Likewise.
28823         (isless_test): Likewise.
28824         (islessequal_test): Likewise.
28825         (islessgreater_test): Likewise.
28826         (isnan_test): Likewise.
28827         (isnormal_test): Likewise.
28828         (issignaling_test): Likewise.
28829         (isunordered_test): Likewise.
28830         (j0_test): Likewise.
28831         (j1_test): Likewise.
28832         (jn_test): Likewise.
28833         (ldexp_test): Likewise.
28834         (lgamma_test): Likewise.
28835         (lrint_test): Likewise.
28836         (lrint_test_tonearest): Likewise.
28837         (lrint_test_towardzero): Likewise.
28838         (lrint_test_downward): Likewise.
28839         (lrint_test_upward): Likewise.
28840         (llrint_test): Likewise.
28841         (llrint_test_tonearest): Likewise.
28842         (llrint_test_towardzero): Likewise.
28843         (llrint_test_downward): Likewise.
28844         (llrint_test_upward): Likewise.
28845         (log_test): Likewise.
28846         (log10_test): Likewise.
28847         (log1p_test): Likewise.
28848         (log2_test): Likewise.
28849         (logb_test): Likewise.
28850         (logb_test_downward): Likewise.
28851         (lround_test): Likewise.
28852         (llround_test): Likewise.
28853         (modf_test): Likewise.
28854         (nearbyint_test): Likewise.
28855         (nextafter_test): Likewise.
28856         (nexttoward_test): Likewise.
28857         (pow_test): Likewise.
28858         (pow_test_tonearest): Likewise.
28859         (pow_test_towardzero): Likewise.
28860         (pow_test_downward): Likewise.
28861         (pow_test_upward): Likewise.
28862         (remainder_test): Likewise.
28863         (remainder_test_tonearest): Likewise.
28864         (remainder_test_towardzero): Likewise.
28865         (remainder_test_downward): Likewise.
28866         (remainder_test_upward): Likewise.
28867         (remquo_test): Likewise.
28868         (rint_test): Likewise.
28869         (rint_test_tonearest): Likewise.
28870         (rint_test_towardzero): Likewise.
28871         (rint_test_downward): Likewise.
28872         (rint_test_upward): Likewise.
28873         (round_test): Likewise.
28874         (scalb_test): Likewise.
28875         (scalbn_test): Likewise.
28876         (scalbln_test): Likewise.
28877         (signbit_test): Likewise.
28878         (sin_test): Likewise.
28879         (sin_test_tonearest): Likewise.
28880         (sin_test_towardzero): Likewise.
28881         (sin_test_downward): Likewise.
28882         (sin_test_upward): Likewise.
28883         (sincos_test): Likewise.
28884         (sinh_test): Likewise.
28885         (sinh_test_tonearest): Likewise.
28886         (sinh_test_towardzero): Likewise.
28887         (sinh_test_downward): Likewise.
28888         (sinh_test_upward): Likewise.
28889         (sqrt_test): Likewise.
28890         (tan_test): Likewise.
28891         (tan_test_tonearest): Likewise.
28892         (tan_test_towardzero): Likewise.
28893         (tan_test_downward): Likewise.
28894         (tan_test_upward): Likewise.
28895         (tanh_test): Likewise.
28896         (tgamma_test): Likewise.
28897         (trunc_test): Likewise.
28898         (y0_test): Likewise.
28899         (y1_test): Likewise.
28900         (yn_test): Likewise.
28901         (significand_test): Likewise.
28903 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
28905         [BZ #15381]
28906         * libio/genops.c (_IO_no_init): Initialize wide struct info.
28908 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28910         [BZ #14894]
28911         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28912         __ppc_mdoio and __ppc_mdoom.
28913         * manual/platform.texi: Document new functions __ppc_yield,
28914         __ppc_mdoio and __ppc_mdoom.
28916 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
28918         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28919         (main): Mention "tls" pseudo-hwcap is legacy.
28920         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28922 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28924         * math/gen-libm-test.pl (parse_args): Output only string of
28925         arguments as text for test name, not full call or descriptions of
28926         tests for extra outputs.
28927         (generate_testfile): Do not pass function name to parse_args.
28928         Generate this_func variable from START.
28929         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28930         field to arg_str.
28931         (struct test_ff_f_data): Likewise.
28932         (test_ff_f_data_nexttoward): Likewise.
28933         (struct test_fi_f_data): Likewise.
28934         (struct test_fl_f_data): Likewise.
28935         (struct test_if_f_data): Likewise.
28936         (struct test_fff_f_data): Likewise.
28937         (struct test_c_f_data): Likewise.
28938         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28939         (struct test_fF_f1_data): Likewise.
28940         (struct test_ffI_f1_data): Likewise.
28941         (struct test_c_c_data): Rename test_name field to arg_str.
28942         (struct test_cc_c_data): Likewise.
28943         (struct test_f_i_data): Likewise.
28944         (struct test_ff_i_data): Likewise.
28945         (struct test_f_l_data): Likewise.
28946         (struct test_f_L_data): Likewise.
28947         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28948         and extra2_name.
28949         (COMMON_TEST_SETUP): New macro.
28950         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28951         (COMMON_TEST_CLEANUP): Likewise.
28952         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28953         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28954         macros.
28955         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28956         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28957         macros.
28958         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28959         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28960         cleanup macros.
28961         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28962         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28963         macros.
28964         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28965         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28966         macros.
28967         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28968         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28969         cleanup macros.
28970         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28971         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28972         cleanup macros.
28973         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28974         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28975         cleanup macros.
28976         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28977         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28978         macros.
28979         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28980         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28981         macros.
28982         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28983         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28984         macros.
28985         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28986         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28987         cleanup macros.
28988         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28989         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28990         cleanup macros.
28991         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28992         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28993         macros.
28994         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28995         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28996         cleanup macros.
28997         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28998         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28999         macros.
29000         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29001         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
29002         macros.
29003         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29004         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
29005         cleanup macros.
29006         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29008 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
29010         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29011         to _sifields.sigfault.
29012         (si_addr_lsb): Define new macro.
29013         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29014         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29017 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
29019         [BZ #15441]
29020         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29021         returns -1.
29022         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29023         null return -1.
29024         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29025         loading the domain.
29027 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29029         * math/gen-libm-test.pl (parse_args): Do not include expected
29030         result in test name.
29031         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29033         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29034         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29035         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29038 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29040         * benchtests/Makefile: Sort function entries.
29042         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29043         tanh, asinh, acosh, atanh.
29044         * benchtests/acos-inputs: New file.
29045         * benchtests/acosh-inputs: New file.
29046         * benchtests/asin-inputs: New file.
29047         * benchtests/asinh-inputs: New file.
29048         * benchtests/atanh-inputs: New file.
29049         * benchtests/cosh-inputs: New file.
29050         * benchtests/log-inputs: New file.
29051         * benchtests/sinh-inputs: New file.
29052         * benchtests/tanh-inputs: New file.
29054 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
29056         [BZ #15339]
29057         * posix/tst-getaddrinfo4.c: New test.
29058         * posix/Makefile (tests): Add it.
29060 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29062         [BZ #15339]
29063         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29064         when no services were used.
29065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29066         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29068 2013-05-21  Andreas Schwab  <schwab@suse.de>
29070         [BZ #15014]
29071         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29072         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29073         successful.
29074         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29075         redundant variable declarations and reallocation of buffer when
29076         parsing as IPv6 address.  Always set NSS status when called from
29077         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
29078         buffer too small.  Correct computation of needed size.
29079         * nss/Makefile (tests): Add test-digits-dots.
29080         * nss/test-digits-dots.c: New test.
29082 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29084         * benchtests/Makefile: Remove instructions for adding
29085         benchmark tests.
29086         * benchtests/README: New file to explain how to execute and
29087         enhance the benchmark tests.
29089 2013-05-21  Andreas Schwab  <schwab@suse.de>
29091         [BZ #15493]
29092         * setjmp/Makefile (tests): Add tst-sigsetjmp.
29093         * setjmp/tst-sigsetjmp.c: New test.
29095 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29097         * sysdeps/x86_64/memset.S (memset): New implementation.
29098         (__bzero): Likewise.
29099         (__memset_tail): New function.
29101 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29103         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29104         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29105         __memcpy_sse2_unaligned ifunc selection.
29106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29107         Add memcpy-sse2-unaligned.S.
29108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29109         Add: __memcpy_sse2_unaligned.
29111 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
29113         [BZ #15490]
29114         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29115         math_force_eval before restoring floating-point envrionment.
29116         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29117         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29118         Likewise.
29119         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29120         <math_private.h>.
29121         (__nearbyintl): Use math_force_eval before restoring
29122         floating-point environment.
29123         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29125         * math/gen-libm-test.pl (special_functions): Remove.
29126         (parse_args): Don't handle TEST_extra.  Handle functions with no
29127         return value.
29128         * math/libm-test.inc (struct test_sincos_data): Replace with
29129         struct test_fFF_11_data.
29130         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29131         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29132         (sincos_test_data): Change element type to struct
29133         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
29134         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29135         RUN_TEST_LOOP_sincos.
29136         * math/README.libm-test: Don't mention special handling of
29137         individual functions.
29138         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29139         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29140         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29141         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29142         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29145         * math/gen-libm-test.pl (get_variable): Remove function.
29146         (parse_args): Don't show pointer parameters to call in test
29147         names.  Use "extra output N" in test names for extra outputs
29148         rather than naming variables.
29150 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
29152         [BZ #15488]
29153         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29154         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29155         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29156         double tests.
29157         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29158         disable.
29159         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29160         check_long_double.
29162         * math/gen-libm-test.pl (@tests): Remove variable.
29163         ($count): Likewise.
29164         (new_test): Remove function.
29165         (show_exceptions): New function.
29166         (special_functions): Use show_exceptions instead of new_test.
29167         (parse_args): Likewise.
29168         (generate_testfile): Pass only function name in generated call to
29169         print_max_error or print_complex_max_error.
29170         (get_ulps): Do not handle complex tests specially.
29171         (output_test): Rename to ...
29172         (get_all_ulps_for_test): ... this.  Return a string rather than
29173         printing to a file.  Require ulps to be present.
29174         (output_ulps): Generate arrays rather than #defines.
29175         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29176         (struct ulp_data): New type.
29177         (BUILD_COMPLEX_ULP): Remove macro.
29178         (compare_ulp_data): New function.
29179         (find_ulps): Likewise.
29180         (find_test_ulps): Likewise.
29181         (find_function_ulps): Likewise.
29182         (find_complex_function_ulps): Likewise.
29183         (print_max_error): Determine allowed ulps using
29184         find_function_ulps.
29185         (print_complex_max_error): Determine allowed ulps using
29186         find_complex_function_ulps.
29187         (check_float_internal): Determine max ulps using find_test_ulps.
29188         (check_float): Do not take max_ulp parameter.  Update call to
29189         check_float_internal.
29190         (check_complex): Likewise.
29191         (check_int): Do not take max_ulp parameter.
29192         (check_long): Likewise.
29193         (check_bool): Likewise.
29194         (check_longlong): Likewise.
29195         (struct test_f_f_data): Remove max_ulp field.
29196         (struct test_ff_f_data): Likewise.
29197         (struct test_ff_f_data_nexttoward): Likewise.
29198         (struct test_fi_f_data): Likewise.
29199         (struct test_fl_f_data): Likewise.
29200         (struct test_if_f_data): Likewise.
29201         (struct test_fff_f_data): Likewise.
29202         (struct test_c_f_data): Likewise.
29203         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29204         (struct test_fF_f1_data): Likewise.
29205         (struct test_ffI_f1_data): Likewise.
29206         (struct test_c_c_data): Remove max_ulp field.
29207         (struct test_cc_c_data): Likewise.
29208         (struct test_f_i_data): Likewise.
29209         (struct test_ff_i_data): Likewise.
29210         (struct test_f_l_data): Likewise.
29211         (struct test_f_L_data): Likewise.
29212         (struct test_sincos_data): Likewise.
29213         (RUN_TEST_f_f): Do not handle ulps.
29214         (RUN_TEST_LOOP_f_f): Likewise.
29215         (RUN_TEST_2_f): Likewise.
29216         (RUN_TEST_LOOP_2_f): Likewise.
29217         (RUN_TEST_fff_f): Likewise.
29218         (RUN_TEST_LOOP_fff_f): Likewise.
29219         (RUN_TEST_c_f): Likewise.
29220         (RUN_TEST_LOOP_c_f): Likewise.
29221         (RUN_TEST_f_f1): Likewise.
29222         (RUN_TEST_LOOP_f_f1): Likewise.
29223         (RUN_TEST_fF_f1): Likewise.
29224         (RUN_TEST_LOOP_fF_f1): Likewise.
29225         (RUN_TEST_fI_f1): Likewise.
29226         (RUN_TEST_LOOP_fI_f1): Likewise.
29227         (RUN_TEST_ffI_f1): Likewise.
29228         (RUN_TEST_LOOP_ffI_f1): Likewise.
29229         (RUN_TEST_c_c): Likewise.
29230         (RUN_TEST_LOOP_c_c): Likewise.
29231         (RUN_TEST_cc_c): Likewise.
29232         (RUN_TEST_LOOP_cc_c): Likewise.
29233         (RUN_TEST_f_i): Likewise.
29234         (RUN_TEST_LOOP_f_i): Likewise.
29235         (RUN_TEST_f_i_tg): Likewise.
29236         (RUN_TEST_LOOP_f_i_tg): Likewise.
29237         (RUN_TEST_ff_i_tg): Likewise.
29238         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29239         (RUN_TEST_f_b): Likewise.
29240         (RUN_TEST_LOOP_f_b): Likewise.
29241         (RUN_TEST_f_b_tg): Likewise.
29242         (RUN_TEST_LOOP_f_b_tg): Likewise.
29243         (RUN_TEST_f_l): Likewise.
29244         (RUN_TEST_LOOP_f_l): Likewise.
29245         (RUN_TEST_f_L): Likewise.
29246         (RUN_TEST_LOOP_f_L): Likewise.
29247         (RUN_TEST_sincos): Likewise.
29248         (RUN_TEST_LOOP_sincos): Likewise.
29250 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
29252         [BZ #15480]
29253         [BZ #15485]
29254         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29255         main case of finite arguments, set rounding mode to FE_TONEAREST
29256         and discard exceptions.
29257         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29258         exceptions.
29259         (remainder_tonearest_test_data): New variable.
29260         (remainder_test_tonearest): New function.
29261         (remainder_towardzero_test_data): New variable.
29262         (remainder_test_towardzero): New function.
29263         (remainder_downward_test_data): New variable.
29264         (remainder_test_downward): New function.
29265         (remainder_upward_test_data): New variable.
29266         (remainder_test_upward): New function.
29267         (main): Call the new test functions.
29269         * math/libm-test.inc (struct test_f_f1_data): Remove field
29270         extra_init.
29271         (struct test_fF_f1_data): Likewise.
29272         (struct test_ffI_f1_data): Likewise.
29273         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29274         based on value of EXTRA_EXPECTED.
29275         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29276         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29277         EXTRA_VAR based on value of EXTRA_EXPECTED.
29278         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29279         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29280         EXTRA_VAR based on value of EXTRA_EXPECTED.
29281         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29282         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29283         EXTRA_VAR based on value of EXTRA_EXPECTED.
29284         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29285         * math/gen-libm-test.pl (parse_args): Don't output initializers
29286         for extra output values.
29288         * math/libm-test.inc (check_int): Expect result to be exactly
29289         equal to expected value and do not handle ulps.
29290         (check_long): Likewise.
29291         (check_longlong): Likewise.
29293         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29294         exceptions.
29295         (cimag_test_data): Likewise.
29296         (conj_test_data): Likewise.
29297         (copysign_test_data): Likewise.
29298         (cproj_test_data): Likewise.
29299         (creal_test_data): Likewise.
29300         (fabs_test_data): Likewise.
29301         (fdim_test_data): Likewise.
29302         (finite_test_data): Likewise.
29303         (floor_test_data): Likewise.
29304         (fmax_test_data): Likewise.
29305         (fmin_test_data): Likewise.
29306         (fmod_test_data): Likewise.
29307         (fpclassify_test_data): Likewise.
29308         (frexp_test_data): Likewise.
29309         (ilogb_test_data): Likewise.
29310         (isfinite_test_data): Likewise.
29311         (isgreater_test_data): Likewise.
29312         (isgreaterequal_test_data): Likewise.
29313         (isinf_test_data): Likewise.
29314         (isless_test_data): Likewise.
29315         (islessequal_test_data): Likewise.
29316         (islessgreater_test_data): Likewise.
29317         (isnan_test_data): Likewise.
29318         (isnormal_test_data): Likewise.
29319         (issignaling_test_data): Likewise.
29320         (isunordered_test_data): Likewise.
29321         (ldexp_test_data): Likewise.
29322         (lrint_test_data): Likewise.
29323         (lrint_test_data) [TEST_FLOAT]: Disable one test.
29324         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29325         (lrint_tonearest_test_data): Test for "inexact" exceptions.
29326         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29327         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29328         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29329         test input.
29330         (lrint_towardzero_test_data): Test for "inexact" exceptions.
29331         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29332         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29333         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29334         that test input.
29335         (lrint_downward_test_data): Test for "inexact" exceptions.
29336         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29337         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29338         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29339         test input.
29340         (lrint_upward_test_data): Test for "inexact" exceptions.
29341         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29342         test input.
29343         (llrint_test_data): Test for "inexact" exceptions.
29344         (llrint_test_data) [TEST_FLOAT]: Disable one test.
29345         (llrint_tonearest_test_data): Test for "inexact" exceptions.
29346         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29347         (llrint_towardzero_test_data): Test for "inexact" exceptions.
29348         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29349         (llrint_downward_test_data): Test for "inexact" exceptions.
29350         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29351         (llrint_upward_test_data): Test for "inexact" exceptions.
29352         (logb_test_data): Likewise.
29353         (logb_downward_test_data): Likewise.
29354         (nextafter_test_data): Likewise.
29355         (nexttoward_test_data): Likewise.
29356         (remainder_test_data): Likewise.
29357         (remquo_test_data): Likewise.
29358         (scalbn_test_data): Likewise.
29359         (scalbln_test_data): Likewise.
29360         (signbit_test_data): Likewise.
29361         (sqrt_test_data): Likewise.
29362         (significand_test_data): Likewise.
29364 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29366         [BZ #15424]
29367         * benchtests/bench-modf.c (struct args): Mark arg0 as
29368         volatile.
29369         * scripts/bench.pl: Mark members of struct args as volatile.
29371 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29373         [BZ # 15497]
29374         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29375         negative infinity on POWER6 or lower.
29376         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29378 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29380         [BZ #15442]
29381         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29382         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29383         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29384         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29385         (_FP_SETQNAN): New macro.
29386         (_FP_SETQNAN_SEMIRAW): Likewise.
29387         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29388         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29389         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29390         (FP_EXTEND): Use _FP_FRAC_SNANP.
29391         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29392         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29393         into account.
29394         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29395         New macro.
29396         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29397         Likewise.
29399 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29401         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29402         with DIVIDE_BY_ZERO_EXCEPTION.
29403         (gamma_test_data): Likewise.
29404         (lgamma_test_data): Likewise.
29405         (log_test_data): Likewise.
29406         (log10_test_data): Likewise.
29407         (log2_test_data): Likewise.
29408         (tgamma_test_data): Likewise.
29410         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29411         (acos_test_tonearest): Likewise.
29412         (acos_test_towardzero): Likewise.
29413         (acos_test_downward): Likewise.
29414         (acos_test_upward): Likewise.
29415         (acosh_test): Likewise.
29416         (asin_test): Likewise.
29417         (asin_test_tonearest): Likewise.
29418         (asin_test_towardzero): Likewise.
29419         (asin_test_downward): Likewise.
29420         (asin_test_upward): Likewise.
29421         (asinh_test): Likewise.
29422         (atan_test): Likewise.
29423         (atanh_test): Likewise.
29424         (atan2_test): Likewise.
29425         (cabs_test): Likewise.
29426         (cacos_test): Likewise.
29427         (cacosh_test): Likewise.
29428         (casin_test): Likewise.
29429         (casinh_test): Likewise.
29430         (catan_test): Likewise.
29431         (catanh_test): Likewise.
29432         (cbrt_test): Likewise.
29433         (ccos_test): Likewise.
29434         (ccosh_test): Likewise.
29435         (cexp_test): Likewise.
29436         (clog_test): Likewise.
29437         (clog10_test): Likewise.
29438         (cos_test): Likewise.
29439         (cos_test_tonearest): Likewise.
29440         (cos_test_towardzero): Likewise.
29441         (cos_test_downward): Likewise.
29442         (cos_test_upward): Likewise.
29443         (cosh_test): Likewise.
29444         (cosh_test_tonearest): Likewise.
29445         (cosh_test_towardzero): Likewise.
29446         (cosh_test_downward): Likewise.
29447         (cosh_test_upward): Likewise.
29448         (cpow_test): Likewise.
29449         (csin_test): Likewise.
29450         (csinh_test): Likewise.
29451         (csqrt_test): Likewise.
29452         (ctan_test): Likewise.
29453         (ctan_test_tonearest): Likewise.
29454         (ctan_test_towardzero): Likewise.
29455         (ctan_test_downward): Likewise.
29456         (ctan_test_upward): Likewise.
29457         (ctanh_test): Likewise.
29458         (ctanh_test_tonearest): Likewise.
29459         (ctanh_test_towardzero): Likewise.
29460         (ctanh_test_downward): Likewise.
29461         (ctanh_test_upward): Likewise.
29462         (erf_test): Likewise.
29463         (erfc_test): Likewise.
29464         (exp_test): Likewise.
29465         (exp_test_tonearest): Likewise.
29466         (exp_test_towardzero): Likewise.
29467         (exp_test_downward): Likewise.
29468         (exp_test_upward): Likewise.
29469         (exp10_test): Likewise.
29470         (exp2_test): Likewise.
29471         (expm1_test): Likewise.
29472         (fmod_test): Likewise.
29473         (gamma_test): Likewise.
29474         (hypot_test): Likewise.
29475         (j0_test): Likewise.
29476         (j1_test): Likewise.
29477         (jn_test): Likewise.
29478         (lgamma_test): Likewise.
29479         (log_test): Likewise.
29480         (log10_test): Likewise.
29481         (log1p_test): Likewise.
29482         (log2_test): Likewise.
29483         (logb_test_downward): Likewise.
29484         (pow_test): Likewise.
29485         (pow_test_tonearest): Likewise.
29486         (pow_test_towardzero): Likewise.
29487         (pow_test_downward): Likewise.
29488         (pow_test_upward): Likewise.
29489         (remainder_test): Likewise.
29490         (remquo_test): Likewise.
29491         (sin_test): Likewise.
29492         (sin_test_tonearest): Likewise.
29493         (sin_test_towardzero): Likewise.
29494         (sin_test_downward): Likewise.
29495         (sin_test_upward): Likewise.
29496         (sincos_test): Likewise.
29497         (sinh_test): Likewise.
29498         (sinh_test_tonearest): Likewise.
29499         (sinh_test_towardzero): Likewise.
29500         (sinh_test_downward): Likewise.
29501         (sinh_test_upward): Likewise.
29502         (sqrt_test): Likewise.
29503         (tan_test): Likewise.
29504         (tan_test_tonearest): Likewise.
29505         (tan_test_towardzero): Likewise.
29506         (tan_test_downward): Likewise.
29507         (tan_test_upward): Likewise.
29508         (tanh_test): Likewise.
29509         (tgamma_test): Likewise.
29510         (y0_test): Likewise.
29511         (y1_test): Likewise.
29512         (yn_test): Likewise.
29514         * math/gen-libm-test.pl (adjust_arg): Remove function.
29515         (special_function): Remove argument $in_func.  Only handle
29516         generating output for tables of tests, not inside functions.
29517         (parse_args): Likewise.
29518         (generate_testfile): Remove variable $in_func.  Update call to
29519         parse_args.
29520         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29521         (MINUS_ZERO_INIT): Rename macro to minus_zero.
29522         (PLUS_INFTY_INIT): Rename macro to plus_infty.
29523         (MINUS_INFTY_INIT): Rename macro to minus_infty.
29524         (QNAN_VALUE_INIT): Rename macro to qnan_value.
29525         (MAX_VALUE_INIT): Rename macro to max_value.
29526         (MIN_VALUE_INIT): Rename macro to min_value.
29527         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29528         (plus_zero): Remove variable.
29529         (minus_zero): Likewise.
29530         (plus_infty): Likewise.
29531         (minus_infty): Likewise.
29532         (qnan_value): Likewise.
29533         (max_value): Likewise.
29534         (min_value): Likewise.
29535         (min_subnorm_value): Likewise.
29537 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29539         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29540         uint64_t or uint32_t usage.
29541         * crypt/sha256-block.c: Likewise.
29542         * crypt/sha256-crypt.c: Likewise.
29543         * crypt/sha256.c: Likewise.
29544         * crypt/sha512-block.c: Likewise.
29545         * crypt/sha512-crypt.c: Likewise.
29546         * crypt/sha512.c: Likewise.
29547         * debug/backtrace-tst.c: Likewise.
29548         * debug/pcprofiledump.c: Likewise.
29549         * elf/cache.c: Likewise.
29550         * elf/dl-cache.c: Likewise.
29551         * elf/dl-misc.c: Likewise.
29552         * elf/dl-profile.c: Likewise.
29553         * elf/dl-support.c: Likewise.
29554         * elf/ldconfig.c: Likewise.
29555         * elf/sprof.c: Likewise.
29556         * iconv/dummy-repertoire.c: Likewise.
29557         * iconv/iconv_charmap.c: Likewise.
29558         * iconv/skeleton.c: Likewise.
29559         * iconvdata/8bit-generic.c: Likewise.
29560         * iconvdata/cp737.h: Likewise.
29561         * iconvdata/cp775.h: Likewise.
29562         * iconvdata/ibm1008.h: Likewise.
29563         * iconvdata/ibm1025.h: Likewise.
29564         * iconvdata/ibm1046.h: Likewise.
29565         * iconvdata/ibm1097.h: Likewise.
29566         * iconvdata/ibm1112.h: Likewise.
29567         * iconvdata/ibm1122.h: Likewise.
29568         * iconvdata/ibm1123.h: Likewise.
29569         * iconvdata/ibm1124.h: Likewise.
29570         * iconvdata/ibm1129.h: Likewise.
29571         * iconvdata/ibm1130.h: Likewise.
29572         * iconvdata/ibm1132.h: Likewise.
29573         * iconvdata/ibm1133.h: Likewise.
29574         * iconvdata/ibm1137.h: Likewise.
29575         * iconvdata/ibm1140.h: Likewise.
29576         * iconvdata/ibm1141.h: Likewise.
29577         * iconvdata/ibm1142.h: Likewise.
29578         * iconvdata/ibm1143.h: Likewise.
29579         * iconvdata/ibm1144.h: Likewise.
29580         * iconvdata/ibm1145.h: Likewise.
29581         * iconvdata/ibm1146.h: Likewise.
29582         * iconvdata/ibm1147.h: Likewise.
29583         * iconvdata/ibm1148.h: Likewise.
29584         * iconvdata/ibm1149.h: Likewise.
29585         * iconvdata/ibm1153.h: Likewise.
29586         * iconvdata/ibm1154.h: Likewise.
29587         * iconvdata/ibm1155.h: Likewise.
29588         * iconvdata/ibm1156.h: Likewise.
29589         * iconvdata/ibm1157.h: Likewise.
29590         * iconvdata/ibm1158.h: Likewise.
29591         * iconvdata/ibm1160.h: Likewise.
29592         * iconvdata/ibm1161.h: Likewise.
29593         * iconvdata/ibm1162.h: Likewise.
29594         * iconvdata/ibm1163.h: Likewise.
29595         * iconvdata/ibm1164.h: Likewise.
29596         * iconvdata/ibm1166.h: Likewise.
29597         * iconvdata/ibm1167.h: Likewise.
29598         * iconvdata/ibm12712.h: Likewise.
29599         * iconvdata/ibm1390.h: Likewise.
29600         * iconvdata/ibm1399.h: Likewise.
29601         * iconvdata/ibm16804.h: Likewise.
29602         * iconvdata/ibm4517.h: Likewise.
29603         * iconvdata/ibm4899.h: Likewise.
29604         * iconvdata/ibm4909.h: Likewise.
29605         * iconvdata/ibm4971.h: Likewise.
29606         * iconvdata/ibm5347.h: Likewise.
29607         * iconvdata/ibm803.h: Likewise.
29608         * iconvdata/ibm856.h: Likewise.
29609         * iconvdata/ibm901.h: Likewise.
29610         * iconvdata/ibm902.h: Likewise.
29611         * iconvdata/ibm9030.h: Likewise.
29612         * iconvdata/ibm9066.h: Likewise.
29613         * iconvdata/ibm921.h: Likewise.
29614         * iconvdata/ibm922.h: Likewise.
29615         * iconvdata/ibm9448.h: Likewise.
29616         * iconvdata/isiri-3342.h: Likewise.
29617         * iconvdata/jis0201.h: Likewise.
29618         * include/link.h: Likewise.
29619         * include/netdb.h: Likewise.
29620         * inet/check_native.c: Likewise.
29621         * inet/check_pf.c: Likewise.
29622         * inet/getipv4sourcefilter.c: Likewise.
29623         * inet/getnameinfo.c: Likewise.
29624         * inet/getsourcefilter.c: Likewise.
29625         * inet/htonl.c: Likewise.
29626         * inet/setipv4sourcefilter.c: Likewise.
29627         * inet/setsourcefilter.c: Likewise.
29628         * inet/test-inet6_opt.c: Likewise.
29629         * inet/tst-network.c: Likewise.
29630         * locale/C-collate.c: Likewise.
29631         * locale/C-ctype.c: Likewise.
29632         * locale/C-time.c: Likewise.
29633         * locale/C-translit.h: Likewise.
29634         * locale/loadarchive.c: Likewise.
29635         * locale/programs/3level.h: Likewise.
29636         * locale/programs/charmap.c: Likewise.
29637         * locale/programs/charmap.h: Likewise.
29638         * locale/programs/ld-address.c: Likewise.
29639         * locale/programs/ld-collate.c: Likewise.
29640         * locale/programs/ld-ctype.c: Likewise.
29641         * locale/programs/ld-identification.c: Likewise.
29642         * locale/programs/ld-measurement.c: Likewise.
29643         * locale/programs/ld-messages.c: Likewise.
29644         * locale/programs/ld-monetary.c: Likewise.
29645         * locale/programs/ld-name.c: Likewise.
29646         * locale/programs/ld-numeric.c: Likewise.
29647         * locale/programs/ld-paper.c: Likewise.
29648         * locale/programs/ld-telephone.c: Likewise.
29649         * locale/programs/ld-time.c: Likewise.
29650         * locale/programs/linereader.c: Likewise.
29651         * locale/programs/locale.c: Likewise.
29652         * locale/programs/locarchive.c: Likewise.
29653         * locale/programs/locfile.h: Likewise.
29654         * locale/programs/repertoire.c: Likewise.
29655         * locale/programs/simple-hash.c: Likewise.
29656         * locale/programs/simple-hash.h: Likewise.
29657         * malloc/memusage.c: Likewise.
29658         * malloc/memusagestat.c: Likewise.
29659         * nis/nis_defaults.c: Likewise.
29660         * nis/nis_hash.c: Likewise.
29661         * nis/nis_print.c: Likewise.
29662         * nis/nis_xdr.c: Likewise.
29663         * nscd/connections.c: Likewise.
29664         * nscd/hstcache.c: Likewise.
29665         * nscd/nscd_gethst_r.c: Likewise.
29666         * nscd/nscd_getserv_r.c: Likewise.
29667         * nscd/nscd_helper.c: Likewise.
29668         * nscd/servicescache.c: Likewise.
29669         * nss/makedb.c: Likewise.
29670         * nss/nss_db/db-XXX.c: Likewise.
29671         * nss/nss_db/db-initgroups.c: Likewise.
29672         * nss/nss_db/db-netgrp.c: Likewise.
29673         * nss/nss_files/files-network.c: Likewise.
29674         * nss/nss_files/files-parse.c: Likewise.
29675         * posix/bug-regex5.c: Likewise.
29676         * posix/fnmatch_loop.c: Likewise.
29677         * posix/regcomp.c: Likewise.
29678         * posix/regexec.c: Likewise.
29679         * posix/tst-rfc3484-2.c: Likewise.
29680         * posix/tst-rfc3484-3.c: Likewise.
29681         * posix/tst-rfc3484.c: Likewise.
29682         * resolv/nss_dns/dns-canon.c: Likewise.
29683         * resolv/nss_dns/dns-network.c: Likewise.
29684         * resolv/res_init.c: Likewise.
29685         * resolv/res_mkquery.c: Likewise.
29686         * resolv/tst-aton.c: Likewise.
29687         * stdlib/cxa_atexit.c: Likewise.
29688         * stdlib/cxa_finalize.c: Likewise.
29689         * stdlib/gen-fpioconst.c: Likewise.
29690         * stdlib/strtol_l.c: Likewise.
29691         * string/tst-endian.c: Likewise.
29692         * sunrpc/auth_des.c: Likewise.
29693         * sunrpc/clnt_udp.c: Likewise.
29694         * sunrpc/rtime.c: Likewise.
29695         * sunrpc/svcauth_des.c: Likewise.
29696         * sunrpc/xdr.c: Likewise.
29697         * sunrpc/xdr_intXX_t.c: Likewise.
29698         * sunrpc/xdr_rec.c: Likewise.
29699         * sysdeps/generic/ldconfig.h: Likewise.
29700         * sysdeps/generic/ldsodefs.h: Likewise.
29701         * sysdeps/generic/memusage.h: Likewise.
29702         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29703         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29704         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29705         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29706         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29708         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29709         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29710         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29712         * sysdeps/posix/getaddrinfo.c: Likewise.
29713         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29714         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29715         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29716         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29717         * sysdeps/powerpc/test-gettimebase.c: Likewise.
29718         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29719         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29720         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29721         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29722         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29723         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29724         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29725         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29726         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29727         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29728         * sysdeps/x86_64/dl-tls.h: Likewise.
29729         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29730         * time/alt_digit.c: Likewise.
29731         * time/era.c: Likewise.
29732         * wcsmbs/tst-c16c32-1.c: Likewise.
29734 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29736         * math/libm-test.inc (struct test_sincos_data): New type.
29737         (RUN_TEST_LOOP_sincos): New macro.
29738         (sincos_test_data): New variable.
29739         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29741 2013-05-16  Richard Henderson  <rth@redhat.com>
29743         * math/atest-exp2.c (LIMB64): New macro.
29744         (CONSTSZ): New macro.
29745         (mp_exp1, mp_exp_m1, mp_log2): New variables.
29746         (hexdig): Move ...
29747         (print_mpn_fp): ... to function scope.
29748         (read_mpn_hex): Remove.
29749         (get_log2): Remove.
29750         (exp2_mpn): Use mp_log2.
29751         (main): Use mp_exp1.
29753 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29755         * math/libm-test.inc: Remove comment about not testing "inexact"
29756         exceptions.
29757         (INEXACT_EXCEPTION): New macro.
29758         (NO_INEXACT_EXCEPTION): Likewise.
29759         (INVALID_EXCEPTION_OK): Update value.
29760         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29761         (OVERFLOW_EXCEPTION_OK): Likewise.
29762         (UNDERFLOW_EXCEPTION_OK): Likewise.
29763         (IGNORE_ZERO_INF_SIGN): Likewise.
29764         (ERRNO_UNCHANGED): Likewise.
29765         (ERRNO_EDOM): Likewise.
29766         (ERRNO_ERANGE): Likewise.
29767         (test_exceptions): Handle testing "inexact" exceptions.
29768         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29769         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29770         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29771         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29772         INEXACT_EXCEPTION.
29773         (rint_towardzero_test_data): Likewise.
29774         (rint_downward_test_data): Likewise.
29775         (rint_upward_test_data): Likewise.
29777         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29778         with OVERFLOW_EXCEPTION.
29779         (exp10_test_data): Likewise.
29780         (exp2_test_data): Likewise.
29781         (expm1_test_data): Likewise.
29782         (lgamma_test_data): Likewise.
29783         (pow_test_data): Likewise.
29784         (tgamma_test_data): Likewise.
29785         (yn_test_data): Remove duplicate test of overflow.
29787         * math/libm-test.inc (struct test_cc_c_data): New type.
29788         (RUN_TEST_LOOP_cc_c): New macro.
29789         (cpow_test_data): New variable.
29790         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29792         * math/libm-test.inc (struct test_f_L_data): New type.
29793         (RUN_TEST_LOOP_f_L): New macro.
29794         (llrint_test_data): New variable.
29795         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29796         (llrint_tonearest_test_data): New variable.
29797         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29798         (llrint_towardzero_test_data): New variable.
29799         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29800         (llrint_downward_test_data): New variable.
29801         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29802         (llrint_upward_test_data): New variable.
29803         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29804         (llround_test_data): New variable.
29805         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29807 2013-05-13  Peter Collingbourne  <pcc@google.com>
29809         * math/atest-exp2.c (get_log2): Remove const attribute.
29811 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29813         * math/libm-test.inc (struct test_f_l_data): New type.
29814         (RUN_TEST_LOOP_f_l): New macro.
29815         (lrint_test_data): New variable.
29816         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29817         (lrint_tonearest_test_data): New variable.
29818         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29819         (lrint_towardzero_test_data): New variable.
29820         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29821         (lrint_downward_test_data): New variable.
29822         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29823         (lrint_upward_test_data): New variable.
29824         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29825         (lround_test_data): New variable.
29826         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29828 2013-05-15  Peter Collingbourne  <pcc@google.com>
29830         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29831         (EXTRACT_WORDS64) Use where appropriate.
29832         (INSERT_WORDS64) Likewise.
29834         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29835         constraints with x constraints.
29836         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29838         * malloc/obstack.c (_obstack_compat): Add initializer.
29840 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29842         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29843         si_trapno and add si_addr_lsb to _sifields.sigfault.
29844         (si_trapno): Remove macro.
29845         (si_addr_lsb): Define new macro.
29846         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29848 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29850         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29851         instead of TEST_f_l.
29852         (llrint_test_tonearest): Likewise.
29853         (llrint_test_towardzero): Likewise.
29854         (llrint_test_downward): Likewise.
29855         (llrint_test_upward): Likewise.
29856         (llround_test): Likewise.
29858         * math/libm-test.inc (struct test_f_i_data): Add comment.
29859         (RUN_TEST_LOOP_f_b): New macro.
29860         (RUN_TEST_LOOP_f_b_tg): Likewise.
29861         (finite_test_data): New variable.
29862         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29863         (isfinite_test_data): New variable.
29864         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29865         (isinf_test_data): New variable.
29866         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29867         (isnan_test_data): New variable.
29868         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29869         (isnormal_test_data): New variable.
29870         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29871         (issignaling_test_data): New variable.
29872         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29873         (signbit_test_data): New variable.
29874         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29876         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29877         with INVALID_EXCEPTION.
29878         (acosh_test_data): Likewise.
29879         (asin_test_data): Likewise.
29880         (atanh_test_data): Likewise.
29881         (fmod_test_data): Likewise.
29882         (log_test_data): Likewise.
29883         (log10_test_data): Likewise.
29884         (log2_test_data): Likewise.
29885         (pow_test_data): Likewise.
29886         (sqrt_test_data): Likewise.
29887         (y0_test_data): Likewise.
29888         (y1_test_data): Likewise.
29889         (yn_test_data): Likewise.
29891         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29892         function contents.
29894         * math/libm-test.inc (struct test_ff_i_data): New type.
29895         (RUN_TEST_LOOP_ff_i_tg): New macro.
29896         (isgreater_test_data): New variable.
29897         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29898         (isgreaterequal_test_data): New variable.
29899         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29900         (isless_test_data): New variable.
29901         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29902         (islessequal_test_data): New variable.
29903         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29904         (islessgreater_test_data): New variable.
29905         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29906         (isunordered_test_data): New variable.
29907         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29909 2013-05-14  David S. Miller  <davem@davemloft.net>
29911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29913 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
29915         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29917         * math/libm-test.inc (struct test_fF_f1_data): Change type of
29918         extra_test to int.
29919         (struct test_f_i_data): Change type of max_ulp to int.
29921         * math/libm-test.inc (test_ffI_f1_data): New type.
29922         (RUN_TEST_LOOP_ffI_f1): New macro.
29923         (remquo_test_data): New variable.
29924         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29926         * setjmp/tst-setjmp-fp.c: New file.
29927         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29928         (link-libm): New variable.
29929         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29931         * math/libm-test.inc (struct test_f_i_data): New type.
29932         (RUN_TEST_LOOP_f_i): New macro.
29933         (RUN_TEST_LOOP_f_i_tg): Likewise.
29934         (fpclassify_test_data): New variable.
29935         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29936         (ilogb_test_data): New variable.
29937         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29939         * math/libm-test.inc (scalbln_test): Correct function name in END
29940         call.
29942         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29943         (RUN_TEST_LOOP_fI_f1): New macro.
29944         (frexp_test_data): New variable.
29945         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29947         * math/libm-test.inc (struct test_fF_f1_data): New type.
29948         (RUN_TEST_LOOP_fF_f1): New macro.
29949         (modf_test_data): New variable.
29950         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29952         * math/libm-test.inc (struct test_f_f1_data): New type.
29953         (RUN_TEST_LOOP_f_f1): New macro.
29954         (gamma_test_data): New variable.
29955         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29956         (lgamma_test_data): New variable.
29957         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29959 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29961         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29962         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29963         (main): Comment "tls" pseudo-hwcap.
29965 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29967         * math/libm-test.inc (struct test_fl_f_data): New type.
29968         (RUN_TEST_LOOP_fl_f): New variable.
29969         (scalbln_test_data): New variable.
29970         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29972         * math/libm-test.inc (struct test_fi_f_data): New type.
29973         (RUN_TEST_LOOP_fi_f): New macro.
29974         (ldexp_test_data): New variable.
29975         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29976         (scalbn_test_data): New variable.
29977         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29979         * math/libm-test.inc (struct test_c_f_data): New type.
29980         (RUN_TEST_LOOP_c_f): New macro.
29981         (cabs_test_data): New variable.
29982         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29983         (carg_test_data): New variable.
29984         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29985         (cimag_test_data): New variable.
29986         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29987         (creal_test_data): New variable.
29988         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29990         * math/libm-test.inc (struct test_if_f_data): New type.
29991         (RUN_TEST_LOOP_if_f): New macro.
29992         (jn_test_data): New variable.
29993         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29994         (yn_test_data): New variable.
29995         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29997         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29999 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30001         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30002         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30004 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30006         * benchtests/Makefile (CPPFLAGS-nonlib): Add
30007         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30008         (bench-deps): Add bench-timing.h.
30009         * benchtests-bench-skeleton.c: Include bench-timing.h.
30010         (main): Use TIMING_* macros instead of clock_gettime.
30011         * benchtests/bench-timing.h: New file.
30013         [BZ #14582]
30014         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30015         Renamed from _LIB_VERSION.
30016         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30018 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
30020         * math/libm-test.inc (struct test_fff_f_data): New type.
30021         (RUN_TEST_LOOP_fff_f): New macro.
30022         (fma_test_data): New variable.
30023         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30024         (fma_towardzero_test_data): New variable.
30025         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30026         (fma_downward_test_data): New variable.
30027         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30028         (fma_upward_test_data): New variable.
30029         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30031         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30032         (struct test_c_c_data): New type.
30033         (RUN_TEST_LOOP_c_c): New macro.
30034         (cacos_test_data): New variable.
30035         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30036         (cacosh_test_data): New variable.
30037         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30038         (casin_test_data): New variable.
30039         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30040         (casinh_test_data): New variable.
30041         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30042         (catan_test_data): New variable.
30043         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30044         (catanh_test_data): New variable.
30045         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30046         (ccos_test_data): New variable.
30047         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30048         (ccosh_test_data): New variable.
30049         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30050         (cexp_test_data): New variable.
30051         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30052         (clog_test_data): New variable.
30053         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30054         (clog10_test_data): New variable.
30055         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30056         (conj_test_data): New variable.
30057         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30058         (cproj_test_data): New variable.
30059         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30060         (csin_test_data): New variable.
30061         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30062         (csinh_test_data): New variable.
30063         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30064         (csqrt_test_data): New variable.
30065         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30066         (ctan_test_data): New variable.
30067         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30068         (ctan_tonearest_test_data): New variable.
30069         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30070         (ctan_towardzero_test_data): New variable.
30071         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30072         (ctan_downward_test_data): New variable.
30073         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30074         (ctan_upward_test_data): New variable.
30075         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30076         (ctanh_test_data): New variable.
30077         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30078         (ctanh_tonearest_test_data): New variable.
30079         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30080         (ctanh_towardzero_test_data): New variable.
30081         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30082         (ctanh_downward_test_data): New variable.
30083         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30084         (ctanh_upward_test_data): New variable.
30085         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30086         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30087         of BUILD_COMPLEX.
30089         * math/libm-test.inc (struct test_ff_f_data): New type.
30090         (struct test_ff_f_data_nexttoward): Likewise.
30091         (RUN_TEST_LOOP_2_f): New macro.
30092         (RUN_TEST_LOOP_ff_f): Likewise.
30093         (atan2_test_data): New variable.
30094         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30095         (copysign_test_data): New variable.
30096         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30097         (fdim_test_data): New variable.
30098         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30099         (fmax_test_data): New variable.
30100         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30101         (fmin_test_data): New variable.
30102         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30103         (fmod_test_data): New variable.
30104         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30105         (hypot_test_data): New variable.
30106         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30107         (nextafter_test_data): New variable.
30108         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30109         (nexttoward_test_data): New variable.
30110         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30111         (pow_test_data): New variable.
30112         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30113         (pow_tonearest_test_data): New variable.
30114         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30115         (pow_towardzero_test_data): New variable.
30116         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30117         (pow_downward_test_data): New variable.
30118         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30119         (pow_upward_test_data): New variable.
30120         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30121         (remainder_test_data): New variable.
30122         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30123         (scalb_test_data): New variable.
30124         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30125         * sysdeps/i386/fpu/libm-test-ulps: Update.
30127 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
30129         * math/libm-test.inc (fma_test): Use max_value instead of local
30130         variable fltmax.
30131         (nextafter_test): Likewise.
30133         * math/libm-test.inc (acos_towardzero_test_data): New variable.
30134         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30135         (acos_downward_test_data): New variable.
30136         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30137         (acos_upward_test_data): New variable.
30138         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30139         (acosh_test_data): New variable.
30140         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30141         (asin_test_data): New variable.
30142         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30143         (asin_tonearest_test_data): New variable.
30144         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30145         (asin_towardzero_test_data): New variable.
30146         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30147         (asin_downward_test_data): New variable.
30148         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30149         (asin_upward_test_data): New variable.
30150         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30151         (asinh_test_data): New variable.
30152         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30153         (atan_test_data): New variable.
30154         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30155         (atanh_test_data): New variable.
30156         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30157         (cbrt_test_data): New variable.
30158         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30159         (ceil_test_data): New variable.
30160         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30161         (cos_test_data): New variable.
30162         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30163         (cos_tonearest_test_data): New variable.
30164         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30165         (cos_towardzero_test_data): New variable.
30166         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30167         (cos_downward_test_data): New variable.
30168         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30169         (cos_upward_test_data): New variable.
30170         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30171         (cosh_test_data): New variable.
30172         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30173         (cosh_tonearest_test_data): New variable.
30174         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30175         (cosh_towardzero_test_data): New variable.
30176         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30177         (cosh_downward_test_data): New variable.
30178         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30179         (cosh_upward_test_data): New variable.
30180         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30181         (erf_test_data): New variable.
30182         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30183         (erfc_test_data): New variable.
30184         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30185         (exp_test_data): New variable.
30186         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30187         (exp_tonearest_test_data): New variable.
30188         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30189         (exp_towardzero_test_data): New variable.
30190         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30191         (exp_downward_test_data): New variable.
30192         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30193         (exp_upward_test_data): New variable.
30194         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30195         (exp10_test_data): New variable.
30196         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30197         (exp2_test_data): New variable.
30198         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30199         (expm1_test_data): New variable.
30200         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30201         (fabs_test_data): New variable.
30202         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30203         (floor_test_data): New variable.
30204         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30205         (j0_test_data): New variable.
30206         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30207         (j1_test_data): New variable.
30208         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30209         (log_test_data): New variable.
30210         (log_test): Run tests with RUN_TEST_LOOP_f_f.
30211         (log10_test_data): New variable.
30212         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30213         (log1p_test_data): New variable.
30214         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30215         (log2_test_data): New variable.
30216         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30217         (logb_test_data): New variable.
30218         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30219         (logb_downward_test_data): New variable.
30220         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30221         (nearbyint_test_data): New variable.
30222         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30223         (rint_test_data): New variable.
30224         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30225         (rint_tonearest_test_data): New variable.
30226         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30227         (rint_towardzero_test_data): New variable.
30228         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30229         (rint_downward_test_data): New variable.
30230         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30231         (rint_upward_test_data): New variable.
30232         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30233         (round_test_data): New variable.
30234         (round_test): Run tests with RUN_TEST_LOOP_f_f.
30235         (sin_test_data): New variable.
30236         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30237         (sin_tonearest_test_data): New variable.
30238         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30239         (sin_towardzero_test_data): New variable.
30240         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30241         (sin_downward_test_data): New variable.
30242         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30243         (sin_upward_test_data): New variable.
30244         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30245         (sinh_test_data): New variable.
30246         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30247         (sinh_tonearest_test_data): New variable.
30248         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30249         (sinh_towardzero_test_data): New variable.
30250         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30251         (sinh_downward_test_data): New variable.
30252         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30253         (sinh_upward_test_data): New variable.
30254         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30255         (sqrt_test_data): New variable.
30256         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30257         (tan_test_data): New variable.
30258         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30259         (tan_tonearest_test_data): New variable.
30260         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30261         (tan_towardzero_test_data): New variable.
30262         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30263         (tan_downward_test_data): New variable.
30264         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30265         (tan_upward_test_data): New variable.
30266         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30267         (tanh_test_data): New variable.
30268         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30269         (tgamma_test_data): New variable.
30270         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30271         (trunc_test_data): New variable.
30272         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30273         (y0_test_data): New variable.
30274         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30275         (y1_test_data): New variable.
30276         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30277         (significand_test_data): New variable.
30278         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30280 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30282         [BZ #12387]
30283         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30285 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30287         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30289 2013-05-10  Andreas Jaeger  <aj@suse.de>
30291         [BZ #15448]
30292         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30293         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30295 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30297         * math/gen-libm-test.pl (adjust_arg): New function.
30298         (special_functions): Handle generating output in both functions
30299         and arrays.
30300         (parse_args): Likewise.
30301         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30302         $in_func argument to parse_args.
30303         * math/libm-test.inc (struct test_f_f_data): New type.
30304         (IF_ROUND_INIT_): New macro.
30305         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30306         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30307         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30308         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30309         (ROUND_RESTORE_): Likewise.
30310         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30311         (ROUND_RESTORE_FE_TONEAREST): Likewise.
30312         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30313         (ROUND_RESTORE_FE_UPWARD): Likewise.
30314         (RUN_TEST_LOOP_f_f): New macro.
30315         (acos_test_data): New variable.
30316         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30317         (acos_tonearest_test_data): New variable.
30318         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30320 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30322         * benchtests/bench-skeleton.c (startup): Fix coding style.
30324 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30326         [BZ #6809]
30327         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30328         negative infinity argument.
30329         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30330         negative infinity argument.
30331         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30332         negative infinity argument.
30333         * math/libm-test.inc (tgamma_test): Expect errno to be set for
30334         domain errors.
30336 2013-05-10  Florian Weimer  <fweimer@redhat.com>
30338         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30339         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30340         * iconv/iconv_prog.c (main): Likewise.
30341         * locale/programs/charmap-dir.c (charmap_readdir)
30342         (fopen_uncompressed): Likewise.
30343         * locale/programs/locfile.c (siblings_uncached)
30344         (write_locale_data): Use lstat64 instead of lstat.
30345         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30346         stat.
30348 2013-05-10  Andreas Jaeger  <aj@suse.de>
30350         [BZ #15395]
30351         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30352         localization.
30353         Include <locale.h>.
30355 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
30357         * elf/dl-close.c (_dl_close_worker): Add comments.
30359 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
30361         [BZ #15359]
30362         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30363         high part of pi/2.
30364         (__ieee754_rem_pio2l): Update comments.
30366         [BZ #15429]
30367         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30368         high part of pi/2.
30369         (__ieee754_rem_pio2l): Update comments.
30371         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30372         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30374         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30375         M_PI_4l.
30377         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30378         (M_PI_34_LOG10El): Likewise.
30379         (M_PI2_LOG10El): Likewise.
30380         (M_PI4_LOG10El): Likewise.
30381         (M_PI_LOG10El): Likewise.
30383 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30387 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
30389         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30390         (MINUS_ZERO_INIT): Likewise.
30391         (PLUS_INFTY_INIT): Likewise.
30392         (MINUS_INFTY_INIT): Likewise.
30393         (QNAN_VALUE_INIT): Likewise.
30394         (MAX_VALUE_INIT): Likewise.
30395         (MIN_VALUE_INIT): Likewise.
30396         (MIN_SUBNORM_VALUE_INIT): Likewise.
30397         (plus_zero): Initialize with PLUS_ZERO_INIT.
30398         (minus_zero): Initialize with MINUS_ZERO_INIT.
30399         (plus_infty): Initialize with PLUS_INFTY_INIT.
30400         (minus_infty): Initialize with MINUS_INFTY_INIT.
30401         (qnan_value): Initialize with QNAN_VALUE_INIT.
30402         (max_value): Initialize with MAX_VALUE_INIT.
30403         (min_value): Initialize with MIN_VALUE_INIT.
30404         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30406         * math/libm-test.inc (RUN_TEST_if_f): New macro.
30407         (jn_test): Use TEST_if_f instead of TEST_ff_f.
30408         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30409         (yn_test): Use TEST_if_f instead of TEST_ff_f.
30411         * math/libm-test.inc (RUN_TEST_f_f): New macro.
30412         (RUN_TEST_2_f): Likewise.
30413         (RUN_TEST_ff_f): Likewise.
30414         (RUN_TEST_fi_f): Likewise.
30415         (RUN_TEST_fl_f): Likewise.
30416         (RUN_TEST_fff_f): Likewise.
30417         (RUN_TEST_c_f): Likewise.
30418         (RUN_TEST_f_f1): Likewise.
30419         (RUN_TEST_fF_f1): Likewise.
30420         (RUN_TEST_fI_f1): Likewise.
30421         (RUN_TEST_ffI_f1): Likewise.
30422         (RUN_TEST_c_c): Likewise.
30423         (RUN_TEST_cc_c): Likewise.
30424         (RUN_TEST_f_i): Likewise.
30425         (RUN_TEST_f_i_tg): Likewise.
30426         (RUN_TEST_ff_i_tg): Likewise.
30427         (RUN_TEST_f_b): Likewise.
30428         (RUN_TEST_f_b_tg): Likewise.
30429         (RUN_TEST_f_l): Likewise.
30430         (RUN_TEST_f_L): Likewise.
30431         (RUN_TEST_sincos): Likewise.
30432         * math/gen-libm-test.pl (new_test): Take new argument to indicate
30433         whether to show exceptions.  Do not include ");\n" in return
30434         value.
30435         (special_functions): Output call to RUN_TEST_sincos instead of
30436         check_float calls.  Update calls to new_test.
30437         (parse_args): Output call to single RUN_TEST_* macro instead of
30438         check_* calls and other assignments.  Update calls to new_test.
30440         [BZ #2546]
30441         [BZ #2560]
30442         [BZ #5159]
30443         [BZ #15426]
30444         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30445         input to result for tgamma overflow.
30446         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30447         (gamma_coeff): New variable.
30448         (NCOEFF): New macro.
30449         (gamma_positive): New function.
30450         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30451         underflow here.  Use gamma_positive instead of exp (lgamma) for
30452         other arguments.
30453         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30454         (gamma_coeff): New variable.
30455         (NCOEFF): New macro.
30456         (gammaf_positive): New function.
30457         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30458         underflow here.  Use gamma_positive instead of exp (lgamma) for
30459         other arguments.
30460         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30461         (gamma_coeff): New variable.
30462         (NCOEFF): New macro.
30463         (gammal_positive): New function.
30464         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30465         underflow here.  Use gamma_positive instead of exp (lgamma) for
30466         other arguments.
30467         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30468         (gamma_coeff): New variable.
30469         (NCOEFF): New macro.
30470         (gammal_positive): New function.
30471         (__ieee754_gammal_r): Handle positive infinity, overflow and
30472         underflow here.  Handle NaN the same as positive infinity.  Remove
30473         check x < 0xffffffff for negative integers.  Use gamma_positive
30474         instead of exp (lgamma) for other arguments.
30475         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30476         (gamma_coeff): New variable.
30477         (NCOEFF): New macro.
30478         (gammal_positive): New function.
30479         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30480         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30481         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30482         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30483         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30484         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30485         * sysdeps/generic/math_private.h (__gamma_productf): New
30486         prototype.
30487         (__gamma_product): Likewise.
30488         (__gamma_productl): Likewise.
30489         * math/Makefile (libm-calls): Add gamma_product.
30490         * math/libm-test.inc (tgamma_test): Add more tests.
30491         * sysdeps/i386/fpu/libm-test-ulps: Update.
30492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30494 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
30496         * benchtests/bench-skeleton.c (main): Preheat CPU.
30498 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
30500         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30502 2013-05-07  Roland McGrath  <roland@hack.frob.com>
30504         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30505         and _dl_skip_args_internal.
30507 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
30509         * manual/message.texi (Message Translation): Talk about users.
30510         Message to key mapping impacts design.
30512 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30514         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30516         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30518         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30519         * sysdeps/wordsize-64/glob64.c: ... here.
30521         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30522         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30523         New macros.
30525         * debug/getlogin_r_chk.c: Moved to ...
30526         * login/getlogin_r_chk.c: ... here.
30527         * debug/Makefile (routines): Move getlogin_r_chk to ...
30528         * login/Makefile (routines): ... here.
30529         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30530         * login/Versions (libc: GLIBC_2.4): ... here.
30532         * io/poll.c (__poll): Renamed from poll.
30533         Add libc_hidden_def.
30534         (poll): Define as weak alias.
30536         * debug/ptsname_r_chk.c: Moved to ...
30537         * login/ptsname_r_chk.c: ... here.
30538         * debug/Makefile (routines): Move ptsname_r_chk to ...
30539         * login/Makefile (routines): ... here.
30540         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30541         * login/Versions (libc: GLIBC_2.4): ... here.
30543         * posix/getlogin.c: Moved to ...
30544         * login/getlogin.c: ... here.
30545         * posix/getlogin_r.c: Moved to ...
30546         * login/getlogin_r.c: ... here.
30547         * posix/getlogin_r.c: Moved to ...
30548         * login/getlogin_r.c: ... here.
30549         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30550         * login/Makefile (routines): ... here.
30551         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30552         * login/Versions (libc: GLIBC_2.0): ... here.
30554         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30555         (setrlimit): Define as weak alias.
30557         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30558         Call __ names for open, ftruncate, and close.
30559         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30560         (truncate): Define as weak alias.
30562 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
30564         * math/gen-libm-test.pl (parse_args): Initialize x before each
30565         test of frexp, modf and remquo.
30567         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30568         test signgam value.
30570 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30572         [BZ #15418]
30573         [BZ #15419]
30574         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30575         internal tests.
30576         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30578 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30580         * elf/dl-writev.h: New file.
30581         * elf/dl-misc.c: Include it.
30582         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30583         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30585 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
30587         * math/libm-test.inc (noXFails): Remove variable.
30588         (noXPasses): Likewise.
30589         (BUILD_COMPLEX_INT): Remove macro.
30590         (print_screen): Remove xfail argument.
30591         (print_screen_max_error): Likewise.
30592         (update_stats): Likewise.
30593         (print_max_error): Likewise.  Update calls to other affected
30594         functions.
30595         (print_complex_max_error): Likewise.
30596         (test_single_exception): Update calls to print_screen.
30597         (test_single_errno): Likewise.
30598         (check_float_internal): Remove xfail argument.  Update calls to
30599         other affected functions.
30600         (check_float): Likewise.
30601         (check_complex): Likewise.
30602         (check_int): Likewise.
30603         (check_long): Likewise.
30604         (check_bool): Likewise.
30605         (check_longlong): Likewise.
30606         (main): Don't print noXFails and noXPasses.
30607         * math/gen-libm-test.pl (top level): Don't mention expected
30608         failure handling in comment.
30609         (new_test): Don't handle expected failures.
30610         (parse_args): Don't mention expected failure handling in comment.
30611         (generate_testfile): Don't handle expected failures.
30612         (parse_ulps): Likewise.
30613         (print_ulps_file): Likewise.
30614         (get_failure): Remove function.
30615         (output_test): Don't handle expected failures.
30616         * make/README.libm-test: Don't mention expected failure handling.
30618         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
30619         (minus_zero): Likewise.
30620         (plus_infty): Likewise.
30621         (minus_infty): Likewise.
30622         (qnan_value): Likewise.
30623         (max_value): Likewise.
30624         (min_value): Likewise.
30625         (min_subnorm_value): Likewise.
30626         (initialize): Do not initialize those variables dynamically.
30628 2013-05-03  Roland McGrath  <roland@hack.frob.com>
30630         * io/open.c (__open_2): Moved to ...
30631         * io/open_2.c: ... this new file.
30632         * io/open64.c (__open64_2): Moved to ...
30633         * io/open64_2.c: ... this new file.
30634         * io/openat.c (__openat_2): Moved to ...
30635         * io/openat_2.c: ... this new file.
30636         * io/openat64.c (__openat64_2): Moved to ...
30637         * io/openat64_2.c: ... this new file.
30638         * io/Makefile (routines): Add them.
30639         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30640         * sysdeps/unix/sysv/linux/open_2.c: File removed.
30641         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30642         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30643         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30644         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30645         (__openat64): Add hidden_ver.
30646         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30647         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30649         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30650         Separately conditionalize setting of GLRO(dl_sysinfo) so
30651         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30652         as well, but the actual setting is only under [NEED_DL_SYSINFO].
30654 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30656         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30657         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30658         definition.
30659         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30660         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30661         (_libc_vdso_platform_setup): Add __vdso_time initialization.
30662         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30663         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30665 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
30667         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30668         test signgam value.
30670         * math/libm-test.inc (hypot_test): Do not use
30671         IGNORE_ZERO_INF_SIGN.
30673 2013-05-03  Andreas Jaeger  <aj@suse.de>
30675         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30676         Linux 3.9.
30677         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30678         (PF_MAX): Adjust for VSOCK change.
30680 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30684 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
30686         [BZ #15264]
30687         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30688         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30689         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30691 2013-05-02  David S. Miller  <davem@davemloft.net>
30693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30695 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
30697         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30699 2013-05-01  Roland McGrath  <roland@hack.frob.com>
30701         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30703 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
30705         [BZ #14952]
30706         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30707         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30708         Use __attribute__ ((__gnu_inline__)).
30709         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30710         Don't use __attribute__ ((__gnu_inline__)).
30712 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
30714         [BZ #15423]
30715         * math/s_catan.c (__catan): Handle small real or imaginary part of
30716         input specially to avoid spurious underflow.
30717         * math/s_catanf.c (__catanf): Likewise.
30718         * math/s_catanh.c (__catanh): Likewise.
30719         * math/s_catanhf.c (__catanhf): Likewise.
30720         * math/s_catanhl.c (__catanhl): Likewise.
30721         * math/s_catanl.c (__catanl): Likewise.
30722         * math/libm-test.inc (catan_test): Add more tests.
30723         (catanh_test): Likewise.
30724         * sysdeps/i386/fpu/libm-test-ulps: Update.
30725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30727 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30731 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
30733         [BZ #15416]
30734         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30735         accurately for denominator in atan2.
30736         * math/s_catanf.c (__catanf): Likewise.
30737         * math/s_catanh.c (__catanh): Likewise.
30738         * math/s_catanhf.c (__catanhf): Likewise.
30739         * math/s_catanhl.c (__catanhl): Likewise.
30740         * math/s_catanl.c (__catanl): Likewise.
30741         * math/libm-test.inc (catan_test): Add more tests.
30742         (catanh_test): Likewise.
30743         * sysdeps/i386/fpu/libm-test-ulps: Update.
30744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30746 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30748         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30750         * benchtests/Makefile (bench): Remove slow benchmarks.
30751         * benchtests/atan-inputs: Add slow benchmark inputs.
30752         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30753         (BENCH_FUNC): Accept variant offset.
30754         (VARIANT): Define.
30755         * benchtests/bench-skeleton.c (main): Run benchmark for each
30756         variant.
30757         * benchtests/cos-inputs: Add slow benchmark inputs.
30758         * benchtests/exp-inputs: Likewise.
30759         * benchtests/pow-inputs: Likewise.
30760         * benchtests/sin-inputs: Likewise.
30761         * benchtests/slowatan-inputs: Remove.
30762         * benchtests/slowatan.c: Remove.
30763         * benchtests/slowcos-inputs: Remove.
30764         * benchtests/slowcos.c: Remove.
30765         * benchtests/slowexp-inputs: Remove.
30766         * benchtests/slowexp.c: Remove.
30767         * benchtests/slowpow-inputs: Remove.
30768         * benchtests/slowpow.c: Remove.
30769         * benchtests/slowsin-inputs: Remove.
30770         * benchtests/slowsin.c: Remove.
30771         * benchtests/slowtan-inputs: Remove.
30772         * benchtests/slowtan.c: Remove.
30773         * benchtests/tan-inputs: Add slow benchmark inputs.
30774         * scripts/bench.pl: Parse comments and directives.
30776         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30777         in CPPFLAGS.
30778         ($(objpfx)bench-%.c): Remove *-ITER.
30779         * benchtests/bench-modf.c: Remove definition of ITER.
30780         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30781         (main): Loop for DURATION seconds instead of fixed number of
30782         iterations.
30783         * scripts/bench.pl: Don't expect iterations in parameters.
30785 2013-04-29  Roland McGrath  <roland@hack.frob.com>
30787         * io/fchdir.c (__fchdir): Renamed from fchdir.
30788         (fchdir): Define as weak alias.
30790 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30792         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30793         (ERRNO_EDOM): Likewise.
30794         (ERRNO_ERANGE): Likewise.
30795         (noErrnoTests): New variable.
30796         (init_max_error): Set errno to 0.
30797         (test_single_errno): New function.
30798         (test_errno): Likewise.
30799         (check_float_internal): Call test_errno.  Set errno to 0.
30800         (check_complex): Refer to errno tests in comment.
30801         (check_int): Call test_errno.  Set errno to 0.
30802         (check_long): Likewise.
30803         (check_bool): Likewise.
30804         (check_longlong): Likewise.
30805         (cos_test): Use ERRNO_* flags for errno tests instead of
30806         check_int.
30807         (expm1_test): Likewise.
30808         (fmod_test): Likewise.
30809         (ilogb_test): Likewise.
30810         (lgamma_test): Likewise.
30811         (pow_test): Likewise.
30812         (remainder_test): Likewise.
30813         (sin_test): Likewise.
30814         (tan_test): Likewise.
30815         (yn_test): Likewise.
30816         (initialize): Set errno to 0.
30817         (main): Print number of errno tests.
30818         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30820 2013-04-29  Andreas Jaeger  <aj@suse.de>
30822         [BZ #15084]
30823         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30824         and RES_USEVC.
30826         [BZ #15085]
30827         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30828         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30829         unimplemented.
30831         [BZ #15380]
30832         * stdlib/random.c (__initstate): Return NULL if
30833         __initstate fails.
30835         [BZ #15086]
30836         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30837         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30838         RES_SNGLKUPREOP.
30840 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30844 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30846         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30847         of individual tests.
30848         (casin_test): Likewise.
30849         (casinh_test): Likewise.
30851 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
30853         [BZ #15409]
30854         * math/s_catan.c (__catan): Handle arguments with large real or
30855         imaginary part separately without squaring.
30856         * math/s_catanf.c (__catanf): Likewise.
30857         * math/s_catanh.c (__catanh): Likewise.
30858         * math/s_catanhf.c (__catanhf): Likewise.
30859         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30860         and redefine.
30861         (__catanhl): Handle arguments with large real or imaginary part
30862         separately without squaring.
30863         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30864         and redefine.
30865         (__catanl): Handle arguments with large real or imaginary part
30866         separately without squaring.
30867         * math/libm-test.inc (catan_test): Add more tests.
30868         (catanh_test): Likewise.
30869         * sysdeps/i386/fpu/libm-test-ulps: Update.
30870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30872 2013-04-27  Andreas Jaeger  <aj@suse.de>
30874         [BZ #15007]
30875         * stdlib/stdlib.h: Update guards for qecvt.
30876         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30877         <stdlib.h>.
30879 2013-04-27  Allan McRae  <allan@archlinux.org>
30881         * sysdeps/i386/fpu/libm-test-ulps: Update.
30883 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
30885         [BZ #15406]
30886         * math/s_catan.c: Include <float.h>.
30887         (__catan): Ensure underflow exception occurs for underflowed
30888         result.
30889         * math/s_catanf.c: Include <float.h>.
30890         (__catanf): Ensure underflow exception occurs for underflowed
30891         result.
30892         * math/s_catanh.c: Include <float.h>.
30893         (__catanh): Ensure underflow exception occurs for underflowed
30894         result.
30895         * math/s_catanhf.c: Include <float.h>.
30896         (__catanhf): Ensure underflow exception occurs for underflowed
30897         result.
30898         * math/s_catanhl.c: Include <float.h>.
30899         (__catanhl): Ensure underflow exception occurs for underflowed
30900         result.
30901         * math/s_catanl.c: Include <float.h>.
30902         (__catanl): Ensure underflow exception occurs for underflowed
30903         result.
30904         * math/libm-test.inc (catan_test): Add more tests.
30905         (catanh_test): Likewise.
30907         [BZ #15405]
30908         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30909         underflowed result.
30910         * math/s_ccoshf.c (__ccoshf): Likewise.
30911         * math/s_ccoshl.c (__ccoshl): Likewise.
30912         * math/s_csin.c (__csin): Likewise.
30913         * math/s_csinf.c (__csinf): Likewise.
30914         * math/s_csinh.c (__csinh): Likewise.
30915         * math/s_csinhf.c (__csinhf): Likewise.
30916         * math/s_csinhl.c (__csinhl): Likewise.
30917         * math/s_csinl.c (__csinl): Likewise.
30918         * math/libm-test.inc (ccos_test): Add more tests.
30919         (ccosh_test): Likewise.
30920         (csin_test): Likewise.
30921         (csinh_test): Likewise.
30923 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30925         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30926         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30927         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30928         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30929         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30930         powerpc/power5+/fpu folders.
30931         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30934 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30938 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30940         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30941         additions to variable.
30942         [$(config-machine) = x86_64] (modules-names): Likewise.
30943         ($(objpfx)tst-audit3): Remove dependency.
30944         ($(objpfx)tst-audit3.out): Likewise.
30945         ($(objpfx)tst-audit4): Likewise.
30946         ($(objpfx)tst-audit4.out): Likewise.
30947         ($(objpfx)tst-audit5): Likewise.
30948         ($(objpfx)tst-audit5.out): Likewise.
30949         ($(objpfx)tst-audit6): Likewise.
30950         ($(objpfx)tst-audit6.out): Likewise.
30951         ($(objpfx)tst-audit7): Likewise.
30952         ($(objpfx)tst-audit7.out): Likewise.
30953         (tst-audit3-ENV): Remove variable.
30954         (tst-audit4-ENV): Likewise.
30955         (tst-audit5-ENV): Likewise.
30956         (tst-audit6-ENV): Likewise.
30957         (tst-audit7-ENV): Likewise.
30958         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30959         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30960         addition to variable.
30961         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30962         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30963         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30964         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30965         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30966         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30967         tst-audit3, tst-audit4 and tst-audit5.
30968         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30969         tst-audit6 and tst-audit7.
30970         [$(subdir) = elf] (modules-names): Add audit modules for those
30971         tests.
30972         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30973         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30974         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30975         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30976         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30977         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30978         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30979         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30980         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30981         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30982         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30983         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30984         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30985         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30986         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30987         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30988         Likewise.
30989         [$(subdir) = elf && $(config-cflags-avx) = yes]
30990         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30991         [$(subdir) = elf && $(config-cflags-avx) = yes]
30992         (CFLAGS-tst-auditmod4a.c): Likewise.
30993         [$(subdir) = elf && $(config-cflags-avx) = yes]
30994         (CFLAGS-tst-auditmod4b.c): Likewise.
30995         [$(subdir) = elf && $(config-cflags-avx) = yes]
30996         (CFLAGS-tst-auditmod6b.c): Likewise.
30997         [$(subdir) = elf && $(config-cflags-avx) = yes]
30998         (CFLAGS-tst-auditmod6c.c): Likewise.
30999         [$(subdir) = elf && $(config-cflags-avx) = yes]
31000         (CFLAGS-tst-auditmod7b.c): Likewise.
31001         * elf/tst-audit3.c: Move to ...
31002         * sysdeps/x86_64/tst-audit3.c: ... here.
31003         * elf/tst-audit4.c: Move to ...
31004         * sysdeps/x86_64/tst-audit4.c: ... here.
31005         * elf/tst-audit5.c: Move to ...
31006         * sysdeps/x86_64/tst-audit5.c: ... here.
31007         * elf/tst-audit6.c: Move to ...
31008         * sysdeps/x86_64/tst-audit6.c: ... here.
31009         * elf/tst-audit7.c: Move to ...
31010         * sysdeps/x86_64/tst-audit7.c: ... here.
31011         * elf/tst-auditmod3a.c: Move to ...
31012         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31013         * elf/tst-auditmod3b.c: Move to ...
31014         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31015         * elf/tst-auditmod4a.c: Move to ...
31016         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31017         * elf/tst-auditmod4b.c: Move to ...
31018         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31019         * elf/tst-auditmod5a.c: Move to ...
31020         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31021         * elf/tst-auditmod5b.c: Move to ...
31022         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31023         * elf/tst-auditmod6a.c: Move to ...
31024         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31025         * elf/tst-auditmod6b.c: Move to ...
31026         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31027         * elf/tst-auditmod6c.c: Move to ...
31028         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31029         * elf/tst-auditmod7a.c: Move to ...
31030         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31031         * elf/tst-auditmod7b.c: Move to ...
31032         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31034 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
31036         [BZ #15366]
31037         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31038         define unconditionally.
31039         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31040         define unconditionally.
31041         (INT8_C, INT16_C, etc.): Likewise.
31043 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
31045         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31046         __ehdr_start with hidden visibility.
31048         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31050 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
31052         * math/libm-test.inc (cos_test): Use accurate hex constants.
31053         (sincost_test): Likewise.
31055 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
31057         * math/libm-test.inc (catan_test): Add more tests.
31058         (catanh_test): Likewise.
31060         * math/s_catanf.c (__catanf): Use suffixed floating-point
31061         constants.
31062         * math/s_catanhf.c (__catanhf): Likewise.
31063         * math/s_catanhl.c (__catanhl): Likewise.
31064         * math/s_catanl.c (__catanl): Likewise.
31066         [BZ #15394]
31067         * math/s_catan.c (__catan): Calculate imaginary part of result
31068         with log1p not log unless computing log of number close to 0.
31069         * math/s_catanf.c (__catanf): Likewise.
31070         * math/s_catanl.c (__catanl): Likewise.
31071         * math/s_catanh.c (__catanh): Calculate real part of result with
31072         log1p not log unless computing log of number close to 0.
31073         * math/s_catanhf.c (__catanhf): Likewise.
31074         * math/s_catanhl.c (__catanhl): Likewise.
31075         * math/libm-test.inc (catan_test): Add more tests.
31076         (catanh_test): Likewise.
31077         * sysdeps/i386/fpu/libm-test-ulps: Update.
31078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31080 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31082         * benchtests/Makefile: Mention files in which fast and slow
31083         paths of math functions are implemented.
31085 2013-04-23  Roland McGrath  <roland@hack.frob.com>
31087         * sysdeps/posix/timespec_get.c: New file.
31089 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31091         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31092         POWER.
31093         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31094         for POWER.
31095         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31096         powerpc/power5/fpu folders.
31097         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31098         * benchtests/Makefile: Add modf testcase.
31099         * benchtests/bench-modf.c: New file: Benchmark test for mo
31101 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31103         [BZ #14888]
31104         * time/Makefile (tests): Add tst-strptime-whitespace.
31105         * time/strptime_l.c (get_number): Use ISSPACE.
31106         (__strptime_internal): Likewise.
31107         * time/tst-strptime-whitespace.c: New test case.
31109 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31111         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31112         member.
31113         (_nss_files_init): Set it here.
31115 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
31117         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31118         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31119         unsigned.
31121 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
31123         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31125 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31128         size just once.
31130 2013-04-21  David S. Miller  <davem@davemloft.net>
31132         * po/ru.po: Update Russion translation from translation project.
31134 2013-04-17  Adam Conrad  <adconrad@0c3.net>
31136         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31137         and setfsgid.
31139 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
31141         * configure.in: Remove i386 configure warning. Remove i386 case.
31142         * configure: Regenerate.
31143         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31144         Add example to error message.
31145         * sysdeps/i386/configure: Regenerate.
31147 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31149         * benchtests/Makefile (bench): Add cos, tan, slowcos and
31150         slowtan.
31151         * benchtests/cos-inputs: New file.
31152         * benchtests/slowcos-inputs: New file.
31153         * benchtests/slowcos.c: New file.
31154         * benchtests/slowtan-inputs: New file.
31155         * benchtests/slowtan.c: New file.
31156         * benchtests/tan-inputs: New file.
31158 2013-04-16  Roland McGrath  <roland@hack.frob.com>
31160         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31161         considered kosher.
31163 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31165         * benchtests/Makefile: Include cppflags-iterator.mk to add
31166         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31168         * Makefile.in (bench-clean): New target.
31169         * benchtests/Makefile (bench-clean): Likewise.
31171 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
31173         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31175 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
31177         * stdio-common/tstdiomisc.c: Fix coding-style violation.
31179 2013-04-15  Andreas Schwab  <schwab@suse.de>
31181         * nscd/grpcache.c (cache_addgr): Properly check for short write.
31182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31183         * nscd/pwdcache.c (cache_addpw): Likewise.
31184         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
31185         more than recsize.
31187 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31189         * benchtests/Makefile (bench): Write all output to
31190         bench-out.tmp together.
31192 2013-04-15  Andreas Schwab  <schwab@suse.de>
31194         * nscd/nscd.c (main): Don't fork again after closing files.
31196 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31198         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31200         * benchtests/Rules (bench-deps): Collect dependencies into a
31201         single variable.  Add Makefile to dependencies.
31202         ($(objpfx)bench-%.c): Depend on bench-deps.
31204 2013-04-12  Roland McGrath  <roland@hack.frob.com>
31205             Xavier Roche  <roche+kml2@exalead.com>
31207         [BZ #15361]
31208         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31209         just that it's a file descriptor.
31210         * manual/llio.texi (Synchronizing AIO Operations): Update description
31211         for EBADF error from aio_fsync.
31213 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31215         * Rules (bench): Move target definition...
31216         * benchtests/Makefile: ... here.
31218 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
31220         * math/libm-test.inc (cos_test): Fix PI/2 test.
31221         (sincos_test): Likewise.
31222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31223         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31225 2013-04-11  Andreas Schwab  <schwab@suse.de>
31227         [BZ #13988]
31228         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31229         accept exponent character only when digits were seen.
31230         * stdio-common/Makefile (tests): Add bug26.
31231         * stdio-common/bug26.c: New file.
31233         [BZ #14293]
31234         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31235         non-freeable.
31237 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31239         * Makeconfig (rtld-prefix): Define built linker prefix.
31240         * Rules (run-bench): Use it.
31241         * math/Makefile (run-regen-ulps): Likewise.
31243         * Rules (bench): Remove eval.
31245 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31246             Roland McGrath  <roland@hack.frob.com>
31247             Ondrej Bilka  <neleai@seznam.cz>
31249         [BZ #15346]
31250         * time/getdate.c: Include ctype.h and alloca.h.
31251         (__getdate_r): Trim leading and trailing spaces of input.
31252         * time/tst-getdate.c (tests): Add tests with leading and
31253         trailing spaces.
31255 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31257         [BZ #14280]
31258         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31259         when computing value.
31261 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31263         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31264         Use testrun.sh to run libm tests.
31266         [BZ #15309]
31267         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31269 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31271         [BZ #15264]
31272         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31274 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31276         * Makefile.in (regen-ulps): New target.
31277         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31278         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31279         [ifneq (no,$(PERL)] (regen-ulps): New target.
31280         [ifeq (no,$(PERL)] (regen-ulps): New target.
31281         * math/libm-test.inc (ulps_file_name): Define.
31282         (output_dir): New variable.
31283         (options): Add "output-dir" option.
31284         (parse_opt): Handle 'o' case.
31285         (main): If output_dir is non-NULL use it as a prefix
31286         otherwise use "".
31287         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31289 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31291         [BZ #10060, #10062]
31292         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31293         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31294         fail configure if __sync_val_compare_and_swap is not inlined.
31295         * sysdeps/i386/configure: Regenerate.
31296         * configure.in: Build for i686 when configured for i386.
31297         * configure: Regenerate.
31298         * README: Remove i386 reference.
31300 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31302         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31305 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31307         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31308         (lmsnanval): New variables.
31309         (F): Add conversion tests.
31310         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31311         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31313         * stdio-common/tstdiomisc.c (F): Properly collect individual
31314         tests' results.
31316         [BZ #14686, #15336]
31317         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31318         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31319         Instead, use input NaN values or generate a qNaN by arithmetic
31320         operation.  Also fix bugs to comply with the standard.
31321         * math/libm-test.inc (remainder_test): Add more tests.
31323         [BZ #15335, #15342]
31324         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31326         input NaN values or generate a qNaN by arithmetic operation.
31328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31329         unreachable code.
31331         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31332         definitions.
31334 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
31336         [BZ #14478]
31337         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31338         underflowed result.
31339         * math/s_cexpf.c (__cexpf): Likewise.
31340         * math/s_cexpl.c (__cexpl): Likewise.
31341         * math/libm-test.inc (cexp_test): Add more tests.
31343 2013-04-03  Andreas Schwab  <schwab@suse.de>
31345         [BZ #15330]
31346         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31347         order arrays from heap if bigger than alloca cutoff.
31349 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
31351         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31352         (SNAN_TESTS_double): Refer to GCC PR56831.
31353         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31354         GCC PR56828.
31356 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31358         * Rules (bench): Move bench.out after the run is complete.
31360         * Rules (bench): Echo currently running benchmark.
31362         * benchtests/Makefile (bench): Add atan and slowatan.
31363         * benchtests/atan-inputs: New file.
31364         * benchtests/slowatan-inputs: New file.
31365         * benchtests/slowatan.c: New file.
31367         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31369         its value.
31371         [BZ #15305]
31372         * sysdeps/unix/sysv/linux/kernel-features.h
31373         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31374         __ASSUME_XFS_RESTRICTED_CHOWN.
31375         * sysdeps/unix/sysv/linux/pathconf.c
31376         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31377         Save and restore errno.
31379 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
31381         [BZ #15327]
31382         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31383         arguments using __kernel_casinh.
31384         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31385         arguments using __kernel_casinhf.
31386         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31387         arguments using __kernel_casinhl.
31388         * math/libm-test.inc (cacosh_test): Add more tests.
31389         * sysdeps/i386/fpu/libm-test-ulps: Update.
31390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31392 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31394         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31397         * bench/Makefile (bench): Add sin and slowsin.
31398         * benchtests/sin-inputs: New file.
31399         * benchtests/slowsin-inputs: New file.
31400         * benchtests/slowsin.c: New file.
31402         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31403         (bench): Add slowexp and slowpow.
31404         (exp-ITER): Increase iterations.
31405         (pow-ITER): Likewise.
31406         * benchtests/exp-inputs: Change input.
31407         * benchtests/pow-inputs: Likewise.
31408         * benchtests/slowexp-inputs: New file.
31409         * benchtests/slowexp.c: New file.
31410         * benchtests/slowpow-inputs: New file.
31411         * benchtests/slowpow.c: New file.
31413 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31415         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31416         instructions.
31417         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31418         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31419         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31420         * benchtests/Makefile: Add rint benchtest.
31421         * benchtests/rint-inputs: Input for rint benchtest.
31423 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31425         * Versions.def (libm): Add GLIBC_2.18.
31426         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31427         hidden libm prototypes.
31428         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31429         * math/Makefile (libm-calls): Add s_issignaling.
31430         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31431         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
31432         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31433         declaration.
31434         * math/math.h [__USE_GNU] (issignaling): New macro.
31435         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31436         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31437         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31438         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31439         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31440         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31441         * manual/arith.texi (issignaling): New section.
31442         * manual/libm-err-tab.pl (@all_functions): Update comment.
31443         * math/gen-libm-test.pl (parse_args): Apply special handling for
31444         issignaling.
31445         * math/libm-test.inc (print_float, issignaling_test): New
31446         functions.
31447         (check_float_internal): Add issignaling checks.
31448         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31449         default definition.
31450         * sysdeps/powerpc/math-tests.h: New file.
31451         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31452         tests.
31453         * math/test-snan.c (TEST_FUNC): Likewise.
31455 2013-03-30  David S. Miller  <davem@davemloft.net>
31457         * po/de.po: Update from translation team.
31459 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
31461         [BZ #10357]
31462         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31463         imaginary part less than 1.0 and real part less than 0.5
31464         specially.
31465         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31466         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31467         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31468         (cacos_test): Add more tests.
31469         (casin_test): Likewise.
31470         (casinh_test): Likewise.
31471         * sysdeps/i386/fpu/libm-test-ulps: Update.
31472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31474 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31476         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31477         ONE with its value.
31479         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31480         (__pow_mp): Replace ONE and MONE with their values.
31481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31482         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31483         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31484         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31485         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31486         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31488         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31490         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31491         (__pow_mp): Replace ZERO and MZERO with their values.
31492         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31493         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31494         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31496         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31497         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31498         (__sqr): Likewise.
31500         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31502         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31504 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31506         * include/stdlib.h [!SHARED] (__call_tls_dtors):
31507         Declare with __attribute__ ((weak)).
31508         * stdlib/exit.c (__libc_atexit) [!SHARED]:
31509         Call __call_tls_dtors only if it's not NULL.
31511 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31513         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31514         didn't do it already, then set _dl_phdr and _dl_phnum based on the
31515         magic __ehdr_start linker symbol if it's defined.
31516         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31517         them up here if it was already done.
31519         * elf/dl-support.c (_dl_phdr): Make pointer to const.
31520         (_dl_aux_init): Use const in cast when setting it.
31521         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31522         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31523         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31525         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31526         Declare them here.
31527         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31528         * csu/libc-tls.c: Nor here.
31529         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31531         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31532         (__libc_message): Never call vsyslog.
31534 2013-03-28  Alan Modra  <amodra@gmail.com>
31536         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31537         Define as empty.
31538         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31539         Likewise.
31541 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31543         [BZ #15214]
31544         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31545         underflow.
31546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31548 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31550         [BZ #15304]
31551         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31552         Don't add gid passed as argument.
31554         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31556 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
31558         [BZ #15307]
31559         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31560         imaginary part between 1.0 and 1.5 and real part less than 0.5
31561         specially.
31562         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31563         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31564         * math/libm-test.inc (cacos_test): Add more tests.
31565         (casin_test): Likewise.
31566         (casinh_test): Likewise.
31567         * sysdeps/i386/fpu/libm-test-ulps: Update.
31568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31570 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31572         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31573         constants.
31574         (norm): Likewise.
31575         (denorm): Likewise.
31576         (__dbl_mp): Likewise.
31577         (add_magnitudes): Likewise.
31578         (sub_magnitudes): Likewise.
31579         (__add): Likewise.
31580         (__sub): Likewise.
31581         (__mul): Likewise.
31582         (__sqr): Likewise.
31583         (__inv): Likewise.
31584         (__dvd): Likewise.
31586         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31587         commented code.
31588         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31589         (__dubcos): Likewise.
31590         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31591         (__ieee754_acos): Likewise.
31592         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31593         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31594         (__exp1): Likewise.
31595         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31597         (log1): Likewise.
31598         (my_log2): Likewise.
31599         (checkint): Likewise.
31600         * sysdeps/ieee754/dbl-64/e_remainder.c
31601         (__ieee754_remainder): Likewise.
31602         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31603         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31604         (bsloww): Likewise.
31605         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31607         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31608         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31609         MANTISSA_STORE_T to store computations on mantissa.  Use
31610         macros for rounding and division.
31611         (denorm): Likewise.
31612         (__dbl_mp): Likewise.
31613         (add_magnitudes): Likewise.
31614         (sub_magnitudes): Likewise.
31615         (__mul): Likewise.
31616         (__sqr): Likewise.
31617         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31618         powers of two in terms of TWOPOW macro.
31619         (mp_no): Make type of mantissa as MANTISSA_T.
31620         [!RADIXI]: Define RADIXI.
31621         [!TWO52]: Define TWO52.
31622         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31624 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31626         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31627         llroundl symbol when building for PPC32.
31629 2013-03-24  Mark H Weaver  <mhw@netris.org>
31631         * manual/arith.texi (Normalization Functions): Fix prototypes for
31632         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31634 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31636         [BZ #13889]
31637         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31638         high value to check if expl overflow.
31639         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31640         to check for underflow and overflow.
31641         * math/libm-test.inc: Add exp test.
31643 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
31645         [BZ #11120]
31646         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31647         with NOT_IN_libc.
31649 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31651         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31652         symbol.
31654 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31656         * math/gen-libm-test.pl (parse_args, special_functions): Properly
31657         wrap blocks consisting of several statements.
31659         * sysdeps/generic/math-tests.h: New file.
31660         * sysdeps/i386/fpu/math-tests.h: Likewise.
31661         * math/test-snan.c: Include it.
31662         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31664 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31666         [BZ #15285]
31667         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31668         (__ieee754_j0l): Do not improve calculations using cos of twice
31669         input for inputs above LDBL_MAX / 2.0L.
31670         (__ieee754_y0l): Likewise.
31671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31672         (__ieee754_j1l): Do not improve calculations using cos of twice
31673         input for inputs above LDBL_MAX / 2.0L.
31674         (__ieee754_y1l): Likewise.
31675         * math/libm-test.inc (j0_test): Add another test.
31676         (j1_test): Likewise.
31677         (y0_test): Likewise.
31678         (y1_test): Likewise.
31679         * sysdeps/i386/fpu/libm-test-ulps: Update.
31681 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31683         * Rules ($(objpfx)bench-%.c): Include code from a C source
31684         file.
31686 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31688         [BZ #15287]
31689         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31690         imaginary part 1.0 and real part less than 0.5 specially.
31691         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31692         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31693         * math/libm-test.inc (cacos_test): Add more tests.
31694         (casin_test): Likewise.
31695         (casinh_test): Likewise.
31696         * sysdeps/i386/fpu/libm-test-ulps: Update.
31697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31699 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31701         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31702         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31704 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
31706         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31707         * config.make.in (config-cflags-sse4): Remove variable.
31708         (config-cflags-avx): Likewise.
31709         (config-cflags-sse2avx): Likewise.
31710         (config-cflags-novzeroupper): Likewise.
31711         (config-asflags-i686): Likewise.
31712         (have-mfma4): Likewise.
31713         (have-as-vis3): Likewise.
31714         (MIG): Likewise.
31715         * configure.in (MIG): Do not AC_SUBST.
31716         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31717         (libc_cv_cc_sse4): Do not AC_SUBST.
31718         (libc_cv_cc_avx): Likewise.
31719         (libc_cv_cc_sse2avx): Likewise.
31720         (libc_cv_cc_novzeroupper): Likewise.
31721         (libc_cv_cc_fma4): Likewise.
31722         (libc_cv_as_i686): Likewise.
31723         (libc_cv_sparc_as_vis3): Likewise.
31724         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31725         LIBC_CONFIG_VAR.
31726         (config-asflags-i686): Likewise.
31727         (config-cflags-avx): Likewise.
31728         (config-cflags-sse2avx): Likewise.
31729         (have-mfma4): Likewise.
31730         (config-cflags-novzeroupper): Likewise.
31731         * sysdeps/mach/configure.in (MIG): Likewise.
31732         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31733         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31734         LIBC_CONFIG_VAR.
31735         (config-cflags-avx): Likewise.
31736         (config-cflags-sse2avx): Likewise.
31737         (have-mfma4): Likewise.
31738         (config-cflags-novzeroupper): Likewise.
31739         * configure: Regenerated.
31740         * sysdeps/i386/configure: Likewise.
31741         * sysdeps/mach/configure: Likewise.
31742         * sysdeps/sparc/configure: Likewise.
31743         * sysdeps/x86_64/configure: Likewise.
31745 2013-03-20  Roland McGrath  <roland@hack.frob.com>
31747         [BZ #14812]
31748         * locale/programs/localedef.c (options): Put N_ translation marker
31749         on argument names, not just descriptions.
31751 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31753         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31755 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
31757         [BZ #14176]
31758         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31760 2013-03-19  Roland McGrath  <roland@hack.frob.com>
31762         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31763         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31764         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31765         [!BEFORE_ABORT] (before_abort): New function.
31766         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31767         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31768         (writev_for_fatal): New function.
31769         (WRITEV_FOR_FATAL): New macro; call that.
31770         (backtrace_and_maps): New function.
31771         (BEFORE_ABORT): New macro; call that.
31772         (struct str_list): Type removed.
31773         (__libc_message, __libc_fatal): Functions removed.
31774         Include <sysdeps/posix/libc_fatal.c> instead.
31776 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
31778         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31779         constants.
31780         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31781         double constants.
31783 2013-03-19  Andreas Schwab  <schwab@suse.de>
31785         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31786         * sysdeps/gnu/configure: Regenerate.
31788         * configure.in: Substitute libc_cv_rtlddir.
31789         * configure: Regenerate.
31790         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31791         * Makeconfig (rtlddir, inst_rtlddir): New variables.
31792         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31793         * elf/Makefile (install-others, CFLAGS-interp.c)
31794         (ldso_install, common-ldd-rewrite): Likewise.
31795         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31796         $(inst_slibdir)/$(rtld-installed-name).
31797         * scripts/rellns-sh: Add -p option.
31798         * Makerules (make-shlib-link): Use rellns-sh to get relative name
31799         for source.
31801 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31803         * manual/nptl.texi: Renamed to ...
31804         * manual/threads.texi: ... this.
31805         * manual/Makefile (chapters): Update.
31807 2013-03-18  Roland McGrath  <roland@hack.frob.com>
31809         [BZ #14812]
31810         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31811         on argument names, not just descriptions.
31812         * malloc/memusagestat.c (options): Likewise.
31813         * nss/getent.c (options): Likewise.
31815 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
31817         [BZ #14812]
31818         * iconv/iconv_prog.c (options): Put N_ translation marker
31819         on argument names, not just descriptions.
31820         * iconv/iconvconfig.c (options): Likewise.
31822 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
31824         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31825         implementation which is faster on all x86_64 architectures.
31826         Tested on AMD, Intel Nehalem, SNB, IVB.
31827         * sysdeps/x86_64/strnlen.S: Likewise.
31829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31830         Remove all multiarch strlen and strnlen versions.
31831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31832         Remove strlen and strnlen related parts.
31834         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31835         Inline strlen part.
31836         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31838         * sysdeps/x86_64/multiarch/strlen.S: Remove.
31839         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31840         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31841         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31842         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31843         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31845 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
31847         * manual/memory.texi (Malloc Tunable Parameters):
31848         Sort parameters alphabetically. Add comments for missing entries.
31850 2013-03-17  David S. Miller  <davem@davemloft.net>
31852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31854 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
31856         [BZ #15283]
31857         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31858         for arguments at most half maximum finite value.
31859         * math/libm-test.inc (j0_test): Add more tests.
31860         (j1_test): Likewise.
31861         (y0_test): Likewise.
31862         (y1_test): Likewise.
31863         * sysdeps/i386/fpu/libm-test-ulps: Update.
31864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31866         [BZ #14155]
31867         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31868         1 / x and functions P and Q for arguments above 0x1p256L.
31869         (__ieee754_y0l): Likewise.
31870         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31871         (__ieee754_y1l): Likewise.
31872         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31873         (j1_test): Likewise.
31874         (y0_test): Likewise.
31875         (y1_test): Likewise.
31877 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
31879         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31880         variable.
31882 2013-03-15  Roland McGrath  <roland@hack.frob.com>
31884         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31885         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31886         zero since it's initialized to EXEC_PAGESIZE.
31888         * sysdeps/unix/sysv/linux/ldsodefs.h
31889         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31890         * sysdeps/generic/ldsodefs.h: ... here.
31892 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
31894         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31896         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31897         math/test-snan.c.
31898         * math/test-snan.c: Renamed from
31899         sysdeps/powerpc/fpu/test-powerpc-snan.c.
31900         * math/Makefile (tests): Add test-snan.
31901         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31902         test-powerpc-snan.
31904         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31905         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
31906         functions.
31907         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
31908         __builtin_nan family of functions.
31909         * math/libm-test.inc (initialize): Initialize qnan_value with
31910         __builtin_nan family of functions.
31911         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31912         Remove variables.
31913         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31914         Remove functions.
31915         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
31916         storage class.  Initialize qNaN_var and sNaN_var with
31917         __builtin_nan and __builtin_nans families of functions,
31918         respectively.
31920         * math/libm-test.inc (acosh_test): Also test with qNaN input.
31921         (sqrt_test): Remove duplicate test with qNaN input.
31922         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31923         (round_test, signbit_test, significand_test): Note missing +/-Inf
31924         as well as qNaN tests.
31926         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31927         qNaN_var.  Fix a few strings, too.
31928         * math/libm-test.inc (nan_value): Rename to qnan_value.
31929         * math/gen-libm-test.pl (%beautify): Adjust to that.
31930         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31931         * math/test-misc.c (main): Likewise.
31932         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31933         to __qnan_bytes, and __qnan_union, respectively.
31934         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31935         Likewise.
31936         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31937         and lqnanval, respectively.
31938         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31939         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31940         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31941         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31943         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31944         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31945         doubles.
31947         * math/test-misc.c (main): Fix copy'n'pastos.
31948         * misc/tst-efgcvt.c (special): Likewise.
31950         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31951         Remove declarations.
31953 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31955         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31956         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31957         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31958         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31960 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31962         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31963         macro to return vdso values correctly in IFUNC implementations.
31964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31965         Optimization by using IFUNC.
31967 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31968             Richard Henderson  <rth@redhat.com>
31969             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31971         * Makefile.in (bench): New target.
31972         * NEWS: Mention the benchmark framework.
31973         * Rules (bench): Likewise.
31974         (binaries-bench): Generate binaries for functions to
31975         benchmark.
31976         * benchtests/Makefile: New makefile for benchmark tests.
31977         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31978         programs.
31979         * benchtests/exp-inputs: New input file for EXP function.
31980         * benchtests/pow-inputs: New input file for POW function.
31981         * scripts/bench.pl: New script to generate source files for
31982         benchmark programs.
31984 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31986         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31988         computations on mantissa.  Use macros for rounding and
31989         division.
31990         (denorm): Likewise.
31991         (__dbl_mp): Likewise.
31992         (add_magnitudes): Likewise.
31993         (sub_magnitudes): Likewise.
31994         (__mul): Likewise.
31995         (__sqr): Likewise.
31996         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31997         powers of two in terms of TWOPOW macro.
31998         (mp_no): Make type of mantissa as MANTISSA_T.
31999         [!RADIXI]: Define RADIXI.
32000         [!TWO52]: Define TWO52.
32001         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32003         * manual/nptl.texi (cindex): Modify threads to pthreads.
32005 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
32007         * sysdeps/x86_64/preconfigure: Regenerated.
32009 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
32011         [BZ #14155]
32012         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32013         0x1p28 and above.
32014         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32015         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32016         0x1p28 and above.
32017         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32018         * math/libm-test.inc (j0_test): Do not allow one spurious
32019         underflow exception.
32020         (y1_test): Likewise.
32022 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32024         * manual/Makefile (chapters): Add nptl.
32025         * manual/debug.texi (Debugging Support): Add link to Threads
32026         chapter.
32027         * manual/nptl.texi: New file.
32029         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32031 2013-03-14  Petr Baudis  <pasky@ucw.cz>
32033         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32034         for non-NULL pointer before the memory validity test. Pointed
32035         out by Holger Brunck <holger.brunck@keymile.com>.
32037 2013-03-13  Andreas Schwab  <schwab@suse.de>
32039         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32040         instead of .os.
32042 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
32044         * timezone/zic.c: Update from tzcode 2013b.
32046 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
32048         * manual/install.texi (Configuring and compiling):
32049         Mention i686 and i586.
32050         * INSTALL: Regenerate.
32052 2013-03-12  Roland McGrath  <roland@hack.frob.com>
32054         * sysdeps/init_array/elf-init.c: New file.
32055         * csu/elf-init.c
32056         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32057         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32059         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32060         __gmon_start__ as global, but as static with a .preinit_array pointer.
32061         * sysdeps/init_array/gmon-start.c: New file.  Use that.
32062         * sysdeps/init_array/crti.S: New file, empty except for comments.
32063         * sysdeps/init_array/crtn.S: Likewise.
32065 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
32067         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32068         definining bcopy.
32069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32070         Remove Prefer_SSE_for_memop.
32071         * sysdeps/x86_64/multiarch/init-arch.h: Remove
32072         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32073         HAS_PREFER_SSE_FOR_MEMOP.
32074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32075         memset-x86-64.
32076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32077         Remove bzero, memset ifunc support.
32078         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32079         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32080         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32081         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32083 2013-03-11  Andreas Schwab  <schwab@suse.de>
32085         [BZ #15234]
32086         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32087         by SHLIB_COMPAT.
32088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32089         (GLIBC_2.16): Remove pthread_atfork.
32091 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32093         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32094         (ptestcases.h): Likewise.
32096 2013-03-08  Roland McGrath  <roland@hack.frob.com>
32098         * Makeconfig ($(common-objpfx)config.status): Depend on
32099         sysdeps/*/preconfigure{,.in} too.
32101 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
32103         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32104         (__free_hook): Use void * instead of __malloc_ptr_t.
32105         (__malloc_hook): Likewise.
32106         (__realloc_hook): Likewise.
32107         (__memalign_hook): Likewise.
32108         (__after_morecore_hook): Likewise.
32109         * malloc/arena.c (save_malloc_hook): Likewise.
32110         (save_free_hook): Likewise.
32111         * malloc/hooks.c (malloc_hook_ini): Likewise.
32112         (realloc_hook_ini): Likewise.
32113         (memalign_hook_ini): Likewise.
32114         * malloc/malloc.c (malloc_hook_ini): Likewise.
32115         (realloc_hook_ini): Likewise.
32116         (memalign_hook_ini): Likewise.
32117         (__free_hook): Likewise.
32118         (__malloc_hook): Likewise.
32119         (__realloc_hook): Likewise.
32120         (__memalign_hook): Likewise.
32121         (__libc_malloc): Likewise.
32122         (__libc_free): Likewise.
32123         (__libc_realloc): Likewise.
32124         (__libc_memalign): Likewise.
32125         (__libc_valloc): Likewise.
32126         (__libc_pvalloc): Likewise.
32127         (__libc_calloc): Likewise.
32128         (__posix_memalign): Likewise.
32129         * malloc/morecore.c (__sbrk): Likewise.
32130         (__default_morecore): Likewise.
32132         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32134         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32135         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32136         __malloc_ptrdiff_t.
32138         * malloc/malloc.h (__malloc_size_t): Remove macro.
32139         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32140         __malloc_size_t.
32141         (old_memalign_hook): Likewise.
32142         (old_realloc_hook): Likewise.
32143         (struct hdr): Likewise.
32144         (flood): Likewise.
32145         (mallochook): Likewise.
32146         (memalignhook): Likewise.
32147         (reallochook): Likewise.
32148         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32149         (tr_old_realloc_hook): Likewise.
32150         (tr_old_memalign_hook): Likewise.
32151         (tr_mallochook): Likewise.
32152         (tr_reallochook): Likewise.
32153         (tr_memalignhook): Likewise.
32155 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32158         default_ldbl_pack and using as default implementation.
32159         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32160         implementation.
32161         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32162         redundant definition.
32163         (ldbl_insert_mantissa): Likewise.
32164         (ldbl_canonicalize): Likewise.
32165         (ldbl_nearbyint): Likewise.
32166         (ldbl_pack): Rename to ldbl_pack_ppc.
32167         (ldbl_unpack): Rename to ldbl_unpack_ppc.
32168         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32169         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32171 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32174         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32175         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32176         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32178         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32179         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32180         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32182 2013-03-07  Andreas Jaeger  <aj@suse.de>
32184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32185         bits/mman-linux.h.
32187 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32189         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32190         Include mpa.h and declare __MPEXP.
32191         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32192         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32193         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32194         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32195         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32196         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32197         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32199         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32200         (__slowpow): Use long double EXPL and LOGL functions to
32201         compute POW.
32202         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32203         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32204         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32205         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32206         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32207         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32210         intermediate variable to calculate exponent.
32211         (__sqr): Likewise.
32212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32213         Likewise.
32214         (__sqr): Likewise.
32216         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32217         [!NO__SQR]: Define __sqr.
32218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32219         and NO__SQR.  Remove all code except __mul and __sqr.  Include
32220         sysdeps/ieee754/dbl-64/mpa.c.
32221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32223         [BZ #12723]
32224         * posix/Makefile (tests): Add tst-pathconf.
32225         * posix/tst-pathconf.c: New test case.
32226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32227         _PC_PIPE_BUF.
32228         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32230 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
32232         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32234 2013-03-06  Andreas Jaeger  <aj@suse.de>
32236         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32237         definition via __MAP_ANONYMOUS.
32239         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32240         it's not part of Linux headers.
32242         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32243         (MAP_HUGE_MASK): Define.
32245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32246         Define.
32247         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32248         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32249         Define.
32250         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32251         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32252         Define.
32253         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32254         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32255         Define.
32256         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32258         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32259         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32260         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32261         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32262         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32263         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32266         Handle f2fs.
32268         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32269         Handle f2fs and efivarfs.
32271         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32272         f2fs.
32274         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32275         (EFIVARFS_MAGIC): Add.
32276         (F2FS_LINK_MAX): Add.
32278 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32280         * stdio-common/vfprintf.c: Replace __builtin_expect with
32281         __glibc_unlikely.
32283 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32285         [BZ #13550]
32286         * sysdeps/generic/bp-sym.h: Remove file.
32287         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32288         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32289         <bp-sym.h> and <bp-asm.h>.
32290         (__longjmp): Don't use BP_SYM.
32291         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32292         and <bp-asm.h>.
32293         (memcpy): Don't use BP_SYM.
32294         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32295         <bp-sym.h> and <bp-asm.h>.
32296         (memcpy): Don't use BP_SYM.
32297         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32298         <bp-asm.h>.
32299         (memcpy): Don't use BP_SYM.
32300         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32301         <bp-asm.h>.
32302         (memset): Don't use BP_SYM.
32303         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32304         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32305         (__bzero): Don't use BP_SYM.
32306         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32307         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32308         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32309         <bp-sym.h> and <bp-asm.h>.
32310         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32311         pointers.
32312         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32313         <bp-sym.h> and <bp-asm.h>.
32314         (memcpy): Don't use BP_SYM.
32315         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32316         <bp-sym.h> and <bp-asm.h>.
32317         (memset): Don't use BP_SYM.
32318         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32319         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32320         (__bzero): Don't use BP_SYM.
32321         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32322         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32323         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32324         <bp-sym.h> and <bp-asm.h>.
32325         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32326         pointers.
32327         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32328         <bp-sym.h> and <bp-asm.h>.
32329         (memcpy): Don't use BP_SYM.
32330         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32331         <bp-sym.h> and <bp-asm.h>.
32332         (memset): Don't use BP_SYM.
32333         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32334         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32335         (__bzero): Don't use BP_SYM.
32336         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32337         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32338         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32339         <bp-sym.h> and <bp-asm.h>.
32340         (__memchr): Don't use BP_SYM.
32341         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32342         <bp-sym.h> and <bp-asm.h>.
32343         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32344         pointers.
32345         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32346         <bp-sym.h> and <bp-asm.h>.
32347         (memcpy): Don't use BP_SYM.
32348         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32349         <bp-sym.h> and <bp-asm.h>.
32350         (__mempcpy): Don't use BP_SYM.
32351         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32352         <bp-sym.h> and <bp-asm.h>.
32353         (__memrchr): Don't use BP_SYM.
32354         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32355         <bp-sym.h> and <bp-asm.h>.
32356         (memset): Don't use BP_SYM.
32357         (__bzero): Likewise.
32358         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32359         <bp-sym.h> and <bp-asm.h>.
32360         (__rawmemchr): Don't use BP_SYM.
32361         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32362         <bp-sym.h> and <bp-asm.h>.
32363         (__STRCMP): Don't use BP_SYM.
32364         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32365         <bp-sym.h> and <bp-asm.h>.
32366         (strchr): Don't use BP_SYM.
32367         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32368         <bp-sym.h> and <bp-asm.h>.
32369         (__strchrnul): Don't use BP_SYM.
32370         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32371         <bp-sym.h> and <bp-asm.h>.
32372         (strlen): Don't use BP_SYM.
32373         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32374         <bp-sym.h> and <bp-asm.h>.
32375         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32376         pointers.
32377         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32378         <bp-sym.h> and <bp-asm.h>.
32379         (__strnlen): Don't use BP_SYM.
32380         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32381         <bp-sym.h> and <bp-asm.h>.
32382         (__GI__setjmp): Don't use BP_SYM.
32383         (_setjmp): Likewise.
32384         (__sigsetjmp): Likewise.
32385         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32386         (L(start_addresses)): Don't use BP_SYM.
32387         (_start): Likewise.
32388         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32389         <bp-asm.h>.
32390         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32391         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32392         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32393         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32394         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32395         <bp-asm.h>.
32396         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32397         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
32398         about bounded pointers.
32399         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32400         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32401         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32402         <bp-asm.h>.
32403         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32404         about bounded pointers.  Remove GKM FIXME comments.
32405         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32406         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32407         <bp-asm.h>.
32408         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32409         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
32410         Remove GKM FIXME comments.
32411         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32412         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32413         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32414         <bp-asm.h>.
32415         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32416         about bounded pointers.  Remove GKM FIXME comment.
32417         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32418         and <bp-asm.h>.
32419         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32420         pointers.
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32422         <bp-sym.h> and <bp-asm.h>.
32423         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32425         <bp-sym.h> and <bp-asm.h>.
32426         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32427         comment.
32429 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32431         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32432         call free(NULL).
32434 2013-03-05  David S. Miller  <davem@davemloft.net>
32436         * po/es.po: Update from translation team.
32438 2013-03-05  Andreas Jaeger  <aj@suse.de>
32440         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32441         <bits/mman-linux.h>.
32442         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32443         is fine.
32444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32445         <bits/mman-linux.h> to end of file.
32446         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32447         is fine.
32448         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32449         <bits/mman-linux.h> to end of file.
32450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32451         is fine.
32452         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32453         <bits/mman-linux.h> to end of file.
32455         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32456         (MCL_CURRENT, MCL_FUTURE): Define here.
32458 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32460         [BZ #15232]
32461         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32462         attribute_hidden.
32463         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32465 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32467         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32468         fourth parameter needed for rt_sigprocmask syscall.
32469         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32470         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32471         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32472         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32473         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32474         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32476 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
32478         [BZ #13550]
32479         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32480         comment about bounded pointers.
32481         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32482         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32484 2013-03-04  Andreas Jaeger  <aj@suse.de>
32486         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32487         common definitions.
32489         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32490         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32491         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32492         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32493         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32496 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32498         [BZ #15055]
32499         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32500         __ieee754_sqrl instead of __sqrl.
32502 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
32504         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32505         * sysdeps/powerpc/fpu_control.h: ... here.
32506         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32507         * sysdeps/powerpc/bits/fenvinline.h: ... here.
32508         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32509         * sysdeps/powerpc/bits/mathinline.h: ... here.
32511 2013-03-01  Roland McGrath  <roland@hack.frob.com>
32513         * elf/dl-hwcaps.c (_dl_important_hwcaps):
32514         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32515         to just [NEED_DL_SYSINFO_DSO].
32516         * elf/dl-support.c: Likewise.
32517         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32518         * elf/rtld.c (dl_main): Likewise.
32519         * elf/setup-vdso.h (setup_vdso): Likewise.
32520         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32521         * sysdeps/unix/sysv/linux/dl-sysdep.c
32522         (_dl_discover_osversion): Likewise.
32524 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
32526         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32527         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32529 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32531         * NEWS: Mention libm performance improvements and non-x86 PI
32532         futex support.
32534         * csu/libc-start.c (__pthread_initialize_minimal): Change
32535         function arguments.
32536         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32538 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
32540         [BZ #13550]
32541         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32542         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32543         <bp-sym.h> and <bp-asm.h>.
32544         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32545         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32546         and <bp-asm.h>.
32547         (memcpy): Don't use BP_SYM.
32548         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32549         <bp-asm.h>.
32550         (__mpn_add_n): Don't use BP_SYM.
32551         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32552         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32553         and <bp-asm.h>.
32554         (__mpn_addmul_1): Don't use BP_SYM.
32555         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32556         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32557         <bp-sym.h>.
32558         (_setjmp): Don't use BP_SYM.
32559         (__novmx_setjmp): Likewise.
32560         (__GI__setjmp): Likewise.
32561         (__vmx_setjmp): Likewise.
32562         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32563         <bp-sym.h>.
32564         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32565         (__bzero): Don't use BP_SYM.
32566         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32567         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32568         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32569         <bp-sym.h> and <bp-asm.h>.
32570         (memcpy): Don't use BP_SYM.
32571         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32572         <bp-sym.h> and <bp-asm.h>.
32573         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32574         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32575         <bp-sym.h> and <bp-asm.h>.
32576         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32577         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32578         <bp-asm.h>.
32579         (__mpn_lshift): Don't use BP_SYM.
32580         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32581         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32582         <bp-asm.h>.
32583         (memset): Don't use BP_SYM.
32584         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32585         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32586         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32587         <bp-asm.h>.
32588         (__mpn_mul_1): Don't use BP_SYM.
32589         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32590         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32591         <bp-sym.h> and <bp-asm.h>.
32592         (memcmp): Don't use BP_SYM.
32593         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32594         <bp-sym.h> and <bp-asm.h>.
32595         (memcpy): Don't use BP_SYM.
32596         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32597         <bp-sym.h> and <bp-asm.h>.
32598         (memset): Don't use BP_SYM.
32599         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32600         <bp-sym.h> and <bp-asm.h>.
32601         (strncmp): Don't use BP_SYM.
32602         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32603         <bp-sym.h> and <bp-asm.h>.
32604         (memcpy): Don't use BP_SYM.
32605         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32606         <bp-sym.h> and <bp-asm.h>.
32607         (memset): Don't use BP_SYM.
32608         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32609         <bp-sym.h> and <bp-asm.h>.
32610         (__memchr): Don't use BP_SYM.
32611         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32612         <bp-sym.h> and <bp-asm.h>.
32613         (memcmp): Don't use BP_SYM.
32614         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32615         <bp-sym.h> and <bp-asm.h>.
32616         (memcpy): Don't use BP_SYM.
32617         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32618         <bp-sym.h> and <bp-asm.h>.
32619         (__mempcpy): Don't use BP_SYM.
32620         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32621         <bp-sym.h> and <bp-asm.h>.
32622         (__memrchr): Don't use BP_SYM.
32623         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32624         <bp-sym.h> and <bp-asm.h>.
32625         (memset): Don't use BP_SYM.
32626         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32627         <bp-sym.h> and <bp-asm.h>.
32628         (__rawmemchr): Don't use BP_SYM.
32629         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32630         <bp-sym.h> and <bp-asm.h>.
32631         (__STRCMP): Don't use BP_SYM.
32632         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32633         <bp-sym.h> and <bp-asm.h>.
32634         (strchr): Don't use BP_SYM.
32635         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32636         <bp-sym.h> and <bp-asm.h>.
32637         (__strchrnul): Don't use BP_SYM.
32638         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32639         <bp-sym.h> and <bp-asm.h>.
32640         (strlen): Don't use BP_SYM.
32641         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32642         <bp-sym.h> and <bp-asm.h>.
32643         (strncmp): Don't use BP_SYM.
32644         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32645         <bp-sym.h> and <bp-asm.h>.
32646         (__strnlen): Don't use BP_SYM.
32647         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32648         <bp-asm.h>.
32649         (__mpn_rshift): Don't use BP_SYM.
32650         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32651         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32652         <bp-sym.h> and <bp-asm.h>.
32653         (__sigsetjmp): Don't use BP_SYM.
32654         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32655         (L(start_addresses)): Don't use BP_SYM.
32656         (_start): Likewise.
32657         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32658         <bp-asm.h>.
32659         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32660         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32661         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32662         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32663         <bp-asm.h>.
32664         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32665         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32666         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32667         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32668         <bp-asm.h>.
32669         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32670         comments.
32671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32672         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32673         <bp-asm.h>.
32674         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
32675         FIXME comments.
32676         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32677         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32678         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32679         <bp-asm.h>.
32680         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32681         comment.
32682         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32683         and <bp-asm.h>.
32684         (strncmp): Don't use BP_SYM,
32685         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32686         <bp-asm.h>.
32687         (__mpn_sub_n): Don't use BP_SYM.
32688         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32689         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32690         and <bp-asm.h>.
32691         (__mpn_submul_1): Don't use BP_SYM.
32692         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32694         <bp-sym.h> and <bp-asm.h>.
32695         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32697         <bp-sym.h> and <bp-asm.h>.
32698         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32699         comment.
32701 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32704         Use ZK to minimize writes to Z.
32705         (sub_magnitudes): Simplify code a bit.
32706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32707         Use ZK to minimize writes to Z.
32708         (sub_magnitudes): Simplify code a bit.
32710 2013-02-27  Roland McGrath  <roland@hack.frob.com>
32712         * csu/gmon-start.c: Add special exception to license text.
32714 2013-02-27  Richard Henderson  <rth@redhat.com>
32716         * scripts/config.guess: Update from config.git.
32717         * scripts/config.sub: Likewise.
32719 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32721         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32723         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32725         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32727         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32729         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32731 2013-02-26  Roland McGrath  <roland@hack.frob.com>
32733         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32734         [$(build-shared = yes].
32736 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32738         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32739         (__mul): Reduce iterations for calculating mantissa.
32741         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32742         MPTWO.
32743         (__mpranred): Likewise.
32745         [BZ #15160]
32746         * malloc/memusagestat.c (main): Draw graphs for heap and stack
32747         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32749 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
32751         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32752         Define __attribute__.
32754 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32756         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32757         unused.
32758         * posix/regex_internal.h (__attribute): Remove.
32759         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32760         (re_string_context_at): Likewise.
32761         (bitset_not): Use __attribute__ and mark function as possibly
32762         unused.
32763         (bitset_merge): Likewise.
32764         (bitset_mask): Likewise.
32765         (re_string_char_size_at): Likewise.
32766         (re_string_wchar_at): Likewise.
32767         (re_string_elem_size_at): Likewise.
32769 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32771         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32772         code.
32773         (cc32): Likewise.
32775         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32776         (__acr): Likewise.
32777         (__cpy): Likewise.
32778         (norm): Likewise.
32779         (denorm): Likewise.
32780         (__dbl_mp): Likewise.
32781         (add_magnitudes): Likewise.
32782         (sub_magnitudes): Likewise.
32783         (__mul): Likewise.
32784         (__inv): Likewise.
32786         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32787         style.
32789         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32790         style.
32792         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32793         code.
32795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32796         up changes with default code.
32797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32798         Likewise.
32800 2013-02-24  Allan McRae  <allan@archlinux.org>
32802         * manual/socket.texi (The Internet Namespace): Order menu items
32803         to match that in the file.
32805         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32806         node listing of the info page menu.
32808 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
32810         [BZ #13550]
32811         * sysdeps/i386/bp-asm.h: Remove file.
32812         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32813         (PARMS): Do not use macros from bp-asm.h.
32814         (S1): Likewise.
32815         (S2): Likewise.
32816         (SIZE): Likewise.
32817         (__mpn_add_n): Do not use BP_SYM
32818         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32819         "bp-asm.h".
32820         (PARMS): Do not use macros from bp-asm.h.
32821         (S1): Likewise.
32822         (SIZE): Likewise.
32823         (__mpn_addmul_1): Do not use BP_SYM
32824         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32825         "bp-asm.h".
32826         (PARMS): Do not use macros from bp-asm.h.
32827         (SIGMSK): Likewise.
32828         (_setjmp): Likewise.  Do not use BP_SYM.
32829         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32830         "bp-asm.h".
32831         (PARMS): Do not use macros from bp-asm.h.
32832         (SIGMSK): Likewise.
32833         (setjmp): Likewise.  Do not use BP_SYM.
32834         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32835         "bp-asm.h".
32836         (PARMS): Do not use macros from bp-asm.h.
32837         (__frexp): Do not use BP_SYM.
32838         (frexp): Likewise.
32839         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32840         "bp-asm.h".
32841         (PARMS): Do not use macros from bp-asm.h.
32842         (__frexpf): Do not use BP_SYM.
32843         (frexpf): Likewise.
32844         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32845         "bp-asm.h".
32846         (PARMS): Do not use macros from bp-asm.h.
32847         (__frexpl): Do not use BP_SYM.
32848         (frexpl): Likewise.
32849         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32850         "bp-asm.h".
32851         (PARMS): Do not use macros from bp-asm.h.
32852         (__remquo): Do not use BP_SYM.
32853         (remquo): Likewise.
32854         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32855         "bp-asm.h".
32856         (PARMS): Do not use macros from bp-asm.h.
32857         (__remquof): Do not use BP_SYM.
32858         (remquof): Likewise.
32859         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32860         "bp-asm.h".
32861         (PARMS): Do not use macros from bp-asm.h.
32862         (__remquol): Do not use BP_SYM.
32863         (remquol): Likewise.
32864         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32865         "bp-asm.h".
32866         (PARMS): Do not use macros from bp-asm.h.
32867         (DEST): Likewise.
32868         (SRC): Likewise.
32869         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
32870         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32871         "bp-asm.h".
32872         (PARMS): Do not use macros from bp-asm.h.
32873         (strlen): Do not use BP_SYM.
32874         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32875         "bp-asm.h".
32876         (PARMS): Do not use macros from bp-asm.h.
32877         (S1): Likewise.
32878         (S2): Likewise.
32879         (SIZE): Likewise.
32880         (__mpn_add_n): Do not use BP_SYM.
32881         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32882         "bp-asm.h".
32883         (PARMS): Do not use macros from bp-asm.h.
32884         (S1): Likewise.
32885         (SIZE): Likewise.
32886         (__mpn_addmul_1): Do not use BP_SYM.
32887         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32888         weak_alias.
32889         (bzero): Likewise.
32890         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32891         "bp-asm.h".
32892         (PARMS): Do not use macros from bp-asm.h.
32893         (S): Likewise.
32894         (SIZE): Likewise.
32895         (__mpn_lshift): Do not use BP_SYM.
32896         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32897         "bp-asm.h".
32898         (PARMS): Do not use macros from bp-asm.h.
32899         (DEST): Likewise.
32900         (SRC): Likewise.
32901         (LEN): Likewise.
32902         (memcpy): Likewise.  Do not use BP_SYM.
32903         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32904         libc_hidden_def and weak_alias.
32905         (mempcpy): Do not use BP_SYM in weak_alias.
32906         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32907         "bp-asm.h".
32908         (PARMS): Do not use macros from bp-asm.h.
32909         (DEST): Likewise.
32910         (LEN): Likewise.
32911         [!BZERO_P] (CHR): Likewise.
32912         (memset): Likewise.  Do not use BP_SYM.
32913         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32914         "bp-asm.h".
32915         (PARMS): Do not use macros from bp-asm.h.
32916         (S1): Likewise.
32917         (SIZE): Likewise.
32918         (__mpn_mul_1): Do not use BP_SYM.
32919         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32920         "bp-asm.h".
32921         (PARMS): Do not use macros from bp-asm.h.
32922         (S): Likewise.
32923         (SIZE): Likewise.
32924         (__mpn_rshift): Do not use BP_SYM.
32925         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32926         "bp-asm.h".
32927         (PARMS): Do not use macros from bp-asm.h.
32928         (STR): Likewise.
32929         (CHR): Likewise.
32930         (strchr): Likewise.  Do not use BP_SYM.
32931         (index): Do not use BP_SYM in weak_alias.
32932         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32933         "bp-asm.h".
32934         (PARMS): Do not use macros from bp-asm.h.
32935         (DEST): Likewise.
32936         (SRC): Likewise.
32937         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32938         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32939         "bp-asm.h".
32940         (PARMS): Do not use macros from bp-asm.h.
32941         (strlen): Do not use BP_SYM.
32942         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32943         "bp-asm.h".
32944         (PARMS): Do not use macros from bp-asm.h.
32945         (S1): Likewise.
32946         (S2): Likewise.
32947         (SIZE): Likewise.
32948         (__mpn_sub_n): Do not use BP_SYM.
32949         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32950         "bp-asm.h".
32951         (PARMS): Do not use macros from bp-asm.h.
32952         (S1): Likewise.
32953         (SIZE): Likewise.
32954         (__mpn_submul_1): Do not use BP_SYM.
32955         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32956         "bp-asm.h".
32957         (PARMS): Do not use macros from bp-asm.h.
32958         (S1): Likewise.
32959         (S2): Likewise.
32960         (SIZE): Likewise.
32961         (__mpn_add_n): Do not use BP_SYM.
32962         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32963         weak_alias.
32964         (bzero): Likewise.
32965         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32966         "bp-asm.h".
32967         (PARMS): Do not use macros from bp-asm.h.
32968         (BLK2): Likewise.
32969         (LEN): Likewise.
32970         (memcmp): Do not use BP_SYM.
32971         (bcmp): Do not use BP_SYM in weak_alias.
32972         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32973         "bp-asm.h".
32974         (PARMS): Do not use macros from bp-asm.h.
32975         (DEST): Likewise.
32976         (SRC): Likewise.
32977         (LEN): Likewise.
32978         (memcpy): Likewise.  Do not use BP_SYM.
32979         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32980         "bp-asm.h".
32981         (PARMS): Do not use macros from bp-asm.h.
32982         (DEST): Likewise.
32983         (SRC): Likewise.
32984         (LEN): Likewise.
32985         (memmove): Likewise.  Do not use BP_SYM.
32986         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32987         "bp-asm.h".
32988         (PARMS): Do not use macros from bp-asm.h.
32989         (DEST): Likewise.
32990         (SRC): Likewise.
32991         (LEN): Likewise.
32992         (__mempcpy): Likewise.  Do not use BP_SYM.
32993         (mempcpy): Do not use BP_SYM in weak_alias.
32994         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32995         "bp-asm.h".
32996         (PARMS): Do not use macros from bp-asm.h.
32997         (DEST): Likewise.
32998         (LEN): Likewise.
32999         [!BZERO_P] (CHR): Likewise.
33000         (memset): Likewise.  Do not use BP_SYM.
33001         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33002         "bp-asm.h".
33003         (PARMS): Do not use macros from bp-asm.h.
33004         (STR2): Likewise.
33005         (strcmp): Do not use BP_SYM.
33006         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33007         "bp-asm.h".
33008         (PARMS): Do not use macros from bp-asm.h.
33009         (STR): Likewise.
33010         (DELIM): Likewise.
33011         [USE_AS_STRTOK_R] (SAVE): Likewise.
33012         (FUNCTION): Likewise.  Do not use BP_SYM.
33013         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33014         aliases.
33015         (strtok_r): Likewise.
33016         (__GI___strtok_r): Likewise.
33017         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33018         (PARMS): Do not use macros from bp-asm.h.
33019         (S): Likewise.
33020         (SIZE): Likewise.
33021         (__mpn_lshift): Do not use BP_SYM.
33022         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33023         (PARMS): Do not use macros from bp-asm.h.
33024         (STR): Likewise.
33025         (CHR): Likewise.
33026         (__memchr): Do not use BP_SYM.
33027         (memchr): Do not use BP_SYM in weak_alias.
33028         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33029         (PARMS): Do not use macros from bp-asm.h.
33030         (BLK2): Likewise.
33031         (LEN): Likewise.
33032         (memcmp): Do not use BP_SYM.
33033         (bcmp): Do not use BP_SYM in weak_alias.
33034         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33035         (PARMS): Do not use macros from bp-asm.h.
33036         (S1): Likewise.
33037         (SIZE): Likewise.
33038         (__mpn_mul_1): Do not use BP_SYM.
33039         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33040         "bp-asm.h".
33041         (PARMS): Do not use macros from bp-asm.h.
33042         (STR): Likewise.
33043         (CHR): Likewise.
33044         (__rawmemchr): Do not use BP_SYM.
33045         (rawmemchr): Do not use BP_SYM in weak_alias.
33046         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33047         (PARMS): Do not use macros from bp-asm.h.
33048         (S): Likewise.
33049         (SIZE): Likewise.
33050         (__mpn_rshift): Do not use BP_SYM.
33051         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33052         (PARMS): Do not use macros from bp-asm.h.
33053         (SIGMSK): Likewise.
33054         (__sigsetjmp): Likewise.  Do not use BP_SYM.
33055         * sysdeps/i386/start.S: Do not include "bp-sym.h".
33056         (_start): Do not use BP_SYM.
33057         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33058         (PARMS): Do not use macros from bp-asm.h.
33059         (DEST): Likewise.
33060         (SRC): Likewise.
33061         (__stpcpy): Likewise.  Do not use BP_SYM.
33062         (stpcpy): Do not use BP_SYM in weak_alias.
33063         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33064         "bp-asm.h".
33065         (PARMS): Do not use macros from bp-asm.h.
33066         (DEST): Likewise.
33067         (SRC): Likewise.
33068         (LEN): Likewise.
33069         (__stpncpy): Likewise.  Do not use BP_SYM.
33070         (stpncpy): Do not use BP_SYM in weak_alias.
33071         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33072         (PARMS): Do not use macros from bp-asm.h.
33073         (STR): Likewise.
33074         (CHR): Likewise.
33075         (strchr): Likewise.  Do not use BP_SYM.
33076         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33077         "bp-asm.h".
33078         (PARMS): Do not use macros from bp-asm.h.
33079         (STR): Likewise.
33080         (CHR): Likewise.
33081         (__strchrnul): Likewise.  Do not use BP_SYM.
33082         (strchrnul): Do not use BP_SYM in weak_alias.
33083         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33084         "bp-asm.h".
33085         (PARMS): Do not use macros from bp-asm.h.
33086         (STOP): Likewise.
33087         (strcspn): Do not use BP_SYM.
33088         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33089         "bp-asm.h".
33090         (PARMS): Do not use macros from bp-asm.h.
33091         (STR): Likewise.
33092         (STOP): Likewise.
33093         (strpbrk): Likewise.  Do not use BP_SYM.
33094         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33095         "bp-asm.h".
33096         (PARMS): Do not use macros from bp-asm.h.
33097         (STR): Likewise.
33098         (CHR): Likewise.
33099         (strrchr): Likewise.  Do not use BP_SYM.
33100         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33101         (PARMS): Do not use macros from bp-asm.h.
33102         (SKIP): Likewise.
33103         (strspn): Do not use BP_SYM.
33104         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33105         (PARMS): Do not use macros from bp-asm.h.
33106         (STR): Likewise.
33107         (DELIM): Likewise.
33108         (SAVE): Likewise.
33109         (FUNCTION): Likewise.  Do not use BP_SYM.
33110         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33111         aliases.
33112         (strtok_r): Likewise.
33113         (__GI___strtok_r): Likewise.
33114         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33115         (PARMS): Do not use macros from bp-asm.h.
33116         (S1): Likewise.
33117         (S2): Likewise.
33118         (SIZE): Likewise.
33119         (__mpn_sub_n): Do not use BP_SYM.
33120         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33121         "bp-asm.h".
33122         (PARMS): Do not use macros from bp-asm.h.
33123         (S1): Likewise.
33124         (SIZE): Likewise.
33125         (__mpn_submul_1): Do not use BP_SYM.
33126         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33127         <bp-sym.h>.
33128         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33129         and <bp-asm.h>.
33130         (PARMS): Do not use macros from bp-asm.h.
33131         (FLAGS): Likewise.
33132         (PTID): Likewise.
33133         (TLS): Likewise.
33134         (CTID): Likewise.
33135         (__clone): Do not use BP_SYM.
33136         (clone): Do not use BP_SYM in weak_alias.
33137         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33138         and <bp-asm.h>.
33139         (PARMS): Do not use macros from bp-asm.h.
33140         (LEN): Likewise.
33141         (__mmap64): Do not use BP_SYM.
33142         (mmap64): Do not use BP_SYM in weak_alias.
33143         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33144         <bp-sym.h> and <bp-asm.h>.
33145         (PARMS): Do not use macros from bp-asm.h.
33146         (__posix_fadvise64_l64): Do not use BP_SYM.
33147         * sysdeps/unix/sysv/linux/i386/semtimedop.S
33148         (PARMS): Do not use macros from bp-asm.h.
33149         (NSOPS): Likewise.
33150         (semtimedop): Do not use BP_SYM.
33151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33152         and <bp-asm.h>.
33154 2013-02-21  Allan McRae  <allan@archlinux.org>
33156         * manual/message.texi (Charset conversion in gettext):
33157         Move @end statement to beginning of line.
33159 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33162         static.
33163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33164         Likewise.
33166         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33167         (denorm): Likewise.
33168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33171 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33173         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33174         tail-call to the resolved function if pltexit isn't needed.
33176 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33179         or Y being zero as being unlikely.
33180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33181         Likewise.
33183 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
33185         * manual/nss.texi (System Databases and Name Service Switch):
33186         Remove frobnicate @pxref.
33188 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33190         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33191         __attribute__ ((unused)) to __attribute__ ((__unused__)).
33193 2013-02-20  Petr Machata  <pmachata@redhat.com>
33195         * elf/elf.h (R_ARM_TARGET1): New macro.
33196         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33197         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33198         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33199         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33200         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33201         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33202         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33203         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33204         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33205         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33206         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33207         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33208         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33209         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33210         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33211         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33212         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33213         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33214         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33215         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33216         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33217         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33218         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33219         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33220         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33221         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33222         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33223         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33224         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33225         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33226         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33227         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33228         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33229         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33230         (R_ARM_THM_GOT_BREL12): Likewise.
33231         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33232         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33233         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33234         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33235         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33236         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33237         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33238         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33239         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33241 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33243         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33244         __attribute_used__ to __attribute__ ((unused)).
33246 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33248         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33249         powerpc mpa.c.
33250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33251         comment formatting.
33252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33254 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
33256         [BZ #13550]
33257         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33258         Remove macro.
33259         (ENTER): Remove both macro definitions.
33260         (LEAVE): Likewise.
33261         (CHECK_BOUNDS_LOW): Likewise.
33262         (CHECK_BOUNDS_HIGH): Likewise.
33263         (CHECK_BOUNDS_BOTH): Likewise.
33264         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33265         (RETURN_BOUNDED_POINTER): Likewise.
33266         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33267         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33268         (POP_ERRNO_LOCATION_RETURN): Likewise.
33269         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33270         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33271         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33272         macros.
33273         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33274         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33275         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33276         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33277         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33278         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33279         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33280         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33281         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33282         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33283         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33284         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33285         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33286         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33287         removed macros.
33288         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33289         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33290         macros.
33291         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33292         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33293         * sysdeps/i386/i586/memset.S (memset): Likewise.
33294         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33295         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33296         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33297         macros.
33298         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33299         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33300         Change uses of L(2) to L(out).
33301         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33302         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33303         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33304         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33305         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33306         removed macros.
33307         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33308         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33309         macros.
33310         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33311         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33312         (RETURN): Do not use macro LEAVE.
33313         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33314         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33315         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33316         * sysdeps/i386/i686/memset.S (memset): Likewise.
33317         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33318         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33319         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33320         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33321         Likewise.
33322         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33323         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
33324         L(1_2) and L(1_3) into L(1).
33325         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33326         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33327         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33328         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33329         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33330         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33331         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33332         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33333         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33334         macros.
33335         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33336         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33337         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33338         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33339         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33340         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33341         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33342         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33343         * sysdeps/i386/strcspn.S (strcspn): Likewise.
33344         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33345         * sysdeps/i386/strrchr.S (strrchr): Likewise.
33346         * sysdeps/i386/strspn.S (strspn): Likewise.
33347         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33348         conditional code.
33349         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33350         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33351         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33352         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
33353         L(1_3) into L(1_1).
33354         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33355         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33356         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33357         macros.
33358         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33360 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
33362         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33363         macro.
33365 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33367         * math/atest-exp.c (exp_mpn): Remove ROUND.
33368         * math/atest-exp2.c (exp_mpn): Likewise.
33369         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33371         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33372         * stdlib/tst-tls-atexit-lib.c: Likewise.
33373         * stdlib/tst-tls-atexit.c: Likewise.
33375 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33377         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33378         and __attribute_alloc_size__.
33380 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33382         * include/programs/xmalloc.h: Change __attribute_alloc_size to
33383         __attribute_alloc_size__.
33384         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33385         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33387 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33389         * include/programs/xmalloc.h: New file.
33390         * catgets/gencat.c: Include it.
33391         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33392         * elf/pldd.c: Likewise.
33393         * iconv/iconv_charmap.c: Likewise.
33394         * iconv/iconvconfig.c: Likewise.
33395         * iconv/strtab.c: Likewise.
33396         * locale/programs/locale.c: Likewise.
33397         * locale/programs/localedef.h: Likewise.
33398         * locale/programs/simple-hash.c: Likewise.
33399         * nscd/nscd.h: Likewise.
33400         * nss/makedb.c: Likewise.
33401         * sysdeps/generic/ldconfig.h: Likewise.
33403 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33405         * Versions.def: Add GLIBC_2.18.
33406         * include/link.h (struct link_map): New member l_tls_dtor_count.
33407         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33408         (__call_tls_dtors): Likewise.
33409         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33410         __cxa_thread_atexit_impl.
33411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33412         Likewise.
33413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33414         Likewise.
33415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33416         Likewise.
33417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33418         Likewise.
33419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33421         Likewise.
33422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33423         Likewise.
33424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33426         Likewise.
33427         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33428         (tests): Add test case tst-tls-atexit.
33429         (modules-names): Add shared library for tst-tls-atexit.
33430         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33431         (GLIBC_PRIVATE): Add __call_tls_dtors.
33432         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33433         for libstdc++.
33434         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33435         * stdlib/tst-tls-atexit.c: New test case.
33436         * stdlib/tst-tls-atexit-lib.c: New test case.
33438         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33440         * elf/Versions (ld): Add _dl_find_dso_for_object.
33441         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33442         * elf/dl-open.c (_dl_find_dso_for_object): New function.
33443         (dl_open_worker): Use _dl_find_dso_for_object.
33444         * elf/dl-sym.c (do_sym): Likewise.
33445         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33447 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33449         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33450         Syntactic changes only.
33451         (_dl_runtime_profile): Do a tail-call to the resolved function.
33453 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
33455         [BZ #13550]
33456         * sysdeps/x86_64/bp-asm.h: Remove file.
33457         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33458         <bp-sym.h> and <bp-asm.h>.
33459         (__clone): Do not use BP_SYM.
33460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33461         <bp-sym.h> and <bp-asm.h>.
33462         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33463         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33464         "bp-asm.h".
33465         (_setjmp): Do not use BP_SYM.
33466         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33467         "bp-asm.h".
33468         (setjmp): Do not use BP_SYM.
33469         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33470         libc_hidden_def.
33471         (mempcpy): Do not use BP_SYM in weak_alias.
33472         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33473         "bp-asm.h".
33474         (strchr): Do not use BP_SYM.
33475         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33476         "bp-asm.h".
33477         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33478         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33479         (_start): Do not use BP_SYM.
33480         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33481         "bp-asm.h".
33482         (strcat): Do not use BP_SYM.
33483         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33484         "bp-asm.h".
33485         (STRCMP): Do not use BP_SYM.
33486         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33487         "bp-asm.h".
33488         (STRCPY): Do not use BP_SYM.
33489         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33490         "bp-asm.h".
33491         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33492         "bp-asm.h".
33493         (FUNCTION): Do not use BP_SYM.
33494         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33495         weak_alias.
33496         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33498 2013-02-17  Andreas Jaeger  <aj@suse.de>
33500         * time/Versions: Sort entries.
33501         * string/Versions: Likewise.
33502         * resolv/Versions: Likewise.
33503         * posix/Versions: Likewise.
33504         * iconv/Versions: Likewise.
33505         * elf/Versions: Likewise.
33506         * wcsmbs/Versions: Likewise.
33508 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33510         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33511         loop termination condition.
33513         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33514         variable to calculate EZ.
33515         (__sqr): Likewise.
33517         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33518         the lower precision input.
33520 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
33522         [BZ #13550]
33523         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33524         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33525         (run-via-rtld-prefix): Do not handle %-bp tests.
33526         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33527         (all-object-suffixes): Remove .ob.
33528         (bppfx): Remove variable.
33529         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33530         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33531         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33532         [$(build-bounded) = yes] (libtype.ob): Likewise.
33533         * Makerules (elide-routines.ob): Remove variable.
33534         (do-tests-clean): Do not handle *-bp.out.
33535         (common-mostlyclean): Do not handle *-bp and *-bp.out.
33536         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33537         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33538         (tests): Do not include $(tests-bp.out).
33539         (xtests): Do not include $(xtests-bp.out).
33540         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33541         [$(build-bounded) = yes] ($(addprefix
33542         $(objpfx),$(binaries-bounded))): Remove rule.
33543         ($(objpfx)%-bp.out): Remove rule.
33544         * config.make.in (build-bounded): Remove variable.
33545         * crypt/Makefile [$(build-bounded) = yes]
33546         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33547         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33548         append to variable.
33549         [$(build-bounded) = yes] (install-lib): Likewise.
33550         [$(build-bounded) = yes] (generated): Likewise.
33551         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33552         Remove rule.
33553         * intl/Makefile [$(build-bounded) = yes]
33554         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33555         * math/Makefile [$(build-bounded) = yes]
33556         ($(tests:%=$(objpfx)%-bp): Likewise.
33557         * misc/Makefile [$(build-bounded) = yes]
33558         ($(objpfx)tst-tsearch-bp): Likewise.
33559         * nptl/Makeconfig (bounded-thread-library): Remove variable.
33560         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33561         Remove dependency.
33562         * string/Makefile (o-objects.ob): Remove variable.
33563         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33564         (CFLAGS-.ob): Remove variable.
33565         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33566         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33567         both definitions of variable.
33568         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33569         (ASFLAGS-.ob): Remove variable.
33571 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
33573         [BZ #13550]
33574         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33575         Remove __BOUNDED_POINTERS__ from condition.
33576         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33577         * string/bits/string2.h [!__NO_STRING_INLINES &&
33578         !__BOUNDED_POINTERS__]: Likewise.
33579         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33580         Likewise.
33581         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33582         Remove conditional code.
33583         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33584         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33585         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33586         condition.
33588         [BZ #13550]
33589         * csu/libc-start.c: Do not include <bp-sym.h>.
33590         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33591         * elf/dl-open.c: Do not include <bp-sym.h>.
33592         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33593         * math/fegetenv.c: Do not include <bp-sym.h>.
33594         (fegetenv): Do not use BP_SYM in versioned symbols.
33595         * nptl/sysdeps/pthread/bits/libc-lockP.h
33596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33597         <bp-sym.h>.
33598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33599         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33601         (__pthread_mutex_destroy): Likewise.
33602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33603         (__pthread_mutex_lock): Likewise.
33604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33605         (__pthread_mutex_trylock): Likewise.
33606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33607         (__pthread_mutex_unlock): Likewise.
33608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33609         (__pthread_mutexattr_init): Likewise.
33610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33611         (__pthread_mutexattr_destroy): Likewise.
33612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33613         (__pthread_mutexattr_settype): Likewise.
33614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33615         (__pthread_rwlock_init): Likewise.
33616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33617         (__pthread_rwlock_destroy): Likewise.
33618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33619         (__pthread_rwlock_rdlock): Likewise.
33620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33621         (__pthread_rwlock_tryrdlock): Likewise.
33622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33623         (__pthread_rwlock_wrlock): Likewise.
33624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33625         (__pthread_rwlock_trywrlock): Likewise.
33626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33627         (__pthread_rwlock_unlock): Likewise.
33628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33629         (__pthread_key_create): Likewise.
33630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33631         (__pthread_setspecific): Likewise.
33632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33633         (__pthread_getspecific): Likewise.
33634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33635         Likewise.
33636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33637         (_pthread_cleanup_push_defer): Likewise.
33638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33639         (_pthread_cleanup_pop_restore): Likewise.
33640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33641         (pthread_setcancelstate): Likewise.
33642         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33643         <bp-sym.h>.
33644         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33645         (memchr): Do not use BP_SYM in weak_alias.
33646         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33647         (fegetenv): Do not use BP_SYM in versioned symbols.
33648         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33649         (fesetenv): Do not use BP_SYM in versioned symbols.
33650         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33651         (feupdateenv): Do not use BP_SYM in versioned symbols.
33652         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33653         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33654         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33655         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33656         (open64): Do not use BP_SYM in weak_alias.
33657         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33658         (fegetenv): Do not use BP_SYM in versioned symbols.
33659         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33660         (fesetenv): Do not use BP_SYM in versioned symbols.
33661         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33662         (feupdateenv): Do not use BP_SYM in versioned symbols.
33663         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33664         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33665         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33666         (feraiseexcept): Do not use BP_SYM in versioned symbols.
33667         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33668         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33669         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33670         <bp-sym.h>.
33671         (__libc_start_main): Do not use BP_SYM.
33673 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33676         redundant return line.
33677         (norm): Likewise.
33678         (denorm): Likewise.
33679         (dbl_mp): Likewise.
33680         (sub_magnitudes): Likewise.
33681         (__add): Likewise.
33682         (__sub): Likewise.
33683         (__mul): Likewise.
33684         (__inv): Likewise.
33685         (__dvd): Likewise.
33686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33687         (norm): Likewise.
33688         (denorm): Likewise.
33689         (dbl_mp): Likewise.
33690         (sub_magnitudes): Likewise.
33691         (__add): Likewise.
33692         (__sub): Likewise.
33693         (__mul): Likewise.
33694         (__inv): Likewise.
33695         (__dvd): Likewise.
33697         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33698         instead of __mul.
33699         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33700         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33701         (cc32): Likewise.
33703         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33704         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33706         of __mul for squares.
33707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33708         function
33709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33710         Likewise.
33711         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33712         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33714 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
33716         [BZ #13550]
33717         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33718         code.
33719         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33720         prototype or function definition.  Rename ubp_* variables and
33721         parameters.  Remove argv definitions conditional on
33722         [__BOUNDED_POINTERS__].
33723         * debug/backtrace.c (__backtrace): Do not use __unbounded.
33724         * elf/dl-runtime.c (_dl_fixup): Likewise.
33725         * include/set-hooks.h (RUN_HOOK): Likewise.
33726         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33727         definition.
33728         * string/strcpy.c (strcpy): Do not use __unbounded.
33729         * sysdeps/generic/frame.h (struct layout): Likewise.
33730         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33731         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33732         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33733         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33734         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33735         (__backtrace): Likewise.
33736         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33737         use __ptrvalue.
33738         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33739         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33740         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33741         Likewise.
33742         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33743         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33744         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33745         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33746         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33747         Do not use __unbounded.
33748         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33749         Rename __unboundedrlimits parameter to rlimits in prototype.
33750         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33751         Do not use __unbounded.
33752         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33753         not use __ptrvalue.
33754         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33755         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33756         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33757         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33758         __ptrvalue or __unbounded.
33759         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33760         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33761         use __unbounded.
33762         (__new_msgctl): Do not use __ptrvalue.
33763         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33764         __unbounded.
33765         (__libc_msgrcv): Do not use __ptrvalue.
33766         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33767         startup_info): Do not use __unbounded.
33768         (__libc_start_main): Likewise.  Rename ubp_* variables and
33769         parameters.  Remove argv definitions conditional on
33770         [__BOUNDED_POINTERS__].
33771         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33772         __ptrvalue.
33773         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33774         use __unbounded.
33775         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33776         or __ptrvalue.
33777         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33778         use __unbounded.
33779         (__new_shmctl): Do not use __ptrvalue.
33780         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33781         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33782         Likewise.
33783         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33785         (__libc_sigaction): Likewise.
33786         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33787         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33788         Likewise.
33789         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33791 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
33793         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33795         * string/mempcpy.c: Implement by calling memcpy.
33797 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33802         evaluation.
33804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33805         values in the mantissa.
33807         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33808         minimize writes to Z.
33809         (sub_magnitudes): Simplify code a bit.
33811 2013-02-12  Roland McGrath  <roland@hack.frob.com>
33813         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33814         from the message.  The linker prefixes all warnings with that already.
33816 2013-02-12  Andreas Schwab  <schwab@suse.de>
33818         [BZ #15078]
33819         * posix/regexec.c (extend_buffers): Add parameter min_len.
33820         (check_matching): Pass minimum needed length.
33821         (clean_state_log_if_needed): Likewise.
33822         (get_subexp): Likewise.
33823         * posix/Makefile (tests): Add bug-regex34.
33824         (bug-regex34-ENV): Define.
33825         * posix/bug-regex34.c: New file.
33827         [BZ #11561]
33828         * posix/regcomp.c (parse_bracket_exp): When looking up collating
33829         elements compare against the byte sequence of it, not its name.
33830         * posix/Makefile (tests): Add bug-regex35.
33831         (bug-regex35-ENV): Define.
33832         * posix/bug-regex35.c: New file.
33834 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33836         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
33837         comment.
33838         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33839         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33840         (CHECK_EOL): Add undef.
33842 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
33844         * bits/stdlib-bsearch.h: New file.
33845         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33846         * stdlib/stdlib.h: Likewise.
33848 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33850         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33851         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33852         declaration.
33853         * manual/search.texi (Array Search Function): Add missing const in
33854         lfind prototype.
33855         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33856         declaration to use rlim_t.
33857         (Basic Scheduling Functions): Remove erroneous const from
33858         sched_getparam prototype.  Remove erroneous * from
33859         sched_get_priority_max and sched_get_priority_min prototypes.
33860         (Resource Usage): Fix summary @comment on vtimes to refer to
33861         sys/vtimes.h rather than vtimes.h.
33862         Add missing *s in vtimes prototype.
33863         (Limits on Resources): Fix ulimit prototype to return long int.
33864         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33865         prototypes to use long int rather than double.
33866         (BSD Random): Fix initstate and setstate to use char *, not void *.
33867         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33868         prototype to make second argument 'struct aiocb64 *const[]'.
33869         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33870         (Status of AIO Operations): Remove erroneous const in aio_return and
33871         aio_return64 prototypes.
33872         (Synchronizing I/O): Fix sync prototype to return void.
33873         * manual/startup.texi (Suboptions): Remove an erroneous const in
33874         getsubopt prototype.
33875         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33876         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33877         use size_t rather than int.
33878         (Scanning All Users): Likewise for getpwent_r.
33879         (Setting Groups): Add missing const to setgroups prototype.
33880         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33881         * manual/socket.texi (Host Names): Fix gethostbyaddr and
33882         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33883         'const void *' rather than 'const char *'.
33884         (Host Address Functions): Likewise for inet_ntop.
33885         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33886         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33887         ssize_t for return value.
33888         (Sending Data): Likewise for send, sendto, sendmsg.
33889         (Socket Option Functions): Add a missing const in setsockopt prototype.
33890         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33891         use wchar_t for the argument.
33892         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33893         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33894         take no arguments.
33895         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33896         double/float/long double for second argument.
33897         Fix return types of significand, significandf, significandl.
33898         * manual/filesys.texi (Setting Permissions): Use mode_t for second
33899         argument in fchmod prototype.
33900         (File Owner): Use uid_t and gid_t in fchown prototype.
33901         (File Times): Add const to utimes, futimes, and lutimes prototypes.
33902         (Making Special Files): Use mode_t and dev_t in mknod prototype.
33903         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33904         use 'const struct dirent **' as argument types to CMP function pointer
33905         argument.
33906         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33907         (File Times): Fix summary magic @comment for struct utimbuf and utime
33908         to refer to utime.h, not time.h.
33909         * manual/string.texi (Argz Functions): Add missing const in
33910         argz_extract and argz_next prototypes.
33911         (Finding Tokens in a String): Likewise for basename.
33912         (String/Array Comparison): Fix typo in wcscasecmp prototype.
33913         (Copying and Concatenation): Fix typo in wmemmove prototype.
33914         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33915         (Signal Stack): Remove erroneous const in sigstack prototype.
33916         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33917         prototype.
33918         (Simple Calendar Time): Likewise for stime.
33919         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33920         prototype.
33921         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33922         say sys/sysctl.h instead.
33923         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33924         and vsyslog prototypes.
33926 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33928         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33929         Remove.
33931 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33933         * misc/sys/mman.h: Fix typo in mremap comment.
33935 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33937         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33938         the '\0' terminator.
33940 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33942         [BZ #13550]
33943         * debug/segfault.c: Don't include <bp-checks.h>.
33944         * sysdeps/generic/bp-checks.h: Remove file.
33945         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33946         (__GETDENTS): Don't use CHECK_N.
33947         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33948         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33949         (__getgroups): Don't use CHECK_N.
33950         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33951         (setgroups): Don't use CHECK_N.
33952         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33953         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33954         (__libc_msgrcv): Don't use CHECK_N.
33955         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33956         (__libc_msgsnd): Don't use CHECK_N.
33957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33958         <bp-checks.h>.
33959         (__libc_pread): Don't use CHECK_N.
33960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33961         include <bp-checks.h>.
33962         (__libc_pread64): Don't use CHECK_N.
33963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33964         include <bp-checks.h>.
33965         (__libc_pwrite): Don't use CHECK_N.
33966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33967         include <bp-checks.h>.
33968         (__libc_pwrite64): Don't use CHECK_N.
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33970         <bp-checks.h>.
33971         (__libc_pread): Don't use CHECK_N.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33973         include <bp-checks.h>.
33974         (__libc_pread64): Don't use CHECK_N.
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33976         include <bp-checks.h>.
33977         (__libc_pwrite): Don't use CHECK_N.
33978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33979         include <bp-checks.h>.
33980         (__libc_pwrite64): Don't use CHECK_N.
33981         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33982         (do_pread): Don't use CHECK_N.
33983         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33984         (do_pread64): Don't use CHECK_N.
33985         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33986         (do_pwrite): Don't use CHECK_N.
33987         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33988         (do_pwrite64): Don't use CHECK_N.
33989         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33990         (__libc_readv): Don't use CHECK_N.
33991         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33992         (semop): Don't use CHECK_N.
33993         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33994         <bp-checks.h>.
33995         (semtimedop): Don't use CHECK_N.
33996         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33997         (__libc_pread): Don't use CHECK_N.
33998         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33999         <bp-checks.h>.
34000         (__libc_pread64): Don't use CHECK_N.
34001         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34002         <bp-checks.h>.
34003         (__libc_pwrite): Don't use CHECK_N.
34004         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34005         <bp-checks.h>.
34006         (__libc_pwrite64): Don't use CHECK_N.
34007         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34008         <bp-checks.h>.
34009         (__libc_msgrcv): Don't use CHECK_N.
34010         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34011         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
34012         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34013         (__libc_writev): Don't use CHECK_N.
34015 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34017         * string/strcpy.c: Removed unused variable.
34019         * Makeconfig (+sysdep-includes): Define with := rather than =.
34020         Use an existing include/ subdir of each sysdeps dir before it.
34022 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34024         * nscd/connection.c (register_traced_file): Comment function.
34025         [HAVE_INOTIFY] (union __inev): Define.
34026         [HAVE_INOTIFY] (inotify_check_files): New function.
34027         [HAVE_INOTIFY] (clear_db_cache): Likewise.
34028         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34029         clear_db_cache.
34030         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34032 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34034         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34035         loaded if not already and that a failure is permanent.
34037 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34039         [BZ #15006]
34040         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34041         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34043 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34045         [BZ #13550]
34046         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34047         (CHECK_1_NULL_OK): Likewise.
34048         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34049         (__fxstat): Do not use CHECK_1.
34050         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34051         <bp-checks.h>.
34052         (___fxstat64): Do not use CHECK_1.
34053         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34054         <bp-checks.h>.
34055         (__fxstatat): Do not use CHECK_1.
34056         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34057         <bp-checks.h>.
34058         (__fxstatat64): Do not use CHECK_1.
34059         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34060         <bp-checks.h>.
34061         (__fxstat): Do not use CHECK_1.
34062         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34063         <bp-checks.h>.
34064         (__fxstatat): Do not use CHECK_1.
34065         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34066         <bp-checks.h>.
34067         (__getresgid): Do not use CHECK_1.
34068         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34069         <bp-checks.h>.
34070         (__getresuid): Do not use CHECK_1.
34071         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34072         <bp-checks.h>.
34073         (__lxstat): Do not use CHECK_1.
34074         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34075         <bp-checks.h>.
34076         (__old_msgctl): Do not use CHECK_1.
34077         (__new_msgctl): Likewise.
34078         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34079         <bp-checks.h>.
34080         (__new_setrlimit): Do not use CHECK_1.
34081         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34082         <bp-checks.h>.
34083         (__old_shmctl): Do not use CHECK_1.
34084         (__new_shmctl): Likewise.
34085         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34086         <bp-checks.h>.
34087         (__xstat): Do not use CHECK_1.
34088         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34089         (__lxstat): Do not use CHECK_1.
34090         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34091         <bp-checks.h>.
34092         (___lxstat64): Do not use CHECK_1.
34093         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34094         (__old_msgctl): Do not use CHECK_1.
34095         (__new_msgctl): Likewise.
34096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34097         <bp-checks.h>.
34098         (__gettimeofday): Do not use CHECK_1.
34099         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34100         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34101         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34102         <bp-checks.h>.
34103         (__gettimeofday): Do not use CHECK_1.
34104         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34105         (__old_shmctl): Do not use CHECK_1_NULL_OK.
34106         (__new_shmctl): Do not use CHECK_1.
34107         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34108         <bp-checks.h>.
34109         (do_sigtimedwait): Do not use CHECK_1.
34110         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34111         <bp-checks.h>.
34112         (do_sigwaitinfo): Do not use CHECK_1.
34113         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34114         <bp-checks.h>.
34115         (msgctl): Do not use CHECK_1.
34116         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34117         <bp-checks.h>.
34118         (shmctl): Do not use CHECK_1.
34119         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34120         (ustat): Do not use CHECK_1.
34121         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34122         <bp-checks.h>.
34123         (__fxstat): Do not use CHECK_1.
34124         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34125         <bp-checks.h>.
34126         (__fxstatat): Do not use CHECK_1.
34127         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34128         <bp-checks.h>.
34129         (__lxstat): Do not use CHECK_1.
34130         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34131         <bp-checks.h>.
34132         (__xstat): Do not use CHECK_1.
34133         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34134         (__xstat): Do not use CHECK_1.
34135         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34136         (___xstat64): Do not use CHECK_1.
34138         [BZ #13550]
34139         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34140         definitions.
34141         (CHECK_BOUNDS_HIGH): Likewise.
34142         * string/strcpy.c: Do not include <bp-checks.h>.
34143         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34145 2013-02-07  Roland McGrath  <roland@hack.frob.com>
34147         * nscd/nscd-client.h (__nscd_drop_map_ref):
34148         Add __attribute__ ((unused)).
34149         * nis/nss-nisplus.h (niserr2nss): Likewise.
34151         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34152         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34154         * csu/libc-tls.c (init_static_tls, init_slotinfo):
34155         Remove inline keyword.
34156         * include/rounding-mode.h (round_away): Likewise.
34157         * libio/wfileops.c (adjust_wide_data): Likewise.
34158         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34159         (__m128i_strloadu_tolower): Likewise.
34160         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34161         (__m128i_strloadu_tolower): Likewise.
34162         * time/mktime.c (ydhms_diff): Likewise.
34163         * locale/elem-hash.h (elem_hash): Likewise.
34164         * locale/setlocale.c (setdata): Likewise.
34165         * posix/regex_internal.h (re_string_char_size_at): Likewise.
34166         (re_string_wchar_at): Likewise.
34167         (bitset_not, bitset_merge, bitset_mask): Likewise.
34168         [!(__GNUC__ > 3)] (inline): Remove macro.
34169         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34170         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34171         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34172         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34173         * string/memcmp.c (memcmp_bytes): Likewise.
34174         * locale/programs/locarchive.c (compute_hashval): Likewise.
34175         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34176         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34177         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34178         * nss/getent.c (print_rpc, print_protocols): Likewise.
34179         (print_passwd, print_group, print_aliases): Likewise.
34180         * nis/nss-nisplus.h (niserr2nss): Likewise.
34181         * nscd/connections.c (restart_p): Likewise.
34182         Change return type to bool.
34184 2013-02-05  Roland McGrath  <roland@hack.frob.com>
34186         * Makeconfig (all-Depend-files): Add existing
34187         $(sorted-subdirs:=/Depend) files.
34188         (all-subdirs): Remove nss.
34189         * sysdeps/unix/inet/Subdirs: Add it here instead.
34190         * hesiod/Depend: New file.
34192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34193         instead of calling alloca.
34195         * io/lseek.c (__lseek): Rename to __libc_lseek.
34196         Define __lseek as an alias.
34198         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34200 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
34202         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34203         else clause and remove check for non-standard endianness.
34205 2013-02-04  David S. Miller  <davem@davemloft.net>
34207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34209 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
34211         [BZ #13550]
34212         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34213         (__ubp_memchr): Remove prototype.
34214         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34215         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34216         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34217         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34218         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34219         Remove alias.
34220         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34221         (__ubp_memchr): Likewise.
34222         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34223         (__ubp_memchr): Likewise.
34224         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34225         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34226         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34227         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34228         CHECK_STRING.
34229         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34230         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34231         (__getcwd): Do not use CHECK_STRING.
34232         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34233         <bp-checks.h>.
34234         (__real_chown): Do not use CHECK_STRING.
34235         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34236         <bp-checks.h>.
34237         (fchownat): Do not use CHECK_STRING.
34238         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34239         CHECK_STRING.
34240         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34241         <bp-checks.h>.
34242         (__lchown): Do not use CHECK_STRING.
34243         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34244         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34245         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34246         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34248         include <bp-checks.h>.
34249         (truncate64): Do not use CHECK_STRING.
34250         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34251         <bp-checks.h>.
34252         (__real_chown): Do not use CHECK_STRING.
34253         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34254         <bp-checks.h>.
34255         (__lchown): Do not use CHECK_STRING.
34256         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34257         <bp-checks.h>.
34258         (__chown): Do not use CHECK_STRING.
34259         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34260         <bp-checks.h>.
34261         (truncate64): Do not use CHECK_STRING.
34262         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34263         Likewise.
34264         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34265         (__xmknod): Do not use CHECK_STRING.
34266         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34267         <bp-checks.h>.
34268         (__xmknodat): Do not use CHECK_STRING.
34269         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34270         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34272 2013-02-04  Andreas Schwab  <schwab@suse.de>
34274         [BZ #14142]
34275         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34276         * include/netdb.h: Likewise for h_errno.
34277         * elf/tst-stackguard1.c: Include <tls.h>.
34279 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34281         * elf/link.h (struct link_map): Extend the l_addr comment.
34282         * include/link.h (struct link_map): Likewise.
34284 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34286         [BZ #13550]
34287         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34288         (BOUNDED_1): Remove macro.
34289         * debug/backtrace.c: Don't include <bp-checks.h>.
34290         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34291         (__backtrace): Likewise.
34292         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34293         <bp-checks.h>.
34294         (__backtrace): Don't use BOUNDED_1.
34295         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34296         <bp-checks.h>.
34297         (__backtrace): Don't use BOUNDED_1.
34298         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34299         (__backtrace): Don't use BOUNDED_1.
34300         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34301         (shmat): Don't use BOUNDED_N.
34303 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34305         [BZ #13550]
34306         * sysdeps/generic/bp-start.h: Remove file.
34307         * csu/libc-start.c: Don't include <bp-start.h>.
34308         (LIBC_START_MAIN): Set up __environ directly instead of using
34309         INIT_ARGV_and_ENVIRON.
34310         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34311         <bp-start.h>.
34313         [BZ #13550]
34314         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34315         definitions.
34316         (CHECK_FCNTL): Likewise.
34317         (CHECK_N_PAGES): Likewise.
34319         [BZ #13550]
34320         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34321         definitions.
34322         (CHECK_SIGSET_NULL_OK): Likewise.
34323         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34324         <bp-checks.h>.
34325         (sigpending): Don't use CHECK_SIGSET.
34326         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34327         <bp-checks.h>.
34328         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34329         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34330         <bp-checks.h>.
34331         (do_sigsuspend): Don't use CHECK_SIGSET.
34332         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34333         use CHECK_SIGSET.
34334         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34335         (do_sigwait): Don't use CHECK_SIGSET.
34336         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34337         use CHECK_SIGSET.
34338         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34339         include <bp-checks.h>.
34340         (sigpending): Don't use CHECK_SIGSET.
34341         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34342         include <bp-checks.h>.
34343         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34344         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34345         <bp-checks.h>.
34346         (sigpending): Don't use CHECK_SIGSET.
34347         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34348         <bp-checks.h>.
34349         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34351         [BZ #13550]
34352         * sysdeps/generic/bp-semctl.h: Remove file.
34353         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34354         <bp-checks.h> and <bp-semctl.h>.
34355         (__old_semctl): Don't use CHECK_SEMCTL.
34356         (__new_semctl): Likewise.
34357         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34358         and <bp-semctl.h>.
34359         (__old_semctl): Don't use CHECK_SEMCTL.
34360         (__new_semctl): Likewise.
34361         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34362         <bp-checks.h> and <bp-semctl.h>.
34363         (__old_semctl): Don't use CHECK_SEMCTL.
34364         (__new_semctl): Likewise.
34365         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34366         <bp-checks.h> and <bp-semctl.h>.
34367         (semctl): Don't use CHECK_SEMCTL.
34369         [BZ #13550]
34370         * Makerules (elide-bp-thunks): Remove variable.
34371         (elide-routines.oS): Don't use $(elide-bp-thunks).
34372         (elide-routines.os): Likewise.
34373         (elide-routines.o): Likewise.
34374         (elide-routines.op): Likewise.
34375         (elide-routines.og): Likewise.
34376         (objects): Don't use $(bp-thunks).
34377         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34378         include.
34379         (common-generated): Do not add s-proto-bp.d.
34380         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34381         (int): Likewise.
34382         (typ): Likewise.
34383         Do not generate makefile rules for bounded-pointer thunks.
34384         * sysdeps/generic/bp-thunks.h: Remove file.
34385         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34386         * sysdeps/unix/s-proto-bp.S: Likewise.
34388         [BZ #15062]
34389         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34390         parts of result separately when argument is not close to line from
34391         -i to i and one part of argument is small.
34392         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34393         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34394         * math/libm-test.inc (cacos_test): Add more tests.
34395         (casin_test): Likewise.
34396         (casinh_test): Likewise.
34397         * sysdeps/i386/fpu/libm-test-ulps: Update.
34398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400 2013-01-31  David S. Miller  <davem@davemloft.net>
34402         * po/de.po: Update from translation team.
34404 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
34406         * time/tzfile.c: Include stdint.h for SIZE_MAX.
34408 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
34410         * configure.in (_AC_PROG_CC_C89): New definition.
34411         * configure: Regenerate.
34413         * configure.in (AC_PROG_CPP): New definition.
34414         * configure: Regenerate.
34416 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34418         * debug/tst-backtrace.h: New file.
34419         * debug/tst-backtrace2.c: Include tst-backtrace.h.
34420         (ret): Remove variable.
34421         (x): Likewise.
34422         (FAIL): Remove macro.
34423         (NO_INLINE): Likewise.
34424         (fn1): Use match function instead of strstr.
34425         * debug/tst-backtrace3.c: Include tst-backtrace.h.
34426         (ret): Remove variable.
34427         (x): Likewise.
34428         (FAIL): Remove macro.
34429         (NO_INLINE): Likewise.
34430         (fn): Use match function instead of strstr.
34431         * debug/tst-backtrace4.c: Include tst-backtrace.h.
34432         (ret): Remove variable.
34433         (x): Likewise.
34434         (FAIL): Remove macro.
34435         (NO_INLINE): Likewise.
34436         (handle_signal): Use match function instead of strstr.
34437         * debug/tst-backtrace5.c: Include tst-backtrace.h.
34438         (ret): Remove variable.
34439         (x): Likewise.
34440         (FAIL): Remove macro.
34441         (NO_INLINE): Likewise.
34442         (handle_signal): Use match function instead of strstr.
34444 2013-01-23  Roland McGrath  <roland@hack.frob.com>
34446         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34448 2013-01-23  David S. Miller  <davem@davemloft.net>
34450         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34451         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34452         argument of CAS if possible.
34453         * sysdeps/sparc/sparc64/bits/atomic.h
34454         (__arch_compare_and_exchange_val_32_acq): Likewise.
34455         (__arch_compare_and_exchange_val_64_acq): Likewise.
34457 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
34459         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34460         * sysdeps/posix/ulimit.c: ... this.
34461         Include <limits.h>.
34462         * sysdeps/unix/bsd/ulimit.c: Remove file.
34464 2013-01-23  Adam Conrad  <adconrad@0c3.net>
34466         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34467         (LDFLAGS-tst-array5): Likewise.
34469 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34471         [BZ #15036]
34472         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34473         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34474         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34475         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34477 2013-01-21  David S. Miller  <davem@davemloft.net>
34479         * sysdeps/sparc/backtrace.c: New file.
34480         * sysdeps/sparc/sparc32/backtrace.h: New file.
34481         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34482         * sysdeps/sparc/sparc64/backtrace.h: New file.
34483         * sysdeps/sparc/sparc64/backtrace.c: Delete.
34484         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34485         -funwind-tables.
34487 2013-01-21  Andreas Schwab  <schwab@suse.de>
34489         [BZ #15020]
34490         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34491         closed its stdout.
34493 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
34495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34496         "mpa2.h".
34497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34499 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
34500             Mark Mitchell  <mark@codesourcery.com>
34501             Tom de Vries  <tom@codesourcery.com>
34502             Paul Pluzhnikov  <ppluzhnikov@google.com>
34504         * debug/tst-backtrace2.c: New file.
34505         * debug/tst-backtrace3.c: Likewise.
34506         * debug/tst-backtrace4.c: Likewise.
34507         * debug/tst-backtrace5.c: Likewise.
34508         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34509         (CFLAGS-tst-backtrace3.c): Likewise.
34510         (CFLAGS-tst-backtrace4.c): Likewise.
34511         (CFLAGS-tst-backtrace5.c): Likewise.
34512         (LDFLAGS-tst-backtrace2): Likewise.
34513         (LDFLAGS-tst-backtrace3): Likewise.
34514         (LDFLAGS-tst-backtrace4): Likewise.
34515         (LDFLAGS-tst-backtrace5): Likewise.
34516         (tests): Add new tests tst-backtrace2, tst-backtrace3,
34517         tst-backtrace4 and tst-backtrace5.
34519 2013-01-18  Anton Blanchard  <anton@samba.org>
34520             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34522         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34523         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34524         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34525         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34527         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34528         "+r" and remove output regs list as redundant.  Add explicit inline
34529         asm to specify register of return val to work around compiler codegen
34530         bug.  Remove (int) cast on return value.  Add return type parameter to
34531         use in macro so that this macro does not truncate return value for
34532         64-bit values.
34533         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34534         pass to INTERNAL_VSYSCALL_NCS.
34535         (INLINE_VSYSCALL): Add 'long int' as return type to
34536         INTERNAL_VSYSCALL_NCS macro invocation.
34537         (INTERNAL_VSYSCALL): Add 'long int' as return type to
34538         INTERNAL_VSYSCALL_NCS macro invocation.
34539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34541 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34543         [BZ #14496]
34544         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34545         Fix application of SIMD FP exception mask.
34547         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34548         mp_no from a power of two.
34549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34550         __mpexp_twomm1.  Use __pow_mp.
34552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34553         multiplication.
34555 2013-01-17  David S. Miller  <davem@davemloft.net>
34557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34559 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34561         [BZ #15023]
34562         * include/complex.h: Condition contents on [!_COMPLEX_H].
34563         (__kernel_casinhf): New prototype.
34564         (__kernel_casinh): Likewise.
34565         (__kernel_casinhl): Likewise.
34566         * math/Makefile (libm_calls): Add k_casinh.
34567         * math/k_casinh.c: New file.
34568         * math/k_casinhf.c: Likewise.
34569         * math/k_casinhl.c: Likewise.
34570         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34571         finite nonzero arguments.
34572         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34573         finite nonzero arguments.
34574         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34575         finite nonzero arguments.
34576         * math/s_casinh.c: Do not include <float.h>.
34577         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34578         * math/s_casinhf.c: Do not include <float.h>.
34579         (__casinhf): Move code for finite nonzero arguments to
34580         k_casinhf.c.
34581         * math/s_casinhl.c: Do not include <float.h>.
34582         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34583         redefine.
34584         (__casinhl): Move code for finite nonzero arguments to
34585         k_casinhl.c.
34586         * math/libm-test.inc (cacos_test): Add more tests.
34587         * sysdeps/i386/fpu/libm-test-ulps: Update.
34588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34590 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
34592         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34593         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34594         [!HAVE_MREMAP]: Remove [defined linux] case.
34595         * malloc/arena.c: Do not include <malloc-sysdep.h>.
34597 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34599         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34601 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
34603         * elf/elf.h (R_386_SIZE32): New relocation.
34604         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34605         R_386_SIZE32.
34606         (elf_machine_rela): Likewise.
34607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34608         R_X86_64_SIZE64 and R_X86_64_SIZE32.
34610 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34612         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34613         (FP_FAST_FMA): Do not define.
34614         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34615         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34616         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34617         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34618         !_SOFT_FLOAT]: Likewise.
34619         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34620         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34621         value.
34622         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34623         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34624         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34625         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34626         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34627         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34628         file.
34630 2013-01-16  Andreas Schwab  <schwab@suse.de>
34632         [BZ #14327]
34633         * include/stdlib.h (__mktemp): Add declaration.
34634         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34635         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34637 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34639         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34640         definitions.
34641         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34642         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34643         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34644         definitions here.
34645         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34646         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34647         definitions.
34648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34649         and ONE.
34650         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34651         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34652         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34653         definitions.
34654         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34655         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34656         definitions.
34657         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34659         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34661 2013-01-15  David S. Miller  <davem@davemloft.net>
34663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34664         trunc{,f} to libm-sysdep_routes.
34665         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34667         file.
34668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34670         file.
34671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34672         file.
34673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34675         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34676         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34677         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34678         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34679         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34680         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34683         nearbyint{,f} to libm-sysdep_routes.
34684         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34686         New file.
34687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34688         file.
34689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34690         New file.
34691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34692         file.
34693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34695         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34696         file.
34697         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34698         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34699         file.
34700         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34701         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34702         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34704         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34705         libc_feholdexcept and libc_fesetenv.
34707 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
34709         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34711 2013-01-14  David S. Miller  <davem@davemloft.net>
34713         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34714         (SPARC_ASM_VIS2_IFUNC): Likewise.
34715         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34717         use of 'siam' instruction.
34718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34719         Likewise.
34720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34721         Likewise.
34722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34723         Likewise.
34724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34729         file.
34730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34731         file.
34732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34733         file.
34734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34735         file.
34736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34741         new VIS2 routines.
34742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34745         Likewise.
34746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34751         routines to libm-sysdep_routines.
34752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34755         fdim/fdimf to libm-sysdep_routines.
34756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34757         file.
34758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34760         file.
34761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34764         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34765         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34766         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34767         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34769 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34772         to optimize copies.
34774         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34779         local variable MPTWO.
34780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34781         Likewise.
34783 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34785         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34786         GLOB_NOESCAPE.
34788 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34790         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34792 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34794         * manual/pattern.texi (glob_t): Document gl_flags.
34795         (glob64_t): Likewise.
34797 2013-01-11  David S. Miller  <davem@davemloft.net>
34799         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34800         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34801         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
34802         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34803         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34804         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34805         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34806         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34807         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34808         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34809         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34810         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34811         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34813         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34814         sparc V9 rather than using V8 code.
34815         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34816         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34818         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34819         Move to...
34820         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34821         Here.
34823 2013-01-11  Roland McGrath  <roland@hack.frob.com>
34825         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34826         not in the main loop.
34827         * configure: Regenerated.
34829 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
34831         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34832         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34833         to just #else.
34834         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
34835         [!__GLIBC_HAVE_LONG_LONG] case.
34836         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34837         condition to just #else.
34838         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34839         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34840         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34841         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34842         unconditional.
34843         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34844         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34845         #elif condition to just #else.
34846         * sysdeps/unix/sysv/linux/sys/sysmacros.h
34847         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34848         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34849         #elif condition to just #else.
34851 2013-01-11  Steve Ellcey  <sellcey@mips.com>
34853         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34854         (EF_MIPS_ARCH_64): Fix value.
34855         (EF_MIPS_ARCH_32R2): New.
34856         (EF_MIPS_ARCH_64R2): New.
34858 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
34860         * Makeconfig (+link-pie-before-libc): New.
34861         (+link-pie-after-libc): Likewise.
34862         (+link-pie-tests): Likewise.
34863         (+link-pie): Rewritten.
34864         (link-before-libc): Remove $(config-LDFLAGS).
34865         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34866         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34867         (config-LDFLAGS): Renamed to ...
34868         (rtld-LDFLAGS): This.
34869         (rtld-tests-LDFLAGS): New macro.
34870         (link-libc-rpath-link): Likewise.
34871         (link-libc-tests-rpath-link): Likewise.
34872         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34873         (link-libc): Prepand $(link-libc-rpath-link).
34874         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34875         (test-program-prefix): New macro.
34876         (test-via-rtld-prefix): Likewise.
34877         (test-program-cmd): Likewise.
34878         (host-test-program-cmd): Likewise.
34879         * Makefile ($(common-objpfx)testrun.sh): Replace
34880         $(run-program-prefix) with $(test-program-prefix).
34881         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34882         $(rtld-LDFLAGS).
34883         ($(common-objpfx)shlib.lds): Likewise.
34884         (build-module-helper): Likewise.
34885         ($(common-objpfx)format.lds): Likewise.
34886         * Rules (binaries-pie-tests): New.
34887         (binaries-pie-notests): Likewise.
34888         (binaries-pie): Rewritten.
34889         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34890         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34891         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34892         (make-test-out): Replace $(host-built-program-cmd) with
34893         $(host-test-program-cmd).
34894         * config.make.in (build-hardcoded-path-in-tests): New variable.
34895         * configure.in (--enable-hardcoded-path-in-tests): New configure
34896         option.
34897         (hardcoded_path_in_tests): New AC_SUBST.
34898         * configure: Regenerated.
34899         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34900         $(built-program-cmd) with $(test-program-cmd).
34901         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34902         (test_program_cmd): This.
34903         * elf/Makefile ($(objpfx)order.out): Run test with
34904         $(test-program-prefix).
34905         ($(objpfx)order2.out): Likewise.
34906         ($(objpfx)tst-initorder.out): Likewise.
34907         ($(objpfx)tst-initorder2.out): Likewise.
34908         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34909         $(test-program-cmd).
34910         ($(objpfx)tst-array1-static.out): Likewise.
34911         ($(objpfx)tst-array2.out): Likewise.
34912         ($(objpfx)tst-array3.out): Likewise.
34913         ($(objpfx)tst-array4.out): Likewise.
34914         ($(objpfx)tst-array5.out): Likewise.
34915         ($(objpfx)tst-array5-static.out): Likewise.
34916         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34917         $(test-program-cmd).
34918         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34919         $(run-program-prefix) with $(test-program-prefix).
34920         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34921         (test_program_prefix): This.
34922         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34923         $(run-program-prefix) with $(test-program-prefix).
34924         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34925         (test_program_prefix): This.
34926         * iconvdata/tst-tables.sh: Likewise.
34927         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34928         $(run-program-prefix) with $(test-program-prefix).
34929         ($(objpfx)tst-translit.out): Likewise.
34930         ($(objpfx)tst-gettext2.out): Likewise.
34931         ($(objpfx)tst-gettext4.out): Likewise.
34932         ($(objpfx)tst-gettext6.out): Likewise.
34933         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34934         (test_program_prefix): This.
34935         * intl/tst-gettext2.sh: Likewise.
34936         * intl/tst-gettext4.sh  Likewise.
34937         * intl/tst-gettext6.sh: Likewise.
34938         * intl/tst-translit.sh: Likewise.
34939         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34940         with $(test-program-cmd).
34941         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34942         $(run-program-prefix) with $(test-program-prefix).
34943         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34944         (test_program_prefix): This.
34945         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34946         $(run-program-prefix) with $(test-program-prefix).
34947         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34948         (test_program_prefix): This.
34949         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34950         * posix/Makefile ($(objpfx)globtest.out): Replace
34951         $(run-via-rtld-prefix) and $(test-wrapper) with
34952         $(test-program-prefix) and $(test-via-rtld-prefix).
34953         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34954         $(test-program-prefix).
34955         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34956         $(host-test-program-cmd).
34957         (tst-spawn-ARGS): Likewise.
34958         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34959         $(test-program-prefix).
34960         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34961         (test_via_rtld_prefix): This.
34962         (test_wrapper): Renamed to ...
34963         (test_program_prefix): This.
34964         (run_program_prefix): Replaced by test_program_prefix.
34965         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34966         (test_program_prefix): This.
34967         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34968         with $(host-test-program-cmd).
34969         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34970         $(run-program-prefix) with $(test-program-prefix).
34971         ($(objpfx)tst-printf.out): Likewise.
34972         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34973         $(test-program-cmd).
34974         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34975         (test_program_prefix): This.
34976         * stdio-common/tst-unbputc.sh: Likewise.
34977         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34978         $(run-program-prefix) with $(test-program-prefix).
34979         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34980         (test_program_prefix): This.
34981         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34982         $(built-program-cmd) with $(test-program-cmd).
34984 2013-01-11  Andreas Jaeger  <aj@suse.de>
34986         [BZ #15003]
34987         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34988         value. Sync with Linux 3.7.
34990 2013-01-10  David S. Miller  <davem@davemloft.net>
34992         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34993         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34994         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34996 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34998         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34999         never set.
35000         * configure: Regenerated.
35002 2013-01-10  David S. Miller  <davem@davemloft.net>
35004         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35005         sparc V9 rather than using V8 code.
35006         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35007         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35009 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35011         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35012         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35013         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35014         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35015         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35016         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35017         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35018         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35019         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35020         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35021         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35022         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35023         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35024         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35025         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35026         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35027         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35028         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35029         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35030         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35031         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35032         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35033         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35034         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35035         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35036         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35037         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35039 2013-01-10  David S. Miller  <davem@davemloft.net>
35041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35043 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35045         * posix/Makefile (tests-static): New variable.
35046         (tests): Add $(tests-static).
35047         (tst-exec-static-ARGS): New variable.
35048         (tst-spawn-static-ARGS): Likewise.
35049         * posix/tst-exec-static.c: New file.
35050         * posix/tst-spawn-static.c: Likewise.
35051         * posix/tst-exec.c: Support run directly.
35052         * posix/tst-spawn.c: Likewise.
35054 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
35056         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35057         long.
35058         * math/bits/mathcalls.h (llrint): Likewise.
35059         (llround): Likewise.
35060         * stdlib/stdlib.h (struct drand48_data): Likewise.
35061         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35062         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35063         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35064         Likewise.
35065         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35066         Likewise.
35067         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35068         (elf_greg_t): Likewise.
35069         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35070         (__jmp_buf): Likewise.
35071         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35072         definitions.
35073         (llrint): Likewise, for all definitions.
35074         (llrintl): Likewise.
35076         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35077         Remove [__GNUC__] condition.
35078         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35079         condition to just [__USE_ISOC99].
35080         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35082 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35084         [BZ #14200]
35085         * sysdeps/unix/sysv/linux/x86/bits/environments.h
35086         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35087         defined.
35088         (_POSIX_V6_ILP32_OFF32): Likewise.
35089         (_XBS5_ILP32_OFF32): Likewise.
35090         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35091         (__ILP32_OFFBIG_LDFLAGS): Likewise.
35093 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35095         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35098         doubles __mpexp_twomm1.  Adjust usage.
35099         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35100         Remove.
35102 2013-01-10  Andreas Schwab  <schwab@suse.de>
35104         [BZ #14964]
35105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35106         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35108 2013-01-09  David S. Miller  <davem@davemloft.net>
35110         [BZ #15003]
35111         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35112         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35113         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35114         (TCP_FASTOPEN): Define.
35115         (tcp_repair_opt): New structure.
35116         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35117         enum values.
35118         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35119         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35120         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35121         (tcp_cookie_transactions): New structure.
35123 2013-01-09  Anton Blanchard  <anton@samba.org>
35125         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35126         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35127         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35128         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35130 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
35132         * include/features.h (__USE_ANSI): Remove.
35134 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35136         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35138         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35140 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35142         * sysdeps/s390/fpu/libm-test-ulps: Update.
35144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35146         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35147         (__acr): Likewise.
35148         (__cpy): Likewise.
35149         (norm): Likewise.
35150         (denorm): Likewise.
35151         (__mp_dbl): Likewise.
35152         (__dbl_mp): Likewise.
35153         (add_magnitudes): Likewise.
35154         (sub_magnitudes): Likewise.
35155         (__add): Likewise.
35156         (__sub): Likewise.
35157         (__mul): Likewise.
35158         (__inv): Likewise.
35159         (__dvd): Likewise.
35160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35161         (__acr): Likewise.
35162         (__cpy): Likewise.
35163         (norm): Likewise.
35164         (denorm): Likewise.
35165         (__mp_dbl): Likewise.
35166         (__dbl_mp): Likewise.
35167         (add_magnitudes): Likewise.
35168         (sub_magnitudes): Likewise.
35169         (__add): Likewise.
35170         (__sub): Likewise.
35171         (__mul): Likewise.
35172         (__inv): Likewise.
35173         (__dvd): Likewise.
35174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35175         (__acr): Likewise.
35176         (__cpy): Likewise.
35177         (norm): Likewise.
35178         (denorm): Likewise.
35179         (__mp_dbl): Likewise.
35180         (__dbl_mp): Likewise.
35181         (add_magnitudes): Likewise.
35182         (sub_magnitudes): Likewise.
35183         (__add): Likewise.
35184         (__sub): Likewise.
35185         (__mul): Likewise.
35186         (__inv): Likewise.
35187         (__dvd): Likewise.
35189 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
35191         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35192         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35193         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35194         2 && __USE_EXTERN_INLINES]: Likewise.
35196 2013-01-08  Andreas Jaeger  <aj@suse.de>
35198         [BZ# 14985]
35199         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35200         Remove.
35201         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35202         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35204 2013-01-07  Anton Blanchard  <anton@samba.org>
35206         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35207         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35208         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35209         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35210         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35211         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35212         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35213         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35215         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35216         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35217         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35219         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35220         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35221         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35222         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35223         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35224         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35225         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35226         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35227         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35228         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35229         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35230         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35231         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35232         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35233         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35234         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35235         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35236         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35238         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35239         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35240         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35241         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35242         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35243         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35245         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35246         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35248         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35250 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
35252         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35253         (__MALLOC_PMT): Likewise.
35254         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35255         [__GNUC__], only on [_LIBC].
35256         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35257         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35258         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35259         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35260         forward declaration.
35261         (realloc_hook_ini): Likewise.
35262         (memalign_hook_ini): Likewise.
35263         (__libc_memalign): Do not use __MALLOC_PMT in variable
35264         declaration.
35265         (__libc_valloc): Likewise.
35266         (__libc_pvalloc): Likewise.
35267         (__libc_calloc): Likewise.
35268         (__posix_memalign): Likewise.
35270         [BZ #14996]
35271         * math/s_casinh.c: Include <float.h>.
35272         (__casinh): Do not do computation with squaring and square root
35273         for large arguments.
35274         * math/s_casinhf.c: Include <float.h>.
35275         (__casinhf): Do not do computation with squaring and square root
35276         for large arguments.
35277         * math/s_casinhl.c: Include <float.h>.
35278         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35279         (__casinhl): Do not do computation with squaring and square root
35280         for large arguments.
35281         * math/libm-test.inc (casin_test): Add more tests.
35282         (casinh_test): Likewise.
35283         * sysdeps/i386/fpu/libm-test-ulps: Update.
35284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35286 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35288         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35289         (__x86_64_raw_data_cache_size): Likewise.
35290         (__x86_64_data_cache_size_half): Likewise.
35291         (__x86_64_raw_data_cache_size_half): Likewise.
35292         (__x86_64_shared_cache_size): Likewise.
35293         (__x86_64_raw_shared_cache_size): Likewise.
35294         (__x86_64_shared_cache_size_half): Likewise.
35295         (__x86_64_raw_shared_cache_size_half): Likewise.
35296         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35297         to ...
35298         (__x86_data_cache_size): This.
35299         (__x86_64_raw_data_cache_size): Renamed to ...
35300         (__x86_raw_data_cache_size): This.
35301         (__x86_64_data_cache_size_half): Renamed to ...
35302         (__x86_data_cache_size_half): This.
35303         (__x86_64_raw_data_cache_size_half): Renamed to ...
35304         (__x86_raw_data_cache_size_half): This.
35305         (__x86_64_shared_cache_size): Renamed to ...
35306         (__x86_shared_cache_size): This.
35307         (__x86_64_raw_shared_cache_size): Renamed to ...
35308         (__x86_raw_shared_cache_size): This.
35309         (__x86_64_shared_cache_size_half): Renamed to ...
35310         (__x86_shared_cache_size_half): This.
35311         (__x86_64_raw_shared_cache_size_half): Renamed to ...
35312         (__x86_raw_shared_cache_size_half): This.
35313         * sysdeps/x86_64/memcpy.S: Updated.
35314         * sysdeps/x86_64/memset.S: Likewise.
35315         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35316         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35317         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35319 2013-01-04  David S. Miller  <davem@davemloft.net>
35321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35323 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
35325         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35326         1 to avoid redefinition warning.
35327         (__USE_GNU): Don't define.
35328         (init_signaling_nan): Protoize.
35330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35332 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35334         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35336         (__cpymn): Likewise.
35337         (norm): Remove commented code.
35338         (denorm): Likewise.
35339         (__mp_dbl): Likewise.
35340         (__inv): Likewise.
35341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35342         (__cpymn): Likewise.
35343         (norm): Remove commented code.
35344         (denorm): Likewise.
35345         (__mp_dbl): Likewise.
35346         (__inv): Likewise.
35348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35349         mp_no value for 1.0 and 2.0.
35350         (norm): Use RADIXI instead of radixi.d.
35351         (denorm): Likewise.
35352         (__mul): Use 0.0 instead of zero.d.
35353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35354         mp_no value for 1.0 and 2.0.
35355         (norm): Use RADIXI instead of radixi.d.
35356         (denorm): Likewise.
35357         (__mul): Use 0.0 instead of zero.d.
35359 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
35361         [BZ #14994]
35362         * math/s_casinh.c (__casinh): Reduce finite argument to first
35363         quadrant then set signs of results at the end.
35364         * math/s_casinhf.c (__casinhf): Likewise.
35365         * math/s_casinhl.c (__casinhl): Likewise.
35366         * math/libm-test.inc (casin_test): Add more tests.
35367         (casinh_test): Likewise.
35368         * sysdeps/i386/fpu/libm-test-ulps: Update.
35369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35371 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35373         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35375         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35377         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35378         declarations.
35379         (denorm): Likewise.
35380         (__mp_dbl): Likewise.
35381         (__inv): Likewise.
35383         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35384         and adjust the header comment.
35386         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35387         variable name from declaration.
35389 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
35391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35392         Initialize COMMON_CPUID_INDEX_7 element.
35393         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35394         (CPUID_RTM): Likewise.
35395         (HAS_RTM): Likewise.
35396         (COMMON_CPUID_INDEX_7): New enum.
35398 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
35400         [BZ #14981]
35401         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35402         size is zero, record memory as freed.
35404 2013-01-03  Andreas Jaeger  <aj@suse.de>
35406         * po/ia.po: Add new Interlingua translation.
35408 2012-01-03  Allan McRae  <allan@archlinux.org>
35410         * locale/programs/localedef.c: Fix description of '--posix' flag.
35412 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
35414         * NEWS: Update dates in second copyright notice.
35415         * README: Update copyright dates in example.
35416         * manual/libc.texinfo: Update copyright dates.
35417         * scripts/test-installation.pl: Update copyright date in --version
35418         output.
35420         * hurd/ctty-input.c: Fix copyright notice formatting.
35421         * hurd/ctty-output.c: Likewise.
35422         * hurd/dtable.c: Likewise.
35423         * hurd/hurd-raise.c: Likewise.
35424         * hurd/hurdprio.c: Likewise.
35425         * hurd/msgportdemux.c: Likewise.
35426         * misc/sys/file.h: Likewise.
35427         * misc/sys/ioctl.h: Likewise.
35428         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35429         * sysdeps/mach/hurd/chdir.c: Likewise.
35430         * sysdeps/mach/hurd/fchdir.c: Likewise.
35431         * sysdeps/mach/hurd/rename.c: Likewise.
35432         * sysdeps/mach/hurd/rmdir.c: Likewise.
35433         * sysdeps/mach/hurd/seekdir.c: Likewise.
35434         * sysdeps/mach/hurd/setsid.c: Likewise.
35435         * sysdeps/posix/wait3.c: Likewise.
35437         * All files with FSF copyright notices: Update copyright dates
35438         using scripts/update-copyrights.
35439         * intl/plural.c: Regenerated.
35440         * locale/programs/charmap-kw.h: Likewise.
35441         * locale/programs/locfile-kw.h: Likewise.
35443 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35445         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35446         four values.
35448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35449         calculation loop and add branch prediction.
35451         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35452         check access beyond bounds of m1np.
35454         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35455         MPTWO.
35456         (__inv): Remove local variable MPTWO to use the global
35457         constant.
35458         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35460         variable MPTWO.
35461         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35462         MP3HALFS static const.
35464 2013-01-01  David S. Miller  <davem@davemloft.net>
35466         * po/ca.po: Update from translation team.
35468 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
35470         * scripts/update-copyrights: New file.
35471         * Makeconfig: Reformat copyright notice.
35472         * ctype/ctype.h: Likewise.
35473         * debug/swprintf_chk.c: Likewise.
35474         * elf/dl-cache.c: Likewise.
35475         * elf/dl-debug.c: Likewise.
35476         * elf/dl-object.c: Likewise.
35477         * grp/initgroups.c: Likewise.
35478         * hurd/Makefile: Likewise.
35479         * hurd/hurd/signal.h: Likewise.
35480         * hurd/hurdfault.c: Likewise.
35481         * hurd/hurdioctl.c: Likewise.
35482         * hurd/hurdlookup.c: Likewise.
35483         * hurd/intr-msg.c: Likewise.
35484         * iconv/gconv_open.c: Likewise.
35485         * libio/swprintf.c: Likewise.
35486         * locale/lc-ctype.c: Likewise.
35487         * locale/nl_langinfo.c: Likewise.
35488         * mach/Machrules: Likewise.
35489         * mach/Makefile: Likewise.
35490         * malloc/obstack.h: Likewise.
35491         * manual/Makefile: Likewise.
35492         * manual/tsort.awk: Likewise.
35493         * misc/bits/stab.def: Likewise.
35494         * nis/nis_print_group_entry.c: Likewise.
35495         * nis/nis_table.c: Likewise.
35496         * nis/nss_compat/compat-pwd.c: Likewise.
35497         * nis/nss_compat/compat-spwd.c: Likewise.
35498         * po/Makefile: Likewise.
35499         * posix/fnmatch.c: Likewise.
35500         * posix/regex.h: Likewise.
35501         * resolv/Makefile: Likewise.
35502         * resolv/nss_dns/dns-network.c: Likewise.
35503         * resolv/res_hconf.c: Likewise.
35504         * scripts/gen-sorted.awk: Likewise.
35505         * soft-fp/soft-fp.h: Likewise.
35506         * stdio-common/printf.h: Likewise.
35507         * stdlib/monetary.h: Likewise.
35508         * stdlib/random.c: Likewise.
35509         * stdlib/random_r.c: Likewise.
35510         * sysdeps/generic/Makefile: Likewise.
35511         * sysdeps/gnu/Makefile: Likewise.
35512         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35514         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35519         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35520         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35522         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35523         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35524         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35525         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35526         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35527         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35528         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35530         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35531         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35532         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35533         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35534         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35535         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35536         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35537         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35538         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35539         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35540         * sysdeps/mach/hurd/errnos.awk: Likewise.
35541         * sysdeps/mach/hurd/fork.c: Likewise.
35542         * sysdeps/mach/hurd/getcwd.c: Likewise.
35543         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35544         * sysdeps/mach/hurd/mmap.c: Likewise.
35545         * sysdeps/mach/hurd/utimes.c: Likewise.
35546         * sysdeps/mach/hurd/xmknod.c: Likewise.
35547         * sysdeps/posix/profil.c: Likewise.
35548         * sysdeps/posix/readdir_r.c: Likewise.
35549         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35550         * sysdeps/powerpc/bits/setjmp.h: Likewise.
35551         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35552         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35554         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35555         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35556         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35558         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35559         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35560         * sysdeps/pthread/lio_listio.c: Likewise.
35561         * sysdeps/sparc/dl-procinfo.h: Likewise.
35562         * sysdeps/unix/i386/sysdep.S: Likewise.
35563         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35564         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35565         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35566         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35568         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35569         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35570         * sysdeps/unix/sysv/linux/speed.c: Likewise.
35571         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35572         * sysdeps/wordsize-32/divdi3.c: Likewise.
35573         * time/sys/time.h: Likewise.
35574         * wcsmbs/Makefile: Likewise.
35576 2013-01-01  David S. Miller  <davem@davemloft.net>
35578         * po/fr.po: Update from translation team.
35580         * catgets/gencat.c: Update copyright year.
35581         * csu/version.c: Likewise.
35582         * debug/catchsegv.sh: Likewise.
35583         * debug/pcprofiledump.c: Likewise.
35584         * debug/xtrace.sh: Likewise.
35585         * elf/ldconfig.c: Likewise.
35586         * elf/ldd.bash.in: Likewise.
35587         * elf/pldd.c: Likewise.
35588         * elf/sotruss.ksh: Likewise.
35589         * elf/sprof.c: Likewise.
35590         * iconv/iconv_prog.c: Likewise.
35591         * iconv/iconvconfig.c: Likewise.
35592         * locale/programs/locale.c: Likewise.
35593         * locale/programs/localedef.c: Likewise.
35594         * login/programs/pt_chown.c: Likewise.
35595         * malloc/memusage.sh: Likewise.
35596         * malloc/memusagestat.c: Likewise.
35597         * malloc/mtrace.pl: Likewise.
35598         * nscd/nscd.c: Likewise.
35599         * nss/getent.c: Likewise.
35600         * nss/makedb.c: Likewise.
35601         * posix/getconf.c: Likewise.
35603 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35605         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35606         numbers.
35608 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
35610         * math/bits/mathcalls.h (modf): Use __nonnull.
35612 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35614         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35615         (split): Use macro CN instead of the bare value.
35616         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35617         could be used.
35618         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35619         instead of the bare value.
35620         (power1): Likewise.
35622 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35625         __ATAN_TWOM.
35626         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35628         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35629         their values.
35630         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35631         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35632         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35633         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35635 2012-12-28  Andreas Jaeger  <aj@suse.de>
35637         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
35638         values are from Linux 3.7.
35640         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35641         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
35643 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35645         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35646         TRUE case.
35648         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35649         (norm): Likewise.
35650         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35651         variables with preprocessor constants.
35652         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35653         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35654         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35656 2012-12-27  Bruno Haible  <bruno@clisp.org>
35658         [BZ #14317]
35659         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35660         only if needed.
35662 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35665         and use variable directly.
35666         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35668         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35669         MPONE.
35670         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35671         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35672         variable MPONE.
35673         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35675         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35676         include directive.  Remove local variable MPONE.
35677         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35678         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35681 2012-12-25  David S. Miller  <davem@davemloft.net>
35683         * version.h (RELEASE): Set to "development".
35684         (VERSION): Set to "2.17.90".
35685         * NEWS: Add 2.18 section.
35687 2012-12-21  David S. Miller  <davem@davemloft.net>
35689         * po/hr.po: Update from translation team.
35691 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35693         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35695 2012-12-19  Steve Ellcey  <sellcey@mips.com>
35697         * NEWS:  Mention new memcpy for MIPS.
35699 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35701         * manual/contrib.texi (Contributors): Spelling correction.
35703 2012-12-15  David S. Miller  <davem@davemloft.net>
35705         * po/ru.po: Update from translation team.
35707 2012-12-13  David S. Miller  <davem@davemloft.net>
35709         * NEWS: Mention IFUNC testsuite enhancements.
35711         * po/pl.po: Update from translation team.
35712         * po/bg.po: Likewise.
35714         * manual/contrib.texi (Contributors): Update entries for Hongjiu
35715         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
35717 2012-12-11  David S. Miller  <davem@davemloft.net>
35719         * po/sv.po: Update from translation team.
35721         * po/vi.po: Update from translation team.
35723         * po/cs.po: Update from translation team.
35725         * po/de.po: Update from translation team.
35726         * po/eo.po: Likewise.
35727         * po/nl.po: Likewise.
35729 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35731         [BZ #14246]
35732         * manual/argp.texi (Argp Helper Functions): Move node to follow
35733         Argp Parsing State.
35735         [BZ #14872]
35736         * manual/conf.texi (Limits on File System Capacity): Mention if
35737         terminating null is included in the max size.
35739 2012-12-10  Andreas Jaeger  <aj@suse.de>
35741         * po/cs.po: Update from translation team.
35743 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35745         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35746         void pointer and cast to uintptr_t.
35747         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35748         path.
35749         * sysdeps/s390/s390-64/memcpy.S: Likewise.
35750         * sysdeps/s390/s390-64/memset.S: Likewise.
35752 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
35754         [BZ #14833]
35755         * menual/message.texi (Message Translation): Fix typos.
35756         (Helper programs for gettext): Likewise.
35758 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
35760         [BZ #14898]
35761         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35762         Change to -1.
35764 2012-12-07  David S. Miller  <davem@davemloft.net>
35766         * po/libc.pot: Update.
35768 2012-12-07  Richard Henderson  <rth@redhat.com>
35770         [BZ #10114]
35771         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35772         normal/normal case to before the switch.
35773         (_FP_DIV): Likewise.
35775 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
35776             Mike Frysinger  <vapier@gentoo.org>
35778         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35779         check for __NR_fadvise64_64.
35781 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
35783         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35784         0, not just to plain "0" as a statement.
35785         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35786         with cw.
35788 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
35790         * NEWS: Use sourceware.org in Bugzilla URL.
35792 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35795         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35797         * stdio-common/tst-put-error.c (do_test): Add newline to the
35798         padded test to ensure flush.
35800 2012-12-05  Jeff Law  <law@redhat.com>
35802         * sunrpc/etc.rpc (fedfs_admin): Add entry.
35804 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
35806         * README: Don't refer to ports add-on as distributed separately.
35807         Mention AArch64 in list of systems supported in the ports add-on.
35809         * LICENSES: Add more non-FSF copyright and license notices.
35811         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35812         ((unused)).
35814         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35816         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35817         10000 as width of padded output.
35819 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35821         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35824         variable LX with __attribute__ ((unused)).
35825         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35826         Likewise.
35827         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35828         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35829         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35830         with __attribute__ ((unused)).
35832 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
35834         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35836 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35838         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35839         (CFLAGS-nldbl-acos.c): New variable.
35840         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35841         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35842         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35843         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35844         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35845         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35846         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35847         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35848         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35849         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35850         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35851         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35852         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35853         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35854         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35855         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35856         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35857         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35858         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35859         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35860         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35861         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35862         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35863         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35864         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35865         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35866         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35867         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35868         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35869         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35870         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35871         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35872         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35873         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35874         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35875         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35876         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35877         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35878         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35879         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35880         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35881         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35882         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35883         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35884         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35885         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35886         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35887         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35888         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35889         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35890         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35891         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35892         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35893         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35894         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35895         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35896         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35897         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35898         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35899         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35900         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35901         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35902         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35903         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35904         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35905         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35906         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35907         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35908         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35909         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35910         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35911         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35912         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35913         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35914         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35915         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35916         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35917         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35918         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35919         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35920         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35921         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35922         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35923         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35924         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35925         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35926         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35927         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35928         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35929         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35930         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35931         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35932         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35933         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35934         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35935         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35936         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35939         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35941         [BZ #14914]
35942         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35943         whole low double instead of just low 47 bits when splitting values
35944         into two parts.
35946 2012-12-03  Allan McRae  <allan@archlinux.org>
35948         * manual/stdio.texi (Predefined Printf Handlers): Remove
35949         @hsep and @vsep usage.
35951 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35953         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35954         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35956 2012-12-03  Jeff Law  <law@redhat.com>
35958         * time/sys/time.h (settimeofday): Do not mark TV argument
35959         as __nonnull.
35961 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35963         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35964         when currently writing and seek to current position when not.
35965         * libio/Makefile (tests): Remove bug-fclose1.
35966         * libio/bug-fclose1.c: Delete.
35968 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35970         * manual/arith.texi (feenableexcept): Fix typo.
35971         (fedisableexcept): Likewise.
35973 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35975         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35976         second, differently-typed declaration, rather than a cast.
35978 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35980         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35981         * include/rpc/svc.h: ... here.
35983 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35985         [BZ #13013]
35986         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35987         depending n and resplen2 to catch cases where answer
35988         equals answerp2.
35990 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35992         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35993         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35995 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35997         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35999 2012-11-29  Roland McGrath  <roland@hack.frob.com>
36001         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36003 2012-11-28  Jeff Law  <law@redhat.com>
36005         [BZ #13761]
36006         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36007         dataset_temporary.  Track alloca usage into alloca_used.
36008         If dataset is large allocate and release it via malloc/free.
36010 2012-06-04  Florian Weimer  <fweimer@redhat.com>
36012         [BZ #14197]
36013         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36015 2012-11-28  David S. Miller  <davem@davemloft.net>
36017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36019 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36021         [BZ #14803]
36022         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36023         of pi/2 rounded to nearest to 64 bits.
36024         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36025         nearest to 64 bits.
36026         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36027         bits.
36029 2012-11-28  Jeff Law <law@redhat.com>
36030             Martin Osvald <mosvald@redhat.com>
36032         [BZ #14889]
36033         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36034         * sunrpc/svc.c: Include time.h.
36035         (__svc_accept_failed): New function.
36036         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36037         any reason other than EINTR, call __svc_accept_failed.
36038         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36039         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36041 2012-11-28  Andreas Schwab  <schwab@suse.de>
36043         * scripts/abilist.awk: Also handle indirect functions in .opd
36044         section.
36046 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36048         [BZ #13881]
36049         * sysdeps/x86/fpu/powl_helper.c: New file.
36050         * sysdeps/x86/fpu/Makefile: Likewise.
36051         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36052         (p3): New object.
36053         (__ieee754_powl): Use __powl_helper for finite arguments except
36054         integer exponents below 8.
36055         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36056         (p3): New object.
36057         (__ieee754_powl): Use __powl_helper for finite arguments except
36058         integer exponents below 8.
36059         * math/libm-test.inc (pow_test): Add more tests and enable some
36060         previously disabled tests.
36061         * sysdeps/i386/fpu/libm-test-ulps: Update.
36062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36064 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36065             Carlos O'Donell  <carlos_odonell@mentor.com>
36067         * nss/makedb.c (is_prime): Assert that input is odd and greater
36068         than 4.  Note that fact in a comment too.
36069         (next_prime): Add 4 to input.
36071 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36073         [BZ #11741]
36074         * libio/Makefile (tests): Add test case tst-fwrite-error.
36075         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36076         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36077         * libio/tst-fwrite-error.c: New test case.
36079 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
36081         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36082         before casting to void *.
36083         * include/libc-internal.h (__pointer_type): New macro.
36084         (__integer_if_pointer_type_sub): Likewise.
36085         (__integer_if_pointer_type): Likewise.
36086         (cast_to_integer): Likewise.
36087         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36088         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36089         before casting to atomic64_t.
36090         (atomic_exchange_acq): Likewise.
36091         (__arch_exchange_and_add_body): Likewise.
36092         (__arch_add_body): Likewise.
36093         (atomic_add_negative): Likewise.
36094         (atomic_add_zero): Likewise.
36096 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
36098         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36099         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36100         (add_fdes): Likewise.
36101         (linear_search_fdes): Likewise.
36102         (binary_search_unencoded_fdes): Likewise.
36104 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
36106         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36108 2012-11-24  Adam Conrad  <adconrad@0c3.net>
36110         * configure.in: Autodetect C++ header directories.
36111         * configure: Regenerated.
36113 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
36115         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36117 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
36119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36121 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
36123         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36124         LDBL_MANT_DIG == 106]: Disable some tests.
36125         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36126         Likewise.
36127         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36128         Likewise.
36130         [BZ #14871]
36131         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36132         input for small inputs.  Return +/- pi/2 for large inputs.
36133         * math/libm-test.inc (atan_test): Add more tests.
36135         * sysdeps/generic/unwind-dw2-fde-glibc.c
36136         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36137         __attribute__ ((unused)).
36139         [BZ #14645]
36140         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36141         x * y if x and y are nonzero and z is zero.
36143         [BZ #14811]
36144         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36145         nonzero exponents with absolute value below 0x1p-117 to +/-
36146         0x1p-117.
36148         [BZ #14869]
36149         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36150         up arguments below 2**-450, not just those below 2**-500.
36151         * math/libm-test.inc (hypot_test): Add another test.
36153         [BZ #14868]
36154         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36155         Return a+b for ratio over 2**120, not 2**60.
36156         * math/libm-test.inc (hypot_test): Add another test.
36158         * math/libm-test.inc (clog_test): Use
36159         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36160         (clog10_test): Likewise.
36162         [BZ #6778]
36163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36165 2012-11-22  Andreas Schwab  <schwab@suse.de>
36167         * sysdeps/i386/fpu/libm-test-ulps: Update.
36169 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
36171         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36172         printf output with newline.
36174 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
36176         [BZ #14865]
36177         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36178         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36179         -z nodlopen, -z initfirst and -z execstack support.
36180         * configure: Regenerated.
36182         * elf/elf.h (DF_1_NODIRECT): New macro.
36183         (DF_1_IGNMULDEF): Likewise.
36184         (DF_1_NOKSYMS): Likewise.
36185         (DF_1_NOHDR): Likewise.
36186         (DF_1_EDITED): Likewise.
36187         (DF_1_NORELOC): Likewise.
36188         (DF_1_SYMINTPOSE): Likewise.
36189         (DF_1_GLOBAUDIT): Likewise.
36190         (DF_1_SINGLETON): Likewise.
36191         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36192         DT_1_SUPPORTED_MASK bits.
36193         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36195 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
36197         * sysdeps/unix/make-syscalls.sh: Document prefixes.
36199 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
36201         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36202         macro.
36204         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36205         (sendmmsg): Move declarations...
36206         * socket/sys/socket.h: ... here.
36207         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36208         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36209         include it from...
36210         * socket/recvmmsg.c: ... this new file.
36211         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36212         (sendmmsg): Rename to __sendmmsg, create weak alias and make
36213         definition of __sendmmsg hidden.
36214         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36215         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36216         Move ENOSYS stub into and include it from...
36217         * socket/sendmmsg.c: ... this new file.
36218         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36219         (sysdep_routines): Move recvmmsg and sendmmsg...
36220         * socket/Makefile (routines): ... here.
36221         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36222         (GLIBC_PRIVATE): Add __sendmmsg.
36223         * include/sys/socket.h (__sendmmsg): Add declarations.
36224         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36225         sendmmsg.
36227 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
36229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36230         variable I1 with __attribute__ ((unused)).
36231         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36233 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36235         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36236         DUMMY variables with __attribute__ ((unused)).
36238         * bits/byteswap.h: Include <bits/types.h>.
36239         (__bswap_64): Use __uint64_t instead of unsigned long long int.
36241 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36243         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36244         string_t.  Do not manually set errno.
36245         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36246         length with __strnlen.  Make sure to both set errno and return it on
36247         failure.
36249 2012-11-19  David S. Miller  <davem@davemloft.net>
36251         With help from Joseph Myers.
36252         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36253         very large arguments properly.
36254         * math/libm-test.inc (atan_test): New tests.
36255         (atan2_test): New tests.
36256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36259 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36261         [BZ #14856]
36262         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36263         Define to 3.
36265         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36266         [POSIX] (EADDRNOTAVAIL): Likewise.
36267         [POSIX] (EAFNOSUPPORT): Likewise.
36268         [POSIX] (EALREADY): Likewise.
36269         [POSIX] (ECONNABORTED): Likewise.
36270         [POSIX] (ECONNREFUSED): Likewise.
36271         [POSIX] (ECONNRESET): Likewise.
36272         [POSIX] (EDESTADDRREQ): Likewise.
36273         [POSIX] (EDQUOT): Likewise.
36274         [POSIX] (EHOSTUNREACH): Likewise.
36275         [POSIX] (EIDRM): Likewise.
36276         [POSIX] (EISCONN): Likewise.
36277         [POSIX] (ELOOP): Likewise.
36278         [POSIX] (EMULTIHOP): Likewise.
36279         [POSIX] (ENETDOWN): Likewise.
36280         [POSIX] (ENETUNREACH): Likewise.
36281         [POSIX] (ENOBUFS): Likewise.
36282         [POSIX] (ENODATA): Likewise.
36283         [POSIX] (ENOLINK): Likewise.
36284         [POSIX] (ENOMSG): Likewise.
36285         [POSIX] (ENOPROTOOPT): Likewise.
36286         [POSIX] (ENOSR): Likewise.
36287         [POSIX] (ENOSTR): Likewise.
36288         [POSIX] (ENOTCONN): Likewise.
36289         [POSIX] (ENOTSOCK): Likewise.
36290         [POSIX] (EOPNOTSUPP): Likewise.
36291         [POSIX] (EOVERFLOW): Likewise.
36292         [POSIX] (EPROTO): Likewise.
36293         [POSIX] (EPROTONOSUPPORT): Likewise.
36294         [POSIX] (EPROTOTYPE): Likewise.
36295         [POSIX] (ESTALE): Likewise.
36296         [POSIX] (ETIME): Likewise.
36297         [POSIX] (ETXTBSY): Likewise.
36298         [POSIX] (EWOULDBLOCK): Likewise.
36299         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36300         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36301         [POSIX] (SEEK_CUR): Likewise.
36302         [POSIX] (SEEK_END): Likewise.
36303         [POSIX || UNIX98] (mode_t): Do not require.
36304         [POSIX] (off_t): Likewise.
36305         [POSIX] (pid_t): Likewise.
36306         [POSIX] (sys/stat.h): Do not allow header.
36307         [POSIX] (unistd.h): Likewise.
36308         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36309         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36310         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36311         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36312         require.
36313         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36314         sigevent): Specify elements.
36315         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36316         entry.
36317         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36318         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36320         * conform/data/cpio.h-data [POSIX]: Disable whole file.
36321         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36322         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36323         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36324         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36325         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36326         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36327         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36328         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36329         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36330         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36331         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36332         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36333         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36334         Likewise.
36335         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36336         Likewise.
36337         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36338         Likewise.
36339         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36340         Likewise.
36341         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36342         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36343         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36344         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36345         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36346         Specify lower bound on value.
36347         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36348         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36349         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36350         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36351         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36352         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36353         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36354         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36355         value.
36356         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36357         as optional.
36358         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36359         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36360         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36361         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36362         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36363         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36364         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36365         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36366         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36367         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36368         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36369         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36370         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36371         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36372         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36373         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36374         entry.
36375         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36376         optional.
36377         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36378         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36379         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36380         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36381         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36382         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36383         Likewise.
36384         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36385         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36386         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36387         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36388         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
36389         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36390         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36391         as optional.
36392         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36394         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36395         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36396         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36397         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36398         specify as optional.
36399         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36400         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36401         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36402         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36403         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36404         [XPG3] (NL_LANGMAX): Likewise.
36405         [POSIX || XPG3] (NL_MSGMAX): Likewise.
36406         [POSIX || XPG3] (NL_NMAX): Likewise.
36407         [POSIX || XPG3] (NL_SETMAX): Likewise.
36408         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36409         [XPG3] (NZERO): Likewise.
36410         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36411         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36412         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36413         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36414         (REG_ERANGE): Expect.
36415         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36416         optional-constant.
36417         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36418         Use (void) in prototype.
36419         [POSIX] (*_t): Allow.
36420         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36421         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36422         (WRDE_BADVAL): Expect.
36424         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36425         expect.
36426         [XPG3 || XPG4] (O_RSYNC): Likewise.
36427         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36428         Likewise.
36429         [XPG3 || XPG4] (pthread_sigmask): Likewise.
36430         [XPG3 || XPG4] (sigqueue): Likewise.
36431         [XPG3 || XPG4] (sigtimedwait): Likewise.
36432         [XPG3 || XPG4] (sigwaitinfo): Likewise.
36433         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36434         [XPG3 || XPG4] (vsnprintf): Likewise.
36435         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36436         Likewise.
36437         [XPG3 || XPG4] (blksize_t): Likewise.
36438         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36439         Likewise.
36440         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36441         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36442         [XPG3 || XPG4] (struct itimerspec): Likewise.
36443         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36444         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36445         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36446         [XPG3 || XPG4] (clockid_t): Likewise.
36447         [XPG3 || XPG4] (timer_t): Likewise.
36448         [XPG3 || XPG4] (clock_getres): Likewise.
36449         [XPG3 || XPG4] (clock_gettime): Likewise.
36450         [XPG3 || XPG4] (clock_settime): Likewise.
36451         [XPG3 || XPG4] (nanosleep): Likewise.
36452         [XPG3 || XPG4] (timer_create): Likewise.
36453         [XPG3 || XPG4] (timer_delete): Likewise.
36454         [XPG3 || XPG4] (timer_gettime): Likewise.
36455         [XPG3 || XPG4] (timer_getoverrun): Likewise.
36456         [XPG3 || XPG4] (timer_settime): Likewise.
36457         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36458         [XPG3 || XPG4] (getlogin_r): Likewise.
36459         [XPG3 || XPG4] (pread): Likewise.
36460         [XPG3 || XPG4] (pthread_atfork): Likewise.
36461         [XPG3 || XPG4] (pwrite): Likewise.
36463         [BZ #14835]
36464         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36465         <bits/siginfo.h>.
36467 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36469         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36470         finalizing MALLSTREAM.
36472         * sysdeps/mach/hurd/syncfs.c: New file.
36474 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36476         [BZ #14719]
36477         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36478         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36479         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36480         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36481         (_nss_dns_gethostbyname4_r): Likewise.
36482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36483         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36485 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
36487         [BZ #13763]
36488         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36490 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
36492         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36493         * elf/cache.c (print_entry): Print ",AArch64" for
36494         FLAG_AARCH64_LIB64
36496         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36497         * elf/cache.c (print_entry): Print ",hard-float" for
36498         FLAG_ARM_LIBHF.
36500 2012-11-18  David S. Miller  <davem@davemloft.net>
36502         With help from Joseph Myers.
36503         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36504         cutoff to 2**-13.
36505         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36506         cutoff to 2**-25.
36507         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36508         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36509         small.
36510         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36511         * math/libm-test.inc (y0_test): New tests.
36512         (y1_test): New tests.
36513         * sysdeps/i386/fpu/libm-test-ulps: Update.
36514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36517 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
36519         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36520         64-bit targets.
36521         * configure: Regenerated.
36523 2012-11-17  David S. Miller  <davem@davemloft.net>
36525         [BZ #14811]
36526         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36527         nonzero exponents with absolute value below 0x1p-128 to +/-
36528         0x1p-128.
36530 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
36532         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36534         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36536         * posix/getconf-speclist.c: New file.
36537         * posix/posix-envs.def: Likewise.
36538         * posix/confstr.c (START_ENV_GROUP): New macro.
36539         (END_ENV_GROUP): Likewise.
36540         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36541         (KNOWN_PRESENT_ENV_STRING): Likewise.
36542         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36543         (UNKNOWN_ENVIRONMENT): Likewise.
36544         (confstr): Include posix-envs.def instead of handling
36545         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36546         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36547         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36548         (END_ENV_GROUP): Likewise.
36549         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36550         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36551         (UNKNOWN_ENVIRONMENT): Likewise.
36552         (__sysconf): Include posix-envs.def instead of handling associated
36553         cases directly here.
36554         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36555         preprocessing getconf-speclist.c rather than running getconf or
36556         generating empty file.
36558 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
36560         * scripts/check-local-headers.sh: Ignore 'mach' headers.
36562 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
36564         [BZ #14672]
36565         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36567 2012-11-16  David S. Miller  <davem@davemloft.net>
36569         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36570         smaller than LDBL_EPSILON/2.0L, just return xm1.
36572 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
36574         * elf/tst-array1.c (init): Set constructor priority to 1000.
36575         (fini): Set destructor priority to 1000.
36576         * elf/tst-array2dep.c: Likewise.
36578 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36580         [BZ #11741]
36581         * libio/fileops.c (_IO_new_file_write): Correctly return error.
36582         (_IO_new_file_xsputn): Also return EOF if none of the input
36583         data was written when overflow failed.
36584         * libio/iopadn.c (_IO_padn): Likewise.
36585         * libio/iowpadn.c (_IO_wpadn): Likewise.
36586         * stdio-common/tst-put-error.c: Add copyright notice.
36587         (do_test): Add case for printing padded string.
36588         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36589         _IO_padn returned error.
36590         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36591         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36592         return EOF.
36594 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36596         * libio/libioP.h: Add comment note that the references to C++
36597         bits are now obsolete.
36599 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36601         * math/libm-test.inc (check_complex): Use asprintf.
36603 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
36605         * debug/pcprofiledump.c (print_version): Update copyright year.
36606         * malloc/memusagestat.c (print_version): Likewise.
36608 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
36610         [BZ #14831]
36611         * elf/Makefile (tests): Add tst-audit8.
36612         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36613         ($(objpfx)tst-audit8.out): New target.
36614         (tst-audit8-ENV): New variable.
36615         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36616         audit if l_reloc_result is NULL.
36617         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36618         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36619         * elf/tst-audit8.c: New file.
36621 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36623         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36624         * misc/Makefile (CFLAGS-select.c): Define.
36625         * posix/Makefile (CFLAGS-pause.c): Define.
36627 2012-11-13  David S. Miller  <davem@davemloft.net>
36629         * crypt/Makefile: Move test targets after toplevel Rules
36630         inclusion.  Grab any necessary sysdep routines when linking.
36631         * crypt/md5.c (md5_process_block): Remove define, we will always
36632         name it __md5_process_block.
36633         (md5_finish_ctx): Update md5_process_block call.
36634         (md5_stream): Likewise.
36635         (md5_process_bytes): Likewise.
36636         (md5_process_block): Rename to __md5_process_block and move to ...
36637         * crypt/md5-block.c: ... here.
36638         * crypt/sha256.c (sha256_process_block): Move to ...
36639         * crypt/sha256-block.c: ... here.
36640         * crypt/sha512.c (sha512_process_block): Move to ...
36641         * crypt/sha512-block.c: ... here.
36642         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36643         path.
36644         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36645         * sysdeps/sparc/sparc64/multiarch/Makefile
36646         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36647         crypt subdir.
36648         (localedef-aux): Add md5 crypto assembler when in locale subdir.
36649         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36650         multiarch changes.
36651         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36652         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36653         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36654         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36655         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36656         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36657         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36658         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36659         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36660         file.
36661         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36662         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36663         file.
36664         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36666 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
36668         * timezone/tzselect.ksh: Update from tzcode git revision
36669         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36670         * timezone/zdump.c: Likewise.
36671         * timezone/zic.c: Likewise.
36672         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36673         in TZVERSION setting, not $(PKGVERSION).
36674         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
36675         REPORT_BUGS_TO settings.
36677         [BZ #14838]
36678         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36679         macro.
36681 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36683         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36684         detection to immediately after _FP_ROUND().
36685         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36686         bits are 0.
36688 2012-11-11  David S. Miller  <davem@davemloft.net>
36690         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36691         inttypes.h
36692         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36693         __close rather than their public counterparts.
36695 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
36697         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36698         file.
36699         [UNIX98] (sem_timedwait): Do not expect.
36700         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36701         [XPG4 || UNIX98] (sockatmark): Do not expect.
36702         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36703         (clock_getcpuclockid): Do not expect.
36704         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36705         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36706         Do not expect.
36707         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36708         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36709         [UNIX98] (vwscanf): Likewise.
36710         [UNIX98] (vswscanf): Likewise.
36712 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
36714         * timezone/version.h: Remove file.
36715         * timezone/README: Do not refer to version.h.
36716         * timezone/Makefile ($(objpfx)zic.o): New dependency on
36717         $(objpfx)version.h.
36718         ($(objpfx)zdump.o): Likewise.
36719         ($(objpfx)version.h): New target.
36721         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36722         2012i.
36723         * timezone/README: Don't mention modification to tzselect.ksh.
36724         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36725         work on unmodified tzselect.ksh.  Substitute version numbers in
36726         tzselect.ksh.
36728         * Makefile (format-me): Remove.
36729         (INSTALL): Adjust indentation.  Use commands directly instead of
36730         using $(format-me).
36732         * aclocal.m4 (ACX_PKGVERSION): New macro.
36733         (ACX_BUGURL): Likewise.
36734         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36735         (PKGVERSION): New AC_DEFINE_UNQUOTED.
36736         (REPORT_BUGS_TO): Likewise.
36737         * configure: Regenerated.
36738         * config.h.in (PKGVERSION): New macro.
36739         (REPORT_BUGS_TO): Likewise.
36740         * config.make.in (PKGVERSION): New variable.
36741         (PKGVERSION_TEXI): Likewise.
36742         (REPORT_BUGS_TO): Likewise.
36743         (REPORT_BUGS_TEXI): Likewise.
36744         * Makefile (format-me): Use -I$(common-objpfx)manual.
36745         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36746         ($(common-objpfx)manual/%): New target.
36747         (manual/%): Remove target.
36748         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36749         (print_version): Use PKGVERSION.
36750         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36751         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36752         and REPORT_BUGS_TO.
36753         ($(objpfx)xtrace): Likewise.
36754         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36755         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36756         (print_version): Use PKGVERSION.
36757         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36758         (do_version): Use PKGVERSION.
36759         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36760         REPORT_BUGS_TO.
36761         (common-ldd-rewrite): Likewise.
36762         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36763         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36764         (print_version): Use PKGVERSION.
36765         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36766         * elf/pldd.c (argp_program_bug_address): Remove variable.
36767         (more_help): New function.
36768         (argp): Use more_help.
36769         (print_version): Use PKGVERSION.
36770         * elf/sln.c (main): Use PKGVERSION.
36771         (usage): Use REPORT_BUGS_TO.
36772         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36773         (top level): Use PKGVERSION.
36774         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36775         (print_version): Use PKGVERSION.
36776         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36777         (print_version): Use PKGVERSION.
36778         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36779         (print_version): Use PKGVERSION.
36780         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36781         (print_version): Use PKGVERSION.
36782         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36783         (print_version): Use PKGVERSION.
36784         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36785         (print_version): Use PKGVERSION.
36786         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36787         and BUGURL.
36788         ($(objpfx)memusage): Likewise.
36789         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36790         (do_version): Use PKGVERSION.
36791         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36792         (print_version): Use PKGVERSION.
36793         * malloc/mtrace.pl ($PACKAGE): Remove variable.
36794         ($PKGVERSION): New variable.
36795         ($REPORT_BUGS_TO): Likewise.
36796         (usage): Use $REPORT_BUGS_TO.
36797         (top level): Use $PKGVERSION.
36798         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36799         ($(objpfx)pkgvers.texi): New rule.
36800         ($(objpfx)stamp-pkgvers): Likewise.
36801         * manual/install.texi: Include pkgvers.texi.
36802         (--with-pkgversion): Document new configure option.
36803         (--with-bugurl): Likewise.
36804         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36805         than necessarily for this particular distribution.  Use
36806         REPORT_BUGS_TO for where to report bugs.
36807         * INSTALL: Regenerated.
36808         * manual/libc.texinfo: Include pkgvers.texi.
36809         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36810         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36811         (print_version): Use PKGVERSION.
36812         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36813         (print_version): Use PKGVERSION.
36814         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36815         (print_version): Use PKGVERSION.
36816         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36817         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36818         macro.
36819         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36820         (print_version): Use PKGVERSION.
36821         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36822         (print_version): Use PKGVERSION.
36823         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36824         and PKGVERSION.
36826         * timezone/checktab.awk: Update from tzcode 2012i.
36827         * timezone/ialloc.c: Likewise.
36828         * timezone/private.h: Likewise.
36829         * timezone/scheck.c: Likewise.
36830         * timezone/tzfile.h: Likewise.
36831         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36832         (TZVERSION): Hardcode tzcode version number.
36833         * timezone/zdump.c: Update from tzcode 2012i.
36834         * timezone/zic.c: Likewise.
36835         * timezone/version.h: New file.
36836         * timezone/README: Describe version.h.  Update upstream location.
36838         [BZ #14824]
36839         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36840         (mktemp): Enable declaration.
36841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36845         Likewise.
36846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36847         Likewise.
36848         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36849         Likewise.
36850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36851         Likewise.
36852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36853         Likewise.
36854         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36855         Likewise.
36857         [BZ #14821]
36858         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36859         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
36860         for copies of such integer values.
36861         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36862         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36864 2012-11-09  Andreas Jaeger  <aj@suse.de>
36866         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36867         definitions and declarations that are provided by
36868         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36870 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36872         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36873         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36874         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36875         definition.
36877 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36879         * elf/elf.h: Update comment before AArch64 relocations.
36881 2012-11-07  David S. Miller  <davem@davemloft.net>
36883         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36884         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36885         (__start_context): Declare.
36886         (__makecontext_ret): Delete.
36887         (__makecontext): Hook up __start_context instead of
36888         __makecontext_ret.
36889         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36890         (sysdep_routines): Add __start_context when in stdlib.
36892 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36894         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36895         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36896         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
36897         hardcoded "nm".
36898         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
36899         (READELF): New variable.  Use it instead of hardcoded "readelf".
36901 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36903         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36904         * sysdeps/x86/Makefile: Here.
36905         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36906         * sysdeps/x86/tst-xmmymm.sh: This.
36908 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36910         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36911         expectations.
36912         [UNIX98] (pthread_barrier_t): Do not expect.
36913         [UNIX98] (pthread_barrierattr_t): Likewise.
36914         [UNIX98] (pthread_spinlock_t): Likewise.
36915         [UNIX98] (pthread_barrier_destroy): Likewise.
36916         [UNIX98] (pthread_barrier_init): Likewise.
36917         [UNIX98] (pthread_barrier_wait): Likewise.
36918         [UNIX98] (pthread_barrierattr_destroy): Likewise.
36919         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36920         [UNIX98] (pthread_barrierattr_init): Likewise.
36921         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36922         [UNIX98] (pthread_getcpuclockid): Likewise.
36923         [UNIX98] (pthread_mutex_timedlock): Likewise.
36924         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36925         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36926         [UNIX98] (pthread_sigmask): Likewise.
36927         [UNIX98] (pthread_spin_destroy): Likewise.
36928         [UNIX98] (pthread_spin_init): Likewise.
36929         [UNIX98] (pthread_spin_lock): Likewise.
36930         [UNIX98] (pthread_spin_trylock): Likewise.
36931         [UNIX98] (pthread_spin_unlock): Likewise.
36932         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36933         Do not expect.
36934         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36935         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36936         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36937         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36938         [XPG3 || XPG4] (pthread_key_t): Likewise.
36939         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36940         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36941         [XPG3 || XPG4] (pthread_once_t): Likewise.
36942         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36943         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36944         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36945         [XPG3 || XPG4] (pthread_t): Likewise.
36947         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36948         not expect.
36949         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36951         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36952         Change function return type to int.
36954         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36955         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36956         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36957         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36958         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36959         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36960         [!POSIX] (posix_madvise): Likewise.
36961         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36962         && !UNIX98].
36963         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36964         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36965         (mode_t): Likewise.
36966         (posix_mem_offset): Likewise.
36967         (posix_typed_mem_get_info): Likewise.
36968         (posix_typed_mem_open): Likewise.
36970         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36971         Change condition to [XOPEN2K8].
36973         * conform/conformtest.pl: Preprocess allow-header data with -x c
36974         instead of from stdin.
36975         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36976         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36977         [C99-based standards] (cerfc): Likewise.
36978         [C99-based standards] (cexp2): Likewise.
36979         [C99-based standards] (cexpm1): Likewise.
36980         [C99-based standards] (clog10): Likewise.
36981         [C99-based standards] (clog1p): Likewise.
36982         [C99-based standards] (clog2): Likewise.
36983         [C99-based standards] (clgamma): Likewise.
36984         [C99-based standards] (ctgamma): Likewise.
36985         [C99-based standards] (cerff): Likewise.
36986         [C99-based standards] (cerfcf): Likewise.
36987         [C99-based standards] (cexp2f): Likewise.
36988         [C99-based standards] (cexpm1f): Likewise.
36989         [C99-based standards] (clog10f): Likewise.
36990         [C99-based standards] (clog1pf): Likewise.
36991         [C99-based standards] (clog2f): Likewise.
36992         [C99-based standards] (clgammaf): Likewise.
36993         [C99-based standards] (ctgammaf): Likewise.
36994         [C99-based standards] (cerfl): Likewise.
36995         [C99-based standards] (cerfcl): Likewise.
36996         [C99-based standards] (cexp2l): Likewise.
36997         [C99-based standards] (cexpm1l): Likewise.
36998         [C99-based standards] (clog10l): Likewise.
36999         [C99-based standards] (clog1pl): Likewise.
37000         [C99-based standards] (clog2l): Likewise.
37001         [C99-based standards] (clgammal): Likewise.
37002         [C99-based standards] (ctgammal): Likewise.
37003         * conform/data/inttypes.h-data [C99-based standards]: Include
37004         stdint.h-data.  Remove all expectations for stdint.h contents.
37005         [C99-based standards] (PRI*): Do not allow.
37006         [C99-based standards] (SCN*): Likewise.
37007         [C99-based standards] (*_t): Likewise.
37008         [C99-based-standards] (PRId8): Expect macro.
37009         [C99-based-standards] (PRIi8): Likewise.
37010         [C99-based-standards] (PRIo8): Likewise.
37011         [C99-based-standards] (PRIu8): Likewise.
37012         [C99-based-standards] (PRIx8): Likewise.
37013         [C99-based-standards] (PRIX8): Likewise.
37014         [C99-based-standards] (SCNd8): Likewise.
37015         [C99-based-standards] (SCNi8): Likewise.
37016         [C99-based-standards] (SCNo8): Likewise.
37017         [C99-based-standards] (SCNu8): Likewise.
37018         [C99-based-standards] (SCNx8): Likewise.
37019         [C99-based-standards] (PRIdLEAST8): Likewise.
37020         [C99-based-standards] (PRIiLEAST8): Likewise.
37021         [C99-based-standards] (PRIoLEAST8): Likewise.
37022         [C99-based-standards] (PRIuLEAST8): Likewise.
37023         [C99-based-standards] (PRIxLEAST8): Likewise.
37024         [C99-based-standards] (PRIXLEAST8): Likewise.
37025         [C99-based-standards] (SCNdLEAST8): Likewise.
37026         [C99-based-standards] (SCNiLEAST8): Likewise.
37027         [C99-based-standards] (SCNoLEAST8): Likewise.
37028         [C99-based-standards] (SCNuLEAST8): Likewise.
37029         [C99-based-standards] (SCNxLEAST8): Likewise.
37030         [C99-based-standards] (PRIdFAST8): Likewise.
37031         [C99-based-standards] (PRIiFAST8): Likewise.
37032         [C99-based-standards] (PRIoFAST8): Likewise.
37033         [C99-based-standards] (PRIuFAST8): Likewise.
37034         [C99-based-standards] (PRIxFAST8): Likewise.
37035         [C99-based-standards] (PRIXFAST8): Likewise.
37036         [C99-based-standards] (SCNdFAST8): Likewise.
37037         [C99-based-standards] (SCNiFAST8): Likewise.
37038         [C99-based-standards] (SCNoFAST8): Likewise.
37039         [C99-based-standards] (SCNuFAST8): Likewise.
37040         [C99-based-standards] (SCNxFAST8): Likewise.
37041         [C99-based-standards] (PRId16): Likewise.
37042         [C99-based-standards] (PRIi16): Likewise.
37043         [C99-based-standards] (PRIo16): Likewise.
37044         [C99-based-standards] (PRIu16): Likewise.
37045         [C99-based-standards] (PRIx16): Likewise.
37046         [C99-based-standards] (PRIX16): Likewise.
37047         [C99-based-standards] (SCNd16): Likewise.
37048         [C99-based-standards] (SCNi16): Likewise.
37049         [C99-based-standards] (SCNo16): Likewise.
37050         [C99-based-standards] (SCNu16): Likewise.
37051         [C99-based-standards] (SCNx16): Likewise.
37052         [C99-based-standards] (PRIdLEAST16): Likewise.
37053         [C99-based-standards] (PRIiLEAST16): Likewise.
37054         [C99-based-standards] (PRIoLEAST16): Likewise.
37055         [C99-based-standards] (PRIuLEAST16): Likewise.
37056         [C99-based-standards] (PRIxLEAST16): Likewise.
37057         [C99-based-standards] (PRIXLEAST16): Likewise.
37058         [C99-based-standards] (SCNdLEAST16): Likewise.
37059         [C99-based-standards] (SCNiLEAST16): Likewise.
37060         [C99-based-standards] (SCNoLEAST16): Likewise.
37061         [C99-based-standards] (SCNuLEAST16): Likewise.
37062         [C99-based-standards] (SCNxLEAST16): Likewise.
37063         [C99-based-standards] (PRIdFAST16): Likewise.
37064         [C99-based-standards] (PRIiFAST16): Likewise.
37065         [C99-based-standards] (PRIoFAST16): Likewise.
37066         [C99-based-standards] (PRIuFAST16): Likewise.
37067         [C99-based-standards] (PRIxFAST16): Likewise.
37068         [C99-based-standards] (PRIXFAST16): Likewise.
37069         [C99-based-standards] (SCNdFAST16): Likewise.
37070         [C99-based-standards] (SCNiFAST16): Likewise.
37071         [C99-based-standards] (SCNoFAST16): Likewise.
37072         [C99-based-standards] (SCNuFAST16): Likewise.
37073         [C99-based-standards] (SCNxFAST16): Likewise.
37074         [C99-based-standards] (PRId32): Likewise.
37075         [C99-based-standards] (PRIi32): Likewise.
37076         [C99-based-standards] (PRIo32): Likewise.
37077         [C99-based-standards] (PRIu32): Likewise.
37078         [C99-based-standards] (PRIx32): Likewise.
37079         [C99-based-standards] (PRIX32): Likewise.
37080         [C99-based-standards] (SCNd32): Likewise.
37081         [C99-based-standards] (SCNi32): Likewise.
37082         [C99-based-standards] (SCNo32): Likewise.
37083         [C99-based-standards] (SCNu32): Likewise.
37084         [C99-based-standards] (SCNx32): Likewise.
37085         [C99-based-standards] (PRIdLEAST32): Likewise.
37086         [C99-based-standards] (PRIiLEAST32): Likewise.
37087         [C99-based-standards] (PRIoLEAST32): Likewise.
37088         [C99-based-standards] (PRIuLEAST32): Likewise.
37089         [C99-based-standards] (PRIxLEAST32): Likewise.
37090         [C99-based-standards] (PRIXLEAST32): Likewise.
37091         [C99-based-standards] (SCNdLEAST32): Likewise.
37092         [C99-based-standards] (SCNiLEAST32): Likewise.
37093         [C99-based-standards] (SCNoLEAST32): Likewise.
37094         [C99-based-standards] (SCNuLEAST32): Likewise.
37095         [C99-based-standards] (SCNxLEAST32): Likewise.
37096         [C99-based-standards] (PRIdFAST32): Likewise.
37097         [C99-based-standards] (PRIiFAST32): Likewise.
37098         [C99-based-standards] (PRIoFAST32): Likewise.
37099         [C99-based-standards] (PRIuFAST32): Likewise.
37100         [C99-based-standards] (PRIxFAST32): Likewise.
37101         [C99-based-standards] (PRIXFAST32): Likewise.
37102         [C99-based-standards] (SCNdFAST32): Likewise.
37103         [C99-based-standards] (SCNiFAST32): Likewise.
37104         [C99-based-standards] (SCNoFAST32): Likewise.
37105         [C99-based-standards] (SCNuFAST32): Likewise.
37106         [C99-based-standards] (SCNxFAST32): Likewise.
37107         [C99-based-standards] (PRId64): Likewise.
37108         [C99-based-standards] (PRIi64): Likewise.
37109         [C99-based-standards] (PRIo64): Likewise.
37110         [C99-based-standards] (PRIu64): Likewise.
37111         [C99-based-standards] (PRIx64): Likewise.
37112         [C99-based-standards] (PRIX64): Likewise.
37113         [C99-based-standards] (SCNd64): Likewise.
37114         [C99-based-standards] (SCNi64): Likewise.
37115         [C99-based-standards] (SCNo64): Likewise.
37116         [C99-based-standards] (SCNu64): Likewise.
37117         [C99-based-standards] (SCNx64): Likewise.
37118         [C99-based-standards] (PRIdLEAST64): Likewise.
37119         [C99-based-standards] (PRIiLEAST64): Likewise.
37120         [C99-based-standards] (PRIoLEAST64): Likewise.
37121         [C99-based-standards] (PRIuLEAST64): Likewise.
37122         [C99-based-standards] (PRIxLEAST64): Likewise.
37123         [C99-based-standards] (PRIXLEAST64): Likewise.
37124         [C99-based-standards] (SCNdLEAST64): Likewise.
37125         [C99-based-standards] (SCNiLEAST64): Likewise.
37126         [C99-based-standards] (SCNoLEAST64): Likewise.
37127         [C99-based-standards] (SCNuLEAST64): Likewise.
37128         [C99-based-standards] (SCNxLEAST64): Likewise.
37129         [C99-based-standards] (PRIdFAST64): Likewise.
37130         [C99-based-standards] (PRIiFAST64): Likewise.
37131         [C99-based-standards] (PRIoFAST64): Likewise.
37132         [C99-based-standards] (PRIuFAST64): Likewise.
37133         [C99-based-standards] (PRIxFAST64): Likewise.
37134         [C99-based-standards] (PRIXFAST64): Likewise.
37135         [C99-based-standards] (SCNdFAST64): Likewise.
37136         [C99-based-standards] (SCNiFAST64): Likewise.
37137         [C99-based-standards] (SCNoFAST64): Likewise.
37138         [C99-based-standards] (SCNuFAST64): Likewise.
37139         [C99-based-standards] (SCNxFAST64): Likewise.
37140         [C99-based-standards] (PRIdMAX): Likewise.
37141         [C99-based-standards] (PRIiMAX): Likewise.
37142         [C99-based-standards] (PRIoMAX): Likewise.
37143         [C99-based-standards] (PRIuMAX): Likewise.
37144         [C99-based-standards] (PRIxMAX): Likewise.
37145         [C99-based-standards] (PRIXMAX): Likewise.
37146         [C99-based-standards] (SCNdMAX): Likewise.
37147         [C99-based-standards] (SCNiMAX): Likewise.
37148         [C99-based-standards] (SCNoMAX): Likewise.
37149         [C99-based-standards] (SCNuMAX): Likewise.
37150         [C99-based-standards] (SCNxMAX): Likewise.
37151         [C99-based-standards] (PRIdPTR): Likewise.
37152         [C99-based-standards] (PRIiPTR): Likewise.
37153         [C99-based-standards] (PRIoPTR): Likewise.
37154         [C99-based-standards] (PRIuPTR): Likewise.
37155         [C99-based-standards] (PRIxPTR): Likewise.
37156         [C99-based-standards] (PRIXPTR): Likewise.
37157         [C99-based-standards] (SCNdPTR): Likewise.
37158         [C99-based-standards] (SCNiPTR): Likewise.
37159         [C99-based-standards] (SCNoPTR): Likewise.
37160         [C99-based-standards] (SCNuPTR): Likewise.
37161         [C99-based-standards] (SCNxPTR): Likewise.
37162         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37163         allow.
37164         * conform/data/stdint.h-data: Update comments to clarify
37165         requirements.
37166         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
37167         type.
37168         [C99-based standards] (INT8_MAX): Likewise.
37169         [C99-based standards] (INT16_MIN): Likewise.
37170         [C99-based standards] (INT16_MAX): Likewise.
37171         [C99-based standards] (INT32_MIN): Likewise.
37172         [C99-based standards] (INT32_MAX): Likewise.
37173         [C99-based standards] (INT64_MIN): Likewise.
37174         [C99-based standards] (INT64_MAX): Likewise.
37175         [C99-based standards] (UINT8_MAX): Likewise.
37176         [C99-based standards] (UINT16_MAX): Likewise.
37177         [C99-based standards] (UINT32_MAX): Likewise.
37178         [C99-based standards] (UINT64_MAX): Likewise.
37179         [C99-based standards] (INT_LEAST8_MIN): Likewise.
37180         [C99-based standards] (INT_LEAST8_MAX): Likewise.
37181         [C99-based standards] (INT_LEAST16_MIN): Likewise.
37182         [C99-based standards] (INT_LEAST16_MAX): Likewise.
37183         [C99-based standards] (INT_LEAST32_MIN): Likewise.
37184         [C99-based standards] (INT_LEAST32_MAX): Likewise.
37185         [C99-based standards] (INT_LEAST64_MIN): Likewise.
37186         [C99-based standards] (INT_LEAST64_MAX): Likewise.
37187         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37188         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37189         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37190         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37191         [C99-based standards] (INT_FAST8_MIN): Likewise.
37192         [C99-based standards] (INT_FAST8_MAX): Likewise.
37193         [C99-based standards] (INT_FAST16_MIN): Likewise.
37194         [C99-based standards] (INT_FAST16_MAX): Likewise.
37195         [C99-based standards] (INT_FAST32_MIN): Likewise.
37196         [C99-based standards] (INT_FAST32_MAX): Likewise.
37197         [C99-based standards] (INT_FAST64_MIN): Likewise.
37198         [C99-based standards] (INT_FAST64_MAX): Likewise.
37199         [C99-based standards] (UINT_FAST8_MAX): Likewise.
37200         [C99-based standards] (UINT_FAST16_MAX): Likewise.
37201         [C99-based standards] (UINT_FAST32_MAX): Likewise.
37202         [C99-based standards] (UINT_FAST64_MAX): Likewise.
37203         [C99-based standards] (INTPTR_MIN): Likewise.
37204         [C99-based standards] (INTPTR_MAX): Likewise.
37205         [C99-based standards] (UINTPTR_MAX): Likewise.
37206         [C99-based standards] (INTMAX_MIN): Likewise.
37207         [C99-based standards] (INTMAX_MAX): Likewise.
37208         [C99-based standards] (UINTMAX_MAX): Likewise.
37209         [C99-based standards] (PTRDIFF_MIN): Likewise.
37210         [C99-based standards] (PTRDIFF_MAX): Likewise.
37211         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37212         [C99-based standards] (SIZE_MAX): Likewise.
37213         [C99-based standards] (WCHAR_MAX): Likewise.
37214         [C99-based standards] (WINT_MAX): Likewise.
37215         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
37216         constraint on value.
37217         [C99-based standards] (WCHAR_MIN): Likewise.
37218         [C99-based standards] (WINT_MIN): Likewise.
37219         [C99-based standards] (*_t): Allow.
37220         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37221         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37222         Include math.h-data and complex.h-data.  Remove all expectations
37223         of math.h and complex.h contents.
37224         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37225         at end of line.
37226         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37227         (struct tm): Expect tag.
37228         [C99-based-standards] (wcstof): Expect function.
37229         [C99-based-standards] (wcstold): Likewise.
37230         [C99-based-standards] (wcstoll): Likewise.
37231         [C99-based-standards] (wcstoull): Likewise.
37232         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37233         macro-int-constant.  Specify type.
37234         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
37235         constraint on value.
37236         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37237         Specify type.
37238         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37239         Specify value.
37240         [ISO C standards]: Do not allow headers.
37241         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37242         wcs[abcdefghijklmnopqrstuvwxyz]*.
37243         [ISO C standards] (*_t): Do not allow.
37244         * conform/data/wctype.h-data [C99-based standards] (iswblank):
37245         Expect function.
37246         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37247         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37248         Specify type.
37249         [ISO C standards]: Do not allow headers.
37250         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37251         is[abcdefghijklmnopqrstuvwxyz]*.
37252         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37253         to[abcdefghijklmnopqrstuvwxyz]*.
37254         [ISO C standards] (*_t): Do not allow.
37255         * conform/data/stdalign.h-data: New file.
37256         * conform/data/stdbool.h-data: Likewise.
37257         * conform/data/stdnoreturn.h-data: Likewise.
37259 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37261         [BZ #14815]
37262         * manual/filesys.texi (Directory Entries): Typo fix.
37263         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37265 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37267         * elf/elf.h (EM_AARCH64): New macro.
37268         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37269         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37270         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37271         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37272         (R_AARCH64_TLSDESC): Likewise.
37273         (NT_ARM_TLS): Likewise.
37274         (NT_ARM_HW_BREAK): Likewise.
37275         (NT_ARM_HW_WATCH): Likewise.
37277 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37279         [BZ #14811]
37280         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37281         (__ieee754_powl): Saturate nonzero exponents with absolute value
37282         below 0x1p-79 to +/- 0x1p-79.
37283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37284         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37285         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37286         nonzero exponents with absolute value below 0x1p-32 to +/-
37287         0x1p-32.
37288         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37289         (__ieee754_powl): Saturate nonzero exponents with absolute value
37290         below 0x1p-79 to +/- 0x1p-79.
37291         * math/libm-test.inc (pow_test): Add more tests.
37293 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37295         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37296         _dl_s390_cap_flags with kernel. Increase string length.
37297         (_dl_s390_platforms): Add z196 and zEC12.
37299 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37301         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37302         Change XOPEN21K to XOPEN2K.
37304 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37306         * string/memmove.c: Use memcpy when possible.
37308 2012-11-06  Andreas Jaeger  <aj@suse.de>
37310         * po/eo.po: Update from translation team.
37312 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
37314         [BZ #14793]
37315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37316         exponent and small x and y exponents, scale x or y up.  Increase
37317         by 2 the exponent used in scaling up.
37318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37320         * math/libm-test.inc (fma_test): Add more tests.
37321         (fma_test_towardzero): Likewise.
37322         (fma_test_downward): Likewise.
37323         (fma_test_upward): Likewise.
37325 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
37327         [BZ #14805]
37328         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37329         fenv_t *.
37331         [BZ #14801]
37332         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37333         namespace for names of struct fields.
37334         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37335         fenv_t fields.
37336         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37337         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37339 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37341         [BZ #3665]
37342         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37344 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37346         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37347         PTR_DEMANGLE.
37349         [BZ #5246]
37350         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37351         PTR_DEMANGLE.
37353 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
37355         [BZ #14797]
37356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37357         definitely overflow as x * y not x * y + z.
37358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37360         * math/libm-test.inc (fma_test): Add more tests.
37361         (fma_test_towardzero): Likewise.
37362         (fma_test_downward): Likewise.
37363         (fma_test_upward): Likewise.
37365 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37367         [BZ #157]
37369         * include/stub-tag.h: Remove file.
37370         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37371         '#include' of it.
37372         * manual/maint.texi (Porting): Don't reference it.
37373         * Makerules ($(objpfx)stubs): Likewise.
37374         * dirent/closedir.c: Don't include <stub-tag.h>.
37375         * dirent/dirfd.c: Likewise.
37376         * dirent/fdopendir.c: Likewise.
37377         * dirent/getdents.c: Likewise.
37378         * dirent/getdents64.c: Likewise.
37379         * dirent/opendir.c: Likewise.
37380         * dirent/readdir.c: Likewise.
37381         * dirent/readdir64.c: Likewise.
37382         * dirent/readdir64_r.c: Likewise.
37383         * dirent/readdir_r.c: Likewise.
37384         * dirent/rewinddir.c: Likewise.
37385         * dirent/seekdir.c: Likewise.
37386         * dirent/telldir.c: Likewise.
37387         * gmon/profil.c: Likewise.
37388         * grp/setgroups.c: Likewise.
37389         * inet/if_index.c: Likewise.
37390         * io/access.c: Likewise.
37391         * io/chdir.c: Likewise.
37392         * io/chmod.c: Likewise.
37393         * io/chown.c: Likewise.
37394         * io/close.c: Likewise.
37395         * io/dup.c: Likewise.
37396         * io/dup2.c: Likewise.
37397         * io/dup3.c: Likewise.
37398         * io/euidaccess.c: Likewise.
37399         * io/faccessat.c: Likewise.
37400         * io/fchdir.c: Likewise.
37401         * io/fchmod.c: Likewise.
37402         * io/fchmodat.c: Likewise.
37403         * io/fchown.c: Likewise.
37404         * io/fchownat.c: Likewise.
37405         * io/fcntl.c: Likewise.
37406         * io/flock.c: Likewise.
37407         * io/fstatfs.c: Likewise.
37408         * io/fstatfs64.c: Likewise.
37409         * io/fstatvfs.c: Likewise.
37410         * io/fstatvfs64.c: Likewise.
37411         * io/futimens.c: Likewise.
37412         * io/fxstat.c: Likewise.
37413         * io/fxstat64.c: Likewise.
37414         * io/fxstatat.c: Likewise.
37415         * io/fxstatat64.c: Likewise.
37416         * io/getcwd.c: Likewise.
37417         * io/isatty.c: Likewise.
37418         * io/lchmod.c: Likewise.
37419         * io/lchown.c: Likewise.
37420         * io/link.c: Likewise.
37421         * io/linkat.c: Likewise.
37422         * io/lseek.c: Likewise.
37423         * io/lseek64.c: Likewise.
37424         * io/lxstat64.c: Likewise.
37425         * io/mkdir.c: Likewise.
37426         * io/mkdirat.c: Likewise.
37427         * io/mkfifo.c: Likewise.
37428         * io/mkfifoat.c: Likewise.
37429         * io/open.c: Likewise.
37430         * io/open64.c: Likewise.
37431         * io/openat.c: Likewise.
37432         * io/openat64.c: Likewise.
37433         * io/pipe.c: Likewise.
37434         * io/pipe2.c: Likewise.
37435         * io/poll.c: Likewise.
37436         * io/posix_fadvise.c: Likewise.
37437         * io/posix_fadvise64.c: Likewise.
37438         * io/posix_fallocate.c: Likewise.
37439         * io/posix_fallocate64.c: Likewise.
37440         * io/read.c: Likewise.
37441         * io/readlink.c: Likewise.
37442         * io/readlinkat.c: Likewise.
37443         * io/rmdir.c: Likewise.
37444         * io/sendfile.c: Likewise.
37445         * io/sendfile64.c: Likewise.
37446         * io/statfs.c: Likewise.
37447         * io/statfs64.c: Likewise.
37448         * io/statvfs.c: Likewise.
37449         * io/statvfs64.c: Likewise.
37450         * io/symlink.c: Likewise.
37451         * io/symlinkat.c: Likewise.
37452         * io/ttyname.c: Likewise.
37453         * io/ttyname_r.c: Likewise.
37454         * io/umask.c: Likewise.
37455         * io/unlink.c: Likewise.
37456         * io/unlinkat.c: Likewise.
37457         * io/utime.c: Likewise.
37458         * io/utimensat.c: Likewise.
37459         * io/write.c: Likewise.
37460         * io/xmknod.c: Likewise.
37461         * io/xmknodat.c: Likewise.
37462         * io/xstat.c: Likewise.
37463         * io/xstat64.c: Likewise.
37464         * login/getpt.c: Likewise.
37465         * login/grantpt.c: Likewise.
37466         * login/unlockpt.c: Likewise.
37467         * math/e_acoshl.c: Likewise.
37468         * math/e_acosl.c: Likewise.
37469         * math/e_asinl.c: Likewise.
37470         * math/e_atan2l.c: Likewise.
37471         * math/e_atanhl.c: Likewise.
37472         * math/e_coshl.c: Likewise.
37473         * math/e_expl.c: Likewise.
37474         * math/e_fmodl.c: Likewise.
37475         * math/e_gammal_r.c: Likewise.
37476         * math/e_hypotl.c: Likewise.
37477         * math/e_j0l.c: Likewise.
37478         * math/e_j1l.c: Likewise.
37479         * math/e_jnl.c: Likewise.
37480         * math/e_lgammal_r.c: Likewise.
37481         * math/e_log10l.c: Likewise.
37482         * math/e_log2l.c: Likewise.
37483         * math/e_logl.c: Likewise.
37484         * math/e_powl.c: Likewise.
37485         * math/e_rem_pio2l.c: Likewise.
37486         * math/e_sinhl.c: Likewise.
37487         * math/e_sqrtl.c: Likewise.
37488         * math/fclrexcpt.c: Likewise.
37489         * math/fedisblxcpt.c: Likewise.
37490         * math/feenablxcpt.c: Likewise.
37491         * math/fegetenv.c: Likewise.
37492         * math/fegetexcept.c: Likewise.
37493         * math/fegetround.c: Likewise.
37494         * math/feholdexcpt.c: Likewise.
37495         * math/fesetenv.c: Likewise.
37496         * math/fesetround.c: Likewise.
37497         * math/feupdateenv.c: Likewise.
37498         * math/fgetexcptflg.c: Likewise.
37499         * math/fraiseexcpt.c: Likewise.
37500         * math/fsetexcptflg.c: Likewise.
37501         * math/ftestexcept.c: Likewise.
37502         * math/k_cosl.c: Likewise.
37503         * math/k_rem_pio2l.c: Likewise.
37504         * math/k_sinl.c: Likewise.
37505         * math/k_tanl.c: Likewise.
37506         * math/s_asinhl.c: Likewise.
37507         * math/s_atanl.c: Likewise.
37508         * math/s_cbrtl.c: Likewise.
37509         * math/s_erfl.c: Likewise.
37510         * math/s_expm1l.c: Likewise.
37511         * math/s_log1pl.c: Likewise.
37512         * math/s_tanhl.c: Likewise.
37513         * misc/acct.c: Likewise.
37514         * misc/brk.c: Likewise.
37515         * misc/chflags.c: Likewise.
37516         * misc/chroot.c: Likewise.
37517         * misc/fchflags.c: Likewise.
37518         * misc/fgetxattr.c: Likewise.
37519         * misc/flistxattr.c: Likewise.
37520         * misc/fremovexattr.c: Likewise.
37521         * misc/fsetxattr.c: Likewise.
37522         * misc/fsync.c: Likewise.
37523         * misc/ftruncate.c: Likewise.
37524         * misc/futimes.c: Likewise.
37525         * misc/futimesat.c: Likewise.
37526         * misc/getdomain.c: Likewise.
37527         * misc/getdtsz.c: Likewise.
37528         * misc/gethostid.c: Likewise.
37529         * misc/gethostname.c: Likewise.
37530         * misc/getloadavg.c: Likewise.
37531         * misc/getpagesize.c: Likewise.
37532         * misc/getsysstats.c: Likewise.
37533         * misc/getxattr.c: Likewise.
37534         * misc/gtty.c: Likewise.
37535         * misc/ioctl.c: Likewise.
37536         * misc/lgetxattr.c: Likewise.
37537         * misc/listxattr.c: Likewise.
37538         * misc/llistxattr.c: Likewise.
37539         * misc/lremovexattr.c: Likewise.
37540         * misc/lsetxattr.c: Likewise.
37541         * misc/lutimes.c: Likewise.
37542         * misc/madvise.c: Likewise.
37543         * misc/mincore.c: Likewise.
37544         * misc/mlock.c: Likewise.
37545         * misc/mlockall.c: Likewise.
37546         * misc/mmap.c: Likewise.
37547         * misc/mprotect.c: Likewise.
37548         * misc/msync.c: Likewise.
37549         * misc/munlock.c: Likewise.
37550         * misc/munlockall.c: Likewise.
37551         * misc/munmap.c: Likewise.
37552         * misc/preadv.c: Likewise.
37553         * misc/preadv64.c: Likewise.
37554         * misc/ptrace.c: Likewise.
37555         * misc/pwritev.c: Likewise.
37556         * misc/pwritev64.c: Likewise.
37557         * misc/readv.c: Likewise.
37558         * misc/reboot.c: Likewise.
37559         * misc/remap_file_pages.c: Likewise.
37560         * misc/removexattr.c: Likewise.
37561         * misc/revoke.c: Likewise.
37562         * misc/select.c: Likewise.
37563         * misc/setdomain.c: Likewise.
37564         * misc/setegid.c: Likewise.
37565         * misc/seteuid.c: Likewise.
37566         * misc/sethostid.c: Likewise.
37567         * misc/sethostname.c: Likewise.
37568         * misc/setregid.c: Likewise.
37569         * misc/setreuid.c: Likewise.
37570         * misc/setxattr.c: Likewise.
37571         * misc/sstk.c: Likewise.
37572         * misc/stty.c: Likewise.
37573         * misc/swapoff.c: Likewise.
37574         * misc/swapon.c: Likewise.
37575         * misc/sync.c: Likewise.
37576         * misc/syncfs.c: Likewise.
37577         * misc/syscall.c: Likewise.
37578         * misc/truncate.c: Likewise.
37579         * misc/ualarm.c: Likewise.
37580         * misc/usleep.c: Likewise.
37581         * misc/ustat.c: Likewise.
37582         * misc/utimes.c: Likewise.
37583         * misc/vhangup.c: Likewise.
37584         * misc/writev.c: Likewise.
37585         * posix/_exit.c: Likewise.
37586         * posix/alarm.c: Likewise.
37587         * posix/execve.c: Likewise.
37588         * posix/fexecve.c: Likewise.
37589         * posix/fork.c: Likewise.
37590         * posix/fpathconf.c: Likewise.
37591         * posix/getaddrinfo.c: Likewise.
37592         * posix/getegid.c: Likewise.
37593         * posix/geteuid.c: Likewise.
37594         * posix/getgid.c: Likewise.
37595         * posix/getgroups.c: Likewise.
37596         * posix/getlogin.c: Likewise.
37597         * posix/getlogin_r.c: Likewise.
37598         * posix/getpgid.c: Likewise.
37599         * posix/getpid.c: Likewise.
37600         * posix/getppid.c: Likewise.
37601         * posix/getresgid.c: Likewise.
37602         * posix/getresuid.c: Likewise.
37603         * posix/getsid.c: Likewise.
37604         * posix/getuid.c: Likewise.
37605         * posix/glob64.c: Likewise.
37606         * posix/nanosleep.c: Likewise.
37607         * posix/pathconf.c: Likewise.
37608         * posix/pause.c: Likewise.
37609         * posix/posix_madvise.c: Likewise.
37610         * posix/pread.c: Likewise.
37611         * posix/pread64.c: Likewise.
37612         * posix/pwrite.c: Likewise.
37613         * posix/pwrite64.c: Likewise.
37614         * posix/sched_getaffinity.c: Likewise.
37615         * posix/sched_getp.c: Likewise.
37616         * posix/sched_gets.c: Likewise.
37617         * posix/sched_primax.c: Likewise.
37618         * posix/sched_primin.c: Likewise.
37619         * posix/sched_rr_gi.c: Likewise.
37620         * posix/sched_setaffinity.c: Likewise.
37621         * posix/sched_setp.c: Likewise.
37622         * posix/sched_sets.c: Likewise.
37623         * posix/sched_yield.c: Likewise.
37624         * posix/setgid.c: Likewise.
37625         * posix/setlogin.c: Likewise.
37626         * posix/setpgid.c: Likewise.
37627         * posix/setresgid.c: Likewise.
37628         * posix/setresuid.c: Likewise.
37629         * posix/setsid.c: Likewise.
37630         * posix/setuid.c: Likewise.
37631         * posix/sleep.c: Likewise.
37632         * posix/spawni.c: Likewise.
37633         * posix/sysconf.c: Likewise.
37634         * posix/times.c: Likewise.
37635         * posix/wait.c: Likewise.
37636         * posix/wait3.c: Likewise.
37637         * posix/wait4.c: Likewise.
37638         * posix/waitpid.c: Likewise.
37639         * resolv/gai_sigqueue.c: Likewise.
37640         * resource/getpriority.c: Likewise.
37641         * resource/getrlimit.c: Likewise.
37642         * resource/getrusage.c: Likewise.
37643         * resource/nice.c: Likewise.
37644         * resource/setpriority.c: Likewise.
37645         * resource/setrlimit.c: Likewise.
37646         * resource/ulimit.c: Likewise.
37647         * rt/aio_cancel.c: Likewise.
37648         * rt/aio_fsync.c: Likewise.
37649         * rt/aio_read.c: Likewise.
37650         * rt/aio_sigqueue.c: Likewise.
37651         * rt/aio_suspend.c: Likewise.
37652         * rt/aio_write.c: Likewise.
37653         * rt/clock_getres.c: Likewise.
37654         * rt/clock_gettime.c: Likewise.
37655         * rt/clock_nanosleep.c: Likewise.
37656         * rt/clock_settime.c: Likewise.
37657         * rt/lio_listio.c: Likewise.
37658         * rt/mq_close.c: Likewise.
37659         * rt/mq_getattr.c: Likewise.
37660         * rt/mq_notify.c: Likewise.
37661         * rt/mq_open.c: Likewise.
37662         * rt/mq_receive.c: Likewise.
37663         * rt/mq_send.c: Likewise.
37664         * rt/mq_setattr.c: Likewise.
37665         * rt/mq_timedreceive.c: Likewise.
37666         * rt/mq_timedsend.c: Likewise.
37667         * rt/mq_unlink.c: Likewise.
37668         * rt/shm_open.c: Likewise.
37669         * rt/shm_unlink.c: Likewise.
37670         * rt/timer_create.c: Likewise.
37671         * rt/timer_delete.c: Likewise.
37672         * rt/timer_getoverr.c: Likewise.
37673         * rt/timer_gettime.c: Likewise.
37674         * rt/timer_settime.c: Likewise.
37675         * setjmp/__longjmp.c: Likewise.
37676         * setjmp/setjmp.c: Likewise.
37677         * signal/kill.c: Likewise.
37678         * signal/killpg.c: Likewise.
37679         * signal/raise.c: Likewise.
37680         * signal/sigaction.c: Likewise.
37681         * signal/sigaltstack.c: Likewise.
37682         * signal/sigblock.c: Likewise.
37683         * signal/sigignore.c: Likewise.
37684         * signal/sigintr.c: Likewise.
37685         * signal/signal.c: Likewise.
37686         * signal/sigpause.c: Likewise.
37687         * signal/sigpending.c: Likewise.
37688         * signal/sigqueue.c: Likewise.
37689         * signal/sigreturn.c: Likewise.
37690         * signal/sigset.c: Likewise.
37691         * signal/sigsetmask.c: Likewise.
37692         * signal/sigstack.c: Likewise.
37693         * signal/sigsuspend.c: Likewise.
37694         * signal/sigtimedwait.c: Likewise.
37695         * signal/sigvec.c: Likewise.
37696         * signal/sigwait.c: Likewise.
37697         * signal/sigwaitinfo.c: Likewise.
37698         * signal/sysv_signal.c: Likewise.
37699         * socket/accept.c: Likewise.
37700         * socket/accept4.c: Likewise.
37701         * socket/bind.c: Likewise.
37702         * socket/connect.c: Likewise.
37703         * socket/getpeername.c: Likewise.
37704         * socket/getsockname.c: Likewise.
37705         * socket/getsockopt.c: Likewise.
37706         * socket/isfdtype.c: Likewise.
37707         * socket/listen.c: Likewise.
37708         * socket/recv.c: Likewise.
37709         * socket/recvfrom.c: Likewise.
37710         * socket/recvmsg.c: Likewise.
37711         * socket/send.c: Likewise.
37712         * socket/sendmsg.c: Likewise.
37713         * socket/sendto.c: Likewise.
37714         * socket/setsockopt.c: Likewise.
37715         * socket/shutdown.c: Likewise.
37716         * socket/sockatmark.c: Likewise.
37717         * socket/socket.c: Likewise.
37718         * socket/socketpair.c: Likewise.
37719         * stdio-common/ctermid.c: Likewise.
37720         * stdio-common/cuserid.c: Likewise.
37721         * stdio-common/remove.c: Likewise.
37722         * stdio-common/rename.c: Likewise.
37723         * stdio-common/renameat.c: Likewise.
37724         * stdio-common/tempname.c: Likewise.
37725         * stdlib/getcontext.c: Likewise.
37726         * stdlib/makecontext.c: Likewise.
37727         * stdlib/setcontext.c: Likewise.
37728         * stdlib/swapcontext.c: Likewise.
37729         * stdlib/system.c: Likewise.
37730         * streams/fattach.c: Likewise.
37731         * streams/fdetach.c: Likewise.
37732         * streams/getmsg.c: Likewise.
37733         * streams/getpmsg.c: Likewise.
37734         * streams/putmsg.c: Likewise.
37735         * streams/putpmsg.c: Likewise.
37736         * sysdeps/unix/bsd/getpt.c: Likewise.
37737         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37738         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37739         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37741         Likewise.
37742         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37743         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37744         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37745         * sysvipc/msgctl.c: Likewise.
37746         * sysvipc/msgget.c: Likewise.
37747         * sysvipc/msgrcv.c: Likewise.
37748         * sysvipc/msgsnd.c: Likewise.
37749         * sysvipc/semctl.c: Likewise.
37750         * sysvipc/semget.c: Likewise.
37751         * sysvipc/semop.c: Likewise.
37752         * sysvipc/semtimedop.c: Likewise.
37753         * sysvipc/shmat.c: Likewise.
37754         * sysvipc/shmctl.c: Likewise.
37755         * sysvipc/shmdt.c: Likewise.
37756         * sysvipc/shmget.c: Likewise.
37757         * termios/tcdrain.c: Likewise.
37758         * termios/tcflow.c: Likewise.
37759         * termios/tcflush.c: Likewise.
37760         * termios/tcgetattr.c: Likewise.
37761         * termios/tcgetpgrp.c: Likewise.
37762         * termios/tcsendbrk.c: Likewise.
37763         * termios/tcsetattr.c: Likewise.
37764         * termios/tcsetpgrp.c: Likewise.
37765         * time/adjtime.c: Likewise.
37766         * time/clock.c: Likewise.
37767         * time/getitimer.c: Likewise.
37768         * time/gettimeofday.c: Likewise.
37769         * time/setitimer.c: Likewise.
37770         * time/settimeofday.c: Likewise.
37771         * time/stime.c: Likewise.
37772         * time/time.c: Likewise.
37774 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
37776         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37777         /usr/old/bin.
37779         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37780         instead of spaces.
37781         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37783 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
37785         [BZ #14796]
37786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37787         FE_TONEAREST before applying Dekker multiplication and Knuth
37788         addition.  Clear inexact exceptions and check for exact zero
37789         results afterwards.
37790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37791         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37792         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37793         * math/libm-test.inc (fma_test): Add more tests.
37794         (fma_test_towardzero): Likewise.
37795         (fma_test_downward): Likewise.
37796         (fma_test_upward): Likewise.
37797         * sysdeps/generic/math_private.h (default_libc_fesetround): New
37798         function.
37799         (libc_fesetround): New macro.
37800         (libc_fesetroundf): Likewise.
37801         (libc_fesetroundl): Likewise.
37802         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37803         function.
37804         (libc_fesetround_387): Likewise.
37805         (libc_fesetroundf): New macro.
37806         (libc_fesetround): Likewise.
37807         (libc_fesetroundl): Likewise.
37808         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37809         function.
37810         (libc_fesetroundf): New macro.
37811         (libc_fesetround): Likewise.
37812         (libc_fesetroundl): Likewise.
37813         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37814         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37815         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37816         libm_hidden_ver.
37817         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37818         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37819         libm_hidden_def.
37820         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37821         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37822         libm_hidden_ver.
37823         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37824         libm_hidden_def.
37826         [BZ #3439]
37827         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37828         integer constant usable in #if and use that to give value to enum
37829         constant.
37830         (FE_DIVBYZERO): Likewise.
37831         (FE_UNDERFLOW): Likewise.
37832         (FE_OVERFLOW): Likewise.
37833         (FE_INVALID): Likewise.
37834         (FE_INVALID_SNAN): Likewise.
37835         (FE_INVALID_ISI): Likewise.
37836         (FE_INVALID_IDI): Likewise.
37837         (FE_INVALID_ZDZ): Likewise.
37838         (FE_INVALID_IMZ): Likewise.
37839         (FE_INVALID_COMPARE): Likewise.
37840         (FE_INVALID_SOFTWARE): Likewise.
37841         (FE_INVALID_SQRT): Likewise.
37842         (FE_INVALID_INTEGER_CONVERSION): Likewise.
37843         (FE_TONEAREST): Likewise.
37844         (FE_TOWARDZERO): Likewise.
37845         (FE_UPWARD): Likewise.
37846         (FE_DOWNWARD): Likewise.
37847         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37848         (FE_DIVBYZERO): Likewise.
37849         (FE_OVERFLOW): Likewise.
37850         (FE_UNDERFLOW): Likewise.
37851         (FE_INEXACT): Likewise.
37852         (FE_TONEAREST): Likewise.
37853         (FE_DOWNWARD): Likewise.
37854         (FE_UPWARD): Likewise.
37855         (FE_TOWARDZERO): Likewise.
37856         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37857         (FE_UNDERFLOW): Likewise.
37858         (FE_OVERFLOW): Likewise.
37859         (FE_DIVBYZERO): Likewise.
37860         (FE_INVALID): Likewise.
37861         (FE_TONEAREST): Likewise.
37862         (FE_TOWARDZERO): Likewise.
37863         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37864         (FE_OVERFLOW): Likewise.
37865         (FE_UNDERFLOW): Likewise.
37866         (FE_DIVBYZERO): Likewise.
37867         (FE_INEXACT): Likewise.
37868         (FE_TONEAREST): Likewise.
37869         (FE_TOWARDZERO): Likewise.
37870         (FE_UPWARD): Likewise.
37871         (FE_DOWNWARD): Likewise.
37872         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37873         (FE_DIVBYZERO): Likewise.
37874         (FE_OVERFLOW): Likewise.
37875         (FE_UNDERFLOW): Likewise.
37876         (FE_INEXACT): Likewise.
37877         (FE_TONEAREST): Likewise.
37878         (FE_DOWNWARD): Likewise.
37879         (FE_UPWARD): Likewise.
37880         (FE_TOWARDZERO): Likewise.
37882 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
37884         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37886 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
37888         * scripts/cross-test-ssh.sh (command): Use newlines to separate
37889         commands.  Quote $PWD.
37890         (blacklist_exports): Don't use remove_newlines.  Replace "declare
37891         -x" by "export".
37892         (remove_newlines): Remove.
37894 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
37896         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37897         * stdlib/stdlib.h (atof): Moved to ...
37898         * include/bits/stdlib-float.h: Here.  New file.
37899         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37900         * stdlib/bits/stdlib-float.h: New file.
37901         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37902         -mno-sse -mno-mmx.
37903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37904         <xmmintrin.h>.
37906 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37908         * conform/conformtest.pl (@headers): Add fenv.h.
37909         * conform/data/fenv.h-data: New file.
37910         * include/fenv.h [_ISOMAC]: Disable all contents of file except
37911         include of <math/fenv.h>.
37913         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37914         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37915         && !UNIX98].  Enables tests for XOPEN2K8.
37916         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37917         POSIX2008]: Likewise.
37919         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37920         (struct rusage): Do not expect type or its members.
37922         [BZ #3439]
37923         * math/math.h (FP_NAN): Define macro to integer constant usable in
37924         #if and use that to give value to enum constant.
37925         (FP_INFINITE): Likewise.
37926         (FP_ZERO): Likewise.
37927         (FP_SUBNORMAL): Likewise.
37928         (FP_NORMAL): Likewise.
37930 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37932         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37933         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37934         arguments.
37936 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37938         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37939         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37940         autoconf-time if not.
37941         * configure.in: Remove AC_PREREQ.
37943 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37945         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37946         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37947         of the internal implementation.
37949 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37951         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37952         except include of <misc/sys/syslog.h>.
37954 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37957         function returns with a NULL context exit with zero.
37959 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37961         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37963 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37965         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37966         (run_program_cmd): This.
37967         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37968         (tst_langinfo): New variable.  Use it.
37970 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37972         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37973         floating point opcodes.
37975 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37977         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37978         variable.
37980         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37982         * sysdeps/mach/hurd/powerpc: Remove directory.
37983         * sysdeps/mach/powerpc: Likewise.
37985 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37987         * scripts/check-local-headers.sh: Ignore c++ headers.
37989 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37991         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37992         __libc_cleanup_region_start argument.
37994 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37996         [BZ #14784]
37997         [BZ #14785]
37998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37999         x * y using scaling, not as x * y + z.
38000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38002         * math/libm-test.inc (fma_test): Add more tests.
38003         (fma_test_towardzero): Likewise.
38004         (fma_test_downward): Likewise.
38005         (fma_test_upward): Likewise.
38007 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38009         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38011 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38013         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38014         New variable.
38016 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
38018         * rt/tst-shm.c (worker): Correct checking for mmap failure.
38020 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38023         Fix sort order.
38024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38025         Likewise.
38027 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38030         Fix the order of the list for glibc 2.17.
38031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38032         Likewise.
38034 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38038 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38040         [BZ #14610]
38041         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38042         for low part of x being zero before using __atanl (y).
38043         * math/libm-test.inc (atan2_test): Add another test.
38045         * manual/install.texi (Configuring and compiling): Document
38046         general use of test-wrapper and test-wrapper-env.
38047         * INSTALL: Regenerated.
38049         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38050         (__fma): Do not extract and scale down low bits on after-rounding
38051         systems when result rounded to normal precision would have normal
38052         exponent.
38053         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38054         (__fmal): Do not extract and scale down low bits on after-rounding
38055         systems when result rounded to normal precision would have normal
38056         exponent.
38057         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38058         (__fmal): Do not extract and scale down low bits on after-rounding
38059         systems when result rounded to normal precision would have normal
38060         exponent.
38061         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38062         macro.
38063         (fma_test): Add more tests.
38064         (fma_test_towardzero): Likewise.
38065         (fma_test_downward): Likewise.
38066         (fma_test_upward): Likewise.
38068 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
38070         * sysdeps/i386/tininess.h: Renamed to ...
38071         * sysdeps/x86/tininess.h: This.
38072         * sysdeps/x86_64/tininess.h: Removed.
38074 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38076         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38077         input.  Use $(build-program-cmd).
38078         ($(objpfx)tst-array1-static.out): Likewise.
38079         ($(objpfx)tst-array2.out): Likewise.
38080         ($(objpfx)tst-array3.out): Likewise.
38081         ($(objpfx)tst-array4.out): Likewise.
38082         ($(objpfx)tst-array5.out): Likewise.
38083         ($(objpfx)tst-array5-static.out): Likewise.
38085 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
38087         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38088         if defined.
38090         * nss/nsswitch.h (nss_interface_function): Provide new
38091         macro for use with NSS functions.
38092         * grp/initgroups.c: Use new macro.
38093         * nss/getXXbyYY.c: Likewise.
38094         * nss/getXXbyYY_r.c: Likewise.
38095         * nss/getXXent.c: Likewise.
38096         * nss/getXXent_r.c: Likewise.
38097         * sysdeps/posix/getaddrinfo.c: Likewise.
38099 2012-10-30  Andreas Jaeger  <aj@suse.de>
38101         * po/ru.po: Update Russion translation from translation project.
38103 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38105         [BZ #14152]
38106         [BZ #14783]
38107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38108         result and shift together with sticky bit instead of replicating
38109         round-to-nearest rounding.
38110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38112         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
38113         missing underflow exceptions.
38114         (fma_test_towardzero): Add more tests.
38115         (fma_test_downward): Likewise.
38116         (fma_test_upward): Likewise.
38118         [BZ #14047]
38119         * sysdeps/generic/tininess.h: New file.
38120         * sysdeps/i386/tininess.h: Likewise.
38121         * sysdeps/sh/tininess.h: Likewise.
38122         * sysdeps/x86_64/tininess.h: Likewise.
38123         * stdlib/tst-strtod-underflow.c: Likewise.
38124         * stdlib/tst-tininess.c: Likewise.
38125         * stdlib/strtod_l.c: Include <tininess.h>.
38126         (round_and_return): Do not set errno for exact underflow cases.
38127         Force an underflow exception when setting errno for underflow.
38128         Determine underflow based on rounding to normal precision if
38129         TININESS_AFTER_ROUNDING.
38130         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38131         ERANGE for exact underflow cases.
38132         * stdlib/Makefile (tests): Add tst-tininess and
38133         tst-strtod-underflow.
38134         ($(objpfx)tst-tininess): Use $(link-libm).
38135         ($(objpfx)tst-strtod-underflow): Likewise.
38137 2012-10-30  Andreas Jaeger  <aj@suse.de>
38139         [BZ#14767]
38140         * elf/Makefile (tests): Remove conditional for have-initfini-array
38141         since this is now always required and the variable does not exist
38142         anymore.
38143         (tests-static): Likewise.
38144         (modules-names): Likewise.
38146         * po/eo.po: Add Esperanto translation from translation project.
38148         * elf/tst-array1.c (fini_array): Make writeable so that it can be
38149         merged with constructor/destructor.
38150         (init_array): Likewise.
38151         * elf/tst-array2dep.c (fini_array): Likewise.
38152         (init_array): Likewise.
38154 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
38156         * manual/message.texi: Delete @cartouche tags.
38158 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
38160         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38161         EOPNOTSUPP.
38162         * sysdeps/mach/hurd/fsync.c: Likewise.
38164         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38165         [_POSIX_REALTIME_SIGNALS]: Change condition to
38166         [_POSIX_REALTIME_SIGNALS > 0].
38168 2012-10-27  Andreas Jaeger  <aj@suse.de>
38170         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38171         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38173         [__WORDSIZE != 64]: Likewise.
38175 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
38177         *  iconvdata/tst-table.sh: Remove ${SHELL}.
38178         *  iconvdata/tst-tables.sh: Likewise.
38180 2012-10-25  David S. Miller  <davem@davemloft.net>
38182         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38183         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38184         of strtoull.
38186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38187         ifunc-impl-list.c
38188         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38189         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38190         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38191         file.
38193 2012-10-25  Roland McGrath  <roland@hack.frob.com>
38195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38196         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38197         __getdirentries.
38199 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38200             Jim Blandy  <jimb@codesourcery.com>
38202         * scripts/cross-test-ssh.sh: New file.
38203         * manual/install.texi (Configuring and compiling): Document use of
38204         cross-test-ssh.sh.
38205         * INSTALL: Regenerated.
38207 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
38209         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38210         EOPNOTSUPP.
38212 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38214         * Makeconfig (run-program-prefix): Fix comment.
38216 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38217             Jim Blandy  <jimb@codesourcery.com>
38219         * Makeconfig (test-wrapper): New variable,
38220         (test-wrapper-env): Likewise.
38221         [$(cross-compiling) = yes && $(test-wrapper) != ""]
38222         (run-built-tests): Define to yes.
38223         (run-program-prefix): Use $(test-wrapper).
38224         (built-program-cmd): Likewise.
38225         * Rules (make-test-out): Use $(test-wrapper-env) and
38226         $(host-built-program-cmd).
38227         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38228         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38229         tst-pathopt.sh.
38230         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38231         $(test-wrapper-env) to tst-rtld-load-self.sh.
38232         ($(objpfx)order2.out): Use $(test-wrapper).
38233         ($(objpfx)tst-initorder.out): Likewise.
38234         ($(objpfx)tst-initorder2.out): Likewise.
38235         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38236         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38237         (test_wrapper_env): New variable.  Use it to run ld.so.
38238         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38239         Use it to run ld.so.
38240         (test_wrapper_env): Likewise.
38241         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38242         $(test-wrapper) to run-iconv-test.sh.
38243         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38244         (ICONV): Use $test_wrapper.
38245         * posix/Makefile ($(objpfx)globtest.out): Pass
38246         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38247         globtest.sh, not $(run-program-prefix).
38248         * posix/globtest.sh (run_via_rtld_prefix): New variable.
38249         (test_wrapper): Likewise.
38250         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
38251         set together with run_via_rtld_prefix.
38252         (run_program_prefix): Define in terms of test_wrapper and
38253         run_via_rtld_prefix.
38255 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38257         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38258         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38259         Targets removed.
38261         [BZ #14743]
38262         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38263         Declare __clock_getres, __clock_gettime, __clock_settime,
38264         __clock_nanosleep, and __clock_getcpuclockid.
38265         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38266         Remove librt_hidden_def (clock_gettime).
38267         * sysdeps/unix/clock_gettime.c: Likewise.
38268         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38269         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38270         * rt/clock_getres.c: Define __clock_getres as an alias.
38271         * sysdeps/posix/clock_getres.c: Likewise.
38272         * rt/clock_settime.c: Define __clock_settime as an alias.
38273         * sysdeps/unix/clock_settime.c: Likewise.
38274         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38275         * sysdeps/unix/clock_nanosleep.c: Likewise.
38276         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38277         * rt/clock-compat.c: New file.
38278         * rt/Makefile (librt-routines): Add clock-compat and move
38279         $(clock-routines) to ...
38280         (routines): ... here, new variable.
38281         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38282         Don't add get_clockfreq here.
38283         * rt/Versions (libc: GLIBC_2.17): New version set.
38284         Add clock_* symbols here.
38285         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38287         (GLIBC_2.17): Add clock_* symbols.
38288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38290         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38292         Likewise.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38294         Likewise.
38295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38299         * NEWS: Mention the move.
38301         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38302         Use __open, __read, __close rather than their public counterparts.
38303         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38304         (__get_clockfreq_via_cpuinfo): Likewise.
38305         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38306         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38308         * config.h.in (HAVE_IFUNC): New #undef.
38309         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38310         was successful.
38311         * configure: Regenerated.
38313 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38315         * configure.in: Move READELF check to start of file.
38316         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38317         libc_cv_asm_gnu_indirect_function in the process.
38318         * configure: Regenerated.
38320 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38322         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38323         send the output to /dev/null.
38324         (libc_cv_cc_with_libunwind): Likewise.
38325         (libc_cv_as_noexecstack): Likewise.
38326         * configure: Regenerate.
38328 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38330         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38332         * posix/globtest.sh (TMPDIR): Do not set.
38333         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38334         (testout): Likewise.
38336 2012-10-24  Andreas Jaeger  <aj@suse.de>
38338         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38339         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38340         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38341         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38342         posix_fadvise64, posix_fallocate64.
38344         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38345         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38346         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38347         Likewise.
38348         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38349         Likewise.
38350         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38353         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38354         <bits/fcntl-linux.h>.
38355         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38357         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38358         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38359         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38360         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38361         [__WORDSIZE != 64]: Likewise.
38363 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38365         * Makeconfig (run-built-tests): New variable.
38366         * Rules [$(cross-compiling) = yes]: Change condition to
38367         [$(run-built-tests) = no].
38368         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38369         to [$(run-built-tests) = yes].
38370         * elf/Makefile [$(cross-compiling) = no]: Likewise
38371         * grp/Makefile [$(cross-compiling) = no]: Likewise.
38372         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38373         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38374         * intl/Makefile [$(cross-compiling) = no]: Likewise.
38375         * io/Makefile [$(cross-compiling) = no]: Likewise.
38376         * libio/Makefile [$(cross-compiling) = no]: Likewise.
38377         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38378         * misc/Makefile [$(cross-compiling) = no]: Likewise.
38379         * posix/Makefile [$(cross-compiling) = no]: Likewise.
38380         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38381         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38382         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38383         * string/Makefile [$(cross-compiling) = no]: Likewise.
38385         * posix/Makefile ($(objpfx)globtest.out): Pass
38386         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38387         $(rtld-installed-name).
38388         * posix/globtest.sh (elf_objpfx): Remove variable.
38389         (rtld_installed_name): Likewise.
38390         (library_path): Likewise.
38391         (run_program_prefix): New variable.  Use for running globtest
38392         binary.
38394 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
38395             Joseph Myers  <joseph@codesourcery.com>
38397         * Makeconfig (host-built-program-cmd): New variable.
38398         * elf/Makefile (tst-stackguard1-ARGS): Use
38399         $(host-built-program-cmd).
38400         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38401         (tst-spawn-ARGS): Likewise.
38402         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38404 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38405             Jim Blandy  <jimb@codesourcery.com>
38407         * Makeconfig (run-via-rtld-prefix): New variable.
38408         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38409         (built-program-cmd): Likewise.
38411 2012-10-22  Andreas Jaeger  <aj@suse.de>
38413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38414         __O_RSYNC if it exists, otherwise to O_SYNC.
38416 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
38417             Joseph Myers  <joseph@codesourcery.com>
38419         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38420         /dev/null.
38421         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38422         from /dev/null
38423         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38424         /dev/null.
38426 2012-10-22  Andreas Jaeger  <aj@suse.de>
38428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38429         Define always.
38430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38433         bits/fcntl-linux.h.
38435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38436         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38439         to __O_LARGEFILE.
38440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38441         to __O_LARGEFILE.
38443 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
38444             Joseph Myers  <joseph@codesourcery.com>
38446         * config.make.in (NM): New variable.
38448 2012-10-21  Andreas Jaeger  <aj@suse.de>
38450         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38451         definitions and declarations that are provided by
38452         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38454 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38456         [BZ #14683]
38457         * elf/Makefile (tests-static): Add tst-leaks1-static.
38458         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38459         ($(objpfx)tst-leaks1-static): New rule.
38460         ($(objpfx)tst-leaks1-static-mem): Likewise.
38461         (tst-leaks1-static-ENV): New macro.
38462         * elf/dl-open.c (dl_open_worker): Check the main application
38463         only if SHARED is defined.
38464         * elf/tst-leaks1-static.c: New file.
38466 2012-10-20  Andreas Jaeger  <aj@suse.de>
38468         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38469         generic values for Linux.
38470         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38471         and declarations that are provided by <bits/fcntl-linux.h> and
38472         include <bits/fcntl-linux.h>.
38473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38476 2012-10-20  Roland McGrath  <roland@hack.frob.com>
38478         * io/fcntl.h: Move include of <bits/types.h> to the top and
38479         include it unconditionally.
38481 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38483         * wcsmbs/Makefile (tests-ifunc): New variable.
38484         (tests): Add $(tests-ifunc).
38485         * wcsmbs/test-wcschr-ifunc.c: New file.
38486         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38487         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38488         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38489         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38490         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38492         * string/Makefile (tests-ifunc): New variable.
38493         (tests): Add $(tests-ifunc).
38494         * string/test-memccpy.c (TEST_NAME): New macro.
38495         * string/test-memchr.c (TEST_NAME): Likewise.
38496         * string/test-memcmp.c (TEST_NAME): Likewise.
38497         * string/test-memcpy.c (TEST_NAME): Likewise.
38498         * string/test-memmem.c (TEST_NAME): Likewise.
38499         * string/test-memmove.c (TEST_NAME): Likewise.
38500         * string/test-memset.c (TEST_NAME): Likewise.
38501         * string/test-rawmemchr.c (TEST_NAME): Likewise.
38502         * string/test-stpcpy.c (TEST_NAME): Likewise.
38503         * string/test-stpncpy.c (TEST_NAME): Likewise.
38504         * string/test-strcasecmp.c (TEST_NAME): Likewise.
38505         * string/test-strcasestr.c (TEST_NAME): Likewise.
38506         * string/test-strcat.c (TEST_NAME): Likewise.
38507         * string/test-strchr.c (TEST_NAME): Likewise.
38508         * string/test-strcmp.c(TEST_NAME): Likewise.
38509         * string/test-strcpy.c (TEST_NAME): Likewise.
38510         * string/test-strcspn.c (TEST_NAME): Likewise.
38511         * string/test-strlen.c (TEST_NAME): Likewise.
38512         * string/test-strncasecmp.c (TEST_NAME): Likewise.
38513         * string/test-strncmp.c (TEST_NAME): Likewise.
38514         * string/test-strncpy.c (TEST_NAME): Likewise.
38515         * string/test-strnlen.c (TEST_NAME): Likewise.
38516         * string/test-strpbrk.c (TEST_NAME): Likewise.
38517         * string/test-strrchr.c (TEST_NAME): Likewise.
38518         * string/test-strspn.c (TEST_NAME): Likewise.
38519         * string/test-strstr.c (TEST_NAME): Likewise.
38520         * string/test-bcopy-ifunc.c: New file.
38521         * string/test-bzero-ifunc.c: Likewise.
38522         * string/test-memccpy-ifunc.c: Likewise.
38523         * string/test-memchr-ifunc.c: Likewise.
38524         * string/test-memcmp-ifunc.c: Likewise.
38525         * string/test-memcpy-ifunc.c: Likewise.
38526         * string/test-memmem-ifunc.c: Likewise.
38527         * string/test-memmove-ifunc.c: Likewise.
38528         * string/test-mempcpy-ifunc.c: Likewise.
38529         * string/test-memset-ifunc.c: Likewise.
38530         * string/test-rawmemchr-ifunc.c: Likewise.
38531         * string/test-stpcpy-ifunc.c: Likewise.
38532         * string/test-stpncpy-ifunc.c: Likewise.
38533         * string/test-strcasecmp-ifunc.c: Likewise.
38534         * string/test-strcasestr-ifunc.c: Likewise.
38535         * string/test-strcat-ifunc.c: Likewise.
38536         * string/test-strchr-ifunc.c: Likewise.
38537         * string/test-strchrnul-ifunc.c: Likewise.
38538         * string/test-strcmp-ifunc.c: Likewise.
38539         * string/test-strcpy-ifunc.c: Likewise.
38540         * string/test-strcspn-ifunc.c: Likewise.
38541         * string/test-strlen-ifunc.c: Likewise.
38542         * string/test-strncasecmp-ifunc.c: Likewise.
38543         * string/test-strncat-ifunc.c: Likewise.
38544         * string/test-strncmp-ifunc.c: Likewise.
38545         * string/test-strncpy-ifunc.c: Likewise.
38546         * string/test-strnlen-ifunc.c: Likewise.
38547         * string/test-strpbrk-ifunc.c: Likewise.
38548         * string/test-strrchr-ifunc.c: Likewise.
38549         * string/test-strspn-ifunc.c: Likewise.
38550         * string/test-strstr-ifunc.c: Likewise.
38552         * debug/Makefile (tests-ifunc): New variable.
38553         (tests): Add $(tests-ifunc).
38554         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38555         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38556         * debug/test-stpcpy_chk-ifunc.c: New file.
38557         * debug/test-strcpy_chk-ifunc.c: Likewise.
38559 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38561         [BZ #13601]
38562         * elf/dl-load.c (open_verify): Retry read if the entire ELF
38563         header is not read in.
38565 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
38567         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
38568         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
38569         directly.  Pass built executable to script as
38570         $(built-program-cmd).
38571         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
38572         $testprogram without using LD_LIBRARY_PATH and $ldso.
38574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38575         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38576         $(rtld-installed-name).
38577         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38578         (rtld_installed_name): Likewise.
38579         (library_path): Likewise.
38580         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
38581         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38582         $(run-program-prefix) to tst-tables.sh.
38583         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
38584         it to run tst-table-from and tst-table-to.
38585         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38586         Pass it to tst-table.sh.
38587         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38588         $(run-program-prefix) to tst-gettext.sh.
38589         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38590         tst-translit.sh.
38591         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38592         tst-gettext2.sh.
38593         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
38594         to run tst-gettext.
38595         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
38596         to run tst-gettext2.
38597         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
38598         to run tst-translit.
38599         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38600         $(run-program-prefix) to tst-mtrace.sh.
38601         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
38602         to run tst-mtrace.
38603         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38604         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38605         $(rtld-installed-name).
38606         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38607         (rtld_installed_name): Likewise.
38608         (run_program_prefix): New variable.  Use it to run wordexp-test.
38610         * Makeconfig (ARCH): Remove all definitions.
38611         (machine): Likewise.
38612         [ARCH]: Remove conditional code.
38613         [!objdir]: Give error.
38614         [!objdir] (objpfx): Remove.
38615         [!objdir] (common-objpfx): Likewise.
38616         [!objdir] (common-objdir): Likewise.
38617         * configure.in (config_makefile): Remove.  Hardcode Makefile in
38618         AC_CONFIG_FILES call.
38619         * configure: Regenerated.
38621         [BZ #13888]
38622         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38623         or TMPDIR.
38624         (testout): Likewise.
38626         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38627         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38628         $(rtld-installed-name).
38629         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38630         (rtld_installed_name): Likwise.
38631         (runit): Remove function.
38632         (run_getconf): New variable,  Use it for running getconf binary.
38634 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
38636         [BZ #14716]
38637         * string/test-memmem.c (check_result): New function.
38638         (do_one_test): Use it.
38639         (check1): New function.
38640         (test_main): Use it.
38642 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
38644         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38646 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
38648         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38649         (_G_LSEEK64): Likewise.
38650         (_G_MMAP64): Likewise.
38651         (_G_FSTAT64): Likewise.
38652         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38653         (_G_LSEEK64): Likewise.
38654         (_G_MMAP64): Likewise.
38655         (_G_FSTAT64): Likewise.
38656         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38657         unconditional.  Call __mmap64 directly.
38658         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38659         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
38660         __lseek64 directly.
38661         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38662         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
38663         __mmap64 directly.
38664         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38665         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38666         __lseek64 directly.
38667         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38668         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38669         __lseek64 directly.
38670         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38671         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
38672         __lseek64 directly.
38673         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38674         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
38675         __fxstat64 directly.
38676         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38677         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38678         unconditional.
38679         (freopen64) [!_G_OPEN64]: Remove conditional code.
38680         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38681         unconditional.
38682         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38683         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38684         unconditional.
38685         (ftello64) [!_G_LSEEK64]: Remove conditional code.
38686         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38687         unconditional.
38688         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38689         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38690         unconditional.
38691         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38692         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38693         unconditional.
38694         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38695         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38696         unconditional.
38697         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38698         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38699         unconditional.
38700         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38702 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38704         [BZ #12140]
38705         * manual/memory.texi (Malloc Tunable Parameters): Add note
38706         about free list pointers overwriting some perturb bytes.
38707         Wording suggested by Roland McGrath.
38709 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
38711         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38712         (lgamma_test): Likewise.
38713         (tgamma_test): Likewise.
38715 2012-10-16  Florian Weimer  <fweimer@redhat.com>
38717         [BZ #14700]
38718         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38719         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38721 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
38723         * NEWS: Mention BZ #14716.
38724         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38725         when removing AVAILABLE1_USES_J macro.
38727 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
38729         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38730         (__bswap_64): __uint64_t for unsigned 64-bit int.
38732 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
38734         * include/string.h (memmem): Declare libc hidden alias.
38735         * string/memmem.c (memmem): Define libc hidden alias.
38736         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38737         __read, __close instead of open, read, close.
38739 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
38741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38742         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38743         global and hidden.
38744         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38745         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38746         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38747         Likewise.
38748         (__rawmemchr_sse2): Likewise.
38749         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38750         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38751         (__strchr_sse2): Likewise.
38752         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38753         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38754         (__strcasecmp_sse2): Likewise.
38755         (__strncasecmp_sse2): Likewise.
38756         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38757         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38758         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38759         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38760         (__strrchr_sse2): Likewise.
38761         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38762         ifunc-impl-list.c.
38763         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38764         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38765         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38766         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38767         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38768         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38769         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38770         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38771         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38772         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38773         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38774         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38775         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38776         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38777         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38778         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38779         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38780         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38781         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38782         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38783         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38784         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38785         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38786         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38787         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38788         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38789         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38790         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38791         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38792         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38794         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38795         global and hidden.
38796         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38797         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38798         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38799         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38800         Likewise.
38801         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38802         Likewise.
38803         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38804         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38805         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38806         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38807         ifunc-impl-list.c.
38808         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38809         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38810         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38811         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38812         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38813         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38814         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38815         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38816         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38817         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38818         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38819         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38820         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38821         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38822         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38824         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38825         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38826         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38827         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38828         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38829         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38830         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38831         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38832         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38833         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38834         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38835         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38836         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38838         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38839         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38840         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38841         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38842         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38843         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38844         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38845         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38846         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38847         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38848         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38850         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38851         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38852         * include/ifunc-impl-list.h: New file.
38853         * misc/ifunc-impl-list.c: Likewise.
38854         * misc/Makefile (routines): Add ifunc-impl-list.
38855         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38856         * string/test-string.h: Include <ifunc-impl-list.h>.
38857         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38858         TEST_NAME]: New variables.
38859         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38860         are defined.
38861         (test_init): Call __libc_ifunc_impl_list to initialize
38862         func_list if TEST_IFUNC and TEST_NAME are defined.
38864         * string/Makefile (strop-tests): Add bcopy and bzero.
38865         * string/test-bcopy.c: New file.
38866         * string/test-bzero.c: Likewise.
38867         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38868         defined.
38869         * string/test-memset.c: Support bzero test if TEST_BZERO is
38870         defined.
38871         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38872         __libc_memmove.
38873         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38874         __libc_memset.
38875         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38876         of memset.
38878 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
38880         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38881         * configure: Regenerated.
38883         * Makeconfig (+link-static-before-libc): Don't include
38884         $(link-static-libc).
38886         * libio/libio.h (_IO_pos_t): Remove.
38888 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38890         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
38891         McGrath.
38893 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38895         * crypt/crypt-entry.c: Include fips-private.h.
38896         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38897         * crypt/md5c-test.c (main): Tolerate disabled MD5.
38898         * sysdeps/unix/sysv/linux/fips-private.h: New file.
38899         * sysdeps/generic/fips-private.h: New file, dummy fallback.
38901 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38903         * crypt/crypt-private.h: Include stdbool.h.
38904         (_ufc_setup_salt_r): Return bool.
38905         * crypt/crypt-entry.c: Include errno.h.
38906         (__crypt_r): Return NULL with EINVAL for bad salt.
38907         * crypt/crypt_util.c (bad_for_salt): New.
38908         (_ufc_setup_salt_r): Check that salt is long enough and within
38909         the specified alphabet.
38910         * crypt/badsalttest.c: New file.
38911         * crypt/Makefile (tests): Add it.
38912         ($(objpfx)badsalttest): New.
38914 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
38916         * NEWS: Add entry for BZ #14602.
38918 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38920         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38921         type-generic.
38922         * math/libm-test.inc: Update comment listing what functions and
38923         macros are tested.
38924         (isgreater_test): New function.
38925         (isgreaterequal_test): Likewise.
38926         (isless_test): Likewise.
38927         (islessequal_test): Likewise.
38928         (islessgreater_test): Likewise.
38929         (isunordered_test): Likewise.
38930         (main): Call the new functions.
38932 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38934         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38935         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38936         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38937         * sysdeps/i386/configure: Regenerated.
38938         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38939         * sysdeps/mach/configure: Regenerated.
38940         * sysdeps/mach/hurd/configure: Regenerated.
38941         * sysdeps/powerpc/configure: Regenerated.
38942         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38943         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38944         * sysdeps/s390/s390-32/configure: Regenerated.
38945         * sysdeps/s390/s390-64/configure: Regenerated.
38946         * sysdeps/sh/configure: Regenerated.
38947         * sysdeps/sparc/configure: Regenerated.
38948         * sysdeps/unix/sysv/linux/configure: Regenerated.
38949         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38950         * sysdeps/x86_64/configure: Regenerated.
38952         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38953         defined.  Don't check if MAP is NULL.
38955 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38957         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38958         (_G_stat64): Likewise.
38959         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38960         (_G_stat64): Likewise.
38961         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38962         instead of struct _G_stat64.
38963         * libio/fileops.c (mmap_remap_check): Likewise.
38964         (decide_maybe_mmap): Likewise.
38965         (_IO_new_file_seekoff): Likewise.
38966         (_IO_file_stat): Likewise.
38967         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38968         _G_off64_t.
38969         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38970         instead of struct _G_stat64.
38971         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38973 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38975         [BZ #14602]
38976         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38977         Replace with ...
38978         (CHECK_EOL): New macro.
38979         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38980         CHECK_EOL.
38981         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38982         Replace with CHECK_EOL.
38983         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38984         Replace with CHECK_EOL.
38986 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38988         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38989         type-generic.
38990         * math/libm-test.inc: Update comment listing what functions and
38991         macros are tested.
38992         (finite_test): New function.
38993         (isinf_test): Likewise.
38994         (isnan_test): Likewise.
38995         (fpclassify_test): Test subnormal input.
38996         (isfinite_test): Likewise.
38997         (isnormal_test): Likewise.
38998         (main): Call the new functions.
39000 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
39002         [BZ #14660]
39003         * Makerules (%.dynsym): Force C locale when running
39004         $(OBJDUMP) --dynamic-syms.
39006 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
39008         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39009         <stdint.h>.
39011 2012-10-06  David S. Miller  <davem@davemloft.net>
39013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39014         upper 32-bits of the length value in %o2 since we use branch-on-register
39015         tests which consider the entire 64-bit register.
39017 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
39019         * string/test-strstr.c (check2): Add a test for page boundary.
39021 2012-10-05  David S. Miller  <davem@davemloft.net>
39023         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39024         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39025         file.
39026         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39027         sysdep_routines.
39028         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39029         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39030         and bzero when HWCAP_SPARC_CRYPTO is present.
39032 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
39034         [BZ #14602]
39035         * string/test-strstr.c (check2): New function.
39036         (test_main): Call check2.
39038         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39039         and bug-strchr1.
39040         * string/bug-strcasestr1.c (do_test): Moved to ...
39041         * string/test-strcasestr.c (check1): Here.  New function.
39042         (do_one_test): Break out result checking code into ...
39043         (check_result): This.  New function.
39044         (do_one_test): Call check_result.
39045         (test_main): Call check1.
39046         * string/bug-strchr1.c (do_test): Moved to ...
39047         * string/test-strchr.c (check1): Here.  New function.
39048         (do_one_test): Break out result checking code into ...
39049         (check_result): This.  New function.
39050         (do_one_test): Call check_result.
39051         (test_main): Call check1.
39052         * string/bug-strstr1.c (main): Moved to ...
39053         * string/test-strstr.c (check1): Here.  New function.
39054         (do_one_test): Break out result checking code into ...
39055         (check_result): This.  New function.
39056         (do_one_test): Call check_result.
39057         (test_main): Call check1.
39058         * string/bug-strcasestr1.c: Removed.
39059         * string/bug-strchr1.c: Likewise.
39060         * string/bug-strstr1.c: Likewise.
39062         * elf/Makefile (dl-routines): Add hwcaps.
39063         * elf/dl-support.c (_dl_important_hwcaps): Removed.
39064         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39065         (_dl_important_hwcaps): Moved to ...
39066         * elf/dl-hwcaps.c: Here.  New file.
39067         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39069         [BZ #14557]
39070         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39071         if IS_IN_rtld isn't defined.
39073         * elf/dl-support.c (_dl_sysinfo_map): New.
39074         Include "get-dynamic-info.h" and "setup-vdso.h".
39075         (_dl_non_dynamic_init): Call setup_vdso.
39076         * elf/dynamic-link.h: Don't include <assert.h>.
39077         (elf_get_dynamic_info): Moved to ...
39078         * elf/get-dynamic-info.h: Here.  New file.
39079         * elf/dynamic-link.h: Include "get-dynamic-info.h".
39080         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39081         * elf/setup-vdso.h: Here.  New file.
39082         * elf/rtld.c: Include "setup-vdso.h".
39083         (dl_main): Call setup_vdso.
39085 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
39087         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39088         creal in comment listing functions tested.  List finite, isinf,
39089         isnan, isless, islessequal, isgreater, isgreaterequal,
39090         islessgreater, isunordered, lgamma_r and pow10 as functions and
39091         macros not tested.  Mention which functions not tested are aliases
39092         for other functions.  Fix typo.  Note that signs of NaNs are not
39093         tested.
39095         * scripts/config.guess: Update from config.git.
39096         * scripts/config.sub: Likewise.
39098 2012-10-04  Roland McGrath  <roland@hack.frob.com>
39100         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39101         * misc/madvise.c (madvise): Renamed to __madvise.
39102         Make madvise a weak alias.
39103         * include/sys/mman.h: Declare __madvise.
39104         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39105         * sysdeps/unix/syscalls.list
39106         (madvise): Make __madvise the strong name, and madvise a weak alias.
39107         * sysdeps/unix/sysv/linux/syscalls.list
39108         (madvise, mmap): Remove redundant entries.
39109         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39110         * malloc/malloc.c (mtrim): Likewise.
39111         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39113 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39115         * sysdeps/mach/hurd/dl-cache.c: File removed.
39116         * config.h.in (USE_LDCONFIG): New #undef.
39117         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39118         * configure: Regenerated.
39119         * elf/Makefile (dl-routines): Add dl-cache only under
39120         [$(use-ldconfig) = yes].
39121         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39122         cache on [USE_LDCONFIG].
39123         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39124         [USE_LDCONFIG].
39125         * elf/rtld.c (dl_main): Likewise.
39127 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
39129         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39130         _SC_LEVEL4_CACHE_LINESIZE.
39132 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39134         * sysdeps/unix/bsd/confstr.h: File removed.
39136 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
39138         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39139         sys/sdt-config.h.
39141 2012-10-02  Roland McGrath  <roland@hack.frob.com>
39143         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39144         Make 'mapoff' field ElfW(Off) rather than off_t.
39146 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
39148         * nscd/Makefile: Remove nscd-cflags and all its users.
39149         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39150         (CFLAGS-nonlib): Add compiler flags for nscd modules.
39152         [BZ #10631]
39153         * malloc.c (malloc_printerr): Clarify error message.
39155 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
39157         [BZ #14648]
39158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39159         Set bit_FMA_Usable if FMA is supported.
39160         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39161         macro.
39162         (bit_FMA4_Usable): Updated.
39163         (index_FMA_Usable): New macro.
39164         (CPUID_FMA): Likewise
39165         (HAS_FMA): Defined with bit_FMA_Usable.
39167 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39169         * bits/types.h (__swblk_t): Type removed.
39170         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39171         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39172         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39173         (__SWBLK_T_TYPE): Likewise.
39174         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39175         (__SWBLK_T_TYPE): Likewise.
39176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39177         (__SWBLK_T_TYPE): Likewise.
39178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39179         (__SWBLK_T_TYPE): Likewise.
39181 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
39182             Honza Horak <hhorak@redhat.com>
39184         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39185         (xdr_mapname): Use YPMAXMAP as maxsize.
39186         (xdr_peername): Use YPMAXPEER as maxsize.
39187         (xdr_keydat): Use YPAXRECORD as maxsize.
39188         (xdr_valdat): Use YPMAXRECORD as maxsize.
39190 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39192         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39194         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39195         * csu/init-first.c: ... here.
39196         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39197         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39198         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39199         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39200         * sysdeps/i386/init-first.c: File removed.
39201         * sysdeps/sh/init-first.c: File removed.
39203 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
39205         [BZ #14645]
39206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39207         if x * y might underflow to zero and z is zero.
39208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39210         * math/libm-test.inc (min_subnorm_value): New variable.
39211         (fma_test): Add more tests.
39212         (fma_test_towardzero): Likewise.
39213         (fma_test_downward): Likewise
39214         (fma_test_upward): Likewise.
39215         (initialize): Set min_subnorm_value.
39217 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
39219         [BZ #14638]
39220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39221         0 + 0.
39222         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39223         mode for addition resulting in exact zero.
39224         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39226         exact 0 + 0.
39227         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39229         * math/libm-test.inc (fma_test): Add more tests.
39230         (fma_test_towardzero): New function.
39231         (fma_test_downward): Likewise.
39232         (fma_test_upward): Likewise.
39233         (main): Call the new functions.
39235 2012-09-28  David S. Miller  <davem@davemloft.net>
39237         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39239 2012-09-28  Roland McGrath  <roland@hack.frob.com>
39241         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39242         instead of SIGALRM.
39244         * sysdeps/gnu/_G_config.h: Moved to ...
39245         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39246         * sysdeps/mach/hurd/_G_config.h: Moved to ...
39247         * sysdeps/generic/_G_config.h: ... here.
39249         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
39251         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39253         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39254         Conditionalize target on [libnss_test1.so-version].
39256         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39258         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39259         (elfobjdir): Move out of conditionals.
39261         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39262         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39263         (__nss_lookup_function): Conditionalize label remove_from_tree on
39264         [!DO_STATIC_NSS || SHARED], matching its only use.
39266 2012-09-28  David S. Miller  <davem@davemloft.net>
39268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39269         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39270         file.
39271         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39272         sysdep_routines.
39273         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39274         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39275         when HWCAP_SPARC_CRYPTO is present.
39277 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39279         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39281 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39283         [BZ #6530]
39284         * stdio-common/vfprintf.c (process_string_arg): Revert
39285         2000-07-22 change.
39287 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39289         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39290         for testcase.
39291         * stdio-common/tst-sprintf.c: Include <locale.h>
39292         (main): Test sprintf's handling of incomplete multibyte
39293         characters.
39295 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39297         * elf/dl-runtime.c (VERSYMIDX): Removed.
39298         * elf/dl-version.c (VERSYMIDX): Likewise.
39299         * elf/do-rel.h (VERSYMIDX): Likewise.
39300         (VALIDX): Likewise.
39301         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39302         * elf/rtld.c (VALIDX): Likewise.
39303         (ADDRIDX): Likewise.
39304         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39305         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39306         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39307         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39308         (VALIDX): Likewise.
39309         (ADDRIDX): Likewise.
39311 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39313         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39315 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
39317         [BZ #11438]
39318         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39319         to global scope.
39320         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39321         addresses are in the same scope as 192.0.2/24.
39322         * posix/gai.conf: Document new scope table defaults.
39324 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39326         [BZ #5298]
39327         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39328         for ftell.  Compute offsets from write pointers instead.
39329         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39331 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39333         [BZ #14543]
39334         * libio/Makefile (tests): New test case tst-fseek.
39335         * libio/tst-fseek.c: New test case to verify that fseek/ftell
39336         combination works in wide mode.
39337         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39338         state when the external buffer state changes.
39340 2012-09-27  David S. Miller  <davem@davemloft.net>
39342         [BZ #14376]
39343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39344         pass reloc->r_addend in as the 'high' argument to
39345         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39349 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39351         * rt/tst-aio2.c: Include <pthread.h>.
39352         * rt/tst-aio3.c: Likewise.
39354 2012-09-27  Steve Ellcey  <sellcey@mips.com>
39356         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39358 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
39360         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39361         contents on [SHARED].
39363 2012-09-26  Marek Polacek  <polacek@redhat.com>
39365         [BZ #14530]
39366         [BZ #13741]
39367         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39368         for C++ and GCC <4.3 as well as for non GCC compilers.
39370 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
39372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39374 2012-09-25  Roland McGrath  <roland@hack.frob.com>
39376         * Makefile.in (all, install): Declare with .PHONY.
39377         Reported by Michael Hope <michael.hope@linaro.org>.
39379 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39381         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39382         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39383         system header.
39384         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39385         Likewise.
39386         (sydep_routines): Add the new and the internal functions.
39387         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39388         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39390         (GLIBC_2.17): Add the new function.
39391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39392         (GLIBC_2.17): Likewise.
39393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39394         (GLIBC_2.17): Likewise.
39395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39396         (GLIBC_2.17): Likewise.
39397         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39399 2012-09-25  Alan Modra  <amodra@gmail.com>
39401         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39402         Add release barrier before setting once_control to say
39403         initialisation is done.  Add hints on lwarx.  Use macro in
39404         place of isync.
39405         (clear_once_control): Add release barrier.
39407 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39409         [BZ #13629]
39410         * math/s_clog.c (__clog): Handle more values close to |z| = 1
39411         specially.
39412         * math/s_clog10.c (__clog10): Likewise.
39413         * math/s_clog10f.c (__clog10f): Likewise.
39414         * math/s_clog10l.c (__clog10l): Likewise.
39415         * math/s_clogf.c (__clogf): Likewise.
39416         * math/s_clogl.c (__clogl): Likewise.
39417         * math/Makefile (libm-calls): Add x2y2m1.
39418         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39419         (__x2y2m1): Likewise.
39420         (__x2y2m1l): Likewise.
39421         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39422         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39423         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39424         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39425         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39426         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39427         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39428         * sysdeps/i386/fpu/libm-test-ulps: Update.
39429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39431         [BZ #14621]
39432         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39433         int as type of variable DEPTH.
39434         (glob): Use size_t instead of int as type of variables NEWCOUNT
39435         and OLD_PATHC.
39437 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39439         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39440         Add s_sincosf-sse2.
39441         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39442         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39443         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39444         macros for using routine as __sincosf_ia32.
39445         Use macro for function declaration and weak_alias.
39446         * sysdeps/i386/fpu/libm-test-ulps: Update.
39448         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39451         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39452         subnormal argument.
39453         * math/s_cexpf.c (__cexpf): Likewise.
39454         * math/s_csinf.c (__csinf): Likewise.
39455         * math/s_csinhf.c (__csinhf): Likewise.
39456         * math/s_ctanf.c (__ctanf): Likewise.
39457         * math/s_ctanhf.c (__ctanhf): Likewise.
39458         * math/s_ccosh.c (__ccoshf): Likewise.
39459         * math/s_cexp.c (__cexpl): Likewise.
39460         * math/s_csin.c (__csin): Likewise.
39461         * math/s_csinh.c (__csinh): Likewise.
39462         * math/s_ctan.c (__ctan): Likewise.
39463         * math/s_ctanh.c (ctanh): Likewise.
39464         * math/s_ccoshl.c (__ccoshl): Likewise.
39465         * math/s_cexpl.c (__cexpl): Likewise.
39466         * math/s_csinl.c (__csinl): Likewise.
39467         * math/s_csinhl.c (__csinhl): Likewise.
39468         * math/s_ctanl.c (__ctanl): Likewise.
39469         * math/s_ctanhl.c (__ctanhl): Likewise.
39471 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39473         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39474         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39475         (_IO_off_t): Define to __off_t, not _G_off_t.
39476         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39477         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39478         (_IO_wint_t): Define to wint_t, not _G_wint_t.
39479         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39480         type of __dummy and __dummy2 fields.
39481         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39482         (_G_ssize_t): Likewise.
39483         (_G_off_t): Likewise.
39484         (_G_pid_t): Likewise.
39485         (_G_uid_t): Likewise.
39486         (_G_wchar_t): Likewise.
39487         (_G_wint_t): Likewise.
39488         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39489         (_G_ssize_t): Likewise.
39490         (_G_off_t): Likewise.
39491         (_G_pid_t): Likewise.
39492         (_G_uid_t): Likewise.
39493         (_G_wchar_t): Likewise.
39494         (_G_wint_t): Likewise.
39495         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39496         (_G_ssize_t): Likewise.
39497         (_G_off_t): Likewise.
39498         (_G_pid_t): Likewise.
39499         (_G_uid_t): Likewise.
39500         (_G_wchar_t): Likewise.
39501         (_G_wint_t): Likewise.
39503 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39505         * malloc/arena.c: Include malloc-sysdep.h.
39506         (shrink_heap): Use check_may_shrink_heap to decide if madvise
39507         is sufficient to shrink the heap or an unmap is needed.
39508         * sysdeps/generic/malloc-sysdep.h: New file.  Define
39509         new function check_may_shrink_heap.
39510         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
39511         new function check_may_shrink_heap.
39513 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39515         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39516         comments.
39518 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
39520         * catgets/test-gencat.sh: Add "set -e".
39521         * elf/tst-pathopt.sh: Likewise.
39522         * grp/tst_fgetgrent.sh: Likewise.
39523         * iconvdata/run-iconv-test.sh: Likewise.
39524         * intl/tst-gettext.sh: Likewise.
39525         * intl/tst-gettext2.sh: Likewise.
39526         * intl/tst-gettext4.sh: Likewise.
39527         * intl/tst-gettext6.sh: Likewise.
39528         * intl/tst-translit.sh: Likewise.
39529         * io/ftwtest-sh: Likewise.
39530         * libio/test-freopen.sh: Likewise.
39531         * malloc/tst-mtrace.sh: Likewise.
39532         * posix/globtest.sh: Likewise.
39533         * posix/tst-getconf.sh: Likewise.
39534         * posix/wordexp-tst.sh: Likewise.
39535         * stdio-common/tst-printf.sh: Likewise.
39536         * stdio-common/tst-unbputc.sh: Likewise.
39537         * stdlib/tst-fmtmsg.sh: Likewise.
39538         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39539         * catgets/Makefile: Do not specify -e option when running
39540         testsuite shell scripts.
39541         * elf/Makefile: Likewise.
39542         * grp/Makefile: Likewise.
39543         * iconvdata/Makefile: Likewise.
39544         * intl/Makefile: Likewise.
39545         * io/Makefile: Likewise.
39546         * libio/Makefile: Likewise.
39547         * malloc/Makefile: Likewise.
39548         * posix/Makefile: Likewise.
39549         * stdio-common/Makefile: Likewise.
39550         * stdlib/Makefile: Likewise.
39551         * sysdeps/x86_64/Makefile: Likewise.
39553         * io/ftwtest-sh: Add copyright header.
39554         * posix/globtest.sh: Likewise.
39555         * posix/tst-getconf.sh: Likewise.
39556         * posix/wordexp-tst.sh: Likewise.
39557         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39559 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
39561         [BZ #13679]
39562         * Makeconfig (+link): Defined as $(+link-static) if
39563         $(build-shared) isn't yes.
39564         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39565         isn't yes.
39566         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39568         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39570         [BZ #14562]
39571         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39572         new chunk size with MALLOC_ALIGN_MASK.
39574 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
39576         [BZ #5044]
39577         * stdio-common/printf_fphex.c: Include <stdbool.h> and
39578         <rounding-mode.h>.
39579         (__printf_fphex): Determine rounding using get_rounding_mode and
39580         round_away.
39581         * stdio-common/tst-printf-round.c (struct hex_test): New
39582         structure.
39583         (hex_tests): New variable.
39584         (test_hex_in_one_mode): New function.
39585         (do_test): Also run tests for hex float output.
39587 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
39589         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39590         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39591         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39592         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39593         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39594         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39595         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39596         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39598 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
39600         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39601         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39602         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39603         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39605 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
39607         [BZ #14579]
39608         * elf/rtld.c (dl_main): Limit the check for self loading to normal
39609         mode only.
39610         * elf/tst-rtld-load-self.sh: New test.
39611         * elf/Makefile: Run it.
39613 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
39615         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39616         (tst-writev-ENV): Remove.
39617         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39619 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
39621         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39623 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
39625         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39626         unconditional.
39627         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39628         Likewise.
39629         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39630         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39631         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39632         Likewise.
39634 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
39636         [BZ #14587]
39637         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39638         * config.make.in (have-cpp-asm-debuginfo): Removed.
39639         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39640         * configure: Regenerated.
39642 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
39644         [BZ #5044]
39645         * stdio-common/printf_fp.c: Include <stdbool.h> and
39646         <rounding-mode.h>.
39647         (___printf_fp): Determine rounding using get_rounding_mode and
39648         round_away.
39649         * stdio-common/tst-printf-round.c: New file.
39650         * stdio-common/Makefile (tests): Add tst-printf-round.
39651         (link-libm): New variable.
39652         ($(objpfx)tst-printf-round): Depend in $(link-libm).
39654 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
39656         [BZ #14576]
39657         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39658         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39659         Likewise.
39660         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39661         Likewise.
39663 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
39665         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39666         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39667         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39668         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39670 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
39672         [BZ #14518]
39673         * include/rounding-mode.h: New file.
39674         * sysdeps/generic/get-rounding-mode.h: Likewise.
39675         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39676         * stdlib/strtod_l.c: Include <rounding-mode.h>.
39677         (MAX_VALUE): New macro.
39678         (MIN_VALUE): Likewise.
39679         (overflow_value): New function.
39680         (underflow_value): Likewise.
39681         (round_and_return): Use overflow_value and underflow_value to
39682         determine return values in overflow and underflow cases.  Use
39683         round_away to determine rounding depending on rounding mode.
39684         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39685         determine return values in overflow and underflow cases.
39686         * stdlib/tst-strtod-round.c: Include <fenv.h>.
39687         (struct test_results): New structure.
39688         (struct test): Use struct test_results to store expected results
39689         for all rounding modes.
39690         (TEST): Include expected results for all rounding modes.
39691         (test_in_one_mode): New function.
39692         (do_test): Use test_in_one_mode to compute and check results.
39693         Check results for all rounding modes.
39694         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39695         $(link-libm).
39697 2012-12-09  Allan McRae  <allan@archlinux.org>
39699         * sysdeps/i386/fpu/libm-test-ulps: Update
39701 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
39703         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39704         (_G_int32_t): Likewise.
39705         (_G_uint16_t): Likewise.
39706         (_G_uint32_t): Likewise.
39707         (_G_HAVE_BOOL): Likewise.
39708         (_G_HAVE_ATEXIT): Likewise.
39709         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39710         (_G_HAVE_IO_FILE_OPEN): Likewise.
39711         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39712         (_G_int32_t): Likewise.
39713         (_G_uint16_t): Likewise.
39714         (_G_uint32_t): Likewise.
39715         (_G_HAVE_BOOL): Likewise.
39716         (_G_HAVE_ATEXIT): Likewise.
39717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39718         (_G_HAVE_IO_FILE_OPEN): Likewise.
39719         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39720         (_G_int32_t): Likewise.
39721         (_G_uint16_t): Likewise.
39722         (_G_uint32_t): Likewise.
39723         (_G_HAVE_BOOL): Likewise.
39724         (_G_HAVE_ATEXIT): Likewise.
39725         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39726         (_G_HAVE_IO_FILE_OPEN): Likewise.
39728 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
39730         * csu/libc-tls.c: Update copyright years.
39732 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
39734         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39735         [!_G_USING_THUNKS]: Remove conditional code.
39736         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39737         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39739         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39740         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39741         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39742         (_G_VTABLE_LABEL_PREFIX): Likewise.
39743         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39744         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39745         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39746         (_G_VTABLE_LABEL_PREFIX): Likewise.
39747         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39748         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39749         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39750         (_G_VTABLE_LABEL_PREFIX): Likewise.
39751         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39753 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
39755         * libio/Makefile: Include ../Makeconfig before tests.
39756         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39757         only if $(build-shared) is yes.
39759         * iconv/gconv_db.c: Update copyright years.
39761 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39763         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39764         unwind info if defined PIC. Fix special cases description.
39765         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39767         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39768         DP_HI_MASK entry.
39769         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39771 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
39773         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39775         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39776         is NULL.
39778         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39779         (LDLIBS-tst-chk4): This.
39780         (LDFLAGS-tst-chk5): Renamed to ...
39781         (LDLIBS-tst-chk5): This.
39782         (LDFLAGS-tst-chk6): Renamed to ...
39783         (LDLIBS-tst-chk6): This.
39784         (LDFLAGS-tst-lfschk4): Renamed to ...
39785         (LDLIBS-tst-lfschk4): This.
39786         (LDFLAGS-tst-lfschk5): Renamed to ...
39787         (LDLIBS-tst-lfschk5): This.
39788         (LDFLAGS-tst-lfschk6): Renamed to ...
39789         (LDLIBS-tst-lfschk6): This.
39791         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39792         on $(common-objpfx)soversions.mk.
39794 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
39796         [BZ #10014]
39797         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39798         example host name.
39800 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39802         * malloc/arena.c (arena_get_retry): New function that gets
39803         another arena for the caller to try its request on.
39804         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39805         current arena cannot fulfill the request.
39806         (__libc_memalign): Likewise.
39807         (__libc_memalign): Likewise.
39808         (__libc_pvalloc): Likewise.
39809         (__libc_calloc): Likewise.
39811 2012-09-05  John Tobey  <john.tobey@gmail.com>
39813         [BZ #13542]
39814         * manual/arith.texi (Operations on Complex): Fix description
39815         of carg branch cut.
39817 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39819         [BZ #10014]
39820         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39821         host name.
39823         [BZ #10038]
39824         * manual/memory.texi (Memory): Make order of menu items match
39825         order of sections.
39827 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39829         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39830         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
39831         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39833 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39835         * csu/libc-tls.c (static_dtv): Renamed to ...
39836         (_dl_static_dtv): This.  Make it global.
39837         (_dl_initial_dtv): Removed.
39838         (__libc_setup_tls): Updated.
39839         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39840         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39841         DL_INITIAL_DTV.
39843 2012-09-06  Petr Machata  <pmachata@redhat.com>
39845         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39846         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39847         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39848         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39850 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39852         [BZ #14545]
39853         * csu/libc-tls.c (_dl_initial_dtv): New variable.
39854         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39855         freeing dtv[-1].
39857 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39859         [BZ #14544]
39860         * Makeconfig (link-static-before-libc): Replace $(+prector)
39861         with $(+prectorT).
39862         (link-static-after-libc): Replace $(+postctor) with
39863         $(+postctorT).
39864         (link-bounded): Replace $(+prector)/$(+postctor) with
39865         $(+prectorT)/$(+postctorT).
39866         (+prectorT): New macro.
39867         (+postctorT): Likewise.
39869 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39871         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39872         (round_str): Handle values above the maximum for IBM long double
39873         as inexact.
39874         * stdlib/tst-strtod-round.c (tests): Regenerated.
39876 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39878         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39879         assembler flag.
39880         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39881         zarch_nohighgprs around the zarch optimized routines.
39882         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39883         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39884         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39885         for zarch.
39887 2012-09-05  David S. Miller  <davem@davemloft.net>
39889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39891         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39892         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39893         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39894         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39895         entries.
39897 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39899         * malloc/arena.c: Fold copyright years.
39900         * malloc/mcheck.c, malloc/memusage.c: Likewise.
39902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39904         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39906 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39908         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
39910 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39912         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39913         change internal state upon failure.
39915 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39917         * malloc/mcheck.c (mcheck_check_all): Fix typo.
39918         * malloc/memusage.c (mmap): Likewise.
39919         (mmap64, mremap): Likewise.  Adjust name in comment.
39921 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39923         * libio/fileops.c: Fix typos in comments.
39924         * libio/oldfileops.c: Likewise.
39925         * libio/wfileops.c: Likewise.
39927 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39929         [BZ #1349]
39930         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39931         (tst-malloc-usable-ENV): Set environment for test case.
39932         * malloc/hooks.c (malloc_check_get_size): New function to get
39933         requested size.
39934         * malloc/malloc.c (musable): Use malloc_check_get_size.
39935         * malloc/tst-malloc-usable.c: New test case.
39937 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39939         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39941 2012-09-05  Allan McRae  <allan@archlinux.org>
39943         [BZ #13966]
39944         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39945         determine header location.
39946         * configure: Regenerated.
39948 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39950         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39951         float format.
39952         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39953         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39954         format.
39955         (test): Regenerate.
39957 2012-09-04  David S. Miller  <davem@davemloft.net>
39959         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39960         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39961         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39963 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39965         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39966         failures.
39968         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39970 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39972         [BZ #9914]
39973         * libio/iogetdelim.c: Include <limits.h>.
39974         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39975         + len + 1 would overflow.
39977 2012-09-03  Andreas Jaeger  <aj@suse.de>
39979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39980         * sysdeps/i386/fpu/libm-test-ulps: Update.
39982 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39984         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39985         Add s_sinf-sse2, s_conf-sse2.
39987         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39988         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39989         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39990         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39992         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39993         for using routine as __sinf_ia32.
39994         Use macro for function declaration and weak_alias.
39995         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39996         for using routine as __cosf_ia32.
39997         Use macro for function declaration and weak_alias.
39999         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40000         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40002         * sysdeps/x86_64/fpu/s_sinf.S: New file.
40003         * sysdeps/x86_64/fpu/s_cosf.S: New file.
40004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40006         * math/libm-test.inc (cos_test): Add more test cases.
40007         (sin_test): Likewise.
40008         (sincos_test): Likewise.
40010 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40012         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40013         (IFUNC_RESOLVE): Make pointers to the specialized implementations
40014         hidden.
40015         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40017 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
40019         [BZ #14538]
40020         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40021         first element of the GOT.
40022         (elf_machine_load_address): Return the difference between
40023         the runtime address of _DYNAMIC and elf_machine_dynamic ().
40025 2012-09-01  Allan McRae  <allan@archlinux.org>
40027         [BZ #13412]
40028         * configure.in (AWK): Require gawk version 3.0 or later.
40029         * configure: Regenerated.
40031 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
40033         * sysdeps/unix/sysv/linux/kernel-features.h
40034         (__ASSUME_POSIX_CPU_TIMERS): Remove.
40035         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40036         [__NR_clock_getres]: Make code unconditional.
40037         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40038         (clock_getcpuclockid): Remove code left unreachable by removal of
40039         conditionals.
40040         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40041         code unconditional.
40042         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40043         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40044         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40045         Make code unconditional.
40046         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40047         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40048         * sysdeps/unix/sysv/linux/clock_settime.c
40049         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40050         conditional code.
40051         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40052         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40054 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40056         [BZ #14476]
40057         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40058         scripts/test-installation.pl.
40060         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40061         and $ld_so_version if it is set.
40063 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40065         [BZ #14516]
40066         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40067         failure if reading from procfs failed.
40068         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40070 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40072         * sysdeps/unix/sysv/linux/kernel-features.h
40073         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40074         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40075         Remove conditional code.
40076         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40077         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40078         Remove conditional code.
40079         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40080         * sysdeps/unix/sysv/linux/i386/fxstat.c
40081         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40082         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40083         * sysdeps/unix/sysv/linux/i386/fxstatat.c
40084         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40085         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40086         * sysdeps/unix/sysv/linux/i386/lxstat.c
40087         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40088         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40089         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40090         Remove conditional code.
40091         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40092         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40093         Remove conditional code.
40094         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40095         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40096         <kernel-features.h>.
40097         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40098         Remove.
40099         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40100         Remove conditional code.
40101         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40102         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40103         Remove conditional.
40105 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
40107         [BZ #5400]
40108         * NEWS: Add fixed bug number.
40110 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40112         [BZ #14519]
40113         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40114         underflowing exponent in case of negative sign.
40115         * stdlib/tst-strtod-round-data: Add more tests.
40116         * stdlib/tst-strtod-round.c (tests): Regenerated.
40118         [BZ #3479]
40119         * stdlib/strtod_l.c (NDIG): Remove.
40120         (HEXNDIG): Likewise.
40121         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40122         smallest representable value.
40123         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40124         lie within an exact representation of 1/2 ulp of the result.
40125         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40126         unconditionally.
40127         (TENS_P9_IDX): Define unconditionally.
40128         (TENS_P9_SIZE): Likewise.
40129         (TENS_P10_IDX): Likewise.
40130         (TENS_P10_SIZE): Likewise.
40131         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40132         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40133         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40134         entries for 10^2^13 and 10^2^14.
40135         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40136         (TENS_P13_IDX): Define.
40137         (TENS_P13_SIZE): Likewise.
40138         (TENS_P14_IDX): Likewise.
40139         (TENS_P14_SIZE): Likewise.
40140         (_fpioconst_pow10): Change array size to
40141         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
40142         unconditional.
40143         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40144         1024]: Add entries for 10^2^13 and 10^2^14.
40145         [LAST_POW10 > _LAST_POW10]: Remove #error.
40146         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40147         (_fpioconst_pow10): Change array size to
40148         FPIOCONST_POW10_ARRAY_SIZE.
40149         * stdlib/gen-fpioconst.c: New file.
40150         * stdlib/gen-tst-strtod-round.c: Likewise.
40151         * stdlib/tst-strtod-round-data: Likewise.
40152         * stdlib/tst-strtod-round.c: Likewise.
40153         * stdlib/Makefile (tests): Add tst-strtod-round.
40155         [BZ #14459]
40156         * stdlib/strtod_l.c: Include <stdint.h>.
40157         (NDEBUG): Do not define.
40158         (round_and_return): Change EXPONENT parameter to type intmax_t.
40159         Rearrange calculations to avoid internal overflow possibilities.
40160         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40161         Rearrange calculations to avoid internal overflow possibilities.
40162         Assert that number fits inside MPNSIZE limbs.
40163         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40164         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
40165         calculations and add assertions to avoid internal overflow
40166         possibilities.  Add casts to avoid signed/unsigned operations.
40167         * stdlib/tst-strtod-overflow.c: New file.
40168         * stdlib/Makefile (tests): Add tst-strtod-overflow.
40170 2012-08-25  Marek Polacek  <polacek@redhat.com>
40172         * time/time.h: Fix some typos in comments.
40174 2012-08-23  Roland McGrath  <roland@hack.frob.com>
40176         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40177         * posix/tst-rfc3484-2.c: Likewise.
40178         * posix/tst-rfc3484-3.c: Likewise.
40180 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
40182         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40183         (EF_ARM_ABI_FLOAT_HARD): Likewise.
40185 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
40187         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40188         #include of fxstatat64.c.
40190 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40192         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40193         * shadow/getspent_r.c: Likewise.
40194         * shadow/getspnam.c: Likewise.
40195         * shadow/getspnam_r.c: Likewise.
40196         * gshadow/getsgent.c: Likewise.
40197         * gshadow/getsgent_r.c: Likewise.
40198         * gshadow/getsgnam.c: Likewise.
40199         * gshadow/getsgnam_r.c: Likewise.
40200         * inet/getnetbyad.c: Likewise.
40201         * inet/getnetbyad_r.c: Likewise.
40202         * inet/getnetbynm.c: Likewise.
40203         * inet/getnetbynm_r.c: Likewise.
40204         * inet/getnetent.c: Likewise.
40205         * inet/getnetent_r.c: Likewise.
40206         * inet/getproto.c: Likewise.
40207         * inet/getproto_r.c: Likewise.
40208         * inet/getprtent.c: Likewise.
40209         * inet/getprtent_r.c: Likewise.
40210         * inet/getprtname.c: Likewise.
40211         * inet/getprtname_r.c: Likewise.
40212         * inet/getrpcbyname.c: Likewise.
40213         * inet/getrpcbyname_r.c: Likewise.
40214         * inet/getrpcbynumber.c: Likewise.
40215         * inet/getrpcbynumber_r.c: Likewise.
40216         * inet/getrpcent.c: Likewise.
40217         * inet/getrpcent_r.c: Likewise.
40218         * inet/getaliasent.c: Likewise.
40219         * inet/getaliasent_r.c: Likewise.
40220         * inet/getaliasname.c: Likewise.
40221         * inet/getaliasname_r.c: Likewise.
40222         * nscd/getgrgid_r.c: Likewise.
40223         * nscd/getgrnam_r.c: Likewise.
40224         * nscd/gethstbyad_r.c: Likewise.
40225         * nscd/gethstbynm3_r.c: Likewise.
40226         * nscd/getpwnam_r.c: Likewise.
40227         * nscd/getpwuid_r.c: Likewise.
40228         * nscd/getsrvbynm_r.c: Likewise.
40229         * nscd/getsrvbypt_r.c: Likewise.
40230         * nscd/gai.c: Likewise.
40232         * configure.in (build_nscd): New substituted variable, set
40233         by --disable-build-nscd and defaults to $use_nscd.
40234         * configure: Regenerated.
40235         * config.make.in (build-nscd): New substituted variable.
40236         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40237         Change conditional to require [$(build-nscd) = yes] as well.
40238         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40240         [BZ# 13696]
40241         * configure.in (use_nscd): New substituted variable, set by
40242         --disable-nscd.  If enabled, define USE_NSCD.
40243         * configure: Regenerated.
40244         * config.h.in: Add USE_NSCD.
40245         * config.make.in (use-nscd): New substituted variable.
40246         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40247         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40248         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40249         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40250         (CFLAGS-getgrnam_r.c): Likewise.
40251         (CFLAGS-initgroups.c): Likewise.
40252         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40253         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40254         Variables removed.
40255         * inet/getnetgrent_r.c
40256         (nscd_setnetgrent): New function, broken out of ...
40257         (setnetgrent): ... here.  Call it.
40258         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40259         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40260         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40261         * nscd/Makefile (routines, aux): Move definitions after include of
40262         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40263         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40264         Conditionalize on [USE_NSCD].
40265         (is_nscd, nscd_init_cb): Likewise.
40266         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40267         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40268         * nss/nss_db/db-init.c: Likewise.
40269         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40270         [USE_NSCD].
40271         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40272         (make_request): Use it.
40273         (cache_valid_p): New function.
40274         (__check_pf): Use it.
40275         * NEWS: Add item for --disable-nscd.
40277 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40279         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40280         to support sed >= 4.2.1-20-ga9bf076.
40281         * configure: Regenerated.
40283 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40285         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40286         Conditionalize whole body on [IREL].
40288 2012-08-22  Jeff Law <law@redhat.com>
40290         [BZ #14505]
40291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40292         if the family is PF_UNSPEC.
40294 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40296         * Makerules (lib-version): Rename from V.
40297         (install-lib-nosubdir): Change V to lib-version.
40299 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40301         [BZ #14252]
40302         * powerpc32/power6/wcschr.c: New file.
40303         * powerpc32/power6/wcscpy.c: New file.
40304         * powerpc32/power6/wcsrchr.c: New file.
40305         * powerpc64/power6/wcschr.c: New file.
40306         * powerpc64/power6/wcscpy.c: New file.
40307         * powerpc64/power6/wcsrchr.c: New file.
40309 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40311         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40312         (two_way_short_needle): Use it.
40313         * string/strstr.c (AVAILABLE1_USES_J): Define.
40314         * string/strcasestr.c: Likewise.
40316         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40317         array references.
40318         * string/strcasestr.c (TOLOWER): Make side-effect safe.
40320         [BZ #11607]
40321         * NEWS: Add an entry.
40322         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40323         define their defaults.
40324         (two_way_short_needle): Detect end-of-string on-the-fly.
40325         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40326         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40327         * string/bug-strcasestr1.c: New test.
40328         * string/Makefile: Run it.
40330 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40332         [BZ #11607]
40333         * string/str-two-way.h (two_way_short_needle): Optimize matching of
40334         the first character.
40336 2012-08-21  Roland McGrath  <roland@hack.frob.com>
40338         * csu/elf-init.c (__libc_csu_irel): Function removed.
40339         * csu/libc-start.c (apply_irel): New function.
40340         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40342 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
40344         * sysdeps/unix/sysv/linux/kernel-features.h
40345         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40346         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40347         <kernel-features.h>.
40348         [__NR_fadvise64_64]: Make code unconditional.
40349         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40350         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40351         !__NR_fadvise64_64)]: Likewise.
40352         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40353         !__NR_fadvise64_64))]: Likewise.
40354         [__NR_fadvise64]: Make code unconditional.
40355         [!__NR_fadvise64]: Remove conditional code.
40356         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40357         <kernel-features.h>.
40358         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40359         unconditional.
40360         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40361         conditional code.
40362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40363         not include <kernel-features.h>.
40364         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40365         unconditional.
40366         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40367         conditional code.
40368         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40369         include <kernel-features.h>.
40370         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40371         unconditional.
40372         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40373         conditional code.
40375 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40377         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40378         slight instruction rearrangements per scrollpipe analysis.
40379         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40381 2012-08-20  Roland McGrath  <roland@hack.frob.com>
40383         * manual/syslog.texi (syslog; vsyslog, closelog):
40384         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40385         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40387         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40388         DSOCAPS to match condition on defining it.
40390 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
40392         * sysdeps/unix/sysv/linux/kernel-features.h
40393         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40395         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40396         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40398         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40399         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40401         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40402         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40404         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40405         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40407         * sysdeps/unix/sysv/linux/kernel-features.h
40408         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40409         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40410         unconditional.
40411         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40412         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40413         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40414         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40415         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40416         Make code unconditional.
40417         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40418         (__mmap64) [!__NR_mmap2]: Likewise.
40419         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40420         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40421         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40422         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40423         [__NR_mmap2]: Make code unconditional.
40424         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40425         (__mmap64) [!__NR_mmap2]: Likewise.
40427 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40429         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40431 2012-08-18  Andreas Jaeger  <aj@suse.de>
40433         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40435 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40437         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40438         * include/unistd.h (__have_sock_cloexec): Likewise.
40439         (__have_pipe2): Likewise.
40440         (__have_dup3): Likewise.
40442 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40444         [BZ #9685]
40445         * include/unistd.h (__have_pipe2): Change define into an extern int.
40446         (__have_dup3): Likewise.
40447         * socket/have_sock_cloexec.c: Include fcntl.h.
40448         (__have_pipe2): New variable.
40449         (__have_dup3): Likewise.
40451 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
40453         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40455 2012-08-17  Marek Polacek  <polacek@redhat.com>
40457         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40458         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40460 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40462         * configure.in: Add AC_SUBST for sysheaders.
40463         * configure: Regenerated.
40464         * config.make.in (sysheaders): New substituted variable.
40466         * sysdeps/unix/mkfifo.c: Moved ...
40467         * sysdeps/posix/mkfifo.c: ... here.
40468         * sysdeps/unix/mkfifoat.c: Moved ...
40469         * sysdeps/posix/mkfifoat.c: ... here.
40471         * sysdeps/unix/utime.c: Moved ...
40472         * sysdeps/posix/utime.c: ... here.
40474         * sysdeps/unix/time.c: Moved ...
40475         * sysdeps/posix/time.c: ... here.
40476         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40477         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40479         * sysdeps/unix/nice.c: Moved ...
40480         * sysdeps/posix/nice.c: ... here.
40482         * sysdeps/unix/alarm.c: Moved ...
40483         * sysdeps/posix/alarm.c: ... here.
40485         * intl/Makefile ($(codeset_mo)): Depend on the input file.
40487 2012-08-17  Jeff Law <law@redhat.com>
40489         * intl/Makefile (codeset_mo): New variable.
40490         ($(codeset_mo)): New target.
40491         (tst-codeset.out): Depend on that.  Remove explicit rule.
40492         (tst-gettext3.out, tst-gettext5.out): Likewise.
40493         (LOCPATH-ENV, tst-codeset-ENV): New variables.
40494         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40495         * intl/tst-codeset.sh: Remove.
40496         * intl/tst-gettext3.sh: Likewise.
40497         * intl/tst-gettext5.sh: Likewise.
40499 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40501         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
40502         * sysdeps/unix/syscalls.list: ... here.
40504         * sysdeps/posix/getaddrinfo.c
40505         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40506         (gaiconf_init, gaiconf_reload): Use them.
40507         [!_STATBUF_ST_NSEC]
40508         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40509         Define using time_t rather than struct timespec.
40511         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40512         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40513         Macros removed.
40514         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40515         [!NO_THREADS].
40516         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40517         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40518         Likewise.
40520         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40521         __libc_cleanup_push argument.
40523         * bits/param.h: New file.
40524         * misc/sys/param.h: New file.
40525         * include/sys/param.h: New file.
40526         * misc/Makefile (headers): Add bits/param.h.
40527         * sysdeps/generic/sys/param.h: File removed.
40528         * sysdeps/unix/sysv/linux/bits/param.h: New file.
40529         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40530         * sysdeps/mach/hurd/bits/param.h: New file.
40531         * sysdeps/mach/hurd/sys/param.h: File removed.
40533         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40534         last change.
40536         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40537         [_IO_MTSAFE_IO].
40538         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40539         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40540         New macros.
40542         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40543         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40544         rather than -D_IO_MTSAFE_IO conditionally.
40545         * stdio-common/Makefile (CPPFLAGS): Likewise.
40546         * wcsmbs/Makefile (CPPFLAGS): Likewise.
40547         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40548         Use $(libio-mtsafe).
40549         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40550         of -D_IO_MTSAFE_IO.
40551         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40552         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40553         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40554         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40555         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40556         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40557         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40558         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40559         (CFLAGS-fread_u_chk.c): Likewise.
40560         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40561         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40562         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40563         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40564         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40565         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40566         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40567         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40568         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40570         * libio/Makefile: Test [$(libc-reentrant) = yes]
40571         instead of [$(filter %REENTRANT, $(defines)) nonempty].
40573         * Makeconfig
40574         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40575         * sysdeps/pthread/configure: File removed.
40576         * sysdeps/pthread/Makeconfig: New file.
40577         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40578         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40580 2012-08-16  Gary Benson  <gbenson@redhat.com>
40582         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40583         unmapping the first object in a namespace.
40585 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40587         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40588         (__internal_setnetgrent): ... this.  Add internal_function to
40589         definition.  Add libc_hidden_def.
40590         (setnetgrent): Update caller.
40591         (internal_endnetgrent): Renamed to ...
40592         (__internal_endnetgrent): ... this.  Add internal_function to
40593         definition.  Add libc_hidden_def.
40594         (endnetgrent): Update caller.
40595         (internal_getnetgrent_r): Renamed to ...
40596         (__internal_getnetgrent_r): ... this.  Add internal_function to
40597         definition.  Add libc_hidden_def.
40598         (__getnetgrent_r): Update caller.
40599         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
40601 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40603         * stdlib/longlong.h: Update from GCC.
40605 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40607         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40608         on _QL, which is set by umul_ppmm but never used.
40609         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40610         variables, which are set by GMP macros but never used.
40611         * stdio-common/_itowa.c (_itowa): Likewise.
40612         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40613         * stdlib/mod_1.c (mpn_mod_1): Likewise.
40615 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
40617         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40618         struct La_sh_regs is not constant.
40619         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40620         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40621         and struct La_sparc64_regs are not constant.
40623 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40625         * sysdeps/unix/sysv/linux/kernel-features.h
40626         (__ASSUME_POSIX_TIMERS): Remove.
40627         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40628         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40629         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40630         Make code unconditional.
40631         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40632         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40633         Make code unconditional.
40634         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40635         * sysdeps/unix/sysv/linux/clock_nanosleep.c
40636         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40637         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40638         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40639         Make code unconditional.
40640         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40641         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40642         (__libc_missing_posix_timers): Remove.
40644 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40646         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40647         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40649         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40651         * elf/dl-sym.c: Include <stdlib.h>.
40653         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40654         constants, which avoids warnings in 32-bit builds.
40656         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40657         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40659         * misc/lseek.c: File moved to ...
40660         * io/lseek.c: ... here.
40662         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40664         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40665         shifting LEN more than 31 bits at once.
40667 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40669         [BZ #14195]
40670         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40671         segmentation fault for a case of two empty input strings.
40672         * string/test-strncasecmp.c (check1): Renamed to...
40673         (bz12205): ...this.
40674         (bz14195): Add new testcase for two empty input strings and N > 0.
40675         (test_main): Call new testcase, adapt for renamed function.
40677 2012-08-15  Andreas Jaeger  <aj@suse.de>
40679         [BZ #14090]
40680         * crypt/md5test2.c: New test, based on test supplied by Serge
40681         Belyshev <belyshev@depni.sinp.msu.ru>.
40682         * crypt/Makefile (xtests): Add md5test-giant..
40683         * crypt/Makefile ($(objpfx)md5test-giant): Add.
40685 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
40687         [BZ #14090]
40688         * crypt/md5.c (md5_process_block): Don't assume the buffer
40689         length is less than 2**32.
40690         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40691         length is less than 2**64.
40693 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40695         * string/str-two-way.h: Include <sys/param.h>.
40696         (MAX): Macro removed.
40698         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40699         Move #define and #undef of memmove to just before and after
40700         including <string.h>.
40702         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40703         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40704         and after including <string.h>.  Move declarations of
40705         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40706         to before #include "string/memmove.c".
40708         * include/dirent.h: Declare __getdirentries.
40710         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40711         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40713 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
40715         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40716         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40717         * sysdeps/i386/configure: Regenerated.
40718         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40719         STABS_CURRENT_FILE, and STABS_FUN.
40720         (END): Remove call to STABS_FUN_END.
40721         (STABS_CURRENT_FILE1): Delete.
40722         (STABS_CURRENT_FILE): Likewise.
40723         (STABS_FUN): Likewise.
40724         (STABS_FUN_END): Likewise.
40725         (STABS_FUN2): Likewise.
40726         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40727         * sysdeps/x86_64/configure: Regenerated.
40729 2012-08-14  Roland McGrath  <roland@hack.frob.com>
40731         * elf/dl-open.c: Include <atomic.h>.
40732         * elf/dl-lookup.c: Likewise.
40734 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
40736         * sysdeps/unix/sysv/linux/kernel-features.h
40737         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40738         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40739         unconditionally.
40740         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40741         unconditionally.
40742         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40743         condition on __ASSUME_CLONE_THREAD_FLAGS.
40745 2012-08-14  Andreas Jaeger  <aj@suse.de>
40747         * sysdeps/i386/fpu/libm-test-ulps: Update.
40749 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
40751         * include/atomic.h (atomic_exchange_and_add): Split into ...
40752         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40753         New atomic macros.
40755 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
40757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40759 2012-08-13  Jeff Law <law@redhat.com>
40761         * manual/stdio.texi (snprintf): Clarify handling of the trailing
40762         null byte in the output string.
40764 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
40766         * sysdeps/unix/sysv/linux/kernel-features.h
40767         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40768         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40769         (__ASSUME_ARG_MAX_STACK_BASED): Define.
40770         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40771         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40772         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
40773         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40775 2012-08-09  Jeff Law <law@redhat.com>
40777         [BZ #13939]
40778         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40779         When avoid_arena is set, don't retry in the that arena.  Pick the
40780         next one, whatever it might be.
40781         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40782         (arena_lock): Pass in new parameter to arena_get2.
40783         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40784         arena_get2.
40785         (__libc_malloc): Unify retrying after main arena failure with
40786         __libc_memalign version.
40787         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40789 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
40791         [BZ #14166]
40792         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40793         to __redirect_strstr.
40794         (__strstr_sse42): Use typeof __redirect_strstr.
40795         (__strstr_ia32): Likewise.
40796         (__libc_strstr): New prototype.
40797         (strstr): Renamed to ...
40798         (__libc_strstr): This.
40799         (strstr): New strong alias of __libc_strstr.
40800         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40801         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40802         __redirect_time.
40803         Include <time.h>.
40804         (__libc_time): New prototype.
40805         (time_ifunc): Replace time with __libc_time.
40806         (time): New strong alias and hidden definition of __libc_time.
40807         (__GI_time): Remove strong alias.
40808         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40809         Include <stddef.h>.
40810         (memmove): Redefined to __redirect_memmove.
40811         (__memmove_sse2): Use typeof __redirect_memmove.
40812         (__memmove_ssse3): Likewise.
40813         (__memmove_ssse3_back): Likewise.
40814         (__libc_memmove): New prototype.
40815         (memmove): Renamed to ...
40816         (__libc_memmove): This.
40817         (memmove): New strong alias of __libc_memmove.
40819 2012-08-08  Mark Salter  <msalter@redhat.com>
40821         * elf/elf.h
40822         (R_MN10300_TLS_GD): Define.
40823         (R_MN10300_TLS_LD): Likewise.
40824         (R_MN10300_TLS_LDO): Likewise.
40825         (R_MN10300_TLS_GOTIE): Likewise.
40826         (R_MN10300_TLS_IE): Likewise.
40827         (R_MN10300_TLS_LE): Likewise.
40828         (R_MN10300_TLS_DTPMOD): Likewise.
40829         (R_MN10300_TLS_DTPOFF): Likewise.
40830         (R_MN10300_TLS_TPOFF): Likewise.
40831         (R_MN10300_SYM_DIFF): Likewise.
40832         (R_MN10300_ALIGN): Likewise.
40833         (R_MN10300_NUM): Update.
40835 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
40837         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40838         Remove.
40840 2012-08-08  Roland McGrath  <roland@hack.frob.com>
40842         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40844         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40845         sysdeps/unix -> sysdeps/posix move.
40846         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40848 2012-08-07      Allan McRae     <allan@archlinux.org>
40850         [BZ #14303]
40851         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40852         (SUNOS_CPP): Likewise.
40853         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40854         not found.
40855         (open_input): Call CPP using execvp.
40857 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40859         * sysdeps/unix/sysv/linux/kernel-features.h
40860         (__ASSUME_PROT_GROWSUPDOWN): Remove.
40861         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40862         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40863         (__ASSUME_WAITID_SYSCALL): Likewise.
40864         * sysdeps/unix/sysv/linux/dl-execstack.c
40865         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40866         code unconditional.
40867         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40868         conditional code.
40869         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40870         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40871         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40872         code.
40873         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40874         unconditional.
40875         [__ASSUME_WAITID_SYSCALL]: Likewise.
40876         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40878 2012-08-07  Roland McGrath  <roland@hack.frob.com>
40880         * sysdeps/unix/closedir.c: Renamed to ...
40881         * sysdeps/posix/closedir.c: ... here.
40882         * sysdeps/unix/dirfd.c: Renamed to ...
40883         * sysdeps/posix/dirfd.c: ... here.
40884         * sysdeps/unix/dirstream.h: Renamed to ...
40885         * sysdeps/posix/dirstream.h: ... here.
40886         * sysdeps/unix/fdopendir.c: Renamed to ...
40887         * sysdeps/posix/fdopendir.c: ... here.
40888         * sysdeps/unix/opendir.c: Renamed to ...
40889         * sysdeps/posix/opendir.c: ... here.
40890         * sysdeps/unix/readdir.c: Renamed to ...
40891         * sysdeps/posix/readdir.c: ... here.
40892         * sysdeps/unix/readdir_r.c: Renamed to ...
40893         * sysdeps/posix/readdir_r.c: ... here.
40894         * sysdeps/unix/rewinddir.c: Renamed to ...
40895         * sysdeps/posix/rewinddir.c: ... here.
40896         * sysdeps/unix/seekdir.c: Renamed to ...
40897         * sysdeps/posix/seekdir.c: ... here.
40898         * sysdeps/unix/telldir.c: Renamed to ...
40899         * sysdeps/posix/telldir.c: ... here.
40900         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40901         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40902         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40903         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40905         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40906         * bits/fcntl.h: ... here.
40908         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40909         not 0.
40910         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40911         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40912         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40913         (struct flock): Move l_start, l_len to the beginning.
40914         Use __pid_t for l_pid.
40915         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40916         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40917         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40918         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40919         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40920         [__USE_LARGEFILE64] (struct flock64): New type.
40921         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40923         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40924         * bits/dirent.h: ... here.
40926         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40927         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40929 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40931         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40932         Change from 2.6.0 to 2.6.16.
40933         * sysdeps/unix/sysv/linux/configure: Regenerated.
40934         * sysdeps/unix/sysv/linux/kernel-features.h
40935         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40936         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40937         version.
40938         (__ASSUME_UTIMES): Likewise.
40939         (__ASSUME_CLONE_STOPPED): Remove.
40940         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40941         architectures, not kernel version.
40942         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40943         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40944         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40945         (__ASSUME_WAITID_SYSCALL): Likewise.
40946         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40947         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40948         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40949         refer to older versions.
40951 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40953         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40954         Define alphasort64 as an alias.
40955         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40956         Define versionsort64 as an alias.
40957         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40958         Define scandir64 as an alias.
40959         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40960         Define scandirat64 as an alias.
40961         * dirent/alphasort64.c (alphasort64):
40962         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40963         * dirent/versionsort64.c: Likewise.
40964         * dirent/scandir64.c: Likewise.
40965         * dirent/scandirat64.c: Likewise.
40966         * sysdeps/wordsize-64/alphasort.c: File removed.
40967         * sysdeps/wordsize-64/alphasort64.c: File removed.
40968         * sysdeps/wordsize-64/scandir.c: File removed.
40969         * sysdeps/wordsize-64/scandir64.c: File removed.
40970         * sysdeps/wordsize-64/scandirat.c: File removed.
40971         * sysdeps/wordsize-64/scandirat64.c: File removed.
40972         * sysdeps/wordsize-64/versionsort.c: File removed.
40973         * sysdeps/wordsize-64/versionsort64.c: File removed.
40974         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40976         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40978         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40980         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40981         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40983         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40984         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40985         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40987         [defined __arch64__ || defined __sparcv9]
40988         (__INO_T_MATCHES_INO64_T): New macro.
40989         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40990         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40991         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40992         * sysdeps/unix/sysv/linux/bits/dirent.h
40993         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40994         (_DIRENT_MATCHES_DIRENT64): New macro.
40996         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40997         Define lockf64 as an alias.
40998         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40999         Define fseeko64 as an alias.
41000         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41001         Define ftello64 as an alias.
41002         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41003         Define _IO_fgetpos64 and fgetpos64 as aliases.
41004         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41005         Define _IO_fsetpos64 and fsetpos64 as aliases.
41006         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41007         Conditionalize body on this.
41008         * libio/fseeko64.c: Likewise.
41009         * libio/ftello64.c: Likewise.
41010         * libio/iofgetpos64.c: Likewise.
41011         * libio/iofsetpos64.c: Likewise.
41012         * sysdeps/wordsize-64/lockf.c: File removed.
41013         * sysdeps/wordsize-64/lockf64.c: File removed.
41014         * sysdeps/wordsize-64/fseeko.c: File removed.
41015         * sysdeps/wordsize-64/fseeko64.c: File removed.
41016         * sysdeps/wordsize-64/ftello.c: File removed.
41017         * sysdeps/wordsize-64/ftello64.c: File removed.
41018         * sysdeps/wordsize-64/iofgetpos.c: File removed.
41019         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41020         * sysdeps/wordsize-64/iofsetpos.c: File removed.
41021         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41022         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41023         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41033         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41035         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41037         [defined __arch64__ || defined __sparcv9]
41038         (__OFF_T_MATCHES_OFF64_T): New macro.
41039         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41040         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41042         (__OFF_T_MATCHES_OFF64_T): New macro.
41044 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41046         * stdlib/secure-getenv.c (__secure_getenv): Replace
41047         GLIBC_2_16 with GLIBC_2_17.
41049 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41052         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41054 2012-08-03  David S. Miller  <davem@davemloft.net>
41056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41058 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41060         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41061         Remove.
41062         (__ASSUME_CORRECT_SI_PID): Likewise.
41063         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41064         (__ASSUME_TMPFS_NAME): Likewise.
41065         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41066         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41067         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41068         (HAVE_AUX_SECURE): Make definition unconditional.
41069         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41070         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41072 2012-08-03  Roland McGrath  <roland@hack.frob.com>
41074         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41075         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41076         * sysdeps/mach/hurd/eloop-threshold.h: New file.
41077         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41078         __eloop_threshold instead of SYMLOOP_MAX.
41080         * sysdeps/generic/eloop-threshold.h: New file.
41081         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41082         of MAXSYMLINKS.
41083         * elf/chroot_canon.c (chroot_canon): Likewise.
41085 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41087         [BZ #13717]
41088         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41089         Change to 2.6.0 everywhere.
41090         * sysdeps/unix/sysv/linux/configure: Regenerated.
41091         * sysdeps/unix/sysv/linux/kernel-features.h
41092         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41093         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41094         kernel versions.
41095         (__ASSUME_POSIX_TIMERS): Define unconditionally.
41096         (__ASSUME_FUTEX_REQUEUE): Remove.
41097         (__ASSUME_STATFS64): Define unconditionally.
41098         (__ASSUME_AT_SECURE): Likewise.
41099         (__ASSUME_CORRECT_SI_PID): Likewise.
41100         (__ASSUME_TGKILL): Define without depending on kernel version for
41101         i386.
41102         (__ASSUME_UTIMES): Likewise.
41103         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41104         kernel version.
41105         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41106         (__ASSUME_TMPFS_NAME): Likewise.
41107         * README: Update reference to Linux kernel versions.
41109 2012-08-02  Marek Polacek  <polacek@redhat.com>
41111         [BZ# 14150]
41112         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
41113         libc_cv_asm_type_prefix with %.
41114         * configure: Regenerated.
41115         * include/libc-symbols.h: Remove comment about
41116         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41117         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41118         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41119         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41120         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41121         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41122         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41123         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41124         * elf/tst-unique2mod1.c: Likewise.
41125         * elf/tst-unique1mod2.c: Likewise.
41126         * elf/tst-unique1mod1.c: Likewise.
41127         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41128         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41129         Replace ASM_TYPE_DIRECTIVE with .type.
41130         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41131         * sysdeps/i386/sysdep.h: Likewise.
41132         * sysdeps/x86_64/sysdep.h: Likewise.
41133         * sysdeps/sh/sysdep.h: Likewise.
41134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41135         Do not define ASM_TYPE_DIRECTIVE.
41136         * sysdeps/powerpc/sysdep.h: Likewise.
41137         * sysdeps/powerpc/powerpc32/sysdep.h:
41138         Replace ASM_TYPE_DIRECTIVE with .type.
41139         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41140         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41141         * sysdeps/i386/fpu/e_powf.S: Likewise.
41142         * sysdeps/i386/fpu/e_expl.S: Likewise.
41143         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41144         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41145         * sysdeps/i386/fpu/e_pow.S: Likewise.
41146         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41147         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41148         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41149         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41150         * sysdeps/i386/fpu/e_log2.S: Likewise.
41151         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41152         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41153         * sysdeps/i386/fpu/e_powl.S: Likewise.
41154         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41155         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41156         * sysdeps/i386/fpu/e_logl.S: Likewise.
41157         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41158         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41159         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41160         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41162         * sysdeps/i386/fpu/e_log.S: Likewise.
41163         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41164         * sysdeps/i386/fpu/e_logf.S: Likewise.
41165         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41166         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41167         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41168         * sysdeps/i386/fpu/e_log10.S: Likewise.
41169         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41170         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41171         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41172         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41173         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41174         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41175         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41176         * sysdeps/i386/i686/strtok.S: Likewise.
41177         * sysdeps/i386/i386-mcount.S: Likewise.
41178         * sysdeps/i386/strtok.S: Likewise.
41179         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41180         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41181         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41182         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41183         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41184         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41185         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41186         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41187         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41188         * sysdeps/x86_64/_mcount.S: Likewise.
41189         * sysdeps/x86_64/strtok.S: Likewise.
41190         * sysdeps/sh/_mcount.S: Likewise.
41192 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41194         * libio/iofopen.c: Include <fcntl.h>.
41195         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41196         (_IO_fopen64, fopen64): Define as aliases.
41197         * libio/iofopen64.c: Include <fcntl.h>.
41198         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41199         Conditionalize body on this.
41200         * sysdeps/wordsize-64/iofopen.c: File removed.
41201         * sysdeps/wordsize-64/iofopen64.c: File removed.
41203 2012-08-01  Marek Polacek  <polacek@redhat.com>
41205         * libc/Makeconfig: Use elf in place of binfmt-subdir.
41206         Use dlfcn directly instead of a variable.
41207         (binfmt-subdir): Do not define.
41208         (dlfcn): Likewise.
41210 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
41212         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41213         Remove all definitions.
41214         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41215         <kernel-features.h>.
41216         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41217         (miss_F_GETOWN_EX): Remove all definitions.
41218         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41219         macro definition.
41220         [!__ASSUME_FCNTL64]: Remove conditional code.
41221         [__ASSUME_FCNTL64]: Make code unconditional.
41222         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41223         <kernel-features.h>.
41224         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41225         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41226         (lockf64) [__NR_fcntl64]: Make code unconditional.
41227         (lockf64) [__ASSUME_FCNTL64]: Likewise.
41229         * sysdeps/unix/sysv/linux/kernel-features.h
41230         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41231         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41232         Make code unconditional.
41233         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41234         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41236         [__NR_vfork]: Make code unconditional.
41237         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41238         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41240         [__NR_vfork]: Make code unconditional.
41241         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41242         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41244 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41246         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41247         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41249         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41250         Define mkstemp64 as an alias.
41251         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41252         Define mkstemps64 as an alias.
41253         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41254         Define mkostemp64 as an alias.
41255         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41256         Define mkostemps64 as an alias.
41257         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41258         Conditionalize body on this.
41259         * misc/mkostemp64.c: Likewise.
41260         * misc/mkostemps64.c: Likewise.
41261         * misc/mkstemps64.c: Likewise.
41262         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41263         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41264         * sysdeps/wordsize-64/mkostemp.c: File removed.
41265         * sysdeps/wordsize-64/mkstemp.c: File removed.
41266         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41267         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41269         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41271         [BZ #14138]
41272         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41273         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41274         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41275         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41277         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41278         compat_symbol macros from <shlib-compat.h> rather than the underlying
41279         default_symbol_version and symbol_version macros, so that DEFAULT
41280         lines in shlib-versions are respected.
41281         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41283 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41285         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41286         Declare with warn_unused_result.
41287         (setgid, setregid, setegid, setresgid): Likewise.
41288         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41289         Likewise.
41290         * WUR-REPORT: Remove set*id functions.
41292 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41294         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41296 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41298         [BZ #10191]
41299         * include/sys/socket.h (__libc_accept, __libc_accept4):
41300         Add attribute_hidden.
41301         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41303         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41304         use of PTR_MANGLE.
41305         * inet/getnetgrent_r.c (setup): Likewise.
41307         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41309 2012-07-31  David S. Miller  <davem@davemloft.net>
41311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41313 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
41315         [BZ #13629]
41316         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41317         value between 1.0 and 2.0 and smaller part has absolute value less
41318         than 1.0.
41319         * math/s_clog10.c (__clog10): Likewise.
41320         * math/s_clog10f.c (__clog10f): Likewise.
41321         * math/s_clog10l.c (__clog10l): Likewise.
41322         * math/s_clogf.c (__clogf): Likewise.
41323         * math/s_clogl.c (__clogl): Likewise.
41324         * math/libm-test.inc (clog_test): Add more tests.
41325         (clog10_test): Likewise.
41326         * sysdeps/i386/fpu/libm-test-ulps: Update.
41327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41329 2012-07-31  Florian Weimer  <fweimer@redhat.com>
41331         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41332         Exit with zero in case no suitable GID is found, and write a
41333         message to standard error.
41335 2012-07-30  Roland McGrath  <roland@hack.frob.com>
41337         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41338         rather than to 1.
41339         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41340         (MAXPATHLEN): Removed.
41341         (NOGROUP, NODEV): New macros.
41342         (setbit, clrbit, isset, isclr): New macros.
41343         (howmany, roundup, powerof2): New macros.
41344         (DEV_BSIZE): New macro.
41346         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41347         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41349         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41350         definition on [!__NO_LONG_DOUBLE_MATH].
41352         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41353         PTR_MANGLE and PTR_DEMANGLE.
41355         * socket/accept4.c (accept4): Rename to __libc_accept4.
41356         Define accept4 as a weak alias.
41358         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41359         on [_DIRENT_HAVE_D_TYPE].
41360         * io/ftw.c (ftw_dir): Likewise.
41362         * io/xmknod.c (__xmknod): Don't check PATH for being null.
41364         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41366         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41367         Use the BSD numbers rather than the arbitrary ones we had.
41368         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41369         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41370         (SIGXCPU, SIGXFSZ): New macros.
41371         (_NSIG): Now 32.
41373         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41374         initializer on [_LIBC_REENTRANT].
41376         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41377         definitions inside [_POSIX_MAPPED_FILES].
41379         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41381         * dirent/opendir.c: Include <fcntl.h>.
41383         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41384         (__libc_getspecific): Likewise.
41385         (__libc_key_create): Likewise.
41387         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41388         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41389         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41390         (tmpfile64): Define as alias.
41391         * sysdeps/wordsize-64/tmpfile.c: File removed.
41392         * sysdeps/wordsize-64/tmpfile64.c: File removed.
41393         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41394         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41396         * stdio-common/vfscanf.c: Include <stdbool.h>.
41397         * nss/makedb.c: Likewise.
41398         * stdio-common/_i18n_number.h: Likewise.
41399         * argp/argp-help.c: Likewise.
41400         * posix/wordexp.c: Likewise.
41401         * sysdeps/posix/spawni.c: Likewise.
41402         * nss/nss_files/files-initgroups.c: Likewise.
41403         * stdio-common/reg-modifier.c: Include <stdlib.h>.
41404         * nss/nss_files/files-initgroups.c: Likewise.
41405         * nss/nss_db/db-netgrp.c: Likewise.
41406         * nss/nss_db/db-initgroups.c: Likewise.
41407         * io/fchmodat.c: Include <sys/stat.h>.
41409         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41410         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41412         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41413         [HAVE_MMAP].
41415         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41416         Add multiple inclusion protection.
41418 2012-07-27  David S. Miller  <davem@davemloft.net>
41420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41422 2012-07-27  Gary Benson  <gbenson@redhat.com>
41424         [BZ #14298]
41425         * elf/rtld.c: Include <stap-probe.h>.
41426         (dl_main): Added static probes "init_start" and "init_complete".
41427         * elf/dl-load.c: Include <stap-probe.h>.
41428         (lose): Take new parameter "nsid".
41429         Added static probe "map_failed".
41430         (_dl_map_object_from_fd): Pass namespace id to lose.
41431         Added static probe "map_start".
41432         (open_verify): Pass namespace id to lose.
41433         * elf/dl-open.c: Include <stap-probe.h>.
41434         (dl_open_worker) Added static probes "map_complete", "reloc_start"
41435         and "reloc_complete".
41436         * elf/dl-close.c: Include <stap-probe.h>.
41437         (_dl_close_worker): Added static probes "unmap_start" and
41438         "unmap_complete".
41439         * elf/rtld-debugger-interface.txt: New file documenting the above.
41441 2012-07-26  Roland McGrath  <roland@hack.frob.com>
41443         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41444         rather than a string variable.
41445         * sunrpc/rpc_main.c (h_output): Likewise.
41446         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41448 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
41450         * inet/check_native.c: New file.
41452 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
41454         [BZ #13629]
41455         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41456         if larger part has absolute value 1.0.
41457         * math/s_clog10.c (__clog10): Likewise.
41458         * math/s_clog10f.c (__clog10f): Likewise.
41459         * math/s_clog10l.c (__clog10l): Likewise.
41460         * math/s_clogf.c (__clogf): Likewise.
41461         * math/s_clogl.c (__clogl): Likewise.
41462         * math/libm-test.inc (clog_test): Add more tests.
41463         (clog10_test): Likewise.
41464         * sysdeps/i386/fpu/libm-test-ulps: Update.
41465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41467         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41468         (pltexit): Likewise.
41469         (La_regs): Likewise.
41470         (La_retval): Likewise.
41471         (int_retval): Likewise.
41472         Update #error for removed macros to refer only to definitions in
41473         tst-audit.h.
41474         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41475         macro.
41476         (pltexit): Likewise.
41477         (La_regs): Likewise.
41478         (La_retval): Likewise.
41479         (int_retval): Likewise.
41480         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41481         macro.
41482         (pltexit): Likewise.
41483         (La_regs): Likewise.
41484         (La_retval): Likewise.
41485         (int_retval): Likewise.
41486         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41487         macro.
41488         (pltexit): Likewise.
41489         (La_regs): Likewise.
41490         (La_retval): Likewise.
41491         (int_retval): Likewise.
41492         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41493         macro.
41494         (pltexit): Likewise.
41495         (La_regs): Likewise.
41496         (La_retval): Likewise.
41497         (int_retval): Likewise.
41498         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41499         macro.
41500         (pltexit): Likewise.
41501         (La_regs): Likewise.
41502         (La_retval): Likewise.
41503         (int_retval): Likewise.
41504         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41505         macro.
41506         (pltexit): Likewise.
41507         (La_regs): Likewise.
41508         (La_retval): Likewise.
41509         (int_retval): Likewise.
41510         * sysdeps/generic/tst-audit.h: Update comment to refer only to
41511         macro definitions in tst-audit.h.
41512         * sysdeps/i386/tst-audit.h: New file.
41513         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41514         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41515         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41516         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41517         * sysdeps/sh/tst-audit.h: Likewise.
41518         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41519         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41520         * sysdeps/x86_64/tst-audit.h: Likewise.
41522 2012-07-26  Andreas Jaeger  <aj@suse.de>
41524         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41525         ptrace.
41527         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41528         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41529         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41530         PTRACE_O_MASK.
41531         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41532         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41533         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41535         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41536         value.
41538         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41539         _sigsys.
41540         (si_call_addr, si_syscall, si_arch): Define new macro.
41541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41542         _sigsys.
41543         (si_call_addr, si_syscall, si_arch): Define new marcro.
41544         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41545         _sigsys.
41546         (si_call_addr, si_syscall, si_arch): Define new macro.
41547         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41548         _sigsys.
41549         (si_call_addr, si_syscall, si_arch): Define new macro.
41551 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41553         [BZ #13717]
41554         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41555         Change to 2.4.21 where previously 2.4.1.
41556         * sysdeps/unix/sysv/linux/configure: Regenerated.
41557         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41558         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41559         Linux kernel version.
41560         (__ASSUME_STD_AUXV): Remove.
41561         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41562         kernel version.
41563         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41564         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41565         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41566         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41567         (__ASSUME_NETLINK_SUPPORT): Likewise.
41568         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41569         (__no_netlink_support): Remove conditional definition.
41570         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41571         Remove.
41572         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41573         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41574         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41575         (if_nameindex_ioctl): Remove.
41576         (if_nameindex_netlink): Do not handle __no_netlink_support.
41577         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41578         code.
41579         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41580         Remove conditional code.
41581         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41582         code.
41583         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41584         unconditional.
41585         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41586         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41587         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41588         Remove.
41589         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41590         [!__ASSUME_STD_AUXV]: Remove conditional code.
41591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41592         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41593         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41595         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41596         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41597         code.
41598         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41600         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41601         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41602         conditional code.
41603         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41605         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41606         code.
41607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41608         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41609         conditional code.
41610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41611         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41612         code unconditional.
41613         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41614         conditional code.
41615         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41616         unconditional.
41617         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41618         conditional code.
41619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41620         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41621         unconditional.
41622         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41623         conditional code.
41624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41625         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41626         code unconditional.
41627         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41628         conditional code.
41629         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41630         unconditional.
41631         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41632         conditional code.
41633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41634         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41635         code unconditional.
41636         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41637         conditional code.
41638         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41639         unconditional.
41640         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41641         conditional code.
41643 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
41645         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41646         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41647         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41648         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41649         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41650         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41651         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41652         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41653         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41654         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41655         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41656         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41657         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41658         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41659         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41660         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41661         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41662         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41663         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41665         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41666         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41669 2012-07-25  Florian Weimer  <fweimer@redhat.com>
41671         * Versions.def: Add GLIBC_2.17.
41672         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41673         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41674         Introduce __libc_secure_getenv.
41675         * stdlib/Versions (2.17): Add secure_getenv
41676         (GLIBC_PRIVATE): Add __libc_secure_getenv.
41677         * stdlib/secure-getenv.c: Rename __secure_getenv to
41678         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
41679         symbol __secure_getenv for GLIBC_2.0.
41680         * stdlib/tst-secure-getenv.c: New.
41681         * stdlib/Makefile (tests): Add testcase.
41682         * manual/startup.texi (Environment Access): Document
41683         secure_getenv.
41684         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41685         __libc_secure_getenv.
41686         * inet/ruserpass.c (ruserpass): Likewise.
41687         * malloc/mtrace.c (mtrace): Likewise.
41688         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41689         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41690         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41691         * sysdeps/posix/tempname.c: Likewise.  Evaluate
41692         HAVE_SECURE_GETENV.
41693         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41694         __secure_getenv to __libc_secure_getenv.
41695         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41697         Likewise.
41698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41699         Likewise.
41700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41708 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41710         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41711         (struct La_i86_retval): Likewise.
41712         (struct La_x86_64_regs): Likewise.
41713         (struct La_x86_64_retval): Likewise.
41714         (struct La_x32_regs): Likewise.
41715         (struct La_x32_retval): Likewise.
41716         (struct La_ppc32_regs): Likewise.
41717         (struct La_ppc32_retval): Likewise.
41718         (struct La_ppc64_regs): Likewise.
41719         (struct La_ppc64_retval): Likewise.
41720         (struct La_sh_regs): Likewise.
41721         (struct La_sh_retval): Likewise.
41722         (struct La_s390_32_regs): Likewise.
41723         (struct La_s390_32_retval): Likewise.
41724         (struct La_s390_64_regs): Likewise.
41725         (struct La_s390_64_retval): Likewise.
41726         (struct La_sparc32_regs): Likewise.
41727         (struct La_sparc32_retval): Likewise.
41728         (struct La_sparc64_regs): Likewise.
41729         (struct La_sparc64_retval): Likewise.
41730         (struct audit_ifaces): Remove architecture-specific pltenter and
41731         pltexit members.
41732         * sysdeps/i386/ldsodefs.h: New file.
41733         * sysdeps/powerpc/ldsodefs.h: Likewise.
41734         * sysdeps/s390/ldsodefs.h: Likewise.
41735         * sysdeps/sh/ldsodefs.h: Likewise.
41736         * sysdeps/sparc/ldsodefs.h: Likewise.
41737         * sysdeps/x86_64/ldsodefs.h: Likewise.
41739 2012-07-25  Marek Polacek  <polacek@redhat.com>
41741         [BZ #6808]
41742         * math/libm-test.inc (yn_test): Add another test.
41743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41744         to ERANGE when the result is +-Inf.
41745         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41746         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41747         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41748         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41750 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
41752         * conform/data/time.h-data (NULL): Use macro-constant.  Require
41753         equal to 0.
41754         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
41755         clock_t.
41756         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
41758 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
41760         * configure.in <sysdeps resolving>: Correct printing
41761         Implies_before.
41762         * configure: Regenerate.
41764 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
41766         * math/w_ilogb.c: Include <limits.h>.
41767         * math/w_ilogbl.c: Likewise.
41769 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41771         * manual/lang.texi (__va_copy): Document primarily as ISO C99
41772         va_copy.  Document allowing for unavailable va_copy only as
41773         pre-C99 compatibility.
41774         * manual/string.texi (Copying and Concatenation): Use va_copy
41775         instead of __va_copy in concat example.
41777 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
41779         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41780         (__sendto): Use create_address_port.  Initialize APORT and deallocate
41781         it if not null.
41783         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41784         with O_NOLINK passed to __file_name_lookup.
41786         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41787         with O_NOLINK passed to __file_name_lookup.
41789         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41790         negative N or less than NGIDS.
41792         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41793         type to string_t.  Set ERANGE as errno and return it if NAME is not big
41794         enough.  Use memcpy instead of strncpy.
41796 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41798         * elf/Makefile (check-data): Remove.
41799         (localplt.data): New vpath directive.
41800         ($(objpfx)check-localplt.out): Use localplt.data from vpath
41801         instead of $(check-data).
41802         * scripts/data/localplt-generic.data: Move to ...
41803         * sysdeps/generic/localplt.data: ... here.
41804         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41805         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41806         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41808         ... here.
41809         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41811         ... here.
41812         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41814         ... here.
41815         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41817         ... here.
41818         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41820         ... here.
41821         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41823         ... here.
41825 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41827         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41828         PPC32 and PPC64 files.
41829         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41830         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41832 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41834         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41835         __makecontext_ret to ...
41836         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41837         ... here and call exit if uc_link is NULL.  New file.
41838         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41839         __makecontext_ret.S.
41840         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41841         __makecontext_ret to ...
41842         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41843         ... here and call exit if uc_link is NULL.  New file.
41844         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41845         __makecontext_ret.S.
41847 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41849         * elf/elf.h (R_390_IRELATIVE): New definition.
41850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41851         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
41852         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41854         (elf_machine_lazy_rel): Likewise.
41855         * sysdeps/s390/dl-irel.h: New file.
41856         * sysdeps/s390/s390-64/memcpy.S: New asm code.
41857         * sysdeps/s390/s390-64/memset.S: New asm code.
41858         * sysdeps/s390/s390-64/memcmp.S: New asm code.
41859         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41860         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41861         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41862         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41863         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41864         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41865         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41866         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41867         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41868         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41869         * sysdeps/s390/s390-32/memcpy.S: New asm code.
41870         * sysdeps/s390/s390-32/memset.S: New asm code.
41871         * sysdeps/s390/s390-32/memcmp.S: New asm code.
41873 2012-07-17  Marek Polacek  <polacek@redhat.com>
41875         [BZ #14349]
41876         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41877         * sysdeps/s390/s390-64/configure.in: Likewise.
41878         * sysdeps/sparc/configure.in: Likewise.
41879         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41880         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41881         * sysdeps/i386/configure.in: Likewise.
41882         * sysdeps/x86_64/configure.in: Likewise.
41883         * sysdeps/sh/configure.in: Likewise.
41884         * sysdeps/s390/s390-32/configure: Regenerated.
41885         * sysdeps/s390/s390-64/configure: Likewise.
41886         * sysdeps/x86_64/configure: Likewise.
41887         * sysdeps/sh/configure: Likewise.
41888         * sysdeps/powerpc/powerpc64/configure: Likewise.
41889         * sysdeps/powerpc/powerpc32/configure: Likewise.
41890         * sysdeps/sparc/configure: Likwise.
41891         * sysdeps/i386/configure: Likewise.
41893         * elf/dl-open.c: Comment fixes.
41895 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
41897         * Makefile [CXX] (check-data): Remove.
41898         [CXX] (c++-types.data): New vpath directive.
41899         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41900         vpath.  Do not allow for C++ type data being missing.
41901         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41902         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41903         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41904         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41905         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41906         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41907         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41909         ... here.
41910         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41912         ... here.
41913         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41915         ... here.
41916         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41918         ... here.
41919         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41921         ... here.
41922         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41924         ... here.
41925         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41927         ... here.
41928         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41931         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41932         definitions to architecture-specific files.
41933         (TLS_IE): Likewise.
41934         (TLS_LD): Likewise.
41935         (TLS_GD): Likewise.
41936         * sysdeps/i386/tls-macros.h: New file.
41937         * sysdeps/powerpc/tls-macros.h: Likewise.
41938         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41939         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41940         * sysdeps/sh/tls-macros.h: Likewise.
41941         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41942         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41943         * sysdeps/x86_64/tls-macros.h: Likewise.
41945 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41947         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41948         zero value for regular exit case.
41950         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41951         (__start_context): Preserve zero value for regular exit case.
41953 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41954             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41956         * manual/setjmp.texi (setcontext): Clarify normal process
41957         termination when uc_link is the null pointer.
41958         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41959         exit call.
41961 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41963         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41964         preprocessor.  Test for each exception mask separately.
41966 2012-07-16  Andreas Jaeger  <aj@suse.de>
41968         * po/ru.po: Update from translation team.
41970 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41972         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41973         equal to 0.
41974         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41975         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41976         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41977         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41980 2012-07-13  Andreas Jaeger  <aj@suse.de>
41982         * po/fr.po: Update from translation team.
41984 2012-07-12  Marek Polacek  <polacek@redhat.com>
41986         [BZ #14173]
41987         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41988         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41989         loop condition.
41991 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41993         [BZ #13717]
41994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41995         Change to 2.4.1 where previously 2.4.0.
41996         * sysdeps/unix/sysv/linux/configure: Regenerated.
41997         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41998         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41999         version.
42000         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42001         (__ASSUME_AT_CLKTCK): Remove.
42002         (__ASSUME_AT_PAGESIZE): Likewise.
42003         (__ASSUME_AT_XID): Likewise.
42004         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42005         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42006         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42007         unconditionally.
42008         (HAVE_AUX_PAGESIZE): Likewise.
42009         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42010         [__ASSUME_AT_CLKTCK]: Make code unconditional.
42011         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42013 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
42015         [BZ #14307]
42016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42017         the temporary buffer used to invoke __gethostbyname2_r,
42018         __gethostbyaddr_r and gethostbyname4_r to make room for struct
42019         host_data / struct gaih_addrtuple.
42020         * resolv/nss_dns/dns-host.c (global scope): Move definition of
42021         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42022         header file nss/nsswitch.h.
42023         * nss/nsswitch.h (global scope): Add definition of implementation
42024         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42025         resolv/nss_dns/dns-host.c).
42027 2012-07-11  Andreas Jaeger  <aj@suse.de>
42029         * po/fr.po: Update from translation team.
42031         * po/sv.po: Update from translation team
42032         * po/fr.po: Another update from translation team.
42034 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42036         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42037         for subnormals or multiply small sinh result by itself.
42038         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42041 2012-07-11  David S. Miller  <davem@davemloft.net>
42043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42045 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
42047         [BZ #14347]
42048         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42049         (INTERNAL_MARK): Shift it here.
42051 2012-07-10  Marek Polacek  <polacek@redhat.com>
42053         [BZ #14151]
42054         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
42055         libc_cv_asm_global_directive with .globl.
42056         * configure: Regenerated.
42057         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42058         with .globl.
42059         * sysdeps/i386/configure: Regenerated.
42060         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42061         with .globl.
42062         * sysdeps/x86_64/configure: Regenerated.
42063         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42064         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42065         * elf/tst-unique2mod2.c: Likewise.
42066         * elf/tst-unique2mod1.c: Likewise.
42067         * elf/tst-unique1mod2.c: Likewise.
42068         * elf/tst-unique1mod1.c: Likewise.
42069         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42070         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42071         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42072         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42073         * sysdeps/mach/sysdep.h: Likewise.
42074         * sysdeps/i386/sysdep.h: Likewise.
42075         * sysdeps/i386/i386-mcount.S: Likewise.
42076         * sysdeps/x86_64/_mcount.S: Likewise.
42077         * sysdeps/x86_64/sysdep.h: Likewise.
42078         * sysdeps/sh/_mcount.S: Likewise.
42079         * sysdeps/sh/sysdep.h: Likewise.
42080         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42081         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42082         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42083         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42084         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42085         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42086         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42087         * locale/localeinfo.h: Likewise.
42088         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42089         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42091 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42093         [BZ #14336]
42094         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42095         system".
42096         * manual/message.texi (The Uniforum approach): Likewise.
42097         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42098         (glibc iconv Implementation): Likewise.
42100 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
42102         [BZ #14337]
42103         * math/s_clog.c (__clog): Avoid scaling a value down where that
42104         could result in underflow.
42105         * math/s_clog10.c (__clog10): Likewise.
42106         * math/s_clog10f.c (__clog10f): Likewise.
42107         * math/s_clog10l.c (__clog10l): Likewise.
42108         * math/s_clogf.c (__clogf): Likewise.
42109         * math/s_clogl.c (__clogl): Likewise.
42110         * math/libm-test.inc (clog_test): Add more tests.
42111         (clog10_test): Likewise.
42112         * sysdeps/i386/fpu/libm-test-ulps: Update.
42113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42115 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
42117         [BZ #14283]
42118         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42119         by 7 not 8 to examine high bit of fractional part.
42121         [BZ #14042]
42122         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42123         for call to __mcount_internal.
42124         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42125         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42126         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42128 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
42130         [BZ #14154]
42131         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42132         approximation for values within 0x1p-13f of an odd multiple of
42133         pi/4.
42134         * math/libm-test.inc (tan_test): Do not allow spurious underflow
42135         exception.  Add more tests.
42136         * sysdeps/i386/fpu/libm-test-ulps: Update.
42138         [BZ #6778]
42139         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42140         inputs and return -1 for them.  Do not check for +Inf in case not
42141         reachable for +Inf.
42142         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42143         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42144         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42145         and return -1 for them.  Do not check for +Inf in case not
42146         reachable for +Inf.
42147         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42148         define.
42149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42150         and return -1 for them.  Do not check for +Inf in case not
42151         reachable for +Inf.
42152         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
42153         spurious underflow.
42154         * sysdeps/i386/fpu/libm-test-ulps: Update.
42155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42157 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
42159         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42161 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
42163         [BZ #14157]
42164         [BZ #14331]
42165         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42166         could result in spurious underflow.  Scale down values above
42167         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42168         * math/s_csqrtf.c (__csqrtf): Likewise.
42169         * math/s_csqrtl.c (__csqrtl): Likewise.
42170         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
42171         spurious underflow.
42172         * sysdeps/i386/fpu/libm-test-ulps: Update.
42173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42175 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
42177         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42178         xopen-msg.sed.
42179         * catgets/xopen-msg.awk: New file.
42180         * catgets/xopen-msg.sed: Removed.
42182         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42183         po2text.sed.
42184         * intl/po2test.awk: New file.
42185         * intl/po2test.sed: Removed.
42187 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
42189         [BZ #14328]
42190         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42191         or multiply small sinh result by itself.
42192         * math/s_ctanf.c (__ctanf): Likewise.
42193         * math/s_ctanh.c (__ctanh): Likewise.
42194         * math/s_ctanhf.c (__ctanhf): Likewise.
42195         * math/s_ctanhl.c (__ctanhl): Likewise.
42196         * math/s_ctanl.c (__ctanl): Likewise.
42197         * math/libm-test.inc (ctan_test_tonearest): New function.
42198         (ctan_test_towardzero): Likewise.
42199         (ctan_test_downward): Likewise.
42200         (ctan_test_upward): Likewise.
42201         (ctanh_test_tonearest): Likewise.
42202         (ctanh_test_towardzero): Likewise.
42203         (ctanh_test_downward): Likewise.
42204         (ctanh_test_upward): Likewise.
42205         (main): Call these new functions.
42206         * sysdeps/i386/fpu/libm-test-ulps: Update.
42207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42209 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
42211         * .gitignore: Delete /ports entry.
42213 2012-07-03  Andreas Jaeger  <aj@suse.de>
42215         * po/bg.po: Update from translation team.
42216         * po/cs.po: Likewise.
42217         * po/de.po: Likewise.
42218         * po/hr.po: Likewise.
42219         * po/nl.pl: Likewise.
42220         * po/pl.po: Likewise.
42221         * po/vi.po: Likewise.
42223 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
42225         * Makeconfig [!+link] (+link-before-libc): New variable.
42226         [!+link] (+link-after-libc): Likewise.
42227         [!+link] (+link-tests): Likewise.
42228         [!+link] (+link): Define in terms of $(+link-before-libc) and
42229         $(+link-after-libc).
42230         [!+link-static] (+link-static-before-libc): New variable.
42231         [!+link-static] (+link-static-after-libc): Likewise.
42232         [!+link-static] (+link-static-tests): Likewise.
42233         [!+link-static] (+link-static): Define in terms of
42234         $(+link-static-before-libc) and $(+link-static-after-libc).
42235         [build-shared] (link-libc-before-gnulib): New variable.
42236         [build-shared] (link-libc-tests): Likewise.
42237         [build-shared] (link-libc): Define in terms of
42238         $(link-libc-before-gnulib).
42239         [!build-shared] (link-libc-tests): New variable.
42240         (link-libc-static-tests): New variable.
42241         [!gnulib] (gnulib-arch): New variable.
42242         [!gnulib] (gnulib-tests): Likewise.
42243         [!gnulib] (static-gnulib-arch): Likewise.
42244         [!gnulib] (static-gnulib-tests): Likewise.
42245         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
42246         Define with "=" instead of ":=".
42247         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
42248         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
42249         * Rules (binaries-all-notests): New variable.
42250         (binaries-all-tests): Likewise.
42251         (binaries-static-notests): Likewise.
42252         (binaries-static-tests): Likewise.
42253         (binaries-all): Define using $(binaries-all-notests) and
42254         $(binaries-all-tests).
42255         (binaries-static): Define using $(binaries-static-notests) and
42256         $(binaries-static-tests).
42257         (binaries-shared-tests): New variable.
42258         (binaries-shared-notests): Likewise.
42259         (binaries-shared): Remove variable.
42260         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42261         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42262         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42263         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42264         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42265         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42266         * elf/Makefile (sln-modules): New variable.
42267         (extra-objs): Add $(sln-modules:=.o).
42268         (ldconfig-modules): Add static-stubs.
42269         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42270         * elf/static-stubs.c: New file.
42272         [BZ #14283]
42273         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42274         by 7 not 8 to examine high bit of fractional part.  Use volatile
42275         variables when splitting into final array of floats if
42276         __FLT_EVAL_METHOD__ != 0.
42277         * math/libm-test.inc (cos_test): Add another test.
42278         (sin_test): Likewise.
42279         * sysdeps/i386/fpu/libm-test-ulps: Update.
42281         [BZ #14273]
42282         * math/libm-test.inc (cosh_test): Add more tests.
42284         * version.h (RELEASE): Set to "development".
42285         (VERSION): Set to "2.16.90".
42287 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42289         * NEWS: Update copyright. Remove last-updated date.
42290         Mention math library bug fixes and timezone data changes.
42291         * README: Mention GNU/Hurd, x32, and HPPA support status.
42293 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42295         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42297 2012-06-27  Andreas Jaeger  <aj@suse.de>
42299         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42301 2012-06-25  Andreas Jaeger  <aj@suse.de>
42303         * sysdeps/s390/fpu/libm-test-ulps: Update.
42305 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42306             Thomas Schwinge  <thomas@codesourcery.com>
42308         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42309         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42310         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42311         fanotify_mark.
42313 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
42315         * sysdeps/mach/start.c: Remove file.
42316         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42317         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42318         * sysdeps/sh/init-first.c: Likewise.
42320         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42321         registers for frame unwinding purposes, add CFI directives.
42322         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42323         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42324         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42325         Likewise.
42327         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42328         __fortify_fail returning.
42329         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42331         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42332         sysdeps/sh/____longjmp_chk.S.
42333         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42334         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42335         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42336         (gen-as-const-headers): Append sigaltstack-offsets.sym.
42338         * sysdeps/sh/abort-instr.h: New file.
42339         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42340         process in case exit returns.
42342         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42343         initialize the GOT register before use.
42345         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42346         calculation of ARGC > 4.
42348         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42349         meaningful names to some local labels.
42351 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42352             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42354         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42355         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42356         (__arch_compare_and_exchange_val_16_acq): Likewise.
42357         (__arch_compare_and_exchange_val_32_acq): Likewise.
42358         (atomic_exchange_and_add): Fix gUSA sequence.
42359         (atomic_add): Likewise.
42360         (atomic_add_negative): Likewise.
42361         (atomic_add_zero): Likewise.
42362         (atomic_bit_test_set): Likewise.
42364 2012-06-22  Andreas Schwab  <schwab@redhat.com>
42366         [BZ #13579]
42367         * include/link.h (struct link_map): Add l_free_initfini.
42368         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42369         l_initfini.
42370         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42371         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42372         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42373         set.
42375 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
42377         * configure.in: Use AC_LANG_SOURCE.
42378         * configure: Regenerate.
42380 2012-06-22  Roland McGrath  <roland@hack.frob.com>
42382         * configure.in (libc_cv_localstatedir): New substituted variable.
42383         * configure: Regenerated.
42384         * config.make.in (localstatedir): New variable, substituted from
42385         libc_cv_localstatedir.
42386         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42387         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42388         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42389         * sysdeps/gnu/configure: Regenerated.
42391 2012-06-21  Jeff Law  <law@redhat.com>
42393         [BZ #14277]
42394         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42395         free.  Simplify list management for _LIBC case.
42397 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
42399         [BZ #14273]
42400         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42401         Clear sign bit of 64-bit integer value before comparing against
42402         overflow value.
42404         * sysdeps/mach/configure: Regenerated.
42406 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
42408         [BZ #14278]
42409         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42411 2012-06-21  Jeff Law  <law@redhat.com>
42413         [BZ #13882]
42414         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
42415         uint16_t for elements in the "seen" array to avoid char overflows.
42416         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42417         * elf/dl-open.c (dl_open_worker): Likewise.
42419 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
42421         * scripts/list-sources.sh: Scan PORTS for translations.
42422         * po/libc.pot: Regenerated.
42424 2012-06-21  Andreas Jaeger  <aj@suse.de>
42426         [BZ #12194]
42427         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42428         warning.
42429         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42430         * bits/byteswap-16.h (__bswap_16): Likewise.
42431         * bits/byteswap.h (__bswap_constant_16): Likewise.
42433 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
42435         [BZ #14117]
42436         * sysdeps/i386/fpu_control.h: Removed.
42437         * sysdeps/x86_64/fpu_control.h: Moved to ...
42438         * sysdeps/x86/fpu_control.h: Here.
42440         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42441         (_FPU_SETCW): Likewise.
42443 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
42445         [BZ #14117]
42446         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42447         * sysdeps/x86/fpu/bits/mathinline.h: This.
42448         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42450         [BZ #14050]
42451         [BZ #14117]
42452         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42453         functions if __x86_64__ is defined.
42455 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
42457         * string/endian.h: Add !__ASSEMBLER__ condition for including
42458         conversion interfaces.
42460 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
42462         [BZ #14241]
42463         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42464         of ABS(x) in calculating zero to negative powers other than odd
42465         integers.
42466         * math/libm-test.inc (pow_test): Add more tests.
42468 2012-06-15  Andreas Jaeger  <aj@suse.de>
42470         * manual/contrib.texi (Contributors): Update entry of Liubov
42471         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42472         Machado Filho.
42474 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
42476         * string/string.h: Add __wur to GNU version of strerror_r.
42478 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
42480         [BZ #14229]
42481         * string/Makefile (tests): Add tst-strtok_r.
42482         * string/tst-strtok_r.c: New file.
42483         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42484         RAX_LP/RDX_LP on SAVE_PTR.
42486 2012-06-14  Roland McGrath  <roland@hack.frob.com>
42488         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42490 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
42492         * libm_test.inc (csqrt_test): Allow more spurious underflow
42493         exceptions.
42494         (j0_test): Likewise.
42495         (j1_test): Likewise.
42496         (y0_test): Likewise.
42497         (y1_test): Likewise.
42499 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
42501         * po/Makefile (libc.pot): Use UTF-8 charset.
42503 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
42505         [BZ #14210]
42506         Suppress sign-conversion warning from FD_SET.
42507         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42508         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42509         not unsigned long int.
42510         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42512 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
42514         [BZ #14050]
42515         [BZ #14117]
42516         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42517         __extern_always_inline instead of __extern_inline.
42518         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42519         (__signbit): Likewise.
42520         (__signbitl): Support C++ namespace.
42521         (lrintf): New inline function.
42522         (lrint): Likewise.
42523         (llrintf): Likewise.
42524         (llrint): Likewise.
42525         (fmaxf): Likewise.
42526         (fmax): Likewise.
42527         (fminf): Likewise.
42528         (fmin): Likewise.
42529         (rint): Likewise.
42530         (rintf): Likewise.
42531         (ceil): Likewise.
42532         (ceilf): Likewise.
42533         (floor): Likewise.
42534         (floorf): Likewise.
42535         (nearbyint): Likewise.
42536         (nearbyintf): Likewise.
42538 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
42540         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42541         non-default versions.
42543 2012-06-11  Roland McGrath  <roland@hack.frob.com>
42545         [BZ #14218]
42546         * manual/argp.texi (Argp): Reword argp_parse description slightly.
42548 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
42550         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42551         (FE_UPWARD, FE_DOWNWARD): Don't define.
42552         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42553         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42555         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42556         reading it.
42557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42558         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42560 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42562         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42563         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42564         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42565         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42567 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
42569         [BZ #14117]
42570         * sysdeps/i386/fpu/bits/fenv.h: Removed.
42571         * sysdeps/i386/fpu/Implies: New file.
42572         * sysdeps/x86_64/fpu/Implies: Likewise.
42573         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42574         * sysdeps/x86/fpu/bits/fenv.h: This.
42576         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42577         __SSE_MATH__.
42579 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42581         [BZ #14134]
42582         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42583         character 0xffff that matches the last element of the
42584         conversion table.
42586 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42588         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42589         fmodl commit.
42591 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42594         values higher than 25.6283.
42596 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42598         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42599         subnormal exponent extraction and add some __builtin_expect.
42600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42601         Fix for subnormal mantissa calculation.
42603 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
42605         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42606         cpu2 is -1 and errno is not ENOSYS.
42608 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
42610         [BZ #14117]
42611         * sysdeps/i386/i486/bits/string.h: Renamed to ...
42612         * sysdeps/x86/bits/string.h: This.
42613         * sysdeps/x86_64/bits/string.h: Removed.
42615         * sysdeps/i386/i486/bits/string.h: Define inline functions only
42616         if not compiling for x86-64, but compiling for >= i486.
42618         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42619         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42621         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42622         New macro from Linux kernel 3.4.0.
42623         (FP_XSTATE_MAGIC2): Likewise.
42624         (FP_XSTATE_MAGIC2_SIZE): Likewise.
42625         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42626         (struct _fpx_sw_bytes): New struct.
42627         (struct _xsave_hdr): Likewise.
42628         (struct _ymmh_state): Likewise.
42629         (struct _xstate): Likewise.
42631         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42632         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42633         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42634         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42636         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42638         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42639         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42640         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42641         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42642         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42643         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42645 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42647         [BZ #13743]
42648         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42649         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42650         (sysdep_headers): Include sys/platform/ppc.h.
42651         * sysdeps/powerpc/test-gettimebase.c: Test for
42652         __ppc_get_timebase() to catch future ISA opcode/insn changes.
42653         * manual/Makefile (appendices): Include platform.texi.
42654         * manual/contrib.texi (Contributors): Update @node pointers.
42655         * manual/maint.texi (Maintenance): Likewise.
42656         (Platform): New node.
42657         * manual/platform.texi: New file.  Document the new features.
42659 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42660             Jakub Jelinek  <jakub@redhat.com>
42662         [BZ #14188]
42663         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42664         where __builtin_expect is unavailable.
42666 2012-06-03  David S. Miller  <davem@davemloft.net>
42668         * stdlib/longlong.h: Updated from GCC.
42670 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
42672         [BZ #14042]
42673         * sysdeps/powerpc/powerpc32/mcount.c: New file.
42674         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42675         __mcount_internal.
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42677         (GLIBC_2.16): Likewise.
42679 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42681         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42683 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42686         (default-abi): New variable.
42687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42688         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42689         variable.
42690         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42691         Likewise.
42692         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42693         Likewise.
42694         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42695         Likewise.
42697         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42698         definition.  Document in comment.
42700 2012-06-01  David S. Miller  <davem@davemloft.net>
42702         * stdlib/longlong.h: Updated from GCC.
42704 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42706         [BZ #14117]
42707         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42708         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42709         sys/debugreg.h sys/io.h here.
42710         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42711         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42712         sys/io.h.
42713         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42714         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42715         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42716         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42717         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42718         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42720         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42721         Define only if __x86_64__ is defined.
42723 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42725         [BZ #14048]
42726         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42727         Use int64_t for variable i.
42728         * math/libm-test.inc (fmod_test): Add more tests.
42730         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42731         z computation is not scheduled after fetestexcept.
42732         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42733         Use math_force_eval instead of asm to ensure calculation scheduled
42734         before exception test.
42735         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42736         Ensure a1 + u.d computation is not scheduled after fetestexcept.
42738 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
42740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42741         computation is not scheduled after fetestexcept.
42743 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42745         [BZ #14117]
42746         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42747         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42749 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42751         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42752         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42754 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42756         [BZ #14117]
42757         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42758         <bits/wordsize.h>.
42759         (__WCHAR_MIN): Support __WORDSIZE == 64.
42760         (__WCHAR_MAX): Likewise.
42762         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42763         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42765         [BZ #14183]
42766         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42767         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42769         [BZ #14117]
42770         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42773         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42774         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42776         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42777         Defined to 1 if __x86_64__ isn't defined.
42778         (_STAT_VER_LINUX_OLD): New.
42779         (st_atime): Remove duplicate.
42780         (st_mtime): Likewise.
42781         (st_ctime): Likewise.
42783 2012-05-31  David S. Miller  <davem@davemloft.net>
42785         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42786         entries.
42788 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
42790         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42791         gen-libm-test.pl.
42793         [BZ #14132]
42794         * elf/dl-reloc.c: Include <_itoa.h>.
42795         (_dl_reloc_bad_type): Remove use of INTUSE.
42796         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42797         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42798         * stdio-common/psiginfo.c (psiginfo): Likewise.
42799         * stdio-common/psignal.c (psignal): Likewise.
42800         * string/strsignal.c (strsignal): Likewise.
42801         * include/signal.h (_sys_siglist): Declare hidden proto.
42802         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
42803         INTVARDEF with libc_hidden_data_def.
42804         * stdio-common/itoa-udigits.c: Likewise.
42805         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42806         (_itoa_lower_digits_internal): Remove declaration.
42807         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42808         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42809         (_sys_sigabbrev_internal): Remove aliases.
42810         (_sys_siglist): Define hidden alias.
42812 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
42814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42815         bits/sysctl.h.
42817 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42819         [BZ #14117]
42820         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42821         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42823         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42824         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42825         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42826         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42827         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42828         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42830         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42831         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42832         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42834         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42835         with __addr.
42836         (insw): Likewise.
42837         (insl): Likewise.
42838         (outsb): Likewise.
42839         (outsw): Likewise.
42840         (outsl): Likewise.
42842         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42843         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42844         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42846         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42847         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42848         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42849         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42850         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42851         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42853         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42854         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42856         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42857         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42861         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42863         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42864         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42865         to ...
42866         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42868         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42869         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42870         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42872         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42873         for x86-64.
42874         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42876 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
42878         * math/math.h (M_El): Use two more decimal places.
42879         (M_LOG2El): Likewise.
42880         (M_LOG10El): Likewise.
42881         (M_LN2l): Likewise.
42882         (M_LN10l): Likewise.
42883         (M_PIl): Likewise.
42884         (M_PI_2l): Likewise.
42885         (M_PI_4l): Likewise.
42886         (M_1_PIl): Likewise.
42887         (M_2_PIl): Likewise.
42888         (M_2_SQRTPIl): Likewise.
42889         (M_SQRT2l): Likewise.
42890         (M_SQRT1_2l): Likewise.
42892 2012-05-31  David S. Miller  <davem@davemloft.net>
42894         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42895         values between float registers.
42896         * sysdeps/sparc/sparc64/memset.S: Likewise.
42897         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42899 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
42901         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42902         -D_FORTIFY_SOURCE=1.
42903         (CPPFLAGS-tst-longjmp_chk.c): Define.
42904         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42905         (CPPFLAGS-tst-longjmp_chk2.c): Define.
42906         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42907         CFLAGS-tst-wchar-h.c.
42909 2012-05-31  Marek Polacek  <polacek@redhat.com>
42911         [BZ #14132]
42912         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42913         __endmntent_internal): Remove declaration.
42914         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42915         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42916         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42918 2012-05-30  David S. Miller  <davem@davemloft.net>
42920         * sysdeps/sparc/sparc32/soft-fp/q_util.c
42921         (___Q_simulate_exceptions): Use real FP ops rather than writing
42922         into the %fsr.
42923         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42924         Likewise.
42926 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42928         [BZ #14117]
42929         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42930         * sysdeps/x86/bits/xtitypes.h: This.
42932         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42933         * sysdeps/x86/bits/wordsize.h: This.
42935         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42936         * sysdeps/x86/bits/huge_vall.h: This.
42938         * sysdeps/i386/bits/select.h: Removed.
42939         * sysdeps/x86_64/bits/select.h: Renamed to ...
42940         * sysdeps/x86/bits/select.h: This.
42942         * sysdeps/i386/bits/setjmp.h: Removed.
42943         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42944         * sysdeps/x86/bits/setjmp.h: This.
42946         * sysdeps/i386/bits/mathdef.h: Removed.
42947         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42948         * sysdeps/x86/bits/mathdef.h: This.
42950 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42952         [BZ #14132]
42953         * include/sys/socket.h (__connect_internal)
42954         (__libc_sa_len_internal): Remove declaration.
42955         (__connect, __libc_sa_len): Declare hidden_proto.
42956         (SA_LEN): Remove use of INTUSE.
42957         * socket/connect.c: Add libc_hidden_def.
42958         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42959         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42960         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42961         alias.
42962         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42964         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42965         of adding _internal alias.
42967 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42969         [BZ #14117]
42970         * sysdeps/i386/bits/link.h: Removed.
42971         * sysdeps/i386/bits/linkmap.h: Likewise.
42972         * sysdeps/x86_64/bits/link.h: Renamed to ...
42973         * sysdeps/x86/bits/link.h: This.
42974         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42975         * sysdeps/x86/bits/linkmap.h: This.
42977         * sysdeps/i386/bits/endian.h: Removed.
42978         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42979         * sysdeps/x86/bits/endian.h: This.
42981         * sysdeps/i386/bits/byteswap.h: Removed.
42982         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42983         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42984         * sysdeps/x86/bits/byteswap.h: This.
42985         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42986         * sysdeps/x86/bits/byteswap-16.h: This.
42987         * sysdeps/i386/Implies: Add x86.
42988         * sysdeps/x86_64/Implies: Likewise.
42990 2012-05-30  David S. Miller  <davem@davemloft.net>
42992         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42993         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42995         (FP_TRAPPING_EXCEPTIONS): Define.
42996         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42997         (FP_TRAPPING_EXCEPTIONS): Define.
42998         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42999         subnormals only when inexact has been signalled or underflow
43000         exceptions are enabled.
43001         (_FP_PACK_CANONICAL): Likewise.
43003 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43005         [BZ #14183]
43006         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43007         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43009 2012-05-30  Richard Henderson  <rth@twiddle.net>
43011         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43012         with #ifndef NOT_IN_libc.
43014         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
43015         marked to avoid plt entry.
43017 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43019         [BZ #14112]
43020         * Makeconfig (default-abi): New macro.
43021         (abi-includes): Likewise.
43022         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
43023         $(abi-$(default-abi)-lib-soname) for soname if defined.
43024         ($(common-objpfx)gnu/lib-names.stmp): Generate from
43025         abi-variants.
43026         * Makefile (installed-stubs): Likewise.
43027         * include/stubs-biarch.h: Removed.
43028         * scripts/lib-names.awk: Only handle one library at a time.
43029         * scripts/soversions.awk: Remove WORDSIZE support.
43030         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43031         entries.
43032         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43033         Removed.
43034         (syscall-list-default-condition): Likewise.
43035         (syscall-list-default-condition): Likewise.
43036         (syscall-list-includes): Likewise.
43037         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43038         syscall-list-* with abi-*.  Handle undefined abi-variants.
43039         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43040         * sysdeps/unix/sysv/linux/i386/Implies: New file.
43041         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43042         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43043         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43044         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43045         Removed.
43046         (syscall-list-32-options): Likewise.
43047         (syscall-list-32-condition): Likewise.
43048         (syscall-list-64-options): Likewise.
43049         (syscall-list-64-condition): Likewise.
43050         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43051         macro.
43052         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43053         Renamed to ...
43054         (abi-*): This.
43055         (abi-64-ld-soname): New macro.
43056         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43057         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43058         Renamed to ...
43059         (abi-*): This.
43060         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43061         * sysdeps/x86_64/x32/shlib-versions: Likewise.
43063 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
43065         * sysdeps/unix/sysv/linux/kernel-features.h
43066         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43067         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43068         include <kernel-features.h>.
43069         [!__NR_ftruncate64]: Remove conditional code.
43070         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43071         [__NR_ftruncate64]: Make code unconditional.
43072         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43073         * sysdeps/unix/sysv/linux/truncate64.c: Do not
43074         include <kernel-features.h>.
43075         [!__NR_ftruncate64]: Remove conditional code.
43076         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43077         [__NR_ftruncate64]: Make code unconditional.
43078         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43080         include <kernel-features.h>.
43081         [!__NR_ftruncate64]: Remove conditional code.
43082         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43083         [__NR_ftruncate64]: Make code unconditional.
43084         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43086         include <kernel-features.h>.
43087         [!__NR_ftruncate64]: Remove conditional code.
43088         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43089         [__NR_ftruncate64]: Make code unconditional.
43090         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43092         * configure.in (libc_cv_fpie): Weaken to a compile test using
43093         LIBC_TRY_CC_OPTION.
43094         * configure: Regenerated.
43096 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43102         Refreshed.
43103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43109         Refreshed.
43111 2012-05-27  David S. Miller  <davem@davemloft.net>
43113         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43114         (___Q_zero): New.
43115         (__Q_simulate_exceptions): Return void.  Change to simulate
43116         exceptions by writing into the %fsr.
43117         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43118         (__Qp_handle_exceptions): Likewise.
43119         (numbers): Delete.
43120         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43121         __Qp_handle_exceptions.
43122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43123         __Qp_handle_exceptions.
43124         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43125         as unused and give dummy FP_RND_NEAREST initializer.
43126         (FP_INHIBIT_RESULTS): Define.
43127         (___Q_simulate_exceptions): Update declaration.
43128         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43129         formatting.
43130         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43131         as unused and give dummy FP_RND_NEAREST initializer.
43132         (__Qp_handle_exceptions): Update declaration.
43133         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43134         formatting.
43136 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
43138         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43139         the temporary FPU control word.
43140         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43141         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43142         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43143         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43144         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43145         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43146         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43147         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43148         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43149         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43150         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43152 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43154         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43155         fields.
43157 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
43159         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43160         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43161         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43162         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43163         Likewise.
43164         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43165         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43166         Likewise.
43168 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
43170         * po/h.po: Update from translation team.
43172 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
43174         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43176         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43177         handling of denormals.
43178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43179         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43180         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43181         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43185         Likewise.
43187 2012-05-26  Marek Polacek  <polacek@redhat.com>
43189         [BZ #14152]
43190         * math/libm-test.inc (fma_test): Don't always expect underflow
43191         exception.
43193 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43195         [BZ #12416]
43196         * elf/tst-execstack.c: Include stackinfo.h.
43197         (do_test): Adjust test case to ensure that pthread_getattr_np
43198         behaviour remains the same after marking stack executable.
43200 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43202         * sysdeps/unix/sysv/linux/kernel-features.h
43203         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43204         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43205         kernel-features.h.
43206         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43207         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43208         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43209         kernel-features.h.
43210         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43211         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43213 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
43215         * configure.in: Define the default includes to being none.
43216         * configure: Regenerated.
43218 2012-05-25  Roland McGrath  <roland@hack.frob.com>
43220         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43221         * sysdeps/x86_64/setjmp.S: Likewise.
43222         * sysdeps/i386/bsd-setjmp.S: Likewise.
43223         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43224         * sysdeps/i386/setjmp.S: Likewise.
43225         * sysdeps/i386/__longjmp.S: Likewise.
43226         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43227         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43229         * include/stap-probe.h: New file.
43230         * configure.in: Handle --enable-systemtap.
43231         * configure: Regenerated.
43232         * config.h.in (USE_STAP_PROBE): New #undef.
43233         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43234         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43235         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43237 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43239         [BZ #13717]
43240         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43241         to 2.4.0 where earlier.
43242         * sysdeps/unix/sysv/linux/configure: Regenerated.
43243         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43244         <kernel-features.h>.
43245         [__ASSUME_32BITUIDS]: Make code unconditional.
43246         [!__ASSUME_32BITUIDS]: Remove conditional code.
43247         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43248         <kernel-features.h>.
43249         [__ASSUME_32BITUIDS]: Make code unconditional.
43250         [!__ASSUME_32BITUIDS]: Remove conditional code.
43251         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43252         [__ASSUME_32BITUIDS]: Make code unconditional.
43253         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43254         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43255         <kernel-features.h>.
43256         [__ASSUME_32BITUIDS]: Make code unconditional.
43257         [!__ASSUME_32BITUIDS]: Remove conditional code.
43258         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43259         <kernel-features.h>.
43260         [__ASSUME_32BITUIDS]: Make code unconditional.
43261         [!__ASSUME_32BITUIDS]: Remove conditional code.
43262         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43263         <kernel-features.h>.
43264         [__ASSUME_32BITUIDS]: Make code unconditional.
43265         [!__ASSUME_32BITUIDS]: Remove conditional code.
43266         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43267         <kernel-features.h>.
43268         [__ASSUME_32BITUIDS]: Make code unconditional.
43269         [!__ASSUME_32BITUIDS]: Remove conditional code.
43270         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43271         <kernel-features.h>.
43272         [__ASSUME_32BITUIDS]: Make code unconditional.
43273         [!__ASSUME_32BITUIDS]: Remove conditional code.
43274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43275         <kernel-features.h>.
43276         [__ASSUME_32BITUIDS]: Make code unconditional.
43277         [!__ASSUME_32BITUIDS]: Remove conditional code.
43278         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43279         <kernel-features.h>.
43280         [__ASSUME_32BITUIDS]: Make code unconditional.
43281         [!__ASSUME_32BITUIDS]: Remove conditional code.
43282         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43283         <kernel-features.h>.
43284         [__ASSUME_32BITUIDS]: Make code unconditional.
43285         [!__ASSUME_32BITUIDS]: Remove conditional code.
43286         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43287         <kernel-features.h>.
43288         [__ASSUME_32BITUIDS]: Make code unconditional.
43289         [!__ASSUME_32BITUIDS]: Remove conditional code.
43290         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43291         <kernel-features.h>.
43292         [__ASSUME_32BITUIDS]: Make code unconditional.
43293         [!__ASSUME_32BITUIDS]: Remove conditional code.
43294         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43295         <kernel-features.h>.
43296         [__NR_setresgid] (__setresgid): Do not declare.
43297         [__ASSUME_32BITUIDS]: Make code unconditional.
43298         [!__ASSUME_32BITUIDS]: Remove conditional code.
43299         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43300         <kernel-features.h>.
43301         [__NR_setresuid] (__setresuid): Do not declare.
43302         [__ASSUME_32BITUIDS]: Make code unconditional.
43303         [!__ASSUME_32BITUIDS]: Remove conditional code.
43304         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43305         <kernel-features.h>.
43306         [__ASSUME_32BITUIDS]: Make code unconditional.
43307         [!__ASSUME_32BITUIDS]: Remove conditional code.
43308         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43309         <kernel-features.h>.
43310         [__ASSUME_32BITUIDS]: Make code unconditional.
43311         [!__ASSUME_32BITUIDS]: Remove conditional code.
43312         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43313         <kernel-features.h>.
43314         [__ASSUME_32BITUIDS]: Make code unconditional.
43315         [!__ASSUME_32BITUIDS]: Remove conditional code.
43316         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43317         <kernel-features.h>.
43318         [__ASSUME_32BITUIDS]: Make code unconditional.
43319         [!__ASSUME_32BITUIDS]: Remove conditional code.
43320         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43321         <kernel-features.h>.
43322         [__ASSUME_32BITUIDS]: Make code unconditional.
43323         [!__ASSUME_32BITUIDS]: Remove conditional code.
43324         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43325         <kernel-features.h>.
43326         [__ASSUME_32BITUIDS]: Make code unconditional.
43327         [!__ASSUME_32BITUIDS]: Remove conditional code.
43328         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43329         <kernel-features.h>.
43330         [__ASSUME_32BITUIDS]: Make code unconditional.
43331         [!__ASSUME_32BITUIDS]: Remove conditional code.
43332         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43333         <kernel-features.h>.
43334         [__ASSUME_32BITUIDS]: Make code unconditional.
43335         [!__ASSUME_32BITUIDS]: Remove conditional code.
43336         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43337         <kernel-features.h>.
43338         [__ASSUME_32BITUIDS]: Make code unconditional.
43339         [!__ASSUME_32BITUIDS]: Remove conditional code.
43340         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43341         <kernel-features.h>.
43342         [__ASSUME_32BITUIDS]: Make code unconditional.
43343         [!__ASSUME_32BITUIDS]: Remove conditional code.
43344         * sysdeps/unix/sysv/linux/kernel-features.h
43345         (__ASSUME_SETRESUID_SYSCALL): Remove.
43346         (__ASSUME_SETRESGID_SYSCALL): Likewise.
43347         (__ASSUME_32BITUIDS): Likewise.
43348         (__ASSUME_LDT_WORKS): Likewise.
43349         (__ASSUME_O_DIRECTORY): Likewise.
43350         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43351         architecture but not kernel version.
43352         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43353         (__ASSUME_MMAP2_SYSCALL): Likewise.
43354         (__ASSUME_STAT64_SYSCALL): Likewise.
43355         (__ASSUME_IPC64): Likewise.
43356         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43357         <kernel-features.h>.
43358         [__ASSUME_32BITUIDS]: Make code unconditional.
43359         [!__ASSUME_32BITUIDS]: Remove conditional code.
43360         * sysdeps/unix/sysv/linux/opendir.c: Do not include
43361         <kernel-features.h>.
43362         [__ASSUME_O_DIRECTORY]: Make code unconditional.
43363         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43364         132096]: Remove conditional code.
43365         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43366         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43367         <kernel-features.h>.
43368         [__ASSUME_32BITUIDS]: Make code unconditional.
43369         [!__ASSUME_32BITUIDS]: Remove conditional code.
43370         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43371         <kernel-features.h>.
43372         [__ASSUME_32BITUIDS]: Make code unconditional.
43373         [!__ASSUME_32BITUIDS]: Remove conditional code.
43374         * sysdeps/unix/sysv/linux/setegid.c: Do not include
43375         <kernel-features.h>.
43376         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43377         unconditional.
43378         (__setresgid): Do not declare.
43379         [__ASSUME_32BITUIDS]: Make code unconditional.
43380         [!__ASSUME_32BITUIDS]: Remove conditional code.
43381         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43382         <kernel-features.h>.
43383         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43384         unconditional.
43385         (__setresuid): Do not declare.
43386         [__ASSUME_32BITUIDS]: Make code unconditional.
43387         [!__ASSUME_32BITUIDS]: Remove conditional code.
43388         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43389         <kernel-features.h>.
43390         [__ASSUME_32BITUIDS]: Make code unconditional.
43391         [!__ASSUME_32BITUIDS]: Remove conditional code.
43392         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43393         <kernel-features.h>.
43394         [__ASSUME_32BITUIDS]: Make code unconditional.
43395         [!__ASSUME_32BITUIDS]: Remove conditional code.
43397 2012-05-25  Richard Henderson  <rth@twiddle.net>
43399         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43400         dl_hwcap to ifunc resolver.
43401         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43402         elf_ifunc_invoke.
43403         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43404         dl_hwcap to ifunc resolver.
43405         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43407 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43409         [BZ #14153]
43410         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43411         for |x| <= 2**-26, not 2**-57.
43412         * math/libm-test.inc (acos_test): Do not allow spurious underflow
43413         exception.
43415 2012-05-24  Jeff Law  <law@redhat.com>
43417         * stdio-common/Makefile (tests): Add bug25.
43418         * stdio-common/bug25.c: New test.
43420 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43422         [BZ #13576]
43423         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43424         multiple of MALLOC_ALIGNMENT in size.
43425         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43427 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43429         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43430         Require >= 256.
43431         (FILENAME_MAX): Use macro-int-constant.
43432         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
43433         (_IOFBF): Use macro-int-constant.
43434         (_IOLBF): Likewise.
43435         (_IONBF): Likewise.
43436         (SEEK_CUR): Likewise.
43437         (SEEK_END): Likewise.
43438         (SEEK_SET): Likewise.
43439         (TMP_MAX): Likewise.
43440         (EOF): Use macro-int-constant.  Require < 0.
43441         (NULL): Use macro-constant.  Require == 0.
43442         (stdin): Require type to be FILE *.
43443         (stdout): Likewise.
43444         (stderr): Likewise.
43445         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43446         macro-int-constant.
43447         (EXIT_SUCCESS): Likewise.
43448         (NULL): Use macro-constant.  Require == 0.
43449         (RAND_MAX): Use macro-int-constant.
43450         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43451         [C99-based standards] (strtof): Require function.
43452         [C99-based standards] (strtold): Likewise.
43453         [C99-based standards] (strtoll): Likewise.
43454         [C99-based standards] (strtoull): Likewise.
43455         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43456         [ISO || ISO99 || ISO11] (limits.h): Likewise.
43457         [ISO || ISO99 || ISO11] (math.h): Likewise.
43458         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43459         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43462 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
43464         [BZ #14132]
43465         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43466         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43467         * intl/dgettext.c (DCGETTEXT): Likewise.
43468         * intl/gettext.c (DCGETTEXT): Likewise.
43469         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43470         * posix/regex_internal.h (gettext): Likewise.
43471         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43472         Remove declaration.
43473         * include/argz.h (__argz_count_internal)
43474         (__argz_stringify_internal): Remove declaration.
43475         (__argz_count, __argz_stringify): Declare hidden proto.
43476         * intl/dcgettext.c: Remove use of INTDEF.
43477         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43478         * string/argz-stringify.c: Likewise.
43479         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43480         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43481         Declare hidden proto.
43482         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43483         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43484         Declare hidden proto.
43485         * include/stdio.h (__asprintf_internal): Don't declare.
43486         (__asprintf): Don't define as macro.  Declare hidden proto.
43487         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43488         (__fsetlocking): Declare hidden proto.
43489         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43490         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43491         hidden proto.
43492         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43493         (_IO_setlinebuf): Remove use of INTUSE.
43494         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43495         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43496         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43497         Remove declaration.
43498         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43499         (_IO_do_flush): Remove use of INTUSE.
43500         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43501         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43502         (_IO_adjust_column, _IO_least_wmarker)
43503         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43504         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43505         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43506         (_IO_default_doallocate, _IO_wdefault_doallocate)
43507         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43508         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43509         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43510         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43511         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43512         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43513         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43514         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43515         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43516         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43517         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43518         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43519         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43520         proto.
43521         (_IO_flush_all_internal, _IO_adjust_column_internal)
43522         (_IO_default_uflow_internal, _IO_default_finish_internal)
43523         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43524         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43525         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43526         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43527         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43528         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43529         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43530         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43531         (_IO_file_close_internal, _IO_file_close_it_internal)
43532         (_IO_file_underflow_internal, _IO_file_overflow_internal)
43533         (_IO_file_init_internal, _IO_file_attach_internal)
43534         (_IO_file_fopen_internal, _IO_file_read_internal)
43535         (_IO_file_sync_internal, _IO_file_seek_internal)
43536         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43537         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43538         (_IO_str_underflow_internal, _IO_str_overflow_internal)
43539         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43540         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43541         (_IO_list_all_internal, _IO_link_in_internal)
43542         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43543         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43544         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43545         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43546         (_IO_do_write_internal, _IO_padn_internal)
43547         (_IO_getline_info_internal, _IO_getline_internal)
43548         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43549         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43550         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43551         (_IO_vfscanf_internal, _IO_vfprintf_internal)
43552         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43553         (_IO_init_internal, _IO_un_link_internal): Don't declare.
43554         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43555         with libc_hidden_ver, remove use of INTUSE.
43556         * libio/genops.c: Likewise.
43557         * libio/freopen.c: Likewise.
43558         * libio/freopen64.c: Likewise.
43559         * libio/iofclose.c: Likewise.
43560         * libio/iofdopen.c: Likewise.
43561         * libio/iofflush.c: Likewise.
43562         * libio/iofflush_u.c: Likewise.
43563         * libio/iofgets.c: Likewise.
43564         * libio/iofgets_u.c: Likewise.
43565         * libio/iofopen.c: Likewise.
43566         * libio/iofopncook.c: Likewise.
43567         * libio/iofread.c: Likewise.
43568         * libio/iofread_u.c: Likewise.
43569         * libio/ioftell.c: Likewise.
43570         * libio/iofwrite.c: Likewise.
43571         * libio/iogetline.c: Likewise.
43572         * libio/iogets.c: Likewise.
43573         * libio/iogetwline.c: Likewise.
43574         * libio/iopadn.c: Likewise.
43575         * libio/iopopen.c: Likewise.
43576         * libio/ioseekoff.c: Likewise.
43577         * libio/ioseekpos.c: Likewise.
43578         * libio/iosetbuffer.c: Likewise.
43579         * libio/iosetvbuf.c: Likewise.
43580         * libio/ioungetc.c: Likewise.
43581         * libio/ioungetwc.c: Likewise.
43582         * libio/iovdprintf.c: Likewise.
43583         * libio/iovsprintf.c: Likewise.
43584         * libio/iovsscanf.c: Likewise.
43585         * libio/memstream.c: Likewise.
43586         * libio/obprintf.c: Likewise.
43587         * libio/oldfileops.c: Likewise.
43588         * libio/oldiofclose.c: Likewise.
43589         * libio/oldiofdopen.c: Likewise.
43590         * libio/oldiofopen.c: Likewise.
43591         * libio/oldiopopen.c: Likewise.
43592         * libio/oldstdfiles.c: Likewise.
43593         * libio/putc.c: Likewise.
43594         * libio/setbuf.c: Likewise.
43595         * libio/setlinebuf.c: Likewise.
43596         * libio/stdfiles.c: Likewise.
43597         * libio/strops.c: Likewise.
43598         * libio/vasprintf.c: Likewise.
43599         * libio/vscanf.c: Likewise.
43600         * libio/vsnprintf.c: Likewise.
43601         * libio/vswprintf.c: Likewise.
43602         * libio/wfiledoalloc.c: Likewise.
43603         * libio/wfileops.c: Likewise.
43604         * libio/wgenops.c: Likewise.
43605         * libio/wmemstream.c: Likewise.
43606         * libio/wstrops.c: Likewise.
43607         * libio/__fpurge.c: Likewise.
43608         * libio/__fsetlocking.c: Likewise.
43609         * assert/assert.c: Likewise.
43610         * debug/fgets_chk.c: Likewise.
43611         * debug/fgets_u_chk.c: Likewise.
43612         * debug/fread_chk.c: Likewise.
43613         * debug/fread_u_chk.c: Likewise.
43614         * debug/gets_chk.c: Likewise.
43615         * debug/obprintf_chk.c: Likewise.
43616         * debug/vasprintf_chk.c: Likewise.
43617         * debug/vdprintf_chk.c: Likewise.
43618         * debug/vsnprintf_chk.c: Likewise.
43619         * debug/vsprintf_chk.c: Likewise.
43620         * malloc/mtrace.c: Likewise.
43621         * misc/error.c: Likewise.
43622         * misc/syslog.c: Likewise.
43623         * stdio-common/asprintf.c: Likewise.
43624         * stdio-common/fxprintf.c: Likewise.
43625         * stdio-common/getw.c: Likewise.
43626         * stdio-common/isoc99_fscanf.c: Likewise.
43627         * stdio-common/isoc99_scanf.c: Likewise.
43628         * stdio-common/isoc99_vfscanf.c: Likewise.
43629         * stdio-common/isoc99_vscanf.c: Likewise.
43630         * stdio-common/isoc99_vsscanf.c: Likewise.
43631         * stdio-common/printf-prs.c: Likewise.
43632         * stdio-common/printf_fp.c: Likewise.
43633         * stdio-common/printf_fphex.c: Likewise.
43634         * stdio-common/printf_size.c: Likewise.
43635         * stdio-common/putw.c: Likewise.
43636         * stdio-common/scanf.c: Likewise.
43637         * stdio-common/sprintf.c: Likewise.
43638         * stdio-common/tmpfile.c: Likewise.
43639         * stdio-common/vfprintf.c: Likewise.
43640         * stdio-common/vfscanf.c: Likewise.
43641         * stdlib/strfmon_l.c: Likewise.
43642         * sunrpc/openchild.c: Likewise.
43643         * sunrpc/xdr_stdio.c: Likewise.
43644         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43645         * sysdeps/mach/hurd/tmpfile.c: Likewise.
43647 2012-05-24  Roland McGrath  <roland@hack.frob.com>
43649         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43651         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43652         in the third column, to generate for the shared library an IFUNC
43653         that uses _dl_vdso_vsym.
43654         * Makerules (COMPILE.c, compile-stdin.c): New variables.
43655         * Makeconfig (object-suffixes-noshared): New variable.
43657         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43658         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43659         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43660         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43662         [BZ #14132]
43663         * include/sys/time.h (__gettimeofday): Remove macro.
43664         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43665         * time/gettimeofday.c (__gettimeofday): Remove #undef.
43666         Remove INTDEF.
43667         (__gettimeofday): Add libc_hidden_def.
43668         (gettimeofday): Add libc_hidden_weak.
43669         * sysdeps/mach/gettimeofday.c: Likewise.
43670         * sysdeps/posix/gettimeofday.c: Likewise.
43671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43672         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43673         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43674         (__gettimeofday_internal): Remove strong_alias.
43675         (__gettimeofday): Add libc_hidden_def.
43676         (gettimeofday): Add libc_hidden_weak.
43677         * sysdeps/unix/syscalls.list (gettimeofday):
43678         Remove __gettimeofday_internal alias.
43680 2012-05-24  Daniel Jacobowitz  <drow@false.org>
43681             H.J. Lu  <hongjiu.lu@intel.com>
43683         [BZ #12495]
43684         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43685         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43686         (largebin_index_32_big): New.
43687         (largebin_index): Use it for 16-byte alignment.
43688         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
43689         correction with front_misalign.
43691 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43695         Likewise.
43696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43697         Likewise.
43698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43699         Likewise.
43700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43701         Likewise.
43702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43703         Likewise.
43704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43705         Likewise.
43706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43707         Likewise.
43708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43709         Likewise.
43710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43711         Likewise.
43712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43713         Likewise.
43714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43715         Likewise.
43716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43717         Likewise.
43719         * scripts/data/c++-types-x32-linux-gnu.data: New file.
43720         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43722 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43724         [BZ #10846]
43725         [BZ #14036]
43726         * math/libm-test.inc (exp_test): Add test from bug 14036.
43727         (pow_test): Add test from bug 10846.
43729         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43730         and other flags.
43731         (special_function): Do not include flags in test name.
43732         (parse_args): Likewise.
43733         * sysdeps/i386/fpu/libm-test-ulps: Update.
43734         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43735         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43736         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43739         * math/gen-libm-test.pl (%beautify): Add entries for underflow
43740         exceptions.
43741         * math/libm-test.inc ("Philosophy"): Update comment about
43742         exception testing.
43743         (UNDERFLOW_EXCEPTION): New macro.
43744         (UNDERFLOW_EXCEPTION_OK): Likewise.
43745         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43746         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43747         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43748         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43749         (INVALID_EXCEPTION_OK): Update value.
43750         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43751         (OVERFLOW_EXCEPTION_OK): Likewise.
43752         (IGNORE_ZERO_INF_SIGN): Likewise.
43753         (test_exceptions): Handle underflow exceptions.
43754         (acos_test): Update for underflow exception expectations.
43755         (cexp_test): Likewise.
43756         (clog_test): Likewise.
43757         (clog10_test): Likewise.
43758         (csqrt_test): Likewise.
43759         (ctan_test): Likewise.
43760         (ctanh_test): Likewise.
43761         (exp_test): Likewise.
43762         (exp10_test): Likewise.
43763         (exp2_test): Likewise.
43764         (expm1_test): Likewise.
43765         (fma_test): Likewise.
43766         (j0_test): Likewise.
43767         (jn_test): Likewise.
43768         (nexttoward_test): Likewise.
43769         (pow_test): Likewise.
43770         (scalbn_test): Likewise.
43771         (scalbln_test): Likewise.
43772         (tan_test): Likewise.
43773         (y1_test): Likewise.
43774         * sysdeps/i386/fpu/libm-test-ulps: Update.
43775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43777 2012-05-23  David S. Miller  <davem@davemloft.net>
43779         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43780         (__libc_sigaction): Remove unused local variables.
43782 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43784         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43786 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
43788         mktime: avoid signed integer overflow
43789         * time/mktime.c (__mktime_internal): Do not mishandle the case
43790         where diff == INT_MIN.
43792         mktime: simplify computation of average
43793         * time/mktime.c (ranged_convert): Use new time_t_avg function
43794         instead of rolling our own (probably-slower) code.
43796         mktime: do not assume signed right shift propagates sign bit
43797         * time/mktime.c (isdst_differ): New static function.
43798         (__mktime_internal): No need to normalize tm_isdst now.
43799         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43800         tm_isdst values.
43802         mktime: merge another wrapv change from gnulib
43803         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43804         from some compilers.
43806         mktime: remove incorrect attempt at unusual arithmetics
43807         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43808         The code didn't really work on such machines anyway.
43809         (TYPE_MINIMUM): Assume two's complement.
43810         (twos_complement_arithmetic): Verify that long_int and time_t
43811         are two's complement (or unsigned, in the latter case).
43813         mktime: check signed shifts on long_int and time_t, too
43814         * time/mktime.c (SHR): Check that shifts work as desired
43815         on the types long_int and time_t too, as SHR is used on
43816         such types.
43818         mktime: do not assume 'long' is wide enough
43819         * time/mktime.c (verify): Move decl up.
43820         (long_int): New type.
43821         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43822         to remove assumption in the code that 'long' is wide enough to
43823         store year values.  This assumption is not true on x32 and on
43824         some non-glibc platforms.
43826         mktime: merge wrapv change from gnulib
43827         * time/mktime.c (WRAPV): New macro.
43828         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43829         (guess_time_tm, __mktime_internal): Do not assume that signed
43830         integer overflow wraps around; modern compilers generate code
43831         where this assumption is no longer valid.
43833 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43835         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43836         Replace "jmp L(pseudo_end)" with "ret".
43837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43838         Likewise.
43840 2012-05-23  Andreas Jaeger  <aj@suse.de>
43842         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43843         * sysdeps/unix/sysv/linux/poll.c: Remove file.
43845 2012-05-23  Andreas Jaeger  <aj@suse.de>
43846             Maximilian Attems  <max@stro.at>
43848         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43849         New macros.
43851 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43853         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43854         code so that pseudo_end is just ret and the stack pointer is
43855         correct also for static library in error case.
43857 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
43859         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43860         move to syscalls.list.
43861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43866         * manual/install.texi (Running make install): Do not mention Linux
43867         kernel version for which pt_chown is not needed.
43868         (Linux): Do not mention problems with nscd with 2.0 kernels.
43869         * INSTALL: Regenerated.
43871 2012-05-23  Andreas Jaeger  <aj@suse.de>
43873         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43874         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43875         macro.
43876         * sysdeps/unix/sysv/linux/s390/bits/mman.h
43877         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43878         * sysdeps/unix/sysv/linux/sh/bits/mman.h
43879         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43880         * sysdeps/unix/sysv/linux/i386/bits/mman.h
43881         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43882         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43883         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43885         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43886         * sysdeps/unix/sysv/linux/bits/in.h
43887         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43889 2012-05-22  Roland McGrath  <roland@hack.frob.com>
43891         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43892         (PREPARE_VERSION): Just use assert instead, it will be elided
43893         under [NDEBUG] anyway.
43895 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43897         * sysdeps/unix/sysv/linux/Makefile: Include
43898         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43899         (sysdep_routines): Remove sysctl.
43900         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43901         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43902         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43903         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43904         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43906 2012-05-22  Andreas Jaeger  <aj@suse.de>
43908         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43909         that pseudo_end is just ret and the stack pointer is correct also
43910         for static library in error case.
43912 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
43914         [BZ #14122]
43915         * nss/nsswitch.c (defconfig_entries): New variable.
43916         (__nss_database_lookup): Don't leak defconfig entries.
43917         (nss_parse_service_list): Don't leak on error paths.
43918         (free_database_entries): New function.
43919         (free_defconfig): New function.
43920         (free_mem): Move common code to free_database_entries.
43922 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43924         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43925         Add arch_prctl.
43926         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43928         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43929         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43931         New macro.
43932         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43933         (INTERNAL_SYSCALL_TYPES): Likewise.
43934         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43935         (LOAD_REGS_TYPES_[1-6]): Likewise.
43936         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43937         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43939 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43941         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43942         copysignl for GLIBC_2_0.
43943         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43944         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43946         logbl for GLIBC_2_0.
43947         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43948         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43950 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43953         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43955         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43956         Use "neg %eax".
43958         * time/mktime.c: Update copyright years.
43960 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43962         mktime: merge comment-quoting-style change from gnulib
43963         * time/mktime.c: Quote 'like this' in comments.
43964         The GNU coding standards suggest that we no longer quote `like this',
43965         as "`" and "'" are typically rendered asymmetrically nowadays.
43966         The typical gnulib style is to quote 'like this' when quoting
43967         code, and "like this" when quoting English.
43969         * time/mktime.c (compile-command): Add "-I.".
43971         mktime: merge mktime-internal.h change from gnulib
43972         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43974         mktime: merge time_r change from gnulib
43975         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43977         mktime: merge DEBUG change from gnulib
43978         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43979         case system <time.h> has a #define.
43981         mktime: merge <sys/types.h> change from gnulib
43982         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43983         since <time.t> is now guaranteed to define time_t.
43985         mktime: merge HAVE_CONFIG_H change from gnulib
43986         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43988 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43991         Use "neg %eax".
43993         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43994         __rlim_t cast.
43995         (struct rusage): Use anonymous union to pad each field to
43996         __syscall_slong_t.
43998 2012-05-21  David S. Miller  <davem@davemloft.net>
44000         * Makefules (o-iterator): Remove .s cases.
44001         (compile-command.s): Delete.
44002         (COMPILE.s): Delete.
44003         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44005 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
44007         * configure.in (libc_cv_predef_stack_protector): Only consider
44008         "foobar" and "__stack_chk_fail" lines in libc_undefs.
44009         * configure: Regenerated.
44011 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44014         New macro.  Use R*LP on int and pointer.
44015         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44016         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44017         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44018         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44020         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44021         [__WORDSIZE_TIME64_COMPAT32] instead of
44022         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44023         (struct utmp): Likewise.
44024         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44025         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44026         Renamed to ...
44027         (__WORDSIZE_TIME64_COMPAT32): This.
44028         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44029         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44030         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44031         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44032         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44033         (__WORDSIZE_TIME64_COMPAT32): New macro.
44035 2012-05-21  Andreas Jaeger  <aj@suse.de>
44037         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44038         only if [SHARED]. Add prototype for __wcschr_ia32.
44040 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44042         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44043         of %rbp unmolested in the jmp_buf while mangling the low bits.
44044         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44045         unmolested high bits of %rbp while demangling the low bits.
44046         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44048 2012-05-21  Andreas Jaeger  <aj@suse.de>
44050         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44051         * sunrpc/svc_simple.c: Use it for registerrpc.
44052         * sunrpc/xcrypt.c: Use it for passwd2des.
44054         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44056 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44058         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44059         Don't define if [__SYSCALL_WORDSIZE != 32].
44060         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44061         New macro.
44063 2012-05-21  Bruno Haible  <bruno@clisp.org>
44064             Andreas Jaeger  <aj@suse.de>
44066         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44067         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44068         inptr and inend for must_buffer_ch.
44069         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44070         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44071         * stdio-common/Makefile (tests): Remove bug15.
44072         (bug15-ENV): Remove macro.
44073         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44074         anymore.
44076 2012-05-19  Andreas Jaeger  <aj@suse.de>
44077             Roland McGrath  <roland@hack.frob.com>
44079         * manual/contrib.texi: Completely rewritten. It contains now an
44080         alphabetical list of contributors and their contributions.
44082 2012-05-21  Richard Henderson  <rth@twiddle.net>
44084         * misc/getauxval.c (__getauxval): Use unsigned long int.
44085         * misc/sys/auxv.h: Include <sys/cdefs.h>.
44086         (getauxval): Use unsigned long int.
44088 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44090         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44092 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44094         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44095         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44096         __alignof__ (long double).
44098 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44102 2012-05-20  Richard Henderson  <rth@twiddle.net>
44104         * misc/getauxval.c: New file.
44105         * misc/sys/auxv.h: New file.
44106         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44107         (routines): Add getauxval.
44108         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44109         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44110         * elf/dl-sysdep.c (_dl_auxv): Remove.
44111         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44112         * elf/dl-support.c (_dl_auxv): New variable.
44113         (_dl_aux_init): Initialize it.
44114         * manual/startup.texi (Auxiliary Vector): New node.
44115         * sysdeps/generic/bits/hwcap.h: New file.
44116         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44117         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
44118         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44119         * sysdeps/sparc/sysdep.h: ... here.  Include it.
44120         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44121         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44123         Update.
44124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44133 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44137 2012-05-19  David S. Miller  <davem@davemloft.net>
44139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44141 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44143         [BZ #14123]
44144         * math/s_ccosh.c: Include <float.h>
44145         (__ccosh): Avoid internal overflow calculating sinh and cosh
44146         values before multiplying by sin and cos values.
44147         * math/s_ccoshf.c: Likewise.
44148         * math/s_ccoshl.c: Likewise.
44149         * math/s_csin.c: Likewise.
44150         * math/s_csinf.c: Likewise.
44151         * math/s_csinl.c: Likewise.
44152         * math/s_csinh.c: Likewise.
44153         * math/s_csinhf.c: Likewise.
44154         * math/s_csinhl.c: Likewise.
44155         * math/libm-test.inc (ccos_test): Add more tests.
44156         (ccosh_test): Likewise.
44157         (csin_test): Likewise.
44158         (csinh_test): Likewise.
44159         * sysdeps/i386/fpu/libm-test-ulps: Update.
44160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44162 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
44164         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44165         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44167         * sysdeps/x86_64/x32/_itoa.h: Add comment.
44169 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44171         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44172         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44173         * sysdeps/powerpc/soft-fp/Versions: Likewise.
44174         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44175         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44176         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44177         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44178         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44179         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44180         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44181         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44182         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44183         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44184         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44185         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44186         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44187         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44188         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44189         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44190         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44191         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44192         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44193         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44194         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44195         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44196         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44197         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44198         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44199         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44200         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44201         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44203 2012-05-18  Andreas Jaeger  <aj@suse.de>
44205         * csu/.gitignore: Delete.
44207 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44209         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44210         (timex): Use __syscall_slong_t.
44212 2012-05-18  Andreas Jaeger  <aj@suse.de>
44213             Carlos O'Donell  <carlos_odonell@mentor.com>
44215         * manual/install.texi (Configuring and compiling): Update
44216         description about files modified in the source directory.
44217         * INSTALL: Regenerated.
44219 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44221         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44222         value.  Use "or" to set return value to -1.
44223         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44224         negate return value.
44226 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44228         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44229         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44230         failure if the compiler has Graphite support disabled.
44231         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44232         Likewise.
44233         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44234         (CFLAGS-memmove.c): Likewise.
44235         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44236         Likewise.
44238 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44240         * sysdeps/x86_64/x32/_itoa.h: New file.
44242         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44243         getdents system call only if kernel and user dirents have the
44244         same d_ino and d_off.
44246         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44247         LLONG_MAX != LONG_MAX.
44248         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44249         (_fitoa_word): Likewise.
44251         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44252         years.
44253         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44254         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44255         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44257         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44258         include <bits/wordsize.h>.  Check __x86_64__ instead of
44259         __WORDSIZE.
44260         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44261         if __x86_64__ is defined.  Use anonymous union on fpstate.
44263         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44264         anonymous union.
44266 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44268         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44269         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44270         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44271         Refer to _rtld_local_ro instead of _rtld_global_ro.
44272         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44273         Likewise.
44274         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44275         Likewise.
44276         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44277         Likewise.
44278         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44279         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44280         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44282         * sysdeps/powerpc/powerpc32/dl-machine.c
44283         (__elf_machine_runtime_setup) [PROF]: Don't reference
44284         _dl_prof_resolve.
44286 2012-05-18  Andreas Jaeger  <aj@suse.de>
44288         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44289         function only available for GCCs before 3.4 since GCC 3.4
44290         introduced a builtin.
44291         (lrint): Likewise.
44292         (llrintf): Likewise.
44293         (llrint): Likewise.
44294         (fmaxf): Likewise.
44295         (fmax): Likewise.
44296         (fminf): Likewise.
44297         (fmin): Likewise.
44298         (rint): Likewise.
44299         (rintf): Likewise.
44300         (nearbyint): Likewise.
44301         (nearbyintf): Likewise.
44302         (ceil): Likewise.
44303         (ceilf): Likewise.
44304         (floor): Likewise.
44305         (floorf): Likewise.
44307 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44309         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44310         on both fields and cast pointer to __syscall_ulong_t.
44312         * bits/types.h (__fsword_t): New type.
44313         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44314         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44315         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44316         (__FSWORD_T_TYPE): Likewise.
44317         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44318         (__FSWORD_T_TYPE): Likewise.
44319         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44320         (__FSWORD_T_TYPE): Likewise.
44321         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44322         (__FSWORD_T_TYPE): Likewise.
44323         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44324         __SWORD_TYPE with __fsword_t.
44325         (statfs64): Likewise.
44327 2012-05-17  David S. Miller  <davem@davemloft.net>
44329         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44331 2012-05-17  Andreas Jaeger  <aj@suse.de>
44333         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44334         warning.
44336 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44338         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44340 2012-05-17  Andreas Jaeger  <aj@suse.de>
44342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44343         when it is used.
44345 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44347         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44349 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44351         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44352         * sysdeps/x86_64/tst-mallocalign1.c: New file.
44354 2012-05-17  Andreas Jaeger  <aj@suse.de>
44355             Carlos O'Donell  <carlos_odonell@mentor.com>
44357         [BZ #14059]
44358         * sysdeps/x86_64/multiarch/init-arch.h
44359         (bit_YMM_Usable): Rename to...
44360         (bit_AVX_Usable): ... this.
44361         (bit_FMA4_Usable): New macro.
44362         (bit_XMM_state): New macro.
44363         (bit_YMM_state): New macro.
44364         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44365         [__ASSEMBLER__] (index_AVX_Usable): ... this.
44366         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44367         (CPUID_OSXSAVE): New macro.
44368         (CPUID_AVX): New macro.
44369         (CPUID_FMA4): New macro.
44370         (index_YMM_Usable): Rename to...
44371         (index_AVX_Usable): ... this.
44372         (HAS_AVX): Use HAS_ARCH_FEATURE.
44373         (HAS_FMA4): Likewise.
44374         (HAS_YMM_USABLE): Remove.
44375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44376         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44377         are present.
44378         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44379         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44380         * sysdeps/x86_64/multiarch/Makefile: Likewise.
44381         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44382         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44384 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44386         * math/libm-test.c: Support platforms without multiple rounding modes.
44387         * math/bug-nextafter.c: Support platforms without FP exceptions.
44388         * math/bug-nexttoward.c: Likewise.
44389         * math/test-fenv.c: Likewise.
44390         * math/test-misc.c: Likewise.
44391         * stdlib/bug-getcontext.c: Likewise.
44393 2012-05-17  Andreas Jaeger  <aj@suse.de>
44395         * manual/examples/search.c (critter_cmp): Change signature to
44396         avoid warnings.
44397         * manual/string.texi (Collation Functions): Likewise.
44399 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44401         * bits/types.h: Fold copyright years.
44402         * bits/typesizes.h: Likewise.
44403         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44405         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44407         * time/time.h: Likewise.
44409 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
44411         [BZ #208]
44412         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44413         in instead of returning them.  Return void.
44414         (__libc_mallinfo): Accumulate over all arenas.
44415         (__malloc_stats): Adjust for change in int_mallinfo interface.
44417 2012-05-16  Roland McGrath  <roland@hack.frob.com>
44419         [BZ #10375]
44420         * configure.in (NM): Add AC_CHECK_TOOL for it.
44421         (libc_extra_cflags): New substituted variable.
44422         Check for -fstack-protector being used implicitly.
44423         * configure: Regenerated.
44424         * config.make.in (config-extra-cflags): New variable,
44425         gets @libc_extra_cflags@.
44426         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44428         [BZ #10375]
44429         * configure.in: Check for _FORTIFY_SOURCE being predefined.
44430         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44431         * configure: Regenerated.
44432         * config.make.in (CPPUNDEFS): New substituted variable.
44433         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44434         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44435         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44437 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44439         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44440         (mq_attr): Use __syscall_slong_t.
44442 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44444         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44445         Check __x86_64__ instead of __WORDSIZE.
44446         (_STAT_VER_LINUX): Likewise.
44447         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
44448         __syscall_ulong_t and __syscall_slong_t.
44449         (stat64): Likewise.
44451 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44453         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44455 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44457         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44461         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44462         __syscall_ulong_t.
44464         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44465         include <bits/wordsize.h>.  Check __x86_64__ instead of
44466         __WORDSIZE.
44467         (greg_t): Use "__extension__ long long int" if __x86_64__ is
44468         defined.
44469         (mcontext_t): Replace "unsigned long" with "unsigned long long".
44471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44472         include <bits/wordsize.h>.  Check __x86_64__ instead of
44473         __WORDSIZE.
44474         (user_regs_struct): Use "__extension__ unsigned long long"
44475         instead of "unsigned long" if __x86_64__ is defined.
44476         (user): Likewise.  Pad after pointer field if __ILP32__ is
44477         defined.
44479 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
44481         * configure.in (makeinfo): Require version 4.5 or later.  Allow
44482         versions 5 to 9.
44483         * configure: Regenerated.
44484         * manual/install.texi (texinfo): Increase version requirement to
44485         4.5 or later.
44486         * INSTALL: Regenerated.
44488         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44490 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44492         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44494         * sysdeps/x86_64/x32/ffs.c: New file.
44496         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44497         __syscall_ulong_t.
44498         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44499         defined.  Use __syscall_ulong_t.
44500         (shminfo): Use __syscall_ulong_t.
44501         (shm_info): Likewise.
44503         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44504         __syscall_ulong_t.
44506         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44507         <bits/wordsize.h>.
44508         (msgqnum_t): Use __syscall_ulong_t.
44509         (msglen_t): Likewise.
44510         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
44511         __syscall_ulong_t.
44513         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44514         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44516         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44518         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44519         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44521         * sysvipc/sys/msg.h (msgbuf): Replace long int with
44522         __syscall_slong_t.
44524         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44525         include <bits/wordsize.h>.  Check __x86_64__ instead of
44526         __WORDSIZE.
44528         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44529         "unsigned long long int" if __x86_64__ is defined.
44530         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44532         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44533         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44534         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44536         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44537         <stdint.h>.
44538         (GET_PC): Cast to uintptr_t first.
44539         (GET_FRAME): Likewise.
44540         (GET_STACK): Likewise.
44542         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44543         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44545         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44547         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44548         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44549         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44550         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44551         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44552         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44553         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44554         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44555         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44556         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44557         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44558         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44559         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44560         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44561         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44562         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44563         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44564         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44565         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44566         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44567         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44568         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44569         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44570         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44572 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
44574         * Makerules (+depfiles): Also collect depfiles from .oS in
44575         $(extra-objs).
44576         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44577         .oS, $(libnldbl-routines)).
44579         * Makerules (native-compile-mkdep-flags): Define.
44580         * sunrpc/Makefile (extra-objs): Add $(addprefix
44581         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44582         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44583         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
44584         calling $(make-target-directory).
44586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44588         * bits/types.h (__snseconds_t): Removed.
44589         * time/time.h (struct timespec): Replace __snseconds_t with
44590         __syscall_slong_t.
44591         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44592         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44593         Likewise.
44594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44595         (__SNSECONDS_T_TYPE): Likewise.
44596         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44597         (__SNSECONDS_T_TYPE): Likewise.
44598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44599         (__SNSECONDS_T_TYPE): Likewise.
44601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44603         * sysdeps/mach/hurd/bits/typesizes.h
44604         (__SYSCALL_SLONG_TYPE): New macro.
44605         (__SYSCALL_ULONG_TYPE): Likewise.
44607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44609         * bits/types.h (__syscall_slong_t): New type.
44610         (__syscall_ulong_t): Likewise.
44612         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44613         (__SYSCALL_ULONG_TYPE): Likewise.
44614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44615         (__SYSCALL_SLONG_TYPE): Likewise.
44616         (__SYSCALL_ULONG_TYPE): Likewise.
44617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44618         (__SYSCALL_SLONG_TYPE): Likewise.
44619         (__SYSCALL_ULONG_TYPE): Likewise.
44620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44621         (__SYSCALL_SLONG_TYPE): Likewise.
44622         (__SYSCALL_ULONG_TYPE): Likewise.
44624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44626         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44627         Add sigaltstack-offsets.sym.
44628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44629         <sigaltstack-offsets.h>.
44630         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
44631         longjmp_msg pointer.
44632         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
44633         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44634         signal stack.
44635         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44637 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44639         * elf/stackguard-macros.h: Remove file.
44640         * sysdeps/generic/stackguard-macros.h: New file.
44641         * sysdeps/i386/stackguard-macros.h: Likewise.
44642         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44643         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44644         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44645         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44646         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44647         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44648         * sysdeps/x86_64/stackguard-macros.h: Likewise.
44649         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44650         <elf/stackguard-macros.h>.
44652         [BZ #14109]
44653         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44654         __aligned__ in attribute.
44655         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44656         (gregset_t): Likewise.
44658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44660         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44661         * sysdeps/x86_64/64/Implies-after: Here.  New file.
44662         * sysdeps/x86_64/x32/Implies-after: New file.
44664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44666         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44667         and access return value for _dl_profile_fixup.  Use R10_LP to
44668         load frame size.
44670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44672         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44676         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44677         * sysdeps/x86_64/x32/sysdep.h: New file.
44679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44681         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44682         * sysdeps/x86_64/setjmp.S: Likewise.
44684 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44686         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44687         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44688         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44689         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44690         remove unused global constant.
44692 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
44694         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44695         include of <not-cancel.h>.
44697 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44699         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44701 2012-05-15  Jeff Law  <law@redhat.com>
44702             Andreas Jaeger  <aj@suse.de>
44704         [BZ #13594]
44705         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44706         out from...
44707         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44708         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44709         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44710         code changing __hst_map_handle.map.
44712 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44714         * configure.in (sysnames): Look for Implies-before and Implies-after
44715         files.
44716         * configure: Regenerated.
44718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44720         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44721         8-byte data alignment with LP_SIZE alignment.
44723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44725         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44726         into R10_LP.
44728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44730         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44734         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44735         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44736         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44737         Likewise.
44738         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44742         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44743         (stackinfo_sub_sp): Likewise.
44745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44748         RAX_LP.
44750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44752         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44753         into R*_LP.
44755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44757         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44758         sizes into R*_LP.
44760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44762         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44766         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44767         into R11_LP and load __x86_64_shared_cache_size_half into
44768         R8_LP.
44770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44772         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44773         R8_LP.
44775 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44777         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44778         logb for POWER7.
44779         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44780         logbf for POWER7.
44781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44782         logbl for POWER7.
44783         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44784         powerpc32/power7/fpu/s_logb.c via #include.
44785         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44786         powerpc32/power7/fpu/s_logbf.c via #include.
44787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44788         powerpc32/power7/fpu/s_logbl.c via #include.
44790 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44792         * README.libm: Remove file.
44794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44796         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44797         count for x32.  Use R*_LP and omit operand-size suffix.
44799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44801         * shlib-versions: Move x86_64-.*-linux.* entries to ...
44802         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
44803         * sysdeps/x86_64/x32/shlib-versions: New file.
44805 2012-05-14  Roland McGrath  <roland@hack.frob.com>
44807         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44808         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44809         Use _dl_fatal_printf instead.
44811 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44813         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44814         set if not set by the user.  Do not allow for being unset.
44815         * sysdeps/unix/sysv/linux/configure: Regenerated.
44817 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44819         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44820         the `q' suffix from lea and replace .quad with ASM_ADDR.
44822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44825         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
44826         instead of $17.
44827         (PTR_DEMANGLE): Likewise.
44829 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44831         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44832         (LP_OP): Likewise.
44833         (ASM_ADDR): Likewise.
44834         (RAX_LP): Likewise.
44835         (RBP_LP): Likewise.
44836         (RBX_LP): Likewise.
44837         (RCX_LP): Likewise.
44838         (RDI_LP): Likewise.
44839         (RSI_LP): Likewise.
44840         (RSP_LP): Likewise.
44841         (R8_LP): Likewise.
44842         (R9_LP): Likewise.
44843         (R10_LP): Likewise.
44844         (R10_LP): Likewise.
44845         (R11_LP): Likewise.
44846         (R12_LP): Likewise.
44847         (R13_LP): Likewise.
44848         (R14_LP): Likewise.
44849         (R15_LP): Likewise.
44851 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44853         * sysdeps/x86_64/x32/dl-machine.h: New file.
44855 2012-05-14  Andreas Jaeger  <aj@suse.de>
44857         * manual/Makefile (subdir): Remove export of subdir.
44858         (all): Remove target.
44859         (.PHONY): Remove all from list.
44860         (mkinstalldirs): Remove.
44861         (.PHONY): Remove installdirs from list.
44862         ($(inst_infodir)/libc.info): Use make-target-directory.
44863         (installdirs): Remove.
44864         (subdir_%): Remove.
44865         (glibc-targets): Remove.
44866         (lib): Remove.
44867         (stubs): Remove.
44868         ($(objpfx)stubs ../po/manual.pot): Remove.
44869         ($(objpfx)stamp%): Remove.
44870         (make-target-directory): Remove.
44871         (subdir_install): Remove.
44872         (routines): Remove.
44873         (aux): Remove.
44874         (sources): Remove.
44875         (objects): Remove.
44876         (headers): Remove.
44878         [BZ #13750]
44879         * manual/.gitignore: Remove, it's not needed anymore.
44880         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44881         all files in it.
44882         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44883         directory.
44884         (texis): Renamed to $(objpfx)texis.
44885         (texis-path): New, contains path to generated files.
44886         (chapters.%): Use texis-path for complete path, add extra argument
44887         libc-texinfo.sh.
44888         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44889         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44890         (summary,texi, stamp-summary): Use complete path of
44891         files. Generate files in build dir.
44892         (dir-add.texi): Build in build dir.
44893         (libm-err.texi,stamp-libm-err): Likewise.
44894         (version.texi, stamp-version): Likewise.
44895         (.%c.texi): Likewise.
44896         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44897         (mostlyclean): Remove target.
44898         (realclean): Remove target.
44899         (generated): Add new variable with contents from mostlyclean and
44900         realclean, remove entries duplicated in common-mostlyclean, add
44901         stamp-libm-err and stamp-version.
44902         (generated-dirs): Add libc directory.
44903         ($(inst_infodir)/libc.info): Install files from build dir.
44905         * manual/install.texi (Configuring and compiling): Adjust since
44906         the info files are not part of the tar ball anymore.
44908 2012-05-14  Andreas Jaeger  <aj@suse.de>
44910         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44911         variable.
44913 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44915         [BZ #13717]
44916         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44917         to 2.2.0 where earlier.
44918         * sysdeps/unix/sysv/linux/configure: Regenerated.
44919         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44920         Remove conditional code.
44921         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44922         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44923         Remove conditional code.
44924         [!__NR_lchown]: Likewise.
44925         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44926         [__NR_lchown]: Likewise.
44927         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44928         comment referencing __ASSUME_LCHOWN_SYSCALL.
44929         * sysdeps/unix/sysv/linux/i386/sigaction.c
44930         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44931         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44932         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44933         Remove conditional code.
44934         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44935         (__protocol_available): Remove #if 0 code.
44936         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44937         conditional code.
44938         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44939         * sysdeps/unix/sysv/linux/kernel-features.h
44940         (__ASSUME_GETCWD_SYSCALL): Don't define.
44941         (__ASSUME_REALTIME_SIGNALS): Likewise.
44942         (__ASSUME_PREAD_SYSCALL): Likewise.
44943         (__ASSUME_PWRITE_SYSCALL): Likewise.
44944         (__ASSUME_POLL_SYSCALL): Likewise.
44945         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44946         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44947         non-SPARC.
44948         (__ASSUME_SIOCGIFNAME): Don't define.
44949         (__ASSUME_MSG_NOSIGNAL): Likewise.
44950         (__ASSUME_SENDFILE): Define unconditionally.
44951         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44952         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44953         conditional code.
44954         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44955         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44956         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44957         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44958         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44959         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44960         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44962         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44965         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44966         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44968         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44969         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44971         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44972         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44974         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44975         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44977         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44978         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44980         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44981         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44983         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44984         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44985         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44986         Remove conditional code.
44987         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44988         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44989         Remove conditional code.
44990         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44991         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44992         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44993         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44994         Remove conditional code.
44995         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44996         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44997         Remove conditional code.
44998         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44999         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45000         Remove conditional code.
45001         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45002         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45003         Remove conditional code.
45004         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45005         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45006         Remove conditional code.
45007         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45008         * sysdeps/unix/sysv/linux/sh/pwrite64.c
45009         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45010         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45011         * sysdeps/unix/sysv/linux/sigaction.c
45012         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45013         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45014         * sysdeps/unix/sysv/linux/sigpending.c
45015         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45016         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45017         * sysdeps/unix/sysv/linux/sigprocmask.c
45018         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45019         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45020         * sysdeps/unix/sysv/linux/sigsuspend.c
45021         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45022         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45023         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45024         (__libc_missing_rt_sigs): Remove.
45025         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45026         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45027         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45028         Remove conditional code.
45029         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45030         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45031         return 1.
45032         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45033         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45034         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45035         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45037 2012-05-14  Andreas Jaeger  <aj@suse.de>
45039         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45040         it's not used in glibc.
45041         (__coshm1): Likewise.
45042         (__acosh1p): Likewise.
45043         (__sgn): Likewise.
45045         * manual/string.texi (Copying and Concatenation): Add missing
45046         variable in concat example.
45047         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45049 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45051         [BZ #14103]
45052         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45053         __builtin_clzl with __builtin_clzll.
45055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45057         [BZ #14104]
45058         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45059         libc_freeres_ptr.
45061 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45063         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45064         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45065         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45066         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45068 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
45070         * NEWS: Update ia64 info.
45072 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
45074         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45075         used as bcopy.
45077 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
45079         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45080         * sysdeps/unix/syscalls.list (dup3): Likewise.
45081         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45082         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45084 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45086         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45087         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45089 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45091         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45092         thread pointer.
45093         (TLS_IE): Use mov/add instead of movq/addq to load thread
45094         pointer.
45095         (TLS_GD_PREFIX): New.
45096         (TLS_GD): Use it.
45098 2012-05-11  David S. Miller  <davem@davemloft.net>
45100         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45101         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45102         (_FPU_SETCW): Likewise.
45104 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45106         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45107         is 32-byte aligned.
45109 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
45111         [BZ #11837]
45112         * iconvdata/gb18030.c: Update tables.
45113         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
45114         characters specially.
45115         (BODY for TO_LOOP): Add encoding of missing ranges.
45117 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
45119         [BZ #13673]
45120         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45121         * sysdeps/mach/hurd/dup3.c: Likewise.
45122         * sysdeps/mach/hurd/readlinkat.c: Likewise.
45123         * sysdeps/powerpc/memmove.c:: Likewise.
45125 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45127         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45128         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45130 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45132         * elf/elf.h (R_X86_64_RELATIVE64): New.
45133         (R_X86_64_NUM): Updated.
45134         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45135         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
45136         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45137         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45138         tst-quad1pie tst-quad2pie
45139         (modules-names): Add tst-quadmod1 tst-quadmod2.
45140         ($(objpfx)tst-quad1): New dependency.
45141         ($(objpfx)tst-quad2): Likewise.
45142         ($(objpfx)tst-quad1pie): Likewise.
45143         ($(objpfx)tst-quad2pie): Likewise.
45144         * sysdeps/x86_64/tst-quad1.c: New file.
45145         * sysdeps/x86_64/tst-quad1pie.c: New file.
45146         * sysdeps/x86_64/tst-quad2.c: Likewise.
45147         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45148         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45149         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45150         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45151         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45153 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45155         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45156         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45157         * streams/stropts.h (t_scalar_t): Define type.
45159         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45160         (_PATH_PRESERVE): Set to "/var/lib".
45161         (_PATH_RWHODIR): Set to "/var/spool/rwho".
45163         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45164         instead of int.
45166         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45167         if __dir_mkfile succeeded.
45169         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45170         checking for _hurd_dtablesize.  Unlock it right after having
45171         finished _hurd_dtable allocation.
45173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45175         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45176         * sysdeps/mach/hurd/configure: Regenerated.
45177         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45178         special-casing to...
45179         * sysdeps/gnu/configure.in: ... this new file.
45180         * sysdeps/unix/sysv/linux/configure: Regenerated.
45181         * sysdeps/gnu/configure: New generated file.
45183         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45184         for Linux: use nsec instead of usec, as well as:
45185         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45186         members of type struct timespec.
45187         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45188         New macros.
45189         (struct stat64): Likewise.
45190         (_STATBUF_ST_NSEC): New macro.
45191         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45193         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45194         __strtoul_internal rather than strtoul.
45196 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45198         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45199         and reject them.
45201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45203         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45204         which preserves existing values.
45205         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45207 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45209         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45210         TIMEOUT values.  Return EINVAL for NFDS values either negative or
45211         greater than FD_SETSIZE.
45213 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45215         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45216         allocated, call __vm_protect to finish enabling the existing space, and
45217         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45218         allocate the remainder.
45220 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45222         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45223         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
45225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45227         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45228         sysdeps/mach/hurd/readlink.c.
45230         * posix/tst-sysconf.c (posix_options): Only use
45231         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45232         _POSIX_SYNCHRONIZED_IO when they are defined
45233         * sysdeps/mach/hurd/bits/posix_opt.h:
45234         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45235         (_XOPEN_REALTIME): Undefine macro.
45236         (_XOPEN_REALTIME_THREADS): Undefine macro.
45237         (_XOPEN_SHM): Undefine macro.
45238         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45239         macro to -1.
45240         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45241         macro to -1.
45242         (_POSIX_ASYNC_IO): Undefine macro.
45243         (_POSIX_PRIORITIZED_IO): Undefine macro.
45244         (_POSIX_SPIN_LOCKS): Define macro to -1.
45246         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45247         SA_NODEFER, SA_RESETHAND.
45248         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45249         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45250         F_DUPFD_CLOEXEC.
45252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45254         * elf/Makefile (pldd-modules): Define unconditionally.
45256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45258         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45262         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45263         Return ENOENT when name is empty.
45264         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45266 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45268         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45270         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45274         Fix mlock in all cases except non-readable pages.
45275         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45276         instead of VM_PROT_ALL as parameter to __vm_wire function.
45278         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45279         (__mkdir): When path is `/', just fail with EEXIST.
45280         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45282 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45284         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45285         <sys/uio.h> (for writev).
45286         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45287         and <sys/param.h> (for MIN).
45289 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45291         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45292         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45293         if interrupted.
45295 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45297         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45298         Depend on against $(link-rpcuserlibs).
45300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45302         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45303         (__libc_stack_end): Do not use attribute_relro.
45304         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45305         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45306         to libthread-provided value.
45307         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45308         attribute_relro.
45310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45312         [BZ #3748]
45313         * bits/libc-lock.h (__libc_once_get): New macro.
45314         * sysdeps/mach/bits/libc-lock.h: Likewise.
45315         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45316         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45317         instead of using implementation details.
45319         * libio/fileops.c: Unconditionally include <kernel-features.h>.
45320         * libio/freopen.c: Likewise.
45321         * libio/freopen64.c: Likewise.
45322         * misc/syslog.c: Likewise.
45323         * nscd/connections.c: Likewise.
45324         * nscd/netgroupcache.c: Likewise.
45325         * sysdeps/posix/getcwd.c: Likewise.
45327 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45329         * math/w_ilogbf.c: Add #include <limits.h>.
45331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45333         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45334         path instead of returning without unlocking.
45336         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45337         immediate-write ioctls.
45338         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45342         * sysdeps/mach/hurd/i386/init-first.c (init): Use
45343         __builtin_frame_address instead of making assumptions about the
45344         location of the return address relative to DATA.  Force early load of
45345         the return address.
45346         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45347         __builtin_frame_address.
45349         dup3 for GNU Hurd.
45350         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45351         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
45352         implement dup3 and do some further code clean-ups.
45353         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45354         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45358         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45360         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45361         HURD_CRITICAL_END around holding _hurd_dtable_lock.
45362         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45363         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45364         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45365         d->port.lock.
45367         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45368         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
45369         when handler == SIG_ERR, not when handler != SIG_ERR.
45371 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45373         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45374         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45375         definitions.
45377         accept4 for GNU Hurd.
45378         * include/sys/socket.h (__libc_accept4): New prototype.
45379         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
45380         to implement __libc_accept4.
45381         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45382         __libc_accept4.
45383         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45385         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45386         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45387         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45388         signal-defines.sym.
45390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45392         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45396         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45397         assertion on O_CLOEXEC flag.
45398         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45399         * hurd/intern-fd.c: Likewise.
45400         * hurd/port2fd.c: Likewise.
45402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45404         [BZ #3906]
45405         * bits/in.h (IPV6_PKTINFO): Define new macro.
45406         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45408 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45410         [BZ #13954]
45411         [BZ #13955]
45412         [BZ #13956]
45413         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45414         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45415         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45416         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45418         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45419         * math/libm-test.inc (logb_test) : Additional logb tests.
45421 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
45422             Andreas Jaeger  <aj@suse.de>
45424         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45425         * configure: Regenerated.
45426         * config.h.in (LINK_OBSOLETE_RPC): New macro.
45427         * config.make.in (link-obsolete-rpc): New substituted variable.
45428         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45429         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45430         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45431         (shared-only-routines): Don't set it under [link-obsolete-rpc],
45432         so that libc.a contains the symbols.
45433         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45434         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45435         * sunrpc/auth_none.c: Likewise.
45436         * sunrpc/auth_unix.c: Likewise.
45437         * sunrpc/authdes_prot.c: Likewise.
45438         * sunrpc/authuxprot.c: Likewise.
45439         * sunrpc/clnt_gen.c: Likewise.
45440         * sunrpc/clnt_perr.c: Likewise.
45441         * sunrpc/clnt_raw.c: Likewise.
45442         * sunrpc/clnt_simp.c: Likewise.
45443         * sunrpc/clnt_tcp.c: Likewise.
45444         * sunrpc/clnt_udp.c: Likewise.
45445         * sunrpc/clnt_unix.c: Likewise.
45446         * sunrpc/des_crypt.c: Likewise.
45447         * sunrpc/des_soft.c: Likewise.
45448         * sunrpc/get_myaddr.c: Likewise.
45449         * sunrpc/key_call.c: Likewise.
45450         * sunrpc/key_prot.c: Likewise.
45451         * sunrpc/netname.c: Likewise.
45452         * sunrpc/pm_getmaps.c: Likewise.
45453         * sunrpc/pm_getport.c: Likewise.
45454         * sunrpc/pmap_clnt.c: Likewise.
45455         * sunrpc/pmap_prot.c: Likewise.
45456         * sunrpc/pmap_prot2.c: Likewise.
45457         * sunrpc/pmap_rmt.c: Likewise.
45458         * sunrpc/publickey.c: Likewise.
45459         * sunrpc/rpc_cmsg.c: Likewise.
45460         * sunrpc/rpc_common.c: Likewise.
45461         * sunrpc/rpc_dtable.c: Likewise.
45462         * sunrpc/rpc_prot.c: Likewise.
45463         * sunrpc/rpc_thread.c: Likewise.
45464         * sunrpc/rtime.c: Likewise.
45465         * sunrpc/svc.c: Likewise.
45466         * sunrpc/svc_auth.c: Likewise.
45467         * sunrpc/svc_raw.c: Likewise.
45468         * sunrpc/svc_run.c: Likewise.
45469         * sunrpc/svc_tcp.c: Likewise.
45470         * sunrpc/svc_udp.c: Likewise.
45471         * sunrpc/svc_unix.c: Likewise.
45472         * sunrpc/svcauth_des.c: Likewise.
45473         * sunrpc/xcrypt.c: Likewise.
45474         * sunrpc/xdr.c: Likewise.
45475         * sunrpc/xdr_array.c: Likewise.
45476         * sunrpc/xdr_float.c: Likewise.
45477         * sunrpc/xdr_intXX_t.c: Likewise.
45478         * sunrpc/xdr_mem.c: Likewise.
45479         * sunrpc/xdr_rec.c: Likewise.
45480         * sunrpc/xdr_ref.c: Likewise.
45481         * sunrpc/xdr_sizeof.c: Likewise.
45482         * sunrpc/xdr_stdio.c: Likewise.
45484 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45486         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45487         change.  Update copyright years.
45489 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45491         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45493 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
45494             Joseph Myers  <joseph@codesourcery.com>
45495             Paul Pluzhnikov  <ppluzhnikov@google.com>
45497         [BZ #14012]
45498         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45499         requiring rpcgen.
45500         [cross-compiling] (extra-libs): Likewise.
45501         [cross-compiling] (extra-libs-others): Likewise.
45502         [cross-compiling] (librpcsvc-routines): Likewise.
45503         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45504         [cross-compiling] (omit-deps): Likewise.
45505         (sunrpc-CPPFLAGS): New variable.
45506         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45507         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45508         (cross-rpcgen-objs): New variable.
45509         (extra-objs): Append $(cross-rpcgen-objs).
45510         ($(cross-rpcgen-objs)): New rule.
45511         ($(objpfx)cross-rpcgen): Likewise.
45512         (rpcgen-cmd): Define to use $(built-program-file).  Expand
45513         comment.
45514         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45515         ($(objpfx)x%.stmp): Likewise.
45516         * sunrpc/proto.h [IS_IN_build] (_): Define.
45517         [IS_IN_build] (_libc_intl_domainname): Likewise.
45519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45521         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45522         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45523         and R_X86_64_TPOFF64.
45525 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45527         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45528         sysdeps/unix/sysv/syscalls.list.
45529         (stime): Likewise.
45530         (utime): Likewise.
45531         * sysdeps/unix/sysv/syscalls.list: Remove file.
45533 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
45535         [BZ #3440]
45536         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45537         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45538         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45539         (__LC_IDENTIFICATION): Make these macros useful in #if
45540         expressions, as required by C99.
45542 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
45544         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45545         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
45546         after this.
45548 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
45550         * stdlib/longlong.h: Updated from GCC.
45552 2012-05-09  Andreas Jaeger  <aj@suse.de>
45554         * nscd/nscd.c (run_modes): Make named enum, reorder so that
45555         default is first entry.
45556         (run_mode): Set type.
45557         (main): Remove informal message about syslog.
45558         (options): Fix typo.
45560         [BZ #14053]
45561         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45562         to asm.
45563         (lrint): Likewise.
45564         (llrintf): Likewise.
45565         (llrint): Likewise.
45566         (rint): Likewise.
45567         (rintf): Likewise.
45568         (nearbyint): Likewise.
45569         (nearbyintf): Likewise.
45571 2012-05-09  Andreas Jaeger  <aj@suse.de>
45572             Pedro Alves  <palves@redhat.com>
45574         * nscd/nscd.c (run_mode): Use enum.
45575         (main): Cleanup coding style issue.
45577 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
45578             Andreas Jaeger  <aj@suse.de>
45580         * nscd/nscd.c (go_background): Replaced with...
45581         (run_mode): ... this.
45582         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45583         (options): Add -F --foreground.
45584         (main): Implement it.
45585         (parse_opt): Parse it.
45587 2012-05-09  Andreas Jaeger  <aj@suse.de>
45589         [BZ #14083]
45590         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45591         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45592         -Wconversion warning.
45593         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45594         Likewise.
45596 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
45598         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
45599         == 0.
45600         (LC_ALL): Use macro-int-constant.
45601         (LC_COLLATE): Likewise.
45602         (LC_CTYPE): Likewise.
45603         (LC_MESSAGES): Likewise.
45604         (LC_MONETARY): Likewise.
45605         (LC_NUMERIC): Likewise.
45606         (LC_TIME): Likewise.
45607         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45608         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45610         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45611         Specify type.
45612         [C99-based standards] (float_t): Expect type.
45613         [C99-based standards] (double_t): Expect type.
45614         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
45615         type.
45616         [C99-based standards] (HUGE_VALL): Likewise.
45617         [C99-based standards] (INFINITY): Likewise.
45618         [C99-based standards] (NAN): Likewise.
45619         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45620         [C99-based standards] (FP_NAN): Likewise.
45621         [C99-based standards] (FP_NORMAL): Likewise.
45622         [C99-based standards] (FP_SUBNORMAL): Likewise.
45623         [C99-based standards] (FP_ZERO): Likewise.
45624         [C99-based standards] (FP_FAST_FMA): Use
45625         optional-macro-int-constant.  Specify type.  Require == 1.
45626         [C99-based standards] (FP_FAST_FMAF): Likewise.
45627         [C99-based standards] (FP_FAST_FMAL): Likewise.
45628         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45629         [C99-based standards] (FP_ILOGBNAN): Likewise.
45630         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45631         Specify type.
45632         [C99-based standards] (MATH_ERREXCEPT): Likewise.
45633         [C99-based standards] (math_errhandling): Specify type.
45634         [ISO99 || ISO11] (signgam): Do not allow.
45635         [non-C99-based standards] (copysignf): Do not allow.
45636         [non-C99-based standards] (exp2f): Likewise.
45637         [non-C99-based standards] (log2f): Likewise.
45638         [non-C99-based standards] (modff): Allow.
45639         [non-C99-based standards] (erff): Do not allow.
45640         [non-C99-based standards] (erfcf): Likewise.
45641         [non-C99-based standards] (gammaf): Likewise.
45642         [non-C99-based standards] (hypotf): Likewise.
45643         [non-C99-based standards] (j0f): Likewise.
45644         [non-C99-based standards] (j1f): Likewise.
45645         [non-C99-based standards] (jnf): Likewise.
45646         [non-C99-based standards] (lgammaf): Likewise.
45647         [non-C99-based standards] (tgammaf): Likewise.
45648         [non-C99-based standards] (y0f): Likewise.
45649         [non-C99-based standards] (y1f): Likewise.
45650         [non-C99-based standards] (ynf): Likewise.
45651         [non-C99-based standards] (isnanf): Likewise.
45652         [non-C99-based standards] (acoshf): Likewise.
45653         [non-C99-based standards] (asinhf): Likewise.
45654         [non-C99-based standards] (atanhf): Likewise.
45655         [non-C99-based standards] (cbrtf): Likewise.
45656         [non-C99-based standards] (expm1f): Likewise.
45657         [non-C99-based standards] (ilogbf): Likewise.
45658         [non-C99-based standards] (log1pf): Likewise.
45659         [non-C99-based standards] (logbf): Likewise.
45660         [non-C99-based standards] (nextafterf): Likewise.
45661         [non-C99-based standards] (remainderf): Likewise.
45662         [non-C99-based standards] (rintf): Likewise.
45663         [non-C99-based standards] (scalbf): Likewise.
45664         [non-C99-based standards] (copysignl): Likewise.
45665         [non-C99-based standards] (exp2l): Likewise.
45666         [non-C99-based standards] (log2l): Likewise.
45667         [non-C99-based standards] (modfl): Allow.
45668         [non-C99-based standards] (erfl): Do not allow.
45669         [non-C99-based standards] (erfcl): Likewise.
45670         [non-C99-based standards] (gammal): Likewise.
45671         [non-C99-based standards] (hypotl): Likewise.
45672         [non-C99-based standards] (j0l): Likewise.
45673         [non-C99-based standards] (j1l): Likewise.
45674         [non-C99-based standards] (jnl): Likewise.
45675         [non-C99-based standards] (lgammal): Likewise.
45676         [non-C99-based standards] (tgammal): Likewise.
45677         [non-C99-based standards] (y0l): Likewise.
45678         [non-C99-based standards] (y1l): Likewise.
45679         [non-C99-based standards] (ynl): Likewise.
45680         [non-C99-based standards] (isnanl): Likewise.
45681         [non-C99-based standards] (acoshl): Likewise.
45682         [non-C99-based standards] (asinhl): Likewise.
45683         [non-C99-based standards] (atanhl): Likewise.
45684         [non-C99-based standards] (cbrtl): Likewise.
45685         [non-C99-based standards] (expm1l): Likewise.
45686         [non-C99-based standards] (ilogbl): Likewise.
45687         [non-C99-based standards] (log1pl): Likewise.
45688         [non-C99-based standards] (logbl): Likewise.
45689         [non-C99-based standards] (nextafterl): Likewise.
45690         [non-C99-based standards] (remainderl): Likewise.
45691         [non-C99-based standards] (rintl): Likewise.
45692         [non-C99-based standards] (scalbl): Likewise.
45693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45694         [non-C99-based standards] (FP_*): Do not allow.
45695         [C99-based standards] (FP_*): Change to
45696         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45697         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45698         allow.
45699         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45700         (SIG_ERR): Likewise.
45701         [X/Open-based standards] (SIG_HOLD): Likewise.
45702         (SIG_IGN): Likewise.
45703         (SIGABRT): Use macro-int-constant.  Specify type.  Require
45704         positive value.
45705         (SIGFPE): Likewise.
45706         (SIGILL): Likewise.
45707         (SIGINT): Likewise.
45708         (SIGSEGV): Likewise.
45709         (SIGTER): Likewise.
45710         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45711         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45712         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45713         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45714         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45715         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45716         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45717         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45718         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45719         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45720         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45721         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45722         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45723         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45724         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45725         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45726         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45727         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45728         [X/Open-based standards] (SIGTRAP): Likewise.
45729         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45730         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45731         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45732         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45733         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45734         allow.
45736 2012-05-08  Ian Wienand  <ianw@vmware.com>
45738         [BZ #14080]
45739         * time/tzset.c (__tzset_parse_tz): Update default rules for
45740         daylight time changes in the Energy Policy Act of 2005.
45742 2012-05-09  Andreas Jaeger  <aj@suse.de>
45744         [BZ #13983]
45745         * elf/ldconfig.c (parse_conf): Change string to make clear that
45746         ldconfig only issued a warning if ld.so.conf does not exist.
45748 2012-05-08  David S. Miller  <davem@davemloft.net>
45750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45751         movxtod instead of popping the value on the stack.
45753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45755 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
45757         * config.h.in: Add HAVE_ARM_PCS_VFP.
45759 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
45761         [BZ #13979]
45762         * include/features.h: Warn if user requests __FORTIFY_SOURCE
45763         checking but the checks are disabled for any reason.
45765 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
45767         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45768         and ELF64_R_TYPE with ELFW(R_TYPE).
45770 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
45772         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45773         (ulimit): Likewise.
45775         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45776         (settimeofday): Likewise.
45778 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
45780         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
45781         a struct th_u2 inside the union, and move tu_block/tu_code into
45782         a new th_u3 union of tu_block/tu_code inside of that.  Move
45783         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
45784         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
45785         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45786         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45787         (th_stuff): Change to th_u1.tu_stuff.
45788         (th_data): Define.
45789         (th_msg): Change to th_u1.th_u2.tu_data.
45791 2012-05-07  David S. Miller  <davem@davemloft.net>
45793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45795         [BZ #14074]
45796         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45797         (SETUP_PIC_REG): Use it.
45798         (SETUP_PIC_REG_LEAF): Use it.
45800 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
45802         [BZ #13885]
45803         [BZ #13923]
45804         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45805         USE_AS_EXPM1L.
45806         (EXPL_FINITE): Likewise.
45807         (FLDLOG): Likewise.
45808         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45809         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45810         e_expl.S.
45811         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45812         USE_AS_EXPM1L.
45813         (EXPL_FINITE): Likewise.
45814         (FLDLOG): Likewise.
45815         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45816         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45817         e_expl.S.
45818         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
45819         test of -max_value argument for long double.
45820         * sysdeps/i386/fpu/libm-test-ulps: Update.
45821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823 2012-05-06  David S. Miller  <davem@davemloft.net>
45825         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45826         quad soft-float symbols whose references which are compiler
45827         generated.
45828         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45830 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
45832         [BZ #13884]
45833         [BZ #13914]
45834         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45835         USE_AS_EXP10L.
45836         (EXPL_FINITE): Likewise.
45837         (FLDLOG): Likewise.
45838         (c0): Likewise.
45839         (c1): Likewise.
45840         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45841         Adjust comments for base varying.
45842         (__expl_finite): Change alias to EXPL_FINITE.
45843         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45844         e_expl.S.
45845         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45846         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45847         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45848         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45849         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45850         USE_AS_EXP10L.
45851         (EXPL_FINITE): Likewise.
45852         (FLDLOG): Likewise.
45853         (c0): Likewise.
45854         (c1): Likewise.
45855         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45856         Adjust comments for base varying.
45857         (__expl_finite): Change alias to EXPL_FINITE.
45858         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
45859         tests for bugs.
45860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45862         [BZ #14064]
45863         * math/libm-test.inc (check_float_internal): Correct ulp
45864         calculation for subnormal expected results.
45866 2012-05-06  Andreas Jaeger  <aj@suse.de>
45868         * Makeconfig (+math-flags): New, set to -frounding-math.
45869         (+cflags): Add +math-flags so that all of glibc gets compiled with
45870         it.
45872         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45874 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
45876         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45877         Disable one test.
45879         [BZ #13787]
45880         [BZ #13922]
45881         [BZ #14036]
45882         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45883         (__ieee754_expl): Allow for and saturate large arguments.
45884         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45885         (u_threshold): Likewise.
45886         (__exp): Call __ieee754_exp before checking for overflow and
45887         underflow.
45888         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45889         (u_threshold): Likewise.
45890         (__expf): Call __ieee754_expf before checking for overflow and
45891         underflow.
45892         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45893         (u_threshold): Likewise.
45894         (__expl): Call __ieee754_expl before checking for overflow and
45895         underflow.
45896         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45897         (__ieee754_expl): Allow for and saturate large arguments.
45898         * math/libm-test.inc (exp_test): Add another test.  Do not allow
45899         missing overflow exception on overflow.
45900         (expm1_test): Do not allow missing overflow exception on overflow.
45902         * sysdeps/i386/fpu/e_expl.c: Move to ...
45903         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
45904         rather than using inline asm.
45905         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45906         * sysdeps/x86_64/fpu/e_expl.S: Copy from
45907         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45909         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45910         (nice): Likewise.
45911         (poll): Likewise.
45912         (signal): Likewise.
45913         (time): Likewise.
45914         (times): Likewise.
45916 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45918         * sysdeps/unix/syscalls.list (adjtime): Add entry from
45919         sysdeps/unix/common/syscalls.list.
45920         (fchmod): Likewise.
45921         (fchown): Likewise.
45922         (ftruncate): Likewise.
45923         (getrusage): Likewise.
45924         (gettimeofday): Likewise.
45925         (setpgid): Likewise.
45926         (setregid): Likewise.
45927         (setreuid): Likewise.
45928         (sigaction): Likewise.
45929         (truncate): Likewise.
45930         (vhangup): Likewise.
45931         * sysdeps/unix/common/syscalls.list: Remove file.
45932         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45933         * sysdeps/unix/sysv/linux/Implies: Likewise.
45935 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45937         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45939         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45940         Moved to ...
45941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45942         Here.
45943         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45944         to ...
45945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45946         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45947         to ...
45948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45949         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45950         to ...
45951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45952         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45953         to ...
45954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45955         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45956         to ...
45957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45958         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45959         to ...
45960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45961         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45962         to ...
45963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45964         Here.
45965         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45966         to ...
45967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45968         Here.
45969         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45970         to ...
45971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45972         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45973         Moved to ...
45974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45975         Here.
45976         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45977         to ...
45978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45980 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45982         * sysdeps/unix/common/bits/dirent.h: Remove file.
45983         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45985         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45986         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45987         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45988         * sysdeps/unix/bsd/isatty.c: Likewise.
45989         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45990         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45991         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45993 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45995         [BZ #13563]
45996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45997         long double comparison inaccuracies.
45998         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46001 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
46003         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46004         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46006 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46008         [BZ #14049]
46009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46010         nonzero digits before rounding a hex value.
46011         * stdlib/tst-strtod.c (tests): Add another test.
46013 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46015         * sysdeps/s390/fpu/libm-test-ulps: Update.
46017 2012-05-03  Andreas Jaeger  <aj@suse.de>
46019         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46020         does not get optimized out.
46021         (malloc_opt_barrier): New.
46023 2012-05-03  Andreas Jaeger  <aj@suse.de>
46024             Roland McGrath  <roland@hack.frob.com>
46026         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46027         intermediate file deletion.
46028         (generated): Add .symlist files.
46030 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
46032         [BZ #13775]
46033         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46034         Redirect under this condition.
46035         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46036         [__USE_GNU] (__dprintf_chk): Not under this condition.
46037         [__USE_GNU] (__vdprintf_chk): Likewise.
46038         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46039         under this condition.
46040         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46041         [__USE_XOPEN2K8] (dprintf): Define under this condition.
46042         [__USE_XOPEN2K8] (vdprintf): Likewise.
46043         [__USE_GNU] (__dprintf_chk): Not under this condition.
46044         [__USE_GNU] (__vdprintf_chk): Likewise.
46045         [__USE_GNU] (dprintf): Likewise.
46046         [__USE_GNU] (vdprintf): Likewise.
46048 2012-05-03  Roland McGrath  <roland@hack.frob.com>
46050         * elf/Makefile (common-generated): Set this instead of generated for
46051         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
46052         $(all-built-dso)-derived lists.
46054 2012-05-03  Andreas Jaeger  <aj@suse.de>
46056         * sysdeps/i386/fpu/libm-test-ulps: Update.
46058         * FAQ: Removed.
46059         * FAQ.in: Likewise.
46060         * scripts/gen-FAQ.pl: Likewise.
46061         * manual/install.texi (Installation): Point to online location of
46062         FAQ.
46063         * Makefile (files-for-dist): Remove FAQ.
46064         (FAQ): Remove.
46066 2012-05-02  Allan McRae  <allan@archlinux.org>
46068         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46069         (LDFLAGS-reldepmod5.so): Likewise.
46070         (LDFLAGS-reldep6mod1.so): Likewise.
46071         (LDFLAGS-reldep6mod4.so): Likewise.
46072         (LDFLAGS-reldep8mod3.so): Likewise.
46073         (LDFLAGS-unload4mod1.so): Likewise.
46074         (LDFLAGS-unload4mod2.so): Likewise.
46075         (LDFLAGS-tst-initorder): Likewise.
46076         (LDFLAGS-tst-initordera2.so): Likewise.
46077         (LDFLAGS-tst-initordera3.so): Likewise.
46078         (LDFLAGS-tst-initordera4.so): Likewise.
46079         (LDFLAGS-tst-initorderb2.so): Likewise.
46080         (LDFLAGS-noload): Likewise.
46081         (LDFLAGS-next): Likewise.
46082         (LDFLAGS-order2mod1.so): Likewise.
46083         (LDFLAGS-order2mod2.so): Likewise.
46084         (LDFLAGS-tst-initorder2): Likewise.
46085         (LDFLAGS-tst-initorder2a.so): Likewise.
46086         (LDFLAGS-tst-initorder2b.so): Likewise.
46087         (LDFLAGS-tst-initorder2c.so): Likewise.
46088         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46090 2012-05-02  David S. Miller  <davem@davemloft.net>
46092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46094 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
46096         [BZ #14055]
46097         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46099 2012-05-02  Andreas Jaeger  <aj@suse.de>
46101         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46102         since we manipulate rounding mode.
46103         (CPPFLAGS-test-idouble.c): Likewise.
46104         (CPPFLAGS-test-ifloat.c): Likewise.
46105         (CFLAGS-test-ldouble.c): Likewise.
46106         (CFLAGS-test-double.c): Likewise.
46107         (CFLAGS-test-float.c): Likewise.
46108         (CFLAGS-test-misc.c): Likewise.
46109         (CFLAGS-test-test-fenv.c): Likewise.
46111 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46113         [BZ #2550]
46114         [BZ #2570]
46115         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46116         comparisons to determine direction to adjust input.
46118 2012-05-01  Roland McGrath  <roland@hack.frob.com>
46120         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46121         output to the target.
46123         * scripts/localplt.awk: New file.
46124         * elf/Makefile ($(objpfx)check-localplt): Target removed.
46125         (check-localplt-CFLAGS): Variable removed.
46126         ($(all-built-dso:=.jmprel)): New static pattern rule.
46127         (generated): Add those targets.
46128         (localplt-built-dso): New variable.
46129         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46131         * elf/check-localplt.c: File removed.
46133         * scripts/check-execstack.awk: New file.
46134         * elf/Makefile ($(objpfx)check-execstack): Target removed.
46135         (check-execstack-CFLAGS): Variable removed.
46136         ($(objpfx)check-execstack.h): Target removed.
46137         ($(objpfx)execstack-default): New target.
46138         (generated): Add that instead of check-execstack.h.
46139         ($(all-built-dso:=.phdr)): New static pattern rule.
46140         (generated): Add those targets.
46141         * elf/check-execstack.c: File removed.
46143         * scripts/check-textrel.awk: New file.
46144         * elf/Makefile ($(objpfx)check-textrel): Target removed.
46145         (check-textrel-CFLAGS): Variable removed.
46146         (all-built-dso): Use := to define.o
46147         ($(all-built-dso:=.dyn)): New static pattern rule.
46148         (generated): Add those targets.
46149         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46150         * config.make.in (READELF): New substituted variable.
46151         * elf/check-textrel.c: File removed.
46153 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46155         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46156         allow.
46157         * conform/data/ctype.h-data [C99-based standards] (isblank):
46158         Expect function.
46159         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46160         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46161         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46162         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46163         Specify type.  Require positive value.
46164         (EILSEQ): Likewise.
46165         (ERANGE): Likewise.
46166         [ISO || POSIX] (EILSEQ): Do not expect.
46167         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46168         Specify type.  Require positive value.
46169         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46170         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46171         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46172         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46173         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46174         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46175         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46176         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46177         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46178         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46179         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46180         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46181         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46182         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46183         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46184         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46185         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46186         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46187         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46188         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46189         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46190         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46191         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46192         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46193         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46194         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46195         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46196         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46197         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46198         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46199         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46200         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46201         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46202         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46203         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46204         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46205         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46206         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46207         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46208         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46209         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46210         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46211         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46212         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46213         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46214         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46215         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46216         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46217         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46218         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46219         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46220         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46221         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46222         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46223         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46224         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46225         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46226         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46227         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46228         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46229         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46230         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46231         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46232         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46233         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46234         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46235         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46236         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46237         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46238         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46239         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46240         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46241         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46242         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46243         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46244         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46245         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46246         Require >= 2.
46247         (FLT_ROUNDS): Expect as macro, not constant.
46248         (FLT_MANT_DIG): Use macro-int-constant.
46249         (DBL_MANT_DIG): Likewise.
46250         (LDBL_MANT_DIG): Likewise.
46251         (FLT_DIG): Likewise.
46252         (DBL_DIG): Likewise.
46253         (LDBL_DIG): Likewise.
46254         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
46255         (DBL_MIN_EXP): Likewise.
46256         (LDBL_MIN_EXP): Likewise.
46257         (FLT_MAX_EXP): Use macro-int-constant.
46258         (DBL_MAX_EXP): Likewise.
46259         (LDBL_MAX_EXP): Likewise.
46260         (FLT_MAX_10_EXP): Likewise.
46261         (DBL_MAX_10_EXP): Likewise.
46262         (LDBL_MAX_10_EXP): Likewise.
46263         (FLT_MAX): Use macro-constant.
46264         (DBL_MAX): Likewise.
46265         (LDBL_MAX): Likewise.
46266         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46267         (DBL_EPSILON): Likewise.
46268         (LDBL_EPSILON): Likewise.
46269         (FLT_MIN): Likewise.
46270         (DBL_MIN): Likewise.
46271         (LDBL_MIN): Likewise.
46272         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46273         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46274         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46275         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46276         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46277         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46278         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46279         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46280         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46281         [ISO11] (FLT_TRUE_MIN): Likewise.
46282         [ISO11] (LDBL_TRUE_MIN): Likewise.
46283         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46284         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46285         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46286         (SCHAR_MAX): Likewise.
46287         (UCHAR_MAX): Likewise.
46288         (CHAR_MIN): Likewise.
46289         (CHAR_MAX): Likewise.
46290         (MB_LEN_MAX): Use macro-int-constant.
46291         (SHRT_MIN): Use macro-int-constant.  Specify type.
46292         (SHRT_MAX): Likewise.
46293         (USHRT_MAX): Likewise.
46294         (INT_MAX): Likewise.
46295         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46296         bound negative.
46297         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46298         bound with "U".
46299         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46300         bound with "L".
46301         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46302         bound negative.  Suffix upper bound with "L".
46303         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46304         bound with "UL".
46305         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46306         Specify type.
46307         [C99-based standards] (LLONG_MAX): Likewise.
46308         [C99-based standards] (ULLONG_MAX): Likewise.
46309         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
46310         == 0.
46311         [ISO11] (max_align_t): Require type.
46312         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46314         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46315         from $CFLAGS, without defining away __attribute__ calls.
46316         (checknamespace): Use $CFLAGS_namespace.
46318         * conform/conformtest.pl (@keywords): Only include C99 keywords
46319         for standards based on C99 or C11.
46321         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46322         Disable tests.
46323         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46324         UNIX98]: Likewise.
46326         * conform/conformtest.pl: Handle "macro-int-constant" and test for
46327         usability of symbols in #if.
46329         * conform/conformtest.pl: If macro or constant types start
46330         "promoted:", expect the symbol to be of the following type
46331         promoted by the integer promotions.
46333         * conform/conformtest.pl: Parse all "constant" and "macro" lines
46334         in one place.  Also handle "macro-constant".
46336         * conform/conformtest.pl: Only accept expected macro values with
46337         "==".  Parse all "macro" lines in one place.
46338         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46340         * conform/conformtest.pl: Handle braced types on "constant" lines
46341         instead of handling "typed-constant".
46342         * conform/data/signal.h-data: Use "constant" instead of
46343         "typed-constant".
46345         * conform/conformtest.pl: Handle "optional-" at start of lines in
46346         one place rather than duplicating several cases.  Handle each
46347         format of "macro" line with initial "optional-".
46349         * conform/conformtest.pl: Only accept expected constant or
46350         optional-constant values with "==".  Parse all "constant" lines in
46351         one place.  Parse all "optional-constant" lines in one place.
46352         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46353         * conform/data/fmtmsg.h-data: Likewise.
46354         * conform/data/netinet/in.h-data: Likewise.
46355         * conform/data/tar.h-data: Likewise.
46356         * conform/data/limits.h-data: Use "==" form on "constant" and
46357         "optional-constant" lines.
46359         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46360         Use -std=c99 for XOPEN2K.
46361         (@knownproblems): Remove.
46362         (newtoken): Don't check %isknown.
46364         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46365         Do not expect macro.
46366         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46367         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46368         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46369         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46370         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46371         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46372         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46373         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46374         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46375         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46376         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46377         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46378         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46379         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46380         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46381         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46382         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46383         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46384         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46385         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46386         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46387         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46388         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46389         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46390         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46391         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46392         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46393         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46394         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46395         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46396         [XPG3] (acosh): Likewise.
46397         [XPG3] (asinh): Likewise.
46398         [XPG3] (atanh): Likewise.
46399         [XPG3] (cbrt): Likewise.
46400         [XPG3] (expm1): Likewise.
46401         [XPG3] (ilogb): Likewise.
46402         [XPG3] (log1p): Likewise.
46403         [XPG3] (logb): Likewise.
46404         [XPG3] (nextafter): Likewise.
46405         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46406         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46407         [XPG3] (remainder): Likewise.
46408         [XPG3] (rint): Likewise.
46409         [XPG3 || XPG4 || UNIX98] (round): Likewise.
46410         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46411         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46412         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46413         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46414         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46415         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46416         [UNIX98 || XOPEN2K] (scalb): Expect.
46417         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46418         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46419         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46420         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46421         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46422         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46423         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46424         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46425         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46426         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46427         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46428         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46429         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46430         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46431         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46432         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46433         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46434         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46435         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46436         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46437         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46438         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46439         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46440         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46441         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46442         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46443         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46444         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46445         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46446         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46447         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46448         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46449         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46450         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46451         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46452         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46453         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46454         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46455         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46456         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46457         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46458         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46459         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46460         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46461         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46462         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46463         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46464         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46465         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46466         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46467         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46468         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46469         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46470         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46471         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46472         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46473         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46474         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46475         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46476         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46477         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46478         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46479         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46480         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46481         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46482         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46483         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46484         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46485         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46486         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46487         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46488         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46489         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46490         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46491         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46492         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46493         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46494         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46495         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46496         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46497         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46498         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46499         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46500         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46501         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46502         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46503         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46504         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46505         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46506         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46507         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46508         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46509         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46510         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46511         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46512         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46513         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46514         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46515         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46516         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46517         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46518         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46519         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46520         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46521         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46522         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46523         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46524         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46525         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46526         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46527         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46528         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46529         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46530         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46531         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46532         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46533         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46534         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46535         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46536         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46537         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46538         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46539         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46540         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46541         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46542         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46543         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46544         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46545         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46546         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46547         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46548         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46549         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46550         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46551         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46552         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46553         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46555         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46556         _XOPEN_SOURCE_EXTENDED for XPG4.
46558         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46560         * Makeconfig (localtime): Remove variable.
46561         (inst_localtime-file): Likewise.
46563 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46566         Update.
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46568         Update.
46569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46570         Update.
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46572         Update.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46574         Update.
46575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46576         Update.
46577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46578         Update.
46579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46580         Update.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46582         Update.
46584 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46586         [BZ #2550]
46587         [BZ #2570]
46588         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46589         comparisons to determine direction to adjust input.
46590         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46591         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46592         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46593         Likewise.
46594         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46595         Likewise.
46596         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46597         Likewise.
46598         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46599         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46600         Likewise.
46601         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46602         Likewise.
46603         * math/libm-test.inc (nexttoward_test): Add more tests.
46605 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46607         [BZ #14040]
46608         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46609         in version GLIBC_2.1, not GLIBC_2.0.
46610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46611         Likewise.
46613 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
46615         [BZ #13942]
46616         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46617         (1 - x) * (1 + x).
46618         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46619         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46620         * math/libm-test.inc (acos_test): Add more tests.
46621         (asin_test): Likewise.
46622         * sysdeps/i386/fpu/libm-test-ulps: Update.
46623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46625         [BZ #14034]
46626         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46627         of square root.
46628         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46629         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46630         * math/libm-test.inc (acos_test_tonearest): New function.
46631         (acos_test_towardzero): Likewise.
46632         (acos_test_downward): Likewise.
46633         (acos_test_upward): Likewise.
46634         (asin_test_tonearest): Likewise.
46635         (asin_test_towardzero): Likewise.
46636         (asin_test_downward): Likewise.
46637         (asin_test_upward): Likewise.
46638         (main): Call the new functions.
46639         * sysdeps/i386/fpu/libm-test-ulps: Update.
46640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46642         [BZ #13884]
46643         [BZ #13924]
46644         * math/e_exp10.c: Include <float.h>.
46645         (__ieee754_exp10): Handle underflow here rather than multiplying
46646         large negative argument by M_LN10.
46647         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46648         of __ieee754_expf.
46649         * math/e_exp10l.c: Include <float.h>.
46650         (__ieee754_exp10l): Handle underflow here rather than multiplying
46651         large negative argument by M_LN10l.
46652         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
46653         spurious overflow exception on underflow.
46655 2012-04-29  Marek Polacek  <polacek@redhat.com>
46657         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46658         (__fortify_function): New macro.
46659         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46660         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46661         __extern_always_inline.
46662         * libio/bits/stdio2.h: Likewise.
46663         * libio/bits/stdio.h: Likewise.
46664         * string/string.h: Likewise.
46665         * string/bits/string3.h: Likewise.
46666         * include/stdio.h: Likewise.
46667         * stdlib/bits/stdlib.h: Likewise.
46668         * stdlib/stdlib.h: Likewise.
46669         * rt/bits/mqueue2.h: Likewise.
46670         * rt/mqueue.h: Likewise.
46671         * posix/bits/unistd.h: Likewise.
46672         * posix/unistd.h: Likewise.
46673         * io/bits/poll2.h: Likewise.
46674         * io/bits/fcntl2.h: Likewise.
46675         * io/fcntl.h: Likewise.
46676         * io/sys/poll.h: Likewise.
46677         * misc/bits/syslog.h: Likewise.
46678         * misc/bits/syslog-ldbl.h: Likewise.
46679         * misc/sys/syslog.h: Likewise.
46680         * socket/bits/socket2.h: Likewise.
46681         * socket/sys/socket.h: Likewise.
46682         * debug/tst-chk1.c: Likewise.
46683         * wcsmbs/bits/wchar2.h: Likewise.
46684         * wcsmbs/bits/wchar-ldbl.h: Likewise.
46685         * wcsmbs/wchar.h: Likewise.
46687 2012-04-29  Andreas Jaeger  <aj@suse.de>
46689         * Makerules (tests): Remove enable-check-abi protection.
46690         (check-abi-warn): Remove.
46691         (check-abi-%): Remove check-abi-warn usage.
46693         * configure.in: Remove check-abi configure option.
46694         * configure: Regenerated.
46695         * config.make.in (enable-check-abi): Remove.
46697 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
46699         [BZ #14033]
46700         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46701         double functions to double *_finite functions.
46703         [BZ #13941]
46704         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46705         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46706         LDBL_MIN_EXP.
46707         * stdio-common/Makefile (tests): Add tst-sprintf3.
46708         * stdio-common/tst-sprintf3.c: New file.
46710         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46711         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46713 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46715         * conform/conformtest.pl: Remove duplicate typed-constant
46716         handling.
46718 2012-04-28  David S. Miller  <davem@davemloft.net>
46720         * Makerules (%.abilist): Add vpath on sysdep_dirs.
46721         (check-abi-%): Remove AWK script prerequisite and explicit
46722         abilist directory.
46723         (check-abi): Rewrite to just diff the symlist with the abilist.
46724         (config-tls, config-abi-config): Delete, no longer used.
46725         (update-abi-%): Remove AWK script and explicit abilist directory.
46726         (update-abi): Rewrite to simply compare and conditionally copy the
46727         symlist and the sysdep abilist file.  Remove update-abi-config
46728         checks.
46729         * abilist/ld.abilist: Remove.
46730         * abilist/libBrokenLocale.abilist: Remove.
46731         * abilist/libanl.abilist: Remove.
46732         * abilist/libcrypt.abilist: Remove.
46733         * abilist/libdl.abilist: Remove.
46734         * abilist/librt.abilist: Remove.
46735         * abilist/libthread_db.abilist: Remove.
46736         * abilist/libutil.abilist: Remove.
46737         * scripts/extract-abilist.awk: Remove.
46738         * scripts/merge-abilist.awk: Remove.
46739         * sysdeps/generic/libcidn.abilist: New file.
46740         * sysdeps/generic/libnss_compat.abilist: New file.
46741         * sysdeps/generic/libnss_db.abilist: New file.
46742         * sysdeps/generic/libnss_dns.abilist: New file.
46743         * sysdeps/generic/libnss_files.abilist: New file.
46744         * sysdeps/generic/libnss_hesiod.abilist: New file.
46745         * sysdeps/generic/libnss_nis.abilist: New file.
46746         * sysdeps/generic/libnss_nisplus.abilist: New file.
46747         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46748         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46749         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46750         file.
46751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46752         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46753         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46754         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46755         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46756         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46757         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46758         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46759         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46760         file.
46761         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46762         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46763         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46764         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46765         file.
46766         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46767         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46768         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46769         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46770         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46771         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46772         file.
46773         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46774         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46775         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46776         file.
46777         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46779         New file.
46780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46781         New file.
46782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46783         New file.
46784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46785         New file.
46786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46787         New file.
46788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46789         New file.
46790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46791         New file.
46792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46793         New file.
46794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46795         New file.
46796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46797         New file.
46798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46799         New file.
46800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46801         New file.
46802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46803         New file.
46804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46805         file.
46806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46807         New file.
46808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46809         New file.
46810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46811         file.
46812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46813         New file.
46814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46815         New file.
46816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46817         file.
46818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46819         New file.
46820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46821         New file.
46822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46823         New file.
46824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46825         New file.
46826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46827         New file.
46828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46829         New file.
46830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46832         file.
46833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46834         New file.
46835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46836         file.
46837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46838         file.
46839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46840         file.
46841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46842         file.
46843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46844         file.
46845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46846         New file.
46847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46848         file.
46849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46850         file.
46851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46852         New file.
46853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46854         file.
46855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46857         file.
46858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46859         New file.
46860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46861         file.
46862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46863         file.
46864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46865         file.
46866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46867         file.
46868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46869         file.
46870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46871         New file.
46872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46873         file.
46874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46875         file.
46876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46877         New file.
46878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46879         file.
46880         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46881         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46882         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46883         file.
46884         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46885         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46886         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46887         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46888         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46889         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46890         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46891         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46892         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46893         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46896         file.
46897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46898         New file.
46899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46900         file.
46901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46902         file.
46903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46904         file.
46905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46906         file.
46907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46908         file.
46909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46910         New file.
46911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46912         New file.
46913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46914         file.
46915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46916         New file.
46917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46918         file.
46919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46921         file.
46922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46923         New file.
46924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46925         file.
46926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46927         file.
46928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46929         file.
46930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46931         file.
46932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46933         file.
46934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46935         New file.
46936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46937         New file.
46938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46939         file.
46940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46941         New file.
46942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46943         file.
46945 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46947         * conform/conformtest.pl: Fix typo in handling typed-constant from
46948         allow-header.
46950 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46952         * README: Cut down references to pre-2.6 Linux kernels and
46953         Linuxthreads.  Update lists of configurations in libc and ports
46954         and sort alphabetically.  Say "or newer" with Linux kernel version
46955         requirements.
46957         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46959 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46961         [BZ #887]
46962         * math/libm-test.inc (logb_test_downward): New test to expose
46963         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46964         rounding mode.
46966 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46968         [BZ #14027]
46969         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46970         to be done.
46971         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46972         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46974 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46976         * sysdeps/unix/i386/brk.S: Remove file.
46977         * sysdeps/unix/i386/dl-brk.S: Likewise.
46978         * sysdeps/unix/i386/pipe.S: Likewise.
46979         * sysdeps/unix/i386/sigreturn.S: Likewise.
46980         * sysdeps/unix/i386/syscall.S: Likewise.
46981         * sysdeps/unix/i386/vfork.S: Likewise.
46982         * sysdeps/unix/i386/wait.S: Likewise.
46984         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46985         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46987         * configure.in (arm*-none*): Do not allow without
46988         --enable-hacker-mode.
46989         (netbsd*): Remove case setting base_os.
46990         (386bsd*): Likewise.
46991         (freebsd*): Likewise.
46992         (bsdi*): Likewise.
46993         (osf*): Likewise.
46994         (sunos*): Likewise.
46995         (ultrix*): Likewise.
46996         (newsos*): Likewise.
46997         (dynix*): Likewise.
46998         (*bsd*): Likewise.
46999         (sysv*): Likewise.
47000         (isc*): Likewise.
47001         (esix*): Likewise.
47002         (sco*): Likewise.
47003         (minix*): Likewise.
47004         (irix4*): Likewise.
47005         (irix6*): Likewise.
47006         (solaris[2-9]*): Likewise.
47007         (none): Likewise.
47008         * configure: Regenerated.
47010 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47012         [BZ #11521]
47013         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47014         overflow or cancellation in calculating denominator.
47015         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47017         down expression to avoid unexpected rounding in newer GCCs.
47018         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47020 2012-04-26  David S. Miller  <davem@davemloft.net>
47022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47023         long-double compat symbols.
47024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47038 2012-04-25  David S. Miller  <davem@davemloft.net>
47040         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47041         HWCAP_* values only after the memory barriers have been defined.
47042         (atomic_full_barrier): Define.
47043         (atomic_read_barrier): Define.
47044         (atomic_write_barrier): Define.
47046 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47048         * shlib-versions: Add libgcc_s version information.
47049         * sysdeps/generic/libgcc_s.h: Remove.
47050         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47051         libgcc_s.h.
47052         * sysdeps/gnu/unwind-resume.c: Likewise.
47053         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47055 2012-04-25  David S. Miller  <davem@davemloft.net>
47057         * sysdeps/unix/sparc/brk.S: Delete.
47058         * sysdeps/unix/sparc/dl-brk.S: Delete.
47059         * sysdeps/unix/sparc/pipe.S: Delete.
47060         * sysdeps/unix/sparc/sysdep.S: Delete.
47061         * sysdeps/unix/sparc/sysdep.h: Delete.
47062         * sysdeps/unix/sparc/vfork.S: Delete.
47063         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47064         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47065         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47066         (ret_ERRVAL, r0, r1, MOVE): Define.
47067         (JUMPTARGET): Remove.
47068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47069         sysdeps/unix/sparc/sysdep.h
47070         (ENTRY, END): Remove.
47071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47073 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
47075         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47076         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47077         -DIS_IN_build.
47079         * timezone/README: Update upstream location and email address for
47080         tzcode and tzdata.
47081         * timezone/zdump.c: Update from tzcode 2012b.
47082         * timezone/zic.c: Likewise.
47084         * configure.in (libc_cv_as_needed): Remove test.
47085         * configure: Regenerated.
47086         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47087         conditional definition.
47088         [$(have-as-needed) != yes] (no-as-needed): Likewise.
47089         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47090         * config.make.in (have-as-needed): Remove variable.
47092 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47093             Paul Pluzhnikov  <ppluzhnikov@google.com>
47095         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47096         strings correctly.
47098 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
47100         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47101         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47102         * sysdeps/sh/strlen.S: Likewise.
47104 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47106         * sysdeps/unix/fork.S: Remove file.
47107         * sysdeps/unix/i386/fork.S: Likewise.
47108         * sysdeps/unix/sparc/fork.S: Likewise.
47110         * sysdeps/unix/system.c: Remove file.
47111         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47113         * sysdeps/unix/getegid.S: Remove file.
47114         * sysdeps/unix/geteuid.S: Likewise.
47116 2012-04-24  Roland McGrath  <roland@hack.frob.com>
47118         * scripts/check-localplt.awk: New file.
47119         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47120         of diff.
47121         * scripts/data/localplt-generic.data: Add a comment.
47123         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47124         NODE when __dir_mkfile failed.
47125         * sysdeps/mach/hurd/symlinkat.c: Likewise.
47126         Reported by Ludovic Courtès <ludo@gnu.org>.
47128 2012-04-24  Andreas Jaeger  <aj@suse.de>
47130         * Makerules (common-clean): Also remove gen-as-const-headers
47131         files.
47133 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47135         * Makerules (native-compile): Do not change working directory for
47136         build.  Use $(OUTPUT_OPTION) in command.
47137         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47139 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47141         [BZ #13886]
47142         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47143         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47144         * math/libm-test.inc (floor_test): Add more tests.
47145         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47147 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47149         * sysdeps/unix/getdents.c: Remove file.
47150         * sysdeps/unix/sysv/getdents.c: Likewise.
47151         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47153         * sysdeps/unix/syscalls.list (madvise): Add syscall from
47154         sysdeps/unix/mman/syscalls.list.
47155         (mmap): Likewise.
47156         (mprotect): Likewise.
47157         (msync): Likewise.
47158         (munmap): Likewise.
47159         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47160         * sysdeps/unix/mman/syscalls.list: Remove.
47161         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47163         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47164         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47165         * configure: Regenerated.
47166         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47167         $(libgcc_s_suffix).
47168         * config.make.in (libgcc_s_suffix): Remove variable.
47170 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
47172         * sysdeps/unix/sysv/gethostname.c: Move to ...
47173         * sysdeps/posix/gethostname.c: ... here.
47175         * sysdeps/unix/execve.S: Remove file.
47177         * sysdeps/unix/_exit.S: Remove file.
47179 2012-04-23  Andreas Jaeger  <aj@suse.de>
47181         [BZ #13739]
47182         * manual/Makefile: Remove make dist support, there's no
47183         need for a stand-alone documentation tar ball.
47184         (TEXI2DVI): Define always, it's not in Makeconfig.
47185         (dist): Removed.
47186         (tar-it): Removed.
47187         (edition): Removed.
47188         (glibc-doc-$(edition).tar): Removed
47189         (%.Z): Removed.
47190         (%.gz): Removed.
47191         (%.uu): Removed.
47192         (ETAGS): Remove, it's in Makeconfig.
47193         (move-if-change): Remove, it's in Makeconfig.
47195 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
47197         [BZ #13970]
47198         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47199         (strtod, strtof, strtold, strtol, strtoul, strtoq)
47200         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47201         (strtod_l, strtof_l, strtold_l): Remove __wur.
47202         It is not necessarily an error to ignore strtol's return value.
47203         One can reliably look at the stored endptr to decide whether
47204         the number had valid syntax.
47206 2012-04-21  Andreas Jaeger  <aj@suse.de>
47208         [BZ #13739]
47209         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47211 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
47213         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47214         * sysdeps/unix/sysv/Versions: Remove file.
47216 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
47218         [BZ #13927]
47219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47221 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
47223         [BZ #7064]
47224         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47225         version from __vm86.
47227 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
47229         * sysdeps/unix/common/lxstat.c: Remove file.
47230         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47232         * sysdeps/unix/sysv/Makefile: Remove file.
47234         * sysdeps/unix/sysv/direct.h: Remove file.
47236         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47237         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47238         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47239         * sysdeps/unix/sysv/bits/signum.h: Likewise.
47240         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47241         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47242         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47244         * sysdeps/unix/sysv/setrlimit.c: Remove file.
47246         * sysdeps/unix/xmknod.c: Remove file.
47247         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47249         * sysdeps/unix/sysv/settimeofday.c: Remove file.
47251         * sysdeps/unix/sysv/i386/time.S: Remove file.
47253         * sysdeps/unix/fxstat.c: Remove file.
47254         * sysdeps/unix/xstat.c: Likewise.
47255         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47257         * sysdeps/unix/sysv/sigaction.c: Remove file.
47259         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47260         (sysdep_headers): Remove variable.
47261         [termio.h not in sysdep_headers] (generated): Likewise.
47262         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47263         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47264         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47265         * sysdeps/unix/sysv/tcflow.c: Likewise.
47266         * sysdeps/unix/sysv/tcflush.c: Likewise.
47267         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47268         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47269         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47270         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47271         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47273         * sysdeps/unix/siglist.c: Remove file.
47275         * sysdeps/unix/getppid.S: Remove file.
47277         * sysdeps/unix/mkdir.c: Remove file.
47278         * sysdeps/unix/rmdir.c: Likewise.
47280 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47282         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47283         ERR_MAX value.
47284         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47285         errlist-compat value.
47287 2012-04-18  David S. Miller  <davem@davemloft.net>
47289         * sysdeps/generic/memcopy.h (reg_char): Delete.
47290         * debug/strcat_chk.c: Use char, not reg_char.
47291         * debug/strcpy_chk.c: Likewise.
47292         * debug/strncat_chk.c: Likewise.
47293         * debug/strncpy_chk.c: Likewise.
47294         * string/memchr.c: Likewise.
47295         * string/memrchr.c: Likewise.
47296         * string/rawmemchr.c: Likewise.
47297         * string/strcat.c: Likewise.
47298         * string/strchr.c: Likewise.
47299         * string/strchrnul.c: Likewise.
47300         * string/strcmp.c: Likewise.
47301         * string/strcpy.c: Likewise.
47302         * string/strncat.c: Likewise.
47303         * string/strncmp.c: Likewise.
47304         * string/strncpy.c: Likewise.
47306 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47308         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47309         __builtin_memcopy is called when src and dest ranges are known to not
47310         overlap.
47312 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47314         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47315         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47316         fwd_align_merge macro call.
47317         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47318         bwd_align_merge macro call.
47319         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47321 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47323         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47324         bwd_align_merge macros.
47325         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47326         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47329 2012-04-18  David S. Miller  <davem@davemloft.net>
47331         * sysdeps/sparc/sparc64/memcopy.h: Delete.
47333 2012-04-18  Andreas Jaeger  <aj@suse.de>
47335         [BZ# 6794]
47336         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47337         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47338         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47340         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47341         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47342         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47344         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47345         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47346         Adjust for changed ldbl-128 files.
47348         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47349         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47352 2012-04-17  David S. Miller  <davem@davemloft.net>
47354         * sysdeps/sparc/sparc32/memcopy.h: Delete.
47356 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
47358         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47359         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47360         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47361         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47362         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47363         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47365 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47367         [BZ #6794]
47368         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47369         * math/libm-test.inc: Add ilogb errno and exception tests.
47370         * math/w_ilogb.c: New file: ilogb wrapper.
47371         * math/w_ilogbf.c: New file: ilogbf wrapper.
47372         * math/w_ilogbl.c: New file: ilogbl wrapper.
47373         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47374         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47375         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47376         exception being thrown with 0.0 as argument.
47377         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47378         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47379         exception being thrown with 0.0 as argument.
47380         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47381         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47382         exception being thrown with 0.0 as argument.
47383         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47384         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47385         exception being thrown with 0.0 as argument.
47386         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47387         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47388         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47389         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47390         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47391         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47392         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47393         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47394         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47396 2012-04-17  Petr Baudis  <pasky@ucw.cz>
47398         * include/sys/uio.h: Change __vector to __iovec to avoid clash
47399         with altivec.
47401 2012-04-16  Marek Polacek  <polacek@redhat.com>
47403         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47405 2012-04-16  Marek Polacek  <polacek@redhat.com>
47407         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47408         operands of fdivp instruction.
47410 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47412         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47413         * elf/tst-auditmod3b.c: Likewise.
47414         * elf/tst-auditmod4b.c: Likewise.
47415         * elf/tst-auditmod5b.c: Likewise.
47416         * elf/tst-auditmod6b.c: Likewise.
47417         * elf/tst-auditmod6c.c: Likewise.
47418         * elf/tst-auditmod7b.c: Likewise.
47419         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47420         * sysdeps/x86_64/preconfigure.in: Likewise.
47421         * sysdeps/x86_64/preconfigure: Regenerated.
47423 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47425         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47426         __ILP32__.
47428 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
47430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47431         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47433 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
47435         [BZ #13973]
47436         * locale/iso-639.def: Fix gl language name. Spotted by
47437         Yaron Shahrabani.
47439 2012-04-12  Roland McGrath  <roland@hack.frob.com>
47441         [BZ #2074]
47442         * libio/libio.h (__io_write_fn): Update comment.
47444 2012-04-12  Petr Baudis  <pasky@ucw.cz>
47446         [BZ #2074]
47447         * stdio.texi (Hook Functions): The user provided writer function
47448         is not allowed to return -1.
47450 2012-04-11  David S. Miller  <davem@davemloft.net>
47452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47454 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
47456         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47457         Add a leading slash to rtkaio.
47459 2012-04-11  Jim Meyering  <meyering@redhat.com>
47461         [BZ #11959]
47462         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47463         It is not necessarily an error to ignore fwrite's return
47464         value.  One can reliably use ferror to test for errors after
47465         the fact.
47467 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47469         * bits/types.h (__snseconds_t): New type.
47470         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47472         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47474         (__SNSECONDS_T_TYPE): Likewise.
47475         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47476         (__SNSECONDS_T_TYPE): Likewise.
47477         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47478         (__SNSECONDS_T_TYPE): Likewise.
47480 2012-04-10  Andreas Jaeger  <aj@suse.de>
47482         [BZ #2636]
47483         * manual/time.texi (Processor Time): Return type of times is
47484         elapsed real time since an arbitrary point in the past.
47485         (CPU Time): Move CLK_TCK from here...
47486         (Processor Time): ...to here.  Correct description.
47487         * manual/conf.texi (Constants for Sysconf): Correct description of
47488         _SC_CLK_TCK.
47490 2012-04-10  David S. Miller  <davem@davemloft.net>
47492         [BZ #13967]
47493         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47494         where the is a gap between DT_REL(A) and DT_JMPREL.
47496 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47498         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47499         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47500         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47502 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47504         * elf/dl-support.c (_dl_inhibit_cache): New variable.
47505         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47506         (dl_main): Handle --inhibit-cache.
47507         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47508         _dl_inhibit_cache.
47509         * elf/dl-load.c (_dl_map_object): Use it.
47510         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47512 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47514         [BZ #13872]
47515         * sysdeps/i386/fpu/e_powl.S (p78): New object.
47516         (__ieee754_powl): Saturate large exponents rather than testing for
47517         overflow of y*log2(x).
47518         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47519         * math/libm-test.inc (pow_test): Do not permit spurious overflow
47520         exceptions.
47522         [BZ #11521]
47523         * math/s_ctan.c: Include <float.h>.
47524         (__ctan): Avoid internal overflow or cancellation in calculating
47525         denominator.
47526         * math/s_ctanf.c: Likewise.
47527         * math/s_ctanl.c: Likewise.
47528         * math/s_ctanh.c: Likewise.
47529         * math/s_ctanhf.c: Likewise.
47530         * math/s_ctanhl.c: Likewise.
47531         * math/libm-test.inc (ctan_test): Add more tests.
47532         (ctanh_test): Likewise.
47533         * sysdeps/i386/fpu/libm-test-ulps: Update.
47534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47536 2012-04-09  Andreas Jaeger  <aj@suse.de>
47538         [BZ #6894]
47539         * manual/filesys.texi (Directory Entries): Mention that d_namlen
47540         is an optional BSD extension.
47542         [BZ #10254]
47543         * manual/stdio.texi (Opening Streams): Document additional fopen
47544         parameters.
47546 2012-04-09  Roland McGrath  <roland@hack.frob.com>
47548         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47549         %eax without telling the compiler.
47551 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
47553         [BZ # 13963]
47554         * manual/install.texi: Use sourceware.org.
47556 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47558         [BZ #13873]
47559         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47560         (__ieee754_pow): Generate overflow and underflow using huge*huge
47561         and tiny*tiny rather than just returning constant infinity or zero
47562         for large exponents.
47563         * math/libm-test.inc (pow_test): Require overflow exceptions for
47564         applicable cases of large exponents.
47566         [BZ #706]
47567         * sysdeps/i386/fpu/e_pow.S (p10): New object.
47568         (__ieee754_pow): Use iterative multiplication algorithm only for
47569         integer exponents with absolute value below 1024.  Check for odd
47570         integer exponents when using algorithm for real exponents.
47571         * math/libm-test.inc (pow_test): Add more tests.
47572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47574 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
47576         [BZ #13705]
47577         * math/libm-test.inc (exp_test): Do not allow overflow exception
47578         on underflow test.
47580 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
47582         [BZ #13705]
47583         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47584         instead of __kernel_standard_f.
47586 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
47588         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47589         * sysdeps/x86_64/memset_chk.S: Likewise.
47591 2012-04-08  Andreas Jaeger  <aj@suse.de>
47593         [BZ #10153]
47594         * manual/startup.texi (Environment Access): Describe return value
47595         for putenv and setenv.
47597         [BZ #6895]
47598         * manual/filesys.texi (Directory Entries): Add description for
47599         DT_LNK.
47601         [BZ #6890]
47602         * manual/filesys.texi (Directory Entries): Clarify that it's file
47603         system not operating system in the description of DT_UNKNOWN.
47605         [BZ #6578]
47606         * manual/syslog.texi (closelog): Fix reference, it's openlog.
47608 2012-04-08  Stephen Compall  <s11@member.fsf.org>
47610         [BZ #6649]
47611         * manual/llio.texi (Opening and Closing Files): Add cross
47612         reference to explain mode argument.
47614 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
47616         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47617         * sysdeps/x86_64/memset_chk.S: Likewise.
47619 2012-04-07  David S. Miller  <davem@davemloft.net>
47621         * elf/elf.h (R_SPARC_WDISP10): Define.
47622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47623         R_SPARC_SIZE32.
47624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47625         R_SPARC_SIZE64 and R_SPARC_H34.
47627 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
47629         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47630         conditions and remove no longer applicable assertion.
47632 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47634         * bits/byteswap.h: Include <features.h>.
47635         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47636         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47638 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47640         * bits/byteswap.h (__bswap_16): Removed.
47641         Include <bits/byteswap-16.h> to get __bswap_16.
47642         * sysdeps/i386/bits/byteswap.h: Likewise.
47643         * sysdeps/s390/bits/byteswap.h: Likewise.
47644         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47645         * bits/byteswap-16.h: New file.
47646         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47647         * sysdeps/s390/bits/byteswap-16.h: Likewise.
47648         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47649         * string/Makefile (headers): Add bits/byteswap-16.h.
47651 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47653         [BZ #13895]
47654         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47655         extra indirection.
47656         * nss/Makefile (tests-static, tests): Add tst-nss-static.
47657         * nss/tst-nss-static.c: New.
47659 2012-04-06  Robert Millan  <rmh@gnu.org>
47661         [BZ #6486]
47662         * manual/llio.texi (File Position Primitive): lseek
47663         refers to WHENCE when it really means OFFSET.
47665 2012-04-06  Andreas Jaeger  <aj@suse.de>
47667         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47668         strncmp declarations.
47670         * abilist/libc.abilist: Add __poll and __ppoll.
47672 2012-04-05  David S. Miller  <davem@davemloft.net>
47674         * scripts/check-local-headers.sh: Accept a host triplet in the
47675         path matched by the exclude regexp.
47677         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47678         definition.
47679         * sysdeps/powerpc/powerpc32/dl-machine.h
47680         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47681         * sysdeps/s390/s390-32/dl-machine.h
47682         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47683         * sysdeps/sparc/sparc32/dl-machine.h
47684         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47685         * sysdeps/sparc/sparc64/dl-machine.h
47686         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47688         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47689         lazy binding.
47690         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47691         undefined symbol errors.
47693         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47694         DT_NEEDED entries.
47696 2012-04-05  Michael Matz  <matz@suse.de>
47698         [BZ #13592]
47699         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47701 2012-04-05  Andreas Jaeger  <aj@suse.de>
47703         [BZ #13908]
47704         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47705         comment.
47707 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47709         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47710         which ROUND is no valid rounding mode.
47712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47715         read again.
47716         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47718 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47720         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47721         an exception using FPU order intentionally.
47723 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47725         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47726         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47727         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47728         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47730 2012-04-05  Simon Josefsson  <simon@josefsson.org>
47732         [BZ #12340]
47733         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47734         EINVAL when BUFLEN is too smal.
47736 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47738         [BZ #13553]
47739         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47740         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47742 2012-04-03  Andreas Jaeger  <aj@suse.de>
47744         [BZ #13938]
47745         * manual/setjmp.texi (System V contexts): Fix sentence.
47747         [BZ #13926]
47748         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47749         New macro for this case.
47750         [!__GNUC__] (__bswap_64): New inline function for this case.
47751         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47752         * bits/byteswap.h: Likewise.
47753         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47754         ull, guard with __GLIBC_HAVE_LONG_LONG.
47756         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47757         __GLIBC_HAVE_LONG_LONG.
47759         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47760         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47762 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47764         [BZ #13691]
47765         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47766         inptr and inend, rather than using last_ch.
47768 2012-04-02  David S. Miller  <davem@davemloft.net>
47770         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47771         * stdio-common/printf-parse.h (read_int): Change return type to
47772         'int', return -1 on INT_MAX overflow.
47773         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47774         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
47775         overflows INT_MAX.  Check for overflow of in-format-string precision
47776         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
47777         SIZE_MAX not INT_MAX for integer overflow test.
47778         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47779         skip the construct in the format string but do not record anything.
47780         * stdio-common/bug22.c: Adjust to test both width/prevision
47781         INT_MAX overflow as well as total length INT_MAX overflow.  Check
47782         explicitly for proper errno values.
47784 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47786         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47787         CHAR_MAX.
47788         * string/test-strcmp.c [! WIDE]: Likewise.
47789         * time/tst-mktime2.c: Likewise for INT_MAX.
47790         * string/test-string.h: #include <sys/param.h> for MIN.
47792         * csu/init-first.c (__libc_init_first): Call __ctype_init.
47793         * sysdeps/i386/init-first.c (init): Likewise.
47794         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47795         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47796         * sysdeps/sh/init-first.c (init): Likewise.
47798 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
47800         * po/ru.po: Update from translation team.
47801         * po/vi.po: Likewise.
47803 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47805         * resolv/nss_dns/dns-host.c: Merge copyright years.
47807 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47809         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47810         Optimize memcpy with prefetch if
47811         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
47812         src, dst pointers have unequal 16 byte alignments.
47814 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47816         [BZ #13928]
47817         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47818         from a CNAME entry and return the minimum ttl for the query.
47819         (gaih_getanswer_slice): Likewise.
47821 2012-03-30  Jeff Law  <law@redhat.com>
47823         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47824         due to long keys.
47825         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47826         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47828         * resolv/nss_dns/dns-host.c: Update copyright year.
47830 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
47832         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47833         requests to save a system call.  Fix check that all bytes are sent.
47835         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47836         comments for sendmmsg.
47838 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47840         [BZ #13691]
47841         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47842         with only 1 character between 0x0041 and 0x01b0.
47843         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47844         * wcsmbs/tst-mbsnrtowcs.c: New file.
47846 2012-03-29  David S. Miller  <davem@davemloft.net>
47848         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47849         small copies by hand.
47851 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47853         [BZ #13761]
47854         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47855         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47856         group memberships.
47858 2012-03-28  David S. Miller  <davem@davemloft.net>
47860         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47861         that branches into memcpy.
47862         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47863         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47865         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47867         bits.
47868         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47869         implementation too.
47870         * sysdeps/sparc/mempcpy.S: New file.
47872         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47873         the IFUNC routine in the libc case.
47874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47876         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47877         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47878         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47879         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47880         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47881         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47882         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47883         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47885         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47886         loop to 256 bytes instead of 64 bytes and fix test signedness.
47888         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47889         * sysdeps/sparc/sparc32/Makefile: rather than here...
47890         * sysdeps/sparc/sparc64/Makefile: and here.
47892 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
47894         * malloc/mallocbug.c: Avoid warnings about unused variables.
47896 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47898         [BZ #13760]
47899         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47900         in the right place. Discard and retry query if response is
47901         larger than input buffer size.
47903 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
47905         [BZ #369]
47906         [BZ #2678]
47907         [BZ #3866]
47908         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47909         x for large integer exponent.
47910         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47911         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
47912         sign of result as needed afterwards.
47913         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47914         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47915         result for underflowing pow the same as for overflow.
47916         (__kernel_standard_l): Handle powl overflow and underflow here
47917         rather than calling __kernel_standard.
47918         * math/libm-test.inc (pow_test): Add more tests.
47920         [BZ #3868]
47921         [BZ #13879]
47922         [BZ #13910]
47923         [BZ #13911]
47924         [BZ #13912]
47925         [BZ #13913]
47926         [BZ #13915]
47927         [BZ #13916]
47928         [BZ #13917]
47929         [BZ #13918]
47930         [BZ #13919]
47931         [BZ #13920]
47932         [BZ #13921]
47933         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47934         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47935         (__kernel_standard_l): New function.
47936         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47937         __kernel_standard.
47938         * math/w_acosl.c (__acosl): Likewise.
47939         * math/w_asinl.c (__asinl): Likewise.
47940         * math/w_atan2l.c (__atan2l): Likewise.
47941         * math/w_atanhl.c (__atanhl): Likewise.
47942         * math/w_coshl.c (__coshl): Likewise.
47943         * math/w_exp10l.c (__exp10l): Likewise.
47944         * math/w_exp2l.c (__exp2l): Likewise.
47945         * math/w_fmodl.c (__fmodl): Likewise.
47946         * math/w_hypotl.c (__hypotl): Likewise.
47947         * math/w_j0l.c (__j0l, __y0l): Likewise.
47948         * math/w_j1l.c (__j1l, __y1l): Likewise.
47949         * math/w_jnl.c (__jnl, __ynl): Likewise.
47950         * math/w_lgammal.c (__lgammal): Likewise.
47951         * math/w_log10l.c (__log10l): Likewise.
47952         * math/w_log2l.c (__log2l): Likewise.
47953         * math/w_logl.c (__logl): Likewise.
47954         * math/w_powl.c (__powl): Likewise.
47955         * math/w_remainderl.c (__remainderl): Likewise.
47956         * math/w_scalbl.c (sysv_scalbl): Likewise.
47957         * math/w_sinhl.c (__sinhl): Likewise.
47958         * math/w_sqrtl.c (__sqrtl): Likewise.
47959         * math/w_tgammal.c (__tgammal): Likewise.
47960         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47961         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47962         * math/libm-test.inc (acos_test): Add more tests.
47963         (acosh_test): Likewise.
47964         (asin_test): Likewise.
47965         (atanh_test): Likewise.
47966         (exp_test): Likewise.
47967         (exp10_test): Likewise.
47968         (exp2_test): Likewise.
47969         (expm1_test): Likewise.
47970         (lgamma_test): Likewise.
47971         (log_test): Likewise.
47972         (log10_test): Likewise.
47973         (log1p_test): Likewise.
47974         (log2_test): Likewise.
47975         (pow_test): Do not allow some spurious overflow exceptions.
47976         (sqrt_test): Add more tests.
47977         (tgamma_test): Likewise.
47978         (y0_test): Likewise.
47979         (y1_test): Likewise.
47980         (yn_test): Likewise.
47982 2012-03-27  Anton Blanchard  <anton@samba.org>
47984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47985         MAP_HUGETLB.
47986         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47987         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47988         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47990 2012-03-27  David S. Miller  <davem@davemloft.net>
47992         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47994         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47995         have-as-vis3 check.
47997 2012-03-27  Andreas Jaeger  <aj@suse.de>
47999         * sysdeps/x86_64/elf/configure.in: Moved to ...
48000         * sysdeps/x86_64/configure.in: ... here.
48001         * sysdeps/x86_64/elf/start.S: Moved to ...
48002         * sysdeps/x86_64/start.S: ... here.
48003         * sysdeps/x86_64/elf/configure: Delete.
48005         * sysdeps/x86_64/configure.in: Merge contents from
48006         sysdeps/i386/configure.in (without i686 check).
48008         * sysdeps/i386/elf/Versions: Merge into ...
48009         * sysdeps/i386/Versions: ... this.
48010         * sysdeps/i386/elf/Versions: Delete file.
48011         * sysdeps/i386/elf/start.S: Moved to ...
48012         * sysdeps/i386/start.S: ...here.
48013         * sysdeps/i386/elf/configure.in: Merge into...
48014         * sysdeps/i386/configure.in: ...here.
48015         * sysdeps/i386/elf/configure.in: Delete file.
48016         * sysdeps/i386/elf/configure: Delete file.
48018         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48019         * debug/backtracesyms.c: ... here.
48020         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48021         * debug/backtracesymsfd.c: ... here.
48022         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48023         * sysdeps/generic/ifunc-sel.h: ... here.
48025         * sysdeps/unix/i386/start.c: Delete file.
48026         * sysdeps/unix/sparc/start.c: Delete file.
48027         * sysdeps/unix/start.c: Delete file.
48029         * sysdeps/sh/elf/configure.in: Moved to ...
48030         * sysdeps/sh/configure.in: ... here.
48031         * sysdeps/sh/elf/start.S: Moved to ...
48032         * sysdeps/sh/start.S: ... here.
48033         * sysdeps/sh/elf/configure: Delete file.
48035         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48036         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48037         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48038         * sysdeps/powerpc/powerpc64/entry.h: ... here.
48039         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48040         * sysdeps/powerpc/powerpc64/start.S: here.
48041         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48042         * sysdeps/powerpc/powerpc64/Makefile: ... this.
48043         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48044         * sysdeps/powerpc/powerpc64/configure.in: ... this.
48045         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48047         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48048         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48049         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48050         * sysdeps/powerpc/powerpc32/start.S: ... here.
48051         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48052         * sysdeps/powerpc/powerpc32/configure.in: ... this.
48053         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48055         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48056         * sysdeps/powerpc/ifunc-sel.h: ... here.
48057         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48058         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48060         * sysdeps/sparc/elf/configure.in: Moved to ...
48061         * sysdeps/sparc/configure.in: ... here.
48062         * sysdeps/sparc/elf/configure: Delete file.
48063         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48064         * sysdeps/sparc/sparc32/start.S: ... here.
48065         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48066         * sysdeps/sparc/sparc64/start.S: ... here.
48067         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48068         * sysdeps/sparc/sparc32/Makefile: ... this.
48069         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48070         * sysdeps/sparc/sparc64/Makefile: ... this.
48072         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48073         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48074         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48075         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48076         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48077         * sysdeps/s390/s390-32/setjmp.S: ... here.
48078         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48079         * sysdeps/s390/s390-32/configure.in: ... here.
48080         * sysdeps/s390/s390-32/elf/configure: Delete file.
48081         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48082         * sysdeps/s390/s390-32/start.S: ... here.
48084         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48085         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48086         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48087         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48088         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48089         * sysdeps/s390/s390-64/setjmp.S: ... here.
48090         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48091         * sysdeps/s390/s390-64/configure.in: ... here
48092         * sysdeps/s390/s390-64/elf/configure: Delete file.
48093         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48094         * sysdeps/s390/s390-64/start.S: ... here.
48095         * sysdeps/s390/s390-64/elf/configure: Delete.
48097         * configure.in: Remove support for elf directories in sysdeps.
48099         * configure: Regenerated.
48100         * sysdeps/i386/configure: Regenerated.
48101         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48102         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48103         * sysdeps/s390/s390-32/configure: Regenerated.
48104         * sysdeps/s390/s390-64/configure: Regenerated.
48105         * sysdeps/sh/configure: Regenerated.
48106         * sysdeps/sparc/configure: Regenerated.
48107         * sysdeps/x86_64/configure: Regenerated.
48109 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
48111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48113         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48114         denormal result into account.
48116 2012-03-25  Roland McGrath  <roland@hack.frob.com>
48118         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48119         Reported by Allan McRae <allan@archlinux.org>.
48121 2012-03-23  Jeff Law  <law@redhat.com>
48123         * nss/getnssent.c (__nss_getent): Fix typo.
48125 2012-03-23  David S. Miller  <davem@davemloft.net>
48127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48129 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
48131         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48132         to pad to uint64_t for each field.
48133         (dl_tls_index): Replace unsigned long with uint64_t.
48135 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
48136         Paul Pluzhnikov  <ppluzhnikov@google.com>
48138         [BZ #6528]
48139         * grp/Makefile (otherlibs): Don't set it.
48140         * inet/Makefile (otherlibs): Likewise.
48141         * login/Makefile (otherlibs): Likewise.
48142         * nscd/Makefile (otherlibs): Likewise.
48143         * posix/Makefile (otherlibs): Likewise.
48144         * pwd/Makefile (otherlibs): Likewise.
48145         * rt/Makefile (otherlibs): Likewise.
48146         * sunrpc/Makefile (otherlibs): Likewise.
48147         * nss/Makefile (otherlibs): Likewise.
48148         Add libnss_files to routines and static-only-routines.
48149         ($(objpfx)getent): Remove rule.
48150         * resolv/Makefile: Add libnss_dns and libresolv to routines and
48151         static-only-routines.
48153 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48155         [BZ #13892]
48156         * math/s_cexp.c: Include <float.h>.
48157         (__cexp): Handle exp result overflowing not necessarily
48158         overflowing both real and imaginary parts of result.
48159         * math/s_cexpf.c: Likewise.
48160         * math/s_cexpl.c: Likewise.
48161         * math/libm-test.inc (cexp_test): Add more tests.
48162         * sysdeps/i386/fpu/libm-test-ulps: Update.
48163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48165 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48167         * include/link.h (ELFW): New macro.
48168         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48169         Replace ELF64_R_TYPE with ELFW(R_TYPE).
48171 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48173         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48174         with uint64_t.
48176 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48178         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48179         declaration.
48180         (struct La_x32_retval): Likewise.
48182 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48184         * sysdeps/x86_64/preconfigure.in: New file.
48185         * sysdeps/x86_64/preconfigure: New generated file.
48187 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48189         [BZ #13824]
48190         * math/e_exp2l.c: Include <float.h>.
48191         (__ieee754_exp2l): Handle overflow and underflow cases
48192         separately.  Only pass fractional part of argument to
48193         __ieee754_expl.
48194         * math/libm-test.inc (exp2_test): Add more tests.
48196         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48197         negating x to take absolute value.
48198         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48199         Likewise.
48200         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48201         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48202         Likewise.
48203         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48204         computing low part if x was negated.
48205         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48207 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48209         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48210         la_x32_gnu_pltexit.
48211         (pltexit): Cast int_retval to ptrdiff_t.
48212         * elf/tst-auditmod3b.c: Likewise.
48213         * elf/tst-auditmod4b.c: Likewise.
48214         * elf/tst-auditmod5b.c: Likewise.
48215         * elf/tst-auditmod6b.c: Likewise.
48216         * elf/tst-auditmod6c.c: Likewise.
48217         * elf/tst-auditmod7b.c: Likewise.
48219         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48220         and x32_gnu_pltexit.
48222         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48223         __ELF_NATIVE_CLASS.
48224         (La_x32_regs): New macro.
48225         (La_x32_retval): Likewise.
48226         (la_x32_gnu_pltenter): New function prototype.
48227         (la_x32_gnu_pltexit): Likewise.
48229 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
48231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48232         exponent.
48234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48236         * configure.in (libc_cv_cc_nofma): Check for option to disable
48237         generation of FMA instructions.
48238         * configure: Regenerate.
48239         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48240         * sysdeps/ieee754/dbl-64/Makefile: New file.
48241         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48242         Remove brandred-fma4.
48243         (CFLAGS-brandred-fma4.c): Remove.
48244         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48245         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48246         define.
48247         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48248         define.
48250 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48252         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48253         LLONG_MAX != LONG_MAX.
48254         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48255         (_fitoa_word): Likewise.
48256         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48257         LLONG_MAX != LONG_MAX.
48258         * stdio-common/_itowa.h: Include <_itoa.h>.
48259         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48260         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48261         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48262         only if not defined.
48263         (_ITOA_WORD_TYPE): Likewise.
48264         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48265         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48267 2012-03-21  David S. Miller  <davem@davemloft.net>
48269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48271 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48273         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48274         of x86_64 when setting libc_cv_slibdir, libdir and
48275         libc_cv_localedir.
48276         * sysdeps/unix/sysv/linux/configure: Regenerated.
48278 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48280         * manual/lang.texi (Old Varargs): Remove section.
48281         (How Variadic): Update menu.
48282         (va_start): Do not mention varargs.h.
48284 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48285             Joseph Myers  <joseph@codesourcery.com>
48287         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48288         link test.
48289         * configure: Regenerated.
48291 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48293         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48294         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48295         conformtest.pl
48297 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48299         * NOTES: Remove.
48300         * Makefile (files-for-dist): Remove NOTES.
48301         (NOTES): Remove rule.
48302         * README: Don't refer to NOTES.
48303         * manual/creature.texi: Don't include macros.texi.
48304         * manual/intro.texi (creature.texi): Remove comment referring to
48305         NOTES.
48307         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48308         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48309         * configure: Regenerated.
48310         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48311         LIBC_TRY_CC_OPTION.
48312         (libc_cv_as_i686): Likewise.
48313         (libc_cv_cc_avx): Likewise.
48314         (libc_cv_cc_sse2avx): Likewise.
48315         (libc_cv_cc_fma4): Likewise.
48316         (libc_cv_cc_novzeroupper): Likewise.
48317         * sysdeps/i386/configure: Regenerated.
48319         [BZ #13883]
48320         * sysdeps/i386/fpu/s_cexp.S: Remove.
48321         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48322         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48323         * math/libm-test.inc (cexp_test): Add more tests.
48324         * sysdeps/i386/fpu/libm-test-ulps: Update.
48325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48327 2012-03-21  Allan McRae  <allan@archlinux.org>
48329         * timezone/Makefile: Do not install iso3166.tab and zone.tab
48331 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48333         [BZ #13871]
48334         * math/w_exp2.c: Do not include <float.h>.
48335         (o_threshold, u_threshold): Remove.
48336         (__exp2): Calculate result before checking finiteness and calling
48337         __kernel_standard.
48338         * math/w_exp2f.c: Likewise.
48339         * math/w_exp2l.c: Likewise.
48340         * math/libm-test.inc (exp2_test): Require overflow exception for
48341         1e6 input.
48343         [BZ #3866]
48344         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48345         range of signed 64-bit integers before using fistpll.  Remove
48346         checks for whether integers fit in mantissa bits.
48347         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48348         the range of signed 32-bit integers before using fistpl.  Remove
48349         checks for whether integers fit in mantissa bits.
48350         * sysdeps/i386/fpu/e_powl.S (p64): New object.
48351         (__ieee754_powl): Test for y outside the range of signed 64-bit
48352         integers before using fistpll.  Reduce 64-bit values to 63-bit
48353         ones as needed.
48354         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48355         divide-by-zero is raised for zero to large negative powers.
48356         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48357         (__ieee754_powl): Test for y outside the range of signed 64-bit
48358         integers before using fistpll.  Reduce 64-bit values to 63-bit
48359         ones as needed.
48360         * math/libm-test.inc (pow_test): Add more tests.
48362 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48364         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48365         <stdio-common/_itoa.h>.
48366         * debug/segfault.c: Likewise.
48367         * elf/dl-cache.c: Likewise.
48368         * elf/dl-minimal.c: Likewise.
48369         * elf/dl-misc.c: Likewise.
48370         * elf/dl-sysdep.c: Likewise.
48371         * elf/dl-version.c: Likewise.
48372         * elf/rtld.c: Likewise.
48373         * hurd/hurdsock.c: Likewise.
48374         * hurd/lookup-retry.c: Likewise.
48375         * malloc/malloc.c: Likewise.
48376         * malloc/mtrace.c: Likewise.
48377         * nscd/nscd_getgr_r.c: Likewise.
48378         * nscd/nscd_getpw_r.c: Likewise.
48379         * nscd/nscd_getserv_r.c: Likewise.
48380         * posix/getopt_init.c: Likewise.
48381         * posix/wordexp.c: Likewise.
48382         * stdio-common/_itoa.c: Likewise.
48383         * stdio-common/printf_fphex.c: Likewise.
48384         * stdio-common/vfprintf.c: Likewise.
48385         * string/_strerror.c: Likewise.
48386         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48387         * sysdeps/i386/i686/hp-timing.h: Likewise.
48388         * sysdeps/mach/_strerror.c: Likewise.
48389         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48390         * sysdeps/mach/hurd/sethostid.c: Likewise.
48391         * sysdeps/mach/hurd/xmknodat.c: Likewise.
48392         * sysdeps/mach/xpg-strerror.c: Likewise.
48393         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48394         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48395         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48396         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48397         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48398         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48400         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48401         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48402         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48403         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48404         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48405         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48406         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48407         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48408         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48409         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48410         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48411         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48412         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48413         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48415         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48417         * stdio-common/_itoa.h: Moved to ...
48418         * sysdeps/generic/_itoa.h: Here.
48420         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48422         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48423         instead of "_itoa.h" and "_itowa.h".
48424         * stdio-common/vfprintf.: Likewise.
48426 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48428         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48429         <bits/wordsize.h>.
48430         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48431         (__signbit): Likwise.
48432         (llrintf): Likwise.
48433         (llrint): Likwise.
48435 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48437         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48438         __WORDSIZE != 64.
48440 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
48442         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48443         OVERFLOW_EXCEPTION_OK.
48444         * math/libm-test.inc ("Philosophy"): Update comment about
48445         exception testing.
48446         (OVERFLOW_EXCEPTION): Define.
48447         (OVERFLOW_EXCEPTION_OK): Likewise.
48448         (INVALID_EXCEPTION_OK): Renumber.
48449         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48450         (IGNORE_ZERO_INF_SIGN): Likewise.
48451         (test_exceptions): Handle FE_OVERFLOW.
48452         (exp10_test): Expect overflow exceptions.
48453         (exp2_test): Likewise.
48454         (expm1_test): Likewise.
48455         (nextafter_test): Likewise.
48456         (pow_test): Likewise.
48457         (scalbn_test): Likewise.
48458         (scalbln_test): Likewise.
48460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48462         * sysdeps/x86_64/bits/atomic.h
48463         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48464         64bit integer.
48465         (atomic_exchange_acq): Likewise.
48466         (__arch_exchange_and_add_body): Likewise.
48467         (__arch_add_body): Likewise.
48468         (atomic_add_negative): Likewise.
48469         (atomic_add_zero): Likewise.
48471 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48473         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48474         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48476 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48478         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48479         Check __x86_64__ instead of __WORDSIZE.
48481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48483         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48485 2012-03-19  David S. Miller  <davem@davemloft.net>
48487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48489         * sysdeps/sparc/fpu/fenv_private.h: New file.
48490         * sysdeps/sparc/fpu/math_private.h: Use it.
48491         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48492         Remove.
48493         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48494         (libc_feholdexcept_setroundl): Remove.
48495         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48496         Remove.
48497         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48498         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48500 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48502         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48503         int64_t instead of long int.
48504         (INSERT_WORDS64): Likwise.
48506 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48508         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48509         _Unwind_GetCFA return to _Unwind_Ptr first.
48511 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
48513         [BZ #13629]
48514         * math/s_clog.c: Include <float.h>.
48515         (__clog): Scale large or subnormal inputs.
48516         * math/s_clogf.c: Likewise.
48517         * math/s_clogl.c: Likewise.
48518         * math/s_clog10.c: Include <float.h>.
48519         (M_LOG10_2): Define.
48520         (__clog10): Scale large or subnormal inputs.
48521         * math/s_clog10f.c: Likewise.
48522         * math/s_clog10l.c: Likewise.
48523         * math/libm-test.inc (clog_test): Add more tests.
48524         (clog10_test): Likewise.
48525         * sysdeps/i386/fpu/libm-test-ulps: Update.
48526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48528         [BZ #11451]
48529         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48530         x and y.
48531         * math/libm-test.inc (atan2_test): Add another test.
48533         * Makerules (common-objdir-compile): Remove.
48534         * sysdeps/unix/Makefile (config-generated): Do not add
48535         $(unix-generated) to variable.
48536         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48537         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48538         Remove rule.
48539         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48540         Likewise.
48541         [generic bits/local_lim.h] (before-compile): Do not append to
48542         variable.
48543         [generic bits/local_lim.h] (common-generated): Likewise.
48544         [generic sys/param.h] (before-compile): Do not append to variable.
48545         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48546         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48547         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48548         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48549         include.
48550         [generic sys/param.h] (sys/param.h-includes): Remove variable.
48551         [generic sys/param.h] (sys/param.h-includes): Remove rule.
48552         [generic sys/param.h] ($(addprefix
48553         $(common-objpfx),$(sys/param.h-includes))): Likewise.
48554         [generic sys/param.h] (common-generated): Do not append to
48555         variable.
48556         [generic sys/param.h] (sysdep_headers): Likewise.
48557         [generic bits/errno.h] (before-compile): Do not append to
48558         variable.
48559         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48560         rule.
48561         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48562         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48563         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48564         [generic bits/errno.h] (common-generated): Do not append to
48565         variable.
48566         [generic bits/ioctls.h] (before-compile): Do not append to
48567         variable.
48568         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48569         rule.
48570         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48571         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48572         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48573         rule.
48574         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48575         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48576         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48577         [generic bits/ioctls.h] (common-generated): Do not append to
48578         variable.
48579         [generic sys/syscall.h] (syscall.h): Remove variable.
48580         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48581         rule.
48582         [generic sys/syscall.h] (before-compile): Do not append to
48583         variable.
48584         [generic sys/syscall.h] (common-generated): Likewise.
48585         * sysdeps/unix/errnos-tmpl.c: Remove file.
48586         * sysdeps/unix/errnos.awk: Likewise.
48587         * sysdeps/unix/ioctls-tmpl.c: Likewise.
48588         * sysdeps/unix/ioctls.awk: Likewise.
48589         * sysdeps/unix/mk-local_lim.c: Likewise.
48590         * sysdeps/unix/snarf-ioctls: Likewise.
48592 2012-03-19  Richard Henderson  <rth@twiddle.net>
48594         * sysdeps/i386/fpu/fenv_private.h: New file.
48595         * sysdeps/i386/fpu/math_private.h: Use it.
48596         (math_opt_barrier, math_force_eval): Remove.
48597         (libc_feholdexcept_setround_53bit): Remove.
48598         (libc_feupdateenv_53bit): Remove.
48599         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48600         (math_opt_barrier, math_force_eval): Remove.
48601         (libc_feholdexcept): Remove.
48602         (libc_feholdexcept_setround): Remove.
48603         (libc_fetestexcept, libc_fesetenv): Remove.
48604         (libc_feupdateenv_test): Remove.
48605         (libc_feupdateenv, libc_feholdsetround): Remove.
48606         (libc_feresetround): Remove.
48608         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48609         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48611         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48612         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48613         (libc_feupdateenv_testl): New.
48614         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48615         (libc_feupdateenv_testf): New.
48616         (libc_feupdateenv): Use libc_feupdateenv_test.
48617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48618         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48620         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48621         (libc_feholdsetroundf, libc_feholdsetroundl): New.
48622         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48623         (libc_feresetround_noex): New.
48624         (libc_feresetround_noexf): New.
48625         (libc_feresetround_noexl): New.
48626         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48627         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48628         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48629         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48630         SET_RESTORE_ROUND.
48631         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48632         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48633         (__cos): Likewise.
48634         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48635         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48636         SET_RESTORE_ROUND_NOEX.
48637         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48638         SET_RESTORE_ROUND_NOEXF.
48639         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48640         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48641         (libc_feholdsetroundf): New.
48642         (libc_feresetround, libc_feresetroundf): New.
48644         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48645         (libc_feholdexcept_setround_53bit): Convert from macro to function.
48646         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
48648         * sysdeps/generic/math_private.h: Include <fenv.h>.
48649         (default_libc_feholdexcept): New.
48650         (default_libc_feholdexcept_setround): New.
48651         (default_libc_fesetenv, default_libc_feupdateenv): New.
48652         (libc_feholdexcept): Only define if undefined.
48653         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48654         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48655         (libc_feholdexcept_setroundl): Likewise.
48656         (libc_feholdexcept_setround_53bit): Likewise.
48657         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48658         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48659         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48660         (libc_feupdateenv_53bit): Likewise.
48661         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48662         (libc_feholdexcept): Convert from macro to inline function.
48663         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48664         (libc_fesetenv, libc_feupdateenv): Likewise.
48666         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48667         not previously defined.
48668         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48669         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48670         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48671         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48672         * sysdeps/ieee754/flt-32/math_private.h: New file.
48673         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48674         math_private.h below SET_FLOAT_WORD.
48675         (__isnan, __isinf_ns, __finite): Remove.
48676         (__isnanf, __isinf_nsf, __finitef): Remove.
48678 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
48680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48682 2012-03-17  David S. Miller  <davem@davemloft.net>
48684         [BZ #6471]
48685         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48686         for 2.16.
48688 2012-03-16  David S. Miller  <davem@davemloft.net>
48690         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48691         warnings.
48693         [BZ #6471]
48694         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48695         properly.
48696         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48697         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48698         sysdep_routines when subdir is sysvipc.
48699         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48700         __getshmlba helper.
48702         * sysdeps/sparc/fpu/libm-test/ulps: Update.
48704 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48706         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48707         [__LP64__].
48709 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48712         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48713         (__lround): Renamed to ...
48714         (__llround): This.  Replace long int with long long int.
48715         Define lround functions as aliases of llround functions.
48716         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48718 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48720         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48721         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
48722         adresses to uintptr_t.  Replace "long int" and "unsigned long
48723         int" with "greg_t" on va_arg.
48725 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48727         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48728         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48730         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48731         Move e_machine check before EI_CLASS check.  Handle x32
48732         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48733         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48734         SKIP_EM_IA_64 and include
48735         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48737         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48738         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48739         (add_system_dir): New macro.
48741         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48742         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48744 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48746         [BZ #2551]
48747         [BZ #2552]
48748         [BZ #2553]
48749         [BZ #2554]
48750         [BZ #2562]
48751         [BZ #2563]
48752         [BZ #2565]
48753         [BZ #2566]
48754         [BZ #2576]
48755         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48756         (y0): Likewise.
48757         * math/w_j0f.c (j0f): Likewise.
48758         (y0f): Likewise.
48759         * math/w_j0l.c (__j0l): Likewise.
48760         (__y0l): Likewise.
48761         * math/w_j1.c (j1): Likewise.
48762         (y1): Likewise.
48763         * math/w_j1f.c (j1f): Likewise.
48764         (y1f): Likewise.
48765         * math/w_j1l.c (__j1l): Likewise.
48766         (__y1l): Likewise.
48767         * math/w_jn.c (jn): Likewise.
48768         (yn): Likewise.
48769         * math/w_jnf.c (jnf): Likewise.
48770         (ynf): Likewise.
48771         * math/w_jnl.c (__jnl): Likewise.
48772         (__ynl): Likewise.
48773         * math/libm-test.inc (j0_test): Add more tests.
48774         (j1_test): Likewise.
48775         (jn_test): Likewise.  Add trailing semicolon to existing test.
48776         (y0_test): Likewise.
48777         (y1_test): Likewise.
48778         * sysdeps/i386/fpu/libm-test-ulps: Update.
48779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48781         [BZ #13851]
48782         [BZ #13854]
48783         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48784         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48785         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48786         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48787         (__tanl): Set errno for infinite argument.
48788         * sysdeps/i386/fpu/mptan.c: Remove.
48789         * sysdeps/i386/fpu/s_tan.S: Likewise.
48790         * sysdeps/i386/fpu/s_tanl.S: Likewise.
48791         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48792         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48793         * math/libm-test.inc (tan_test): Add more tests and enable more
48794         tests for double and long double.
48795         * sysdeps/i386/fpu/libm-test-ulps: Update.
48796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48798 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
48800         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48801         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48803 2012-03-16  Roland McGrath  <roland@hack.frob.com>
48805         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48806         * configure.in: Use it for both main tree and add-ons.
48807         * configure: Regenerated.
48809 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48811         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48813 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48815         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48816         in comment.
48818         [BZ #13851]
48819         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48820         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48821         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48822         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48823         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48824         infinite argument.
48825         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48826         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48827         != 0 for prec == 2.
48828         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48829         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48830         * sysdeps/i386/fpu/s_cosl.S: Likewise.
48831         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48832         * sysdeps/i386/fpu/s_sinl.S: Likewise.
48833         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48834         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48835         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48836         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48837         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48838         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48839         * math/libm-test.inc (cos_test): Add more tests and enable more
48840         tests for long double.
48841         (sin_test): Likewise.
48842         (sincos_test): Likewise.
48843         * sysdeps/i386/fpu/libm-test-ulps: Update.
48844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48846 2012-03-16  David S. Miller  <davem@davemloft.net>
48848         * sysdeps/sparc/fpu/math_private.h: New file.
48850 2012-03-15  David S. Miller  <davem@davemloft.net>
48852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48853         file.
48854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48856         file.
48857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48858         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48863         sysdep routines.
48864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48866         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48867         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48869         * sysdeps/sparc/sparc-ifunc.h: New file.
48870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48871         sparc-ifunc.h
48872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48874         Likewise.
48875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48876         Likewise.
48877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48881         Likewise.
48882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48887         Likewise.
48888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48889         Likewise.
48890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48896         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48897         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48912         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48915 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48917         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48918         scaling.
48919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48921 2012-03-15  Andreas Jaeger  <aj@suse.de>
48923         [BZ #13852]
48924         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48925         ieee754/flt-32 implementation for sin, cos and sincos.
48926         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48927         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48928         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48929         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48930         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48931         ieee754/flt-32 implementation for tan.
48933         * math/libm-test.inc (cos_test): Enable some large input tests for
48934         float as well
48935         (sin_test): Likewise.
48936         (sincos_test): Likewise.
48937         (tan_test): Add tests for large input.
48939         * sysdeps/i386/fpu/libm-test-ulps: Update.
48941 2012-03-15  Andreas Jaeger  <aj@suse.de>
48943         [BZ #13658]
48944         * math/libm-test.inc (cos_test): Add more test cases.
48945         (sin_test): Likewise.
48946         (sincos_test): Likewise.
48948 2012-03-15  Andreas Jaeger  <aj@suse.de>
48950         [BZ #13837]
48951         * math/libm-test.inc (cos_test): Add a test case for large input
48952         value.
48953         (sin_test): Likewise.
48954         (sincos_test): Likewise.
48956 2012-03-15  Andreas Jaeger  <aj@suse.de>
48957             Joseph Myers  <joseph@codesourcery.com>
48959         [BZ #13658]
48960         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48961         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48962         * sysdeps/i386/fpu/branred.c: Likewise.
48963         * sysdeps/i386/fpu/dosincos.c: Likewise.
48964         * sysdeps/i386/fpu/mpa.c: Likewise.
48965         * sysdeps/i386/fpu/s_cos.S: Likewise.
48966         * sysdeps/i386/fpu/s_sin.S: Likewise.
48967         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48968         * sysdeps/i386/fpu/sincos32.c: Likewise.
48970         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48971         Define.
48972         (libc_feupdateenv_53bit): Define.
48973         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48974         Define.
48975         (libc_feupdateenv_53bit): Define.
48977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48978         53 bit (without extend i386 double precision).
48980         * math/libm-test.inc (sincos_test): Add tests for large input.
48981         (sin): Likewise.
48982         (cos): Likewise.
48984         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48986 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48990 2012-03-15  David S. Miller  <davem@davemloft.net>
48992         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48993         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48994         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48995         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49008         file.
49009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49011         file.
49012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49014         file.
49015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49017         file.
49018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49020         fmin/fmax sysdep routines.
49021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49023 2012-03-14  David S. Miller  <davem@davemloft.net>
49025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49029         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49031         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49032         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49045         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49048         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49049         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49051         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49052         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49053         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49054         routines.
49055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49056         file.
49057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49059         file.
49060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49062         file.
49063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49065         file.
49066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49068         file.
49069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49071         file.
49072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49073         file.
49074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49075         file.
49076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49077         file.
49078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49079         New file.
49080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49081         file.
49082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49083         file.
49084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49086         file.
49087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49089         file.
49090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49092         file.
49093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49095         VIS3 routines.
49097         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49098         New file.
49100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49102         * sysdeps/sparc/configure.in: New file.
49103         * sysdeps/sparc/configure: Generate.
49104         * configure.in (libc_cv_sparc_as_vis3): Substitute.
49105         * configure: Regenerate.
49106         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49107         * config.make.in (have-as-vis3): New.
49108         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49109         available use -Av9d instead of -Av9a.
49110         * sysdeps/sparc/sparc64/Makefile: Likewise.
49111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49113         New file.
49114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49115         file.
49116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49117         New file.
49118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49119         file.
49120         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49121         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49123         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49124         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49126         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49127         fzeros/fnegs to load 0x80000000 into a float register instead of
49128         using the stack.
49129         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49131 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49134         bits/syscall.h.
49135         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49136         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49137         ($(inst_includedir)/bits/syscall.h): Remove rule.
49138         ($(objpfx)bits/syscall.d): Include instead of
49139         $(objpfx)syscall-list.d.
49140         (generated): Change syscall-list.h and syscall-list.d to
49141         bits/syscall.h and bits/syscall.d.
49143 2012-03-14  Roland McGrath  <roland@hack.frob.com>
49145         [BZ #13846]
49146         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49148 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49150         [BZ #13841]
49151         * math/s_csqrt.c: Include <float.h>.
49152         (__csqrt): Scale large or subnormal inputs.
49153         * math/s_csqrtf.c: Likewise.
49154         * math/s_csqrtl.c: Likewise.
49155         * math/libm-test.inc (csqrt_test): Add more tests.
49156         * sysdeps/i386/fpu/libm-test-ulps: Update.
49157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49159         [BZ #13840]
49160         * math/libm-test.inc (hypot_test): Add more tests.
49162 2012-03-13  David S. Miller  <davem@davemloft.net>
49164         [BZ #13840]
49165         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49166         double-precision for the calculation instead of scaling.
49168 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
49170         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49171         manipulate bits before adding and subtracting TWO52[sx].
49172         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49173         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49174         Likewise.
49175         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49177 2012-03-13  David S. Miller  <davem@davemloft.net>
49179         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49180         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49182         rtld-global-offsets.h
49183         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49185         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49186         large parameters.
49188         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49190         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49191         'err' in the ifdef scope in which it is actually used.
49193         * nss/nss_db/db-init.c: Include string.h
49195 2012-03-12  David S. Miller  <davem@davemloft.net>
49197         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49198         masking out of the most significant byte of random value used.
49199         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49200         Fix coding style in previous change.
49202         * sysdeps/unix/sysv/linux/kernel-features.h
49203         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49204         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49205         expression.
49206         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49207         later.
49209 2012-03-11  David S. Miller  <davem@davemloft.net>
49211         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49212         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49213         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49214         for 'resultvar' otherwise things get truncated on 64-bit.
49216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49217         Fix masking out of the most significant byte of random value used.
49219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49221 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
49223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49225 2012-03-09  David S. Miller  <davem@davemloft.net>
49227         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49228         variables with appropriate CPP guards.
49229         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49230         from the frame pointer, not the stack pointer.  Correct layout
49231         comments.  Fix test on resulting framesize and the management of
49232         the outregs buffer for pltexit.  Preserve floating point return
49233         values across _dl_call_pltexit call.
49234         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49235         framesize and the management of the outregs buffer for pltexit.
49236         Preserve floating point return values across _dl_call_pltexit
49237         call.
49238         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49239         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49240         (la_sparc64_gnu_pltexit): New functions.
49241         (print_exit): Fix format string for return register value.
49243 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
49245         * sunrpc/Makefile (others): Add rpcgen.
49246         ($(objpfx)rpcgen): Remove special build rule and dependency on
49247         libc.
49248         * sunrpc/rpcgen.c: New file.
49250 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
49252         [BZ #13673]
49253         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49254         * stdio-common/bug-vfprintf-nargs.c: Likewise.
49255         * sysdeps/i386/crti.S: Likewise.
49256         * sysdeps/i386/crtn.S: Likewise.
49257         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49258         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49259         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49260         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49261         * sysdeps/sh/crti.S: Likewise.
49262         * sysdeps/sh/crtn.S: Likewise.
49263         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49265         [BZ #13673]
49266         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49267         with URL.
49268         * locale/programs/locfile-kw.gperf: Likewise.
49269         * locale/programs/charmap-kw.h: Regenerated.
49270         * locale/programs/locfile-kw.h: Likewise.
49272         [BZ #13673]
49273         * intl/plural.y: Replace FSF snail mail address with URL.
49274         * intl/plural.c: Regenerated.
49276 2012-03-09  Richard Henderson  <rth@twiddle.net>
49278         * include/math_private.h: Remove file.
49279         * math/math_private.h: Move file ...
49280         * sysdeps/generic/math_private.h: ... here.
49282         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49283         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49284         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49286         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49287         and <math_private.h>.
49288         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49289         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49290         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49291         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49292         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49293         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49294         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49295         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49296         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49297         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49299         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49300         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49301         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49302         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49303         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49304         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49305         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49306         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49307         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49309         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49310         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49312         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49313         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49314         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49315         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49316         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49317         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49318         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49319         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49320         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49321         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49322         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49323         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49324         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49325         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49326         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49327         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49328         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49329         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49330         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49331         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49332         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49333         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49334         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49335         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49336         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49337         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49338         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49339         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49340         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49341         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49342         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49343         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49344         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49345         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49346         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49347         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49348         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49349         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49350         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49351         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49352         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49353         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49354         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49355         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49356         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49357         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49358         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49359         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49360         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49361         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49362         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49364         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49366         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49367         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49368         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49369         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49370         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49371         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49372         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49373         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49375         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49376         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49377         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49378         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49379         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49380         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49381         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49382         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49383         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49384         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49385         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49386         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49387         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49388         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49389         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49390         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49391         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49392         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49393         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49394         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49395         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49396         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49397         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49398         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49399         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49400         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49401         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49402         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49403         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49404         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49405         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49406         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49407         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49408         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49409         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49410         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49411         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49412         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49413         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49414         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49415         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49416         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49417         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49418         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49419         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49420         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49421         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49422         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49423         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49424         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49425         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49426         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49427         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49428         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49429         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49430         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49431         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49432         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49433         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49434         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49435         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49436         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49437         * sysdeps/ieee754/k_standard.c: Likewise.
49438         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49439         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49440         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49441         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49442         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49443         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49444         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49445         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49446         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49447         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49448         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49449         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49450         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49451         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49452         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49453         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49454         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49455         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49456         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49457         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49458         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49459         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49460         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49461         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49462         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49463         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49464         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49465         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49466         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49467         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49468         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49469         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49470         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49471         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49472         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49473         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49474         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49475         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49476         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49477         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49478         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49479         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49480         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49481         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49482         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49483         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49484         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49486         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49487         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49488         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49489         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49490         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49491         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49492         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49493         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49494         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49495         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49496         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49497         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49498         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49499         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49500         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49501         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49502         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49503         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49504         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49505         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49506         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49507         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49510         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49511         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49512         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49513         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49514         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49515         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49516         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49517         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49518         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49519         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49520         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49521         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49522         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49523         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49524         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49525         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49526         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49527         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49528         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49529         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49530         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49531         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49532         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49533         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49534         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49535         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49536         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49537         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49538         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49539         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49540         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49541         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49542         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49543         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49544         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49545         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49546         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49547         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49548         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49549         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49550         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49551         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49552         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49553         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49554         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49555         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49556         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49557         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49558         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49559         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49560         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49561         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49562         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49563         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49564         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49565         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49566         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49567         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49568         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49569         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49570         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49571         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49572         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49573         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49574         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49575         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49576         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49577         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49578         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49579         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49580         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49581         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49582         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49583         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49584         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49585         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49586         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49587         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49588         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49589         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49590         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49591         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49592         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49593         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49594         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49595         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49596         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49597         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49598         * sysdeps/ieee754/s_lib_version.c: Likewise.
49599         * sysdeps/ieee754/s_matherr.c: Likewise.
49600         * sysdeps/ieee754/s_signgam.c: Likewise.
49601         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49602         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49603         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49604         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49605         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49606         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49607         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49608         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49609         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49610         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49611         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49612         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49613         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49614         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49615         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49616         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49617         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49618         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49619         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49623 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49625         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49626         * sunrpc/rpc_main.c: Likewise.
49627         * sunrpc/rpc_svcout.c: Likewise.
49629 2012-03-09  David S. Miller  <davem@davemloft.net>
49631         * include/math_private.h: New file.
49633 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49635         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49636         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49637         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49638         from <bits/socket_type.h>.
49639         (enum __socket_type): Don't define here.
49640         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49642         bits/socket_type.h.
49644         [BZ #13566]
49645         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49646         checking __USE_GNU.
49648         * Makerules ($(inst_includedir)/%.h): New rule.
49649         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49650         (install-others): Remove variable setting.
49651         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49653 2012-03-08  Richard Henderson  <rth@twiddle.net>
49655         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49656         from macro to inline function; merge with the
49657         !__LIBC_INTERNAL_MATH_INLINES version.
49658         (__ieee754_sqrtf): Likewise.
49660         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49661         to inline function.
49662         (__rintf, __floor, __floorf): Likewise.
49664         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49665         macro to inline function.
49666         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49668         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49669         not <math/math_private.h>.
49671 2012-03-08  David S. Miller  <davem@davemloft.net>
49673         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49674         copyright year.
49675         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49677 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
49679         * resolv/gai_misc.c (handle_requests): Fix struct timespec
49680         normalization.
49681         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49682         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49684 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
49686         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
49687         be defined individually, they must be defined as a block.  Define
49688         S for printing a string instead of hidint the different by using a
49689         macro for adding the 'l'.
49690         * stdio-common/tst-fphex-wide.c: Adjust.
49692 2012-03-07  Marek Polacek  <polacek@redhat.com>
49694         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49696 2012-03-08  Marek Polacek  <polacek@redhat.com>
49698         [BZ #13806]
49699         * stdio-common/Makefile (tests): Add tst-fphex-wide.
49700         * stdio-common/tst-fphex.c: Define a few macros to make the
49701         test reusable.  Use them.
49702         * stdio-common/tst-fphex-wide.c: New file.
49704 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
49706         [BZ #6911]
49707         * manual/macros.texi (gnusystems): New macro.
49708         (nongnusystems): Likewise.
49709         (gnulinuxhurdsystems): Likewise.
49710         (gnuhurdsystems): Likewise..
49711         (gnulinuxsystems): Likewise.
49712         * manual/charset.texi: Use new macros or @theglibc{} to refer to
49713         variants of the GNU system, not "GNU system".
49714         * manual/conf.texi: Likewise.
49715         * manual/errno.texi: Likewise.  Update example of errno macro
49716         expansion.
49717         * manual/filesys.texi: Likewise.
49718         (getumask): Document as specific to GNU/Hurd.
49719         * manual/install.texi: Likewise.  Reword some references to
49720         GNU/Linux.
49721         * manual/intro.texi: Likewise.
49722         * manual/io.texi: Likewise.
49723         (File Name Portability): Detail which constraints are inapplicable
49724         to all GNU systems and which are only inapplicable to GNU/Hurd.
49725         * manual/job.texi: Likewise.
49726         * manual/llio.texi: Likewise.
49727         (O_NOCTTY): Document as present on GNU/Linux.
49728         * manual/maint.texi: Likewise.
49729         * manual/memory.texi: Likewise.
49730         * manual/pattern.texi: Likewise.
49731         * manual/pipe.texi: Likewise.
49732         * manual/process.texi: Likewise.
49733         * manual/resource.texi: Likewise.
49734         (RUSAGE_CHILDREN): Remove statement about specifying a particular
49735         child on GNU/Hurd.
49736         * manual/setjmp.texi: Likewise.
49737         * manual/signal.texi: Likewise.
49738         * manual/startup.texi: Likewise.
49739         * manual/stdio.texi: Likewise.
49740         * manual/terminal.texi: Likewise.
49741         (ONLCR): Document as POSIX.
49742         (OXTABS): Document availability on GNU/Linux as XTABS.
49743         (ONOEOT): Document availability separately from other bits.
49744         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49745         * manual/time.texi: Likewise.
49746         * manual/users.texi: Likewise.
49747         * INSTALL: Regenerated.
49748         * sysdeps/gnu/errlist.c: Regenerated.
49750         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49751         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49752         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
49753         puts.
49754         * configure: Regenerated.
49756 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
49758         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49759         default includes instead of AC_HEADER_CHECK.
49760         * sysdeps/i386/configure: Regenerated.
49762         [BZ #10716]
49763         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49764         * math/s_cacoshf.c (__cacoshf): Likewise.
49765         * math/s_cacoshl.c (__cacoshl): Likewise.
49766         * math/s_casinh.c (__casinh): Set signs of result from argument.
49767         * math/s_casinhf.c (__casinhf): Likewise.
49768         * math/s_casinhl.c (__casinhl): Likewise.
49769         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49770         (casinh_test): Add more tests.
49771         * sysdeps/i386/fpu/libm-test-ulps: Update.
49772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49774 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
49776         * po/zh_TW.po: Update from translation team.
49778         * login/Makefile (distribute): Remove variable.
49779         * catgets/Makefile: Likewise.
49780         * mach/Makefile: Likewise.
49781         * malloc/Makefile: Likewise.
49782         * misc/Makefile: Likewise.
49783         * iconv/Makefile: Likewise.
49784         * nscd/Makefile: Likewise.
49785         * hurd/Makefile: Likewise.
49786         * manual/Makefile: Likewise.
49787         * locale/Makefile: Likewise.
49788         * intl/Makefile: Likewise.
49789         * conform/Makefile: Likewise.
49790         * nss/Makefile: Likewise.
49791         * time/Makefile: Likewise.
49792         * soft-fp/Makefile: Likewise.
49793         * dirent/Makefile: Likewise.
49794         * gmon/Makefile: Likewise.
49795         * po/Makefile: Likewise.
49796         * rt/Makefile: Likewise.
49797         * socket/Makefile: Likewise.
49798         * math/Makefile: Likewise.
49799         * signal/Makefile: Likewise.
49800         * debug/Makefile: Likewise.
49801         * elf/Makefile: Likewise.
49802         * timezone/Makefile: Likewise.
49803         * stdlib/Makefile: Likewise.
49804         * iconvdata/Makefile: Likewise.
49805         * sunrpc/Makefile: Likewise.
49806         * io/Makefile: Likewise.
49807         * argp/Makefile: Likewise.
49808         * inet/Makefile: Likewise.
49809         * hesiod/Makefile: Likewise.
49810         * grp/Makefile: Likewise.
49811         * csu/Makefile: Likewise.
49812         * wctype/Makefile: Likewise.
49813         * crypt/Makefile: Likewise.
49814         * libio/Makefile: Likewise.
49815         * string/Makefile: Likewise.
49816         * nis/Makefile: Likewise.
49817         * resolv/Makefile: Likewise.
49818         * stdio-common/Makefile: Likewise.
49819         * wcsmbs/Makefile: Likewise.
49820         * dlfcn/Makefile: Likewise.
49821         * posix/Makefile: Likewise.
49823         [BZ #6959]
49824         * timezone/Makefile: Don't install timezone files, just the programs
49825         and scripts.
49827 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
49829         * nss/databases.def: Add missing gshadow entry.
49831         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
49833 2012-03-06  Marek Polacek  <polacek@redhat.com>
49835         [BZ #13726]
49836         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49837         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49838         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49839         * stdio-common/tst-long-dbl-fphex.c: New file.
49841 2012-03-06  David S. Miller  <davem@davemloft.net>
49843         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49844         (set_obp_int): New function.
49845         (get_obp_int): New function.
49846         (__get_clockfreq_via_dev_openprom): Likewise.
49847         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49848         Avoid unused variable warnings on 'val' and use builtin_expect.
49849         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49850         __builtin_expect.
49851         (INLINE_CLONE_SYSCALL): Likewise.
49853 2012-03-05  David S. Miller  <davem@davemloft.net>
49855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49857 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
49859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49861         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49862         only for |x| >= 40.
49863         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49865 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
49867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49868         Replace gettimeofday with __vdso_gettimeofday.
49870         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49871         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49872         __vdso_clock_gettime and __vdso_getcpu.
49874         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49875         time with __vdso_time.
49877 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49879         * manual/lang.texi (size_t): Note types to which size_t may be
49880         equivalent with the GNU C Library, but do not describe when
49881         differences between them are significant.
49883 2012-03-05  Andreas Jaeger  <aj@suse.de>
49885         * sysdeps/i386/fpu/libm-test-ulps: Update.
49887 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49889         [BZ #3976]
49890         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49891         (__ieee754_pow): Save and restore rounding mode and use
49892         round-to-nearest for main computations.
49893         * math/libm-test.inc (pow_test_tonearest): New function.
49894         (pow_test_towardzero): Likewise.
49895         (pow_test_downward): Likewise.
49896         (pow_test_upward): Likewise.
49897         (main): Call the new functions.
49898         * sysdeps/i386/fpu/libm-test-ulps: Update.
49899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49901         [BZ #3976]
49902         * math/libm-test.inc (cosh_test_tonearest): New function.
49903         (cosh_test_towardzero): Likewise.
49904         (cosh_test_downward): Likewise.
49905         (cosh_test_upward): Likewise.
49906         (sinh_test_tonearest): Likewise.
49907         (sinh_test_towardzero): Likewise.
49908         (sinh_test_downward): Likewise.
49909         (sinh_test_upward): Likewise.
49910         (main): Call the new functions.
49911         * sysdeps/i386/fpu/libm-test-ulps: Update.
49912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49914 2012-03-05  Tom de Vries  <tom@codesourcery.com>
49916         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49917         default stack guard is set in last bytes.
49918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49920 2012-03-05  Kees Cook  <keescook@chromium.org>
49922         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49924         [BZ #13656]
49925         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49926         possibly allocate from heap instead of stack.
49927         * stdio-common/bug-vfprintf-nargs.c: New file.
49928         * stdio-common/Makefile (tests): Add nargs overflow test.
49930 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49934 2012-03-03  Marek Polacek  <polacek@redhat.com>
49936         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49937         * math/math_private.h: Likewise.
49938         * stdlib/tst-strtod.c: Likewise.
49939         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49940         * sysdeps/x86_64/bits/atomic.h: Likewise.
49942 2012-03-02  David S. Miller  <davem@davemloft.net>
49944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49948         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49949         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49950         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49951         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49953 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49955         [BZ #13792]
49956         * manual/examples/README: New file, says the example source files
49957         can be used under GPL>=2.
49958         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49959         line containing just "*/".
49960         * manual/examples/add.c: Add copyright header (GPL>=2).
49961         * manual/examples/argp-ex1.c: Likewise.
49962         * manual/examples/argp-ex2.c: Likewise.
49963         * manual/examples/argp-ex3.c: Likewise.
49964         * manual/examples/argp-ex4.c: Likewise.
49965         * manual/examples/atexit.c: Likewise.
49966         * manual/examples/db.c: Likewise.
49967         * manual/examples/dir.c: Likewise.
49968         * manual/examples/dir2.c: Likewise.
49969         * manual/examples/execinfo.c: Likewise.
49970         * manual/examples/filecli.c: Likewise.
49971         * manual/examples/filesrv.c: Likewise.
49972         * manual/examples/fmtmsgexpl.c: Likewise.
49973         * manual/examples/genpass.c: Likewise.
49974         * manual/examples/inetcli.c: Likewise.
49975         * manual/examples/inetsrv.c: Likewise.
49976         * manual/examples/isockad.c: Likewise.
49977         * manual/examples/longopt.c: Likewise.
49978         * manual/examples/memopen.c: Likewise.
49979         * manual/examples/memstrm.c: Likewise.
49980         * manual/examples/mkfsock.c: Likewise.
49981         * manual/examples/mkisock.c: Likewise.
49982         * manual/examples/mygetpass.c: Likewise.
49983         * manual/examples/pipe.c: Likewise.
49984         * manual/examples/popen.c: Likewise.
49985         * manual/examples/rprintf.c: Likewise.
49986         * manual/examples/search.c: Likewise.
49987         * manual/examples/select.c: Likewise.
49988         * manual/examples/setjmp.c: Likewise.
49989         * manual/examples/sigh1.c: Likewise.
49990         * manual/examples/sigusr.c: Likewise.
49991         * manual/examples/stpcpy.c: Likewise.
49992         * manual/examples/strdupa.c: Likewise.
49993         * manual/examples/strftim.c: Likewise.
49994         * manual/examples/strncat.c: Likewise.
49995         * manual/examples/subopt.c: Likewise.
49996         * manual/examples/swapcontext.c: Likewise.
49997         * manual/examples/termios.c: Likewise.
49998         * manual/examples/testopt.c: Likewise.
49999         * manual/examples/testpass.c: Likewise.
50000         * manual/examples/timeval_subtract.c: Likewise.
50002         [BZ #13792]
50003         * manual/time.texi (Elapsed Time): Move timeval_subtract example
50004         function to ...
50005         * manual/timeval_subtract.c.texi: ... here, new file.
50007 2012-03-02  David S. Miller  <davem@davemloft.net>
50009         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50011 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
50013         [BZ #3976]
50014         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50015         (__sin): Save and restore rounding mode and use round-to-nearest
50016         for all computations.
50017         (__cos): Save and restore rounding mode and use round-to-nearest
50018         for all computations.
50019         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50020         <fenv.h>.
50021         (tan): Save and restore rounding mode and use round-to-nearest for
50022         all computations.
50023         * math/libm-test.inc (cos_test_tonearest): New function.
50024         (cos_test_towardzero): Likewise.
50025         (cos_test_downward): Likewise.
50026         (cos_test_upward): Likewise.
50027         (sin_test_tonearest): Likewise.
50028         (sin_test_towardzero): Likewise.
50029         (sin_test_downward): Likewise.
50030         (sin_test_upward): Likewise.
50031         (tan_test_tonearest): Likewise.
50032         (tan_test_towardzero): Likewise.
50033         (tan_test_downward): Likewise.
50034         (tan_test_upward): Likewise.
50035         (main): Call the new functions.
50036         * sysdeps/i386/fpu/libm-test-ulps: Update.
50037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50039         [BZ #10135]
50040         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50041         small n, then large n, before computing and testing k+n.
50042         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50044         Likewise.
50045         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50046         Likewise.
50047         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50048         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50049         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50050         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50051         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50052         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50053         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50054         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50055         * math/libm-test.inc (scalbn_test): Add more tests.
50056         (scalbln_test): Likewise.
50058         * manual/filesys.texi (mode_t): Describe constraints on size and
50059         signedness, not exact equivalence to a particular type.
50060         (ino_t): Likewise.
50061         (ino64_t): Likewise.
50062         (dev_t): Likewise.
50063         (nlink_t): Likewise.
50064         (blkcnt_t): Likewise.
50065         (blkcnt64_t): Likewise.
50066         * manual/llio.texi (off_t): Likewise.
50068         [BZ #3976]
50069         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50070         (__ieee754_exp): Save and restore rounding mode and use
50071         round-to-nearest for all computations.
50072         * math/libm-test.inc (exp_test_tonearest): New function.
50073         (exp_test_towardzero): Likewise.
50074         (exp_test_downward): Likewise.
50075         (exp_test_upward): Likewise.
50076         (main): Call the new functions.
50077         * sysdeps/i386/fpu/libm-test-ulps: Update.
50078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50080 2012-03-01  Chris Demetriou  <cgd@google.com>
50082         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50083         have predictable order.
50085 2012-03-01  David S. Miller  <davem@davemloft.net>
50087         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50089         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50090         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50091         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50092         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50094         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50095         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50096         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50098         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50099         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50100         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50101         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50102         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50106         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50107         * sysdeps/sparc/fpu/libm-test-ulps: to here.
50108         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50110         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50111         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50112         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50113         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50114         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50115         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50116         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50117         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50118         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50119         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50120         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50121         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50123         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50124         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50126         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50127         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50128         * sysdeps/sparc/elf/configure: Regenerated.
50130 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
50132         * configure.in (AS, LD): Require binutils 2.20 or later.
50133         * configure: Regenerated.
50134         * manual/install.texi (Tools for Compilation): Give binutils 2.20
50135         as required minimum version.
50136         * INSTALL: Regenerated.
50138         [BZ #2541]
50139         [BZ #4108]
50140         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50141         before squaring exponent.
50142         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50143         bottom long double and 27 bits of top long double before squaring
50144         exponent.
50145         * math/libm-test.inc (erfc_test): Add more tests.
50146         * sysdeps/i386/fpu/libm-test-ulps: Update.
50147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50150 2012-03-01  Kai Tietz  <ktietz@redhat.com>
50152         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50153         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50154         containing bit-fields.
50155         * soft-fp/extended.h (_FP_UNION_E): Likewise.
50156         * soft-fp/single.h (_FP_UNION_S): Likewise.
50157         * soft-fp/double.h (_FP_UNION_D): Likewise.
50159 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50161         [BZ #13786]
50162         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50163         not include ../strcmp.S.
50164         [USE_AS_STRNCASECMP_L]: Likewise.
50165         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50166         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50167         * sysdeps/i386/i686/multiarch/strncase_l-c.c
50168         (__strncasecmp_l_ia32): Define as alias to
50169         __strncasecmp_l_nonascii.
50171         [BZ #5794]
50172         * math/libm-test.inc (expm1_test): Add test for bug 5794.
50173         * sysdeps/i386/fpu/libm-test-ulps: Update.
50174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50176         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50179 2012-02-29  Jeff Law  <law@redhat.com>
50181         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50182         out of bounds read.
50184 2012-02-29  Marek Polacek  <polacek@redhat.com>
50186         [BZ #13706]
50187         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50188         * elf/Makefile: Add rules to run tst-unused-dep.out.
50190 2012-02-28  David S. Miller  <davem@davemloft.net>
50192         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50193         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50195         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50196         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50197         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50199 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50201         * math/libm-test.inc (llround_test): Move one test from
50202         lround_test.  Use TEST_f_L in moved test.
50203         (lround_test): Move misplaced test to llround_test.  Add testcase
50204         from bug 2561.
50206 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
50208         * sysdeps/x86_64/fpu/e_expf.S: New file.
50209         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50211 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
50213         [BZ #13637]
50214         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50215         of remain_len that may cause incomplete multi-byte character and
50216         false match.
50217         * posix/bug-regex33.c: New file.
50218         * posix/Makefile (tests): Add bug-regex33.
50220 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
50222         * manual/macros.texi: New file.
50223         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50224         * manual/libc.texinfo: Include macros.texi.
50225         * manual/creatute.texi: Likewise.
50226         * manual/install.texi: Likewise.
50227         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50228         @glibcadj{} in references to the GNU C Library.
50229         * manual/charset.texi: Likewise.
50230         * manual/conf.texi: Likewise.
50231         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
50232         when not using those macros.
50233         * manual/creature.texi: Likewise.
50234         * manual/crypt.texi: Likewise.
50235         * manual/errno.texi: Likewise.
50236         * manual/filesys.texi: Likewise.
50237         * manual/header.texi: Likewise.
50238         * manual/install.texi: Likewise.
50239         * manual/intro.texi: Likewise.
50240         * manual/io.texi: Likewise.
50241         * manual/job.texi: Likewise.
50242         * manual/lang.texi: Likewise.
50243         * manual/libc.texiinfo: Likewise.
50244         * manual/llio.texi: Likewise.
50245         * manual/locale.texi: Likewise.
50246         * manual/maint.texi: Likewise.
50247         * manual/math.texi: Likewise.
50248         * manual/memory.texi: Likewise.
50249         * manual/message.texi: Likewise.
50250         * manual/nss.texi: Likewise.
50251         * manual/pattern.texi: Likewise.
50252         * manual/process.texi: Likewise.
50253         * manual/resource.texi: Likewise.
50254         * manual/search.texi: Likewise.
50255         * manual/setjmp.texi: Likewise.
50256         * manual/signal.texi: Likewise.
50257         * manual/socket.texi: Likewise.
50258         * manual/startup.texi: Likewise.
50259         * manual/stdio.texi: Likewise.
50260         * manual/string.texi: Likewise.
50261         * manual/sysinfo.texi: Likewise.
50262         * manual/syslog.texi: Likewise.
50263         * manual/terminal.texi: Likewise.
50264         * manual/time.texi: Likewise.
50265         * manual/users.texi: Likewise.
50266         * INSTALL: Regenerated.
50267         * NOTES: Regenerated.
50268         * sysdeps/gnu/errlist.c: Regenerated.
50270 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50272         * include/dirent.h: Include <dirstream.h> before
50273         <dirent/dirent.h>.
50275 2012-02-28  David S. Miller  <davem@davemloft.net>
50277         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50278         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50279         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50280         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50282 2012-02-27  David S. Miller  <davem@davemloft.net>
50284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50286         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50287         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50290         frame pointer instead of stack pointer relative arg slot.
50291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50292         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50293         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50295 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50297         [BZ #3992]
50298         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50300 2012-02-27  David S. Miller  <davem@davemloft.net>
50302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50306         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50307         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50308         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50309         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50311 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50313         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50314         later.  Allow versions 5-9.
50315         * configure: Regenerated.
50316         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50317         required minimum version and 4.6 as recommended version.  Do not
50318         mention bugs in GCC 2.7 and 2.8.
50319         * INSTALL: Regenerated.
50321 2012-02-27  David S. Miller  <davem@davemloft.net>
50323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50327         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50328         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50329         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50330         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50332         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50333         manipulate bits before adding and subtracting TWO112[sx].
50334         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50336 2012-02-27  Roland McGrath  <roland@hack.frob.com>
50338         [BZ #13775]
50339         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50340         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50341         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50342         being in POSIX, because they are in 1003.1-2008.
50344         * rt/tst-aio.c: Include <fcntl.h>.
50345         * rt/tst-aio7.c: Likewise.
50346         * rt/tst-aio64.c: Likewise.
50348         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50350 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50352         * manual/install.texi (--with-headers): Describe headers as
50353         interface headers, not private headers.
50354         (Specific advice for GNU/Linux systems): Describe use of headers
50355         from "make headers_install", not private headers from older
50356         kernels.
50357         * INSTALL: Regenerated.
50358         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50359         Change to 2.6.19.
50360         * sysdeps/unix/sysv/linux/configure: Regenerated.
50362         * manual/llio.texi (fclean): Remove documentation.
50364         * manual/Makefile (libc-texi-generated): New variable.  Include
50365         version.texi.
50366         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50367         $(libc-texi-generated), not duplicated list of files.
50368         (version.texi, stamp-version): New rules.
50369         (realclean): Remove $(libc-texi-generated), not individual files
50370         from that list.  Do not remove dir-add.texinfo.
50371         * manual/libc.texinfo: Comment out uses of edition numbers and
50372         references to printed manual.  Remove last-updated dates.
50373         (EDITION): Comment out.
50374         (ISBN): Likewise.
50375         (VERSION, UPDATED): Remove.
50376         (version.texi): Include.
50378 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
50380         * sysdeps/posix/spawni.c: Include <signal.h>.
50381         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50382         * sysdeps/pthread/aio_fsync.c: Likewise.
50384 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
50386         * conform/Makefile (tests): Run only when not cross-compiling and
50387         when fast-check is not defined.
50389         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50390         * conform/data/limits.h-data: Fixes for POSIX2008.
50391         * conform/run-conformtest.sh: Run all tests.
50392         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50393         headers.
50394         * include/bits/dlfcn.h: Likewise.
50395         * include/langinfo.h: Likewise.
50396         * include/monetary.h: Likewise.
50397         * include/sys/poll.h: Likewise.
50399         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50400         for __USE_GNU.
50401         * posix/spawn.h: Define __need_sigset_t.
50402         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50403         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50404         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
50405         to get sigevent_t only.
50406         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50407         only for __USE_GNU.
50408         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50409         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50410         process_vm_writev only for __USE_GNU.
50411         * termios/termios.h: Declare tcgetsid also for POSIX2008.
50413         * conform/Makefile: For now ignore errors from run-conformtest.
50414         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
50415         POSIX to avoid namespace pollution.  Don't prepend headers.
50416         * conform/data/aio.h-data: Fixes for POSIX testing.
50417         * conform/data/fcntl.h-data: Likewise.
50418         * conform/data/glob.h-data: Likewise.
50419         * conform/data/grp.h-data: Likewise.
50420         * conform/data/pthread.h-data: Likewise.
50421         * conform/data/pwd.h-data: Likewise.
50422         * conform/data/signal.h-data: Likewise.
50423         * conform/data/spawn.h-data: Likewise.
50424         * conform/data/stdio.h-data: Likewise.
50425         * conform/data/stdlib.h-data: Likewise.
50426         * conform/data/stropts.h-data: Likewise.
50427         * conform/data/sys/mman.h-data: Likewise.
50428         * conform/data/sys/stat.h-data: Likewise.
50429         * conform/data/sys/types.h-data: Likewise.
50430         * conform/data/sys/wait.h-data: Likewise.
50431         * conform/data/time.h-data: Likewise.
50432         * conform/data/unistd.h-data: Likewise.
50433         * conform/data/utime.h-data: Likewise.
50435         * io/sys/stat.h: fchmod was always in POSIX.
50436         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50437         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50438         * rt/aio.h: Define __need_timespec before including <time.h>.
50439         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50440         struct.  Add forward declaration of pthread_attr_t and use it in
50441         sigevent.
50442         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50443         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50444         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50445         always remove CLK_TCK definition.
50447 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
50449         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50451 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
50453         * conform/run-conformtest.sh: New file.
50454         * conform/Makefile: Run run-conformtest for tests.
50455         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
50456         support.
50458         * conform/data/uchar.h-data: New file.
50459         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50460         * conform/data/arpa/inet.h-data: Likewise.
50461         * conform/data/assert.h-data: Likewise.
50462         * conform/data/complex.h-data: Likewise.
50463         * conform/data/cpio.h-data: Likewise.
50464         * conform/data/ctype.h-data: Likewise.
50465         * conform/data/dirent.h-data: Likewise.
50466         * conform/data/dlfcn.h-data: Likewise.
50467         * conform/data/errno.h-data: Likewise.
50468         * conform/data/fcntl.h-data: Likewise.
50469         * conform/data/float.h-data: Likewise.
50470         * conform/data/fmtmsg.h-data: Likewise.
50471         * conform/data/fnmatch.h-data: Likewise.
50472         * conform/data/ftw.h-data: Likewise.
50473         * conform/data/glob.h-data: Likewise.
50474         * conform/data/grp.h-data: Likewise.
50475         * conform/data/iconv.h-data: Likewise.
50476         * conform/data/inttypes.h-data: Likewise.
50477         * conform/data/langinfo.h-data: Likewise.
50478         * conform/data/libgen.h-data: Likewise.
50479         * conform/data/limits.h-data: Likewise.
50480         * conform/data/locale.h-data: Likewise.
50481         * conform/data/math.h-data: Likewise.
50482         * conform/data/monetary.h-data: Likewise.
50483         * conform/data/mqueue.h-data: Likewise.
50484         * conform/data/ndbm.h-data: Likewise.
50485         * conform/data/net/if.h-data: Likewise.
50486         * conform/data/netdb.h-data: Likewise.
50487         * conform/data/netinet/in.h-data: Likewise.
50488         * conform/data/nl_types.h-data: Likewise.
50489         * conform/data/poll.h-data: Likewise.
50490         * conform/data/pthread.h-data: Likewise.
50491         * conform/data/pwd.h-data: Likewise.
50492         * conform/data/regex.h-data: Likewise.
50493         * conform/data/sched.h-data: Likewise.
50494         * conform/data/search.h-data: Likewise.
50495         * conform/data/semaphore.h-data: Likewise.
50496         * conform/data/setjmp.h-data: Likewise.
50497         * conform/data/signal.h-data: Likewise.
50498         * conform/data/spawn.h-data: Likewise.
50499         * conform/data/stdarg.h-data: Likewise.
50500         * conform/data/stdio.h-data: Likewise.
50501         * conform/data/stdlib.h-data: Likewise.
50502         * conform/data/string.h-data: Likewise.
50503         * conform/data/strings.h-data: Likewise.
50504         * conform/data/stropts.h-data: Likewise.
50505         * conform/data/sys/ipc.h-data: Likewise.
50506         * conform/data/sys/mman.h-data: Likewise.
50507         * conform/data/sys/msg.h-data: Likewise.
50508         * conform/data/sys/resource.h-data: Likewise.
50509         * conform/data/sys/select.h-data: Likewise.
50510         * conform/data/sys/sem.h-data: Likewise.
50511         * conform/data/sys/shm.h-data: Likewise.
50512         * conform/data/sys/socket.h-data: Likewise.
50513         * conform/data/sys/stat.h-data: Likewise.
50514         * conform/data/sys/statvfs.h-data: Likewise.
50515         * conform/data/sys/time.h-data: Likewise.
50516         * conform/data/sys/timeb.h-data: Likewise.
50517         * conform/data/sys/times.h-data: Likewise.
50518         * conform/data/sys/types.h-data: Likewise.
50519         * conform/data/sys/uio.h-data: Likewise.
50520         * conform/data/sys/un.h-data: Likewise.
50521         * conform/data/sys/utsname.h-data: Likewise.
50522         * conform/data/sys/wait.h-data: Likewise.
50523         * conform/data/syslog.h-data: Likewise.
50524         * conform/data/tar.h-data: Likewise.
50525         * conform/data/termios.h-data: Likewise.
50526         * conform/data/utime.h-data: Likewise.
50527         * conform/data/utmpx.h-data: Likewise.
50528         * conform/data/varargs.h-data: Likewise.
50529         * conform/data/wchar.h-data: Likewise.
50530         * conform/data/wctype.h-data: Likewise.
50531         * conform/data/wordexp.h-data: Likewise.
50533         * include/stropts.h: New file.
50534         * include/uchar.h: New file.
50535         * include/aio.h: Changes to allow conformtest.pl to use the headers.
50536         * include/assert.h: Likewise.
50537         * include/ctype.h: Likewise.
50538         * include/dirent.h: Likewise.
50539         * include/dlfcn.h: Likewise.
50540         * include/fcntl.h: Likewise.
50541         * include/fnmatch.h: Likewise.
50542         * include/glob.h: Likewise.
50543         * include/grp.h: Likewise.
50544         * include/libio.h: Likewise.
50545         * include/locale.h: Likewise.
50546         * include/math.h: Likewise.
50547         * include/net/if.h: Likewise.
50548         * include/netdb.h: Likewise.
50549         * include/netinet/in.h: Likewise.
50550         * include/pthread.h: Likewise.
50551         * include/pwd.h: Likewise.
50552         * include/regex.h: Likewise.
50553         * include/sched.h: Likewise.
50554         * include/search.h: Likewise.
50555         * include/setjmp.h: Likewise.
50556         * include/signal.h: Likewise.
50557         * include/stdio.h: Likewise.
50558         * include/stdlib.h: Likewise.
50559         * include/string.h: Likewise.
50560         * include/sys/cdefs.h: Likewise.
50561         * include/sys/mman.h: Likewise.
50562         * include/sys/msg.h: Likewise.
50563         * include/sys/resource.h: Likewise.
50564         * include/sys/select.h: Likewise.
50565         * include/sys/socket.h: Likewise.
50566         * include/sys/stat.h: Likewise.
50567         * include/sys/statvfs.h: Likewise.
50568         * include/sys/time.h: Likewise.
50569         * include/sys/times.h: Likewise.
50570         * include/sys/uio.h: Likewise.
50571         * include/sys/utsname.h: Likewise.
50572         * include/sys/wait.h: Likewise.
50573         * include/termios.h: Likewise.
50574         * include/time.h: Likewise.
50575         * include/ulimit.h: Likewise.
50576         * include/unistd.h: Likewise.
50577         * include/utime.h: Likewise.
50578         * include/wchar.h: Likewise.
50579         * include/wctype.h: Likewise.
50580         * include/wordexp.h: Likewise.
50582         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50584         * time/time.h: TIME_UTC must be a macro.
50585         Make timespec_get available for ISO C11 only as well.
50587 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
50589         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50590         Reported by Peng Haitao <penght@cn.fujitsu.com>.
50592 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50594         * configure.in: Use -o not -a in test for unsupported multi-arch.
50596 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50598         * manual/texinfo.tex: Update to version 2012-01-19.16.
50600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50602         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50604 2012-02-24  Roland McGrath  <roland@hack.frob.com>
50606         [BZ #13738]
50607         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50608         * manual/fdl-1.3.texi: New file.
50609         * manual/fdl-1.1.texi: File removed.
50611         [BZ #13738]
50612         * manual/libc.texinfo (FDL_VERSION): New @set.
50613         Use it for mention of FDL in cover text.
50614         (Documentation License): Use it in @include file name.
50616 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50617             Roland McGrath  <roland@hack.frob.com>
50619         [BZ #5461]
50620         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50621         (not LONG_LONG_MAX and LONG_LONG_MIN.
50622         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50623         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
50624         name.
50625         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50627 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50629         [BZ #2547]
50630         [BZ #11365]
50631         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50632         manipulate bits before adding and subtracting TWO23[sx].
50633         * math/libm-test.inc (nearbyint_test): Add more tests.
50635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50637         [BZ #2548]
50638         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50639         bits before adding and subtracting TWO23[sx].
50640         * math/libm-test.inc (rint_test): Add more tests.
50641         (rint_test_tonearest): Likewise.
50642         (rint_test_towardzero): Likewise.
50643         (rint_test_downward): Likewise.
50644         (rint_test_upward: Likewise.
50646 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50648         [BZ #10110]
50649         * include/stdc-predef.h: New file.  Extracted from features.h.
50650         * include/features.h: Include stdc-predef.h.
50651         * Makefile (headers): Add stdc-predef.h.
50652         * CONFORMANCE (Compiler limitations): Update.
50654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50656         * manual/libc.texinfo (VERSION, UPDATED): Revert.
50658 2012-02-21  David S. Miller  <davem@davemloft.net>
50660         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50661         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50663 2012-02-20  David S. Miller  <davem@davemloft.net>
50665         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50666         using a normal save/restore sequence, rather than allocating a
50667         dummy stack frame just to store a frame pointer and restore.
50668         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50670 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50672         * manual/install.texi: Fix stray word in line-wrapped comment.
50674 2012-02-20  David S. Miller  <davem@davemloft.net>
50676         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50677         both binutils and gcc support GOTDATA.
50679         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50680         "rd %pc" in the PIC register setup sequences.
50682         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50683         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50684         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50685         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50686         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50688         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50689         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50691         (SYSCALL_ERROR_HANDLER): Likewise.
50692         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50693         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50695         (SYSCALL_ERROR_HANDLER): Likewise.
50697         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50698         (HAVE_GCC_GOTDATA): New.
50699         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50700         relocation support in both binutils and gcc.
50701         * sysdeps/sparc/elf/configure: Regenerate.
50703         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50704         * sysdeps/sparc/sparc32/elf/configure: Delete.
50705         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50706         * sysdeps/sparc/sparc64/elf/configure: Delete.
50707         * sysdeps/sparc/elf/configure.in: New file.
50708         * sysdeps/sparc/elf/configure: Generate.
50710         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50711         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50712         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50713         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50714         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50716 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50718         * manual/install.texi: Do not mention specific glibc version
50719         numbers.
50720         * manual/libc.texinfo (VERSION, UPDATED): Update.
50721         (@copying): Use @copyright{} and range of years.
50723 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50725         [BZ #13695]
50726         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50727         [crti.S not in sysdirs] (generated): Do not append.
50728         [crti.S not in sysdirs] (omit-deps): Likewise.
50729         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50730         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50731         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50732         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50733         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50734         Likewise.
50735         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50736         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50737         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50738         * csu/defs.awk: Remove file.
50739         * sysdeps/generic/initfini.c: Likewise.
50740         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50741         variable.
50742         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50743         Likewise.
50745 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50747         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50748         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50749         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50750         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50751         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50752         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50753         <bits/epoll.h>.
50754         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50755         (__EPOLL_PACKED): Define to empty if not defined by
50756         <bits/epoll.h>.
50757         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50759         bits/epoll.h.
50761 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50763         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50764         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50765         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50766         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50767         <bits/timerfd.h>.
50768         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50770         bits/timerfd.h.
50772 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50774         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50775         in C locale.
50776         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50777         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50778         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50781 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
50783         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50784         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50786 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
50788         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50789         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50790         defined.
50791         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50792         Likewise.
50793         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50794         entry for 2.16.
50796 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
50798         * math/w_acos.c: Use non-signaling floating-point comparisons.
50799         * math/w_acosf.c: Likewise.
50800         * math/w_acosh.c: Likewise.
50801         * math/w_acoshf.c: Likewise.
50802         * math/w_acoshl.c: Likewise.
50803         * math/w_acosl.c: Likewise.
50804         * math/w_asin.c: Likewise.
50805         * math/w_asinf.c: Likewise.
50806         * math/w_asinl.c: Likewise.
50807         * math/w_atanh.c: Likewise.
50808         * math/w_atanhf.c: Likewise.
50809         * math/w_atanhl.c: Likewise.
50810         * math/w_exp2.c: Likewise.
50811         * math/w_exp2f.c: Likewise.
50812         * math/w_exp2l.c: Likewise.
50813         * math/w_j0.c: Likewise.
50814         * math/w_j0f.c: Likewise.
50815         * math/w_j0l.c: Likewise.
50816         * math/w_j1.c: Likewise.
50817         * math/w_j1f.c: Likewise.
50818         * math/w_j1l.c: Likewise.
50819         * math/w_jn.c: Likewise.
50820         * math/w_jnf.c: Likewise.
50821         * math/w_log.c: Likewise.
50822         * math/w_log10.c: Likewise.
50823         * math/w_log10f.c: Likewise.
50824         * math/w_log10l.c: Likewise.
50825         * math/w_log2.c: Likewise.
50826         * math/w_log2f.c: Likewise.
50827         * math/w_log2l.c: Likewise.
50828         * math/w_logf.c: Likewise.
50829         * math/w_logl.c: Likewise.
50830         * math/w_sqrt.c: Likewise.
50831         * math/w_sqrtf.c: Likewise.
50832         * math/w_sqrtl.c: Likewise.
50833         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50835         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50836         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50837         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50839 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50841         [BZ #9739]
50842         * manual/string.texi (strnlen): Use correct parameter name in
50843         equivalent expression.
50845 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50847         [BZ #11174]
50848         * manual/users.texi (seteuid): Consistently use neweuid for
50849         argument name.
50851 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50853         [BZ #13704]
50854         * manual/nss.texi (Services in the NSS configuration): Correct
50855         list of services in example configuration file.
50857 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
50859         [BZ #11322]
50860         * manual/arith.texi: Remove statements about negative zero
50861         behaving identically to zero.
50863 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50865         [BZ #5993]
50866         * manual/install.texi: Do not document upgrading from libc5.
50868 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50870         [BZ #4596]
50871         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50873 2012-02-18  David S. Miller  <davem@davemloft.net>
50875         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50876         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50877         %o7 across the call.
50878         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50879         instead.
50880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50881         SETUP_PIC_REG_LEAF.
50882         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50883         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50884         * sysdeps/sparc/crtn.S: Likewise.
50886 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
50888         * aout/Makefile: Remove.
50890 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
50892         [BZ #13058]
50893         * manual/examples/argp-ex1.c (main): Format definition in GNU
50894         style.
50895         * manual/examples/argp-ex2.c (main): Likewise.
50896         * manual/examples/argp-ex3.c (main): Likewise.
50897         * manual/examples/argp-ex4.c (main): Likewise.
50898         * manual/examples/longopt.c (main): Use new-style prototype
50899         definition.
50900         * manual/examples/strncat.c (main): Specify return type and use
50901         (void) for arguments.
50902         * manual/examples/subopt.c (main): Use char **argv argument.
50904 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50906         [BZ #5077]
50907         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50908         rounding modes.
50910 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
50912         [BZ #6907]
50913         * manual/string.texi (strchr): Change when strchrnul is
50914         recommended.
50916 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
50918         [BZ #174]
50919         * manual/locale.texi (setlocale): Document LOCPATH.
50921 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50923         [BZ #10210]
50924         * manual/process.texi (execle): Move @dots{} before last argument.
50926 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50928         [BZ #12047]
50929         * manual/charset.texi (Generic Charset Conversion): Fix typo
50930         (LC_TYPE -> LC_CTYPE).
50932 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50934         [BZ #5805]
50935         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50936         (scalbnf): Likewise.
50937         (scalbnl): Likewise.
50938         (scalbln): Likewise.
50939         (scalblnf): Likewise.
50940         (scalblnl): Likewise.
50941         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50942         (vwarnx): Likewise.
50943         (verr): Likewise.
50944         (verrx): Likewise.
50945         * manual/filesys.texi (telldir): Use braces around return type.
50946         * manual/llio.texi (mmap): Add space after comma.
50947         (mmap64): Likewise.
50948         * manual/math.texi (jn): Use @var{} on parameter names.
50949         (jnf): Likewise.
50950         (jnl): Likewise.
50951         (yn): Likewise.
50952         (ynf): Likewise.
50953         (ynl): Likewise.
50954         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50955         line.
50956         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50957         "...".
50958         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50959         (sched_get_priority_max): Likewise.
50960         * manual/signal.texi (sigvec): Add space after comma.
50961         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50962         names.
50963         (if_indextoname): Likewise.
50964         (if_freenameindex): Likewise.
50965         (sendto): Use ',' instead of '.' in prototype.
50966         * manual/startup.texi (syscall): Use @dots{} instead of literal
50967         "...".
50968         * manual/stdio.texi (__fpending): Separate initial words of
50969         paragraph from @deftypefun line.
50970         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50971         "...".
50972         (vsyslog): Use @var{} on parameter names.
50973         * manual/terminal.texi (stty): Use @var{} on parameter names.
50974         * manual/users.texi (getutmp): Use @var{} on parameter names.
50975         (getutmpx): Likewise.
50977 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50979         [BZ #6884]
50980         * manual/stdio.texi (fopen): Fix typos in description of
50981         ",ccs=STRING".
50983 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50985         [BZ #4026]
50986         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50987         get clock_id definition.
50989 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50991         [BZ #4822]
50992         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50993         (madvise): Cast every argument to void on its own.
50995 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50997         [BZ #9902]
50998         * manual/startup.texi (Exit Status): Fix typo.
51000 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51002         [BZ #10140]
51003         * manual/examples/argp-ex1.c: Include <stdlib.h>.
51004         * manual/examples/argp-ex2.c: Likewise.
51005         * manual/examples/argp-ex3.c: Likewise.
51007 2012-02-16  Richard Henderson  <rth@redhat.com>
51009         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51010         * sysdeps/s390/s390-32/initfini.c: Remove.
51011         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51012         * sysdeps/s390/s390-64/initfini.c: Remove.
51014 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51016         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51017         compiler output for sysdeps/generic/initfini.c.
51018         * sysdeps/sh/elf/initfini.c: Remove file.
51020 2012-02-16  David S. Miller  <davem@davemloft.net>
51022         [BZ #11494]
51023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51025         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51026         * sysdeps/sparc/crti.S: New file.
51027         * sysdeps/sparc/crtn.S: New file.
51028         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51029         * sysdeps/sparc/sparc64/Makefile: Likewise.
51031 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
51033         [BZ #3335]
51034         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51036 2012-02-15  Roland McGrath  <roland@hack.frob.com>
51038         [BZ #4822]
51039         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51041         * mach/devstream.c (cookie_io_functions_t): Macro removed.
51042         (write, read, close): Likewise.
51043         Patch by Aurelien Jarno <aurelien@aurel32.net>.
51045 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
51047         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51048         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51049         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51050         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51051         <bits/signalfd.h>.
51052         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51054         bits/signalfd.h.
51056 2012-02-14  Marek Polacek  <polacek@redhat.com>
51058         * sysdeps/x86_64/crti.S: New file.
51059         * sysdeps/x86_64/crtn.S: New file.
51060         * sysdeps/x86_64/elf/initfini.c: Remove file.
51062 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51064         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51065         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51066         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51067         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51068         <bits/inotify.h>.
51069         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51071         bits/inotify.h.
51073 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51075         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51076         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51077         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51078         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51079         <bits/eventfd.h>.
51080         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51082         bits/eventfd.h.
51084 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
51086         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51087         __feraiseexcept instead of feraiseexcept.
51089         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51090         nanosleep invocations.
51091         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51092         strings, and add error checking for a nanosleep invocations.
51094 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
51096         Replace FSF snail mail address with URLs, as per GNU coding standards.
51097         Most of the snail mail addresses were wrong anyway, and omitting
51098         them makes the source code easier to maintain.  Almost all of the
51099         changes are to license notices and to locale LC_IDENTIFICATION
51100         addresses, except for this one:
51101         * manual/libc.texinfo: In "Published by", give the FSF's URL,
51102         not its snail mail address.
51104 2012-02-09  Richard Henderson  <rth@twiddle.net>
51106         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51107         of kernel-features.h.
51109         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51111 2012-02-08  Marek Polacek  <polacek@redhat.com>
51113         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51114         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51115         * sysdeps/gnu/_G_config.h: Likewise.
51116         * sysdeps/generic/_G_config.h: Likewise.
51118 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
51120         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51121         tests.
51122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51124         * sysdeps/powerpc/powerpc32/crti.S: New file.
51125         * sysdeps/powerpc/powerpc32/crtn.S: New file.
51126         * sysdeps/powerpc/powerpc64/crti.S: New file.
51127         * sysdeps/powerpc/powerpc64/crtn.S: New file.
51129         * Makeconfig (have-initfini): Don't set.
51130         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51131         * configure.in (nopic_initfini): Don't substitute.
51132         * config.h.in (HAVE_INITFINI): Don't #undef.
51133         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51134         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51136 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
51138         Support crti.S and crtn.S provided directly by architectures.
51139         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51140         [crti.S in sysdirs] (omit-deps): Likewise.
51141         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51142         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51143         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51144         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51145         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51146         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51147         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51148         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51149         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51150         compiler output for sysdeps/generic/initfini.c.
51151         * sysdeps/i386/elf/Makefile: Remove file.
51152         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51154 2012-02-07  Marek Polacek  <polacek@redhat.com>
51156         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51157         * sysdeps/gnu/_G_config.h: Likewise.
51158         * sysdeps/mach/hurd/_G_config.h: Likewise.
51160 2012-02-07  Marek Polacek  <polacek@redhat.com>
51162         * math/Makefile (tests): Add tst-CMPLX2.
51163         * math/tst-CMPLX2.c: New file.
51165 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
51167         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51169         * math/libm-test.inc (jn_test): Add missing L suffix.
51171 2012-02-06  Marek Polacek  <polacek@redhat.com>
51173         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51174         * sysdeps/i386/fpu/e_powf.S: Likewise.
51175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51176         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51177         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51178         * sysdeps/i386/fpu/e_pow.S: Likewise.
51179         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51180         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51181         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51182         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51183         * sysdeps/i386/fpu/e_log2.S: Likewise.
51184         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51185         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51186         * sysdeps/i386/fpu/e_powl.S: Likewise.
51187         * sysdeps/i386/fpu/s_log1p.S: Likewise.
51188         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51189         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51190         * sysdeps/i386/fpu/e_logl.S: Likewise.
51191         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51192         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51193         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51194         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51195         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51196         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51197         * sysdeps/i386/fpu/e_log.S: Likewise.
51198         * sysdeps/i386/fpu/s_cexp.S: Likewise.
51199         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51200         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51201         * sysdeps/i386/fpu/e_logf.S: Likewise.
51202         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51203         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51204         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51205         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51206         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51207         * sysdeps/i386/fpu/e_log10.S: Likewise.
51208         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51209         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51210         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51211         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51212         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51213         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51214         * sysdeps/i386/asm-syntax.h: Likewise.
51215         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51216         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51217         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51218         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51219         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51220         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51221         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51222         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51223         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51224         * sysdeps/powerpc/sysdep.h: Likewise.
51225         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51226         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51228 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51230         [BZ #411]
51231         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51233 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51235         * sysdeps/i386/sysdep.h: Include <features.h>.
51236         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51237         version.
51239 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
51241         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51242         Define.
51243         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51244         LOAD_PIC_REG_STR.
51246 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51248         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51249         (SETUP_PIC_REG): Use GET_PC_THUNK.
51250         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51251         macro.
51253 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51255         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51256         for non-PIC compilation.
51257         (SETUP_PIC_REG): Add .p2align directive.
51258         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51259         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51260         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51261         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51262         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51263         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51264         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51272         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51273         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51274         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51275         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51276         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51277         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51278         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51279         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51280         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51281         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51282         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51284         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51285         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51286         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51287         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51288         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51289         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51290         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51291         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51292         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51293         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51294         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51295         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51296         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51297         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51298         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51300 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51302         * math/tst-CMPLX.c: Include <stdio.h>.
51304 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51306         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51307         float.
51308         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51309         * sysdeps/sparc/bits/mathdef.h: Likewise.
51311 2012-01-31  Marek Polacek  <polacek@redhat.com>
51313         * libio/libio.h: Don't define _PARAMS.
51314         * locale/programs/config.h: Don't define PARAMS.
51315         * stdlib/strtol_l.c: Likewise.
51316         (__strtol_l): Remove PARAMS from the prototype.
51318 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
51320         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
51321         names.  Just use the correct names.  Remove unnecessary wrapper
51322         functions.
51323         * malloc/arena.c: Likewise.
51324         * malloc/hooks.c: Likewise.
51326         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51327         ARENA_TEST says not to.  Simplify test for creation of a new arena.
51328         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51330 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
51332         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51333         into tail calls.
51334         (update_get_addr): New function.
51335         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51336         GET_ADDR_MODULE parameter.
51338 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51340         * crypt/cert.c: Remove __STDC__ conditionals.
51341         * crypt/crypt-entry.c: Likewise.
51342         * crypt/crypt_util.c: Likewise.
51343         * libio/filedoalloc.c: Likewise.
51344         * libio/fileops.c: Likewise.
51345         * libio/genops.c: Likewise.
51346         * libio/iofclose.c: Likewise.
51347         * libio/iofdopen.c: Likewise.
51348         * libio/iofopen.c: Likewise.
51349         * libio/iofopen64.c: Likewise.
51350         * libio/iogetdelim.c: Likewise.
51351         * libio/iopopen.c: Likewise.
51352         * libio/obprintf.c: Likewise.
51353         * libio/oldfileops.c: Likewise.
51354         * libio/oldiofclose.c: Likewise.
51355         * libio/oldiofdopen.c: Likewise.
51356         * libio/oldiofopen.c: Likewise.
51357         * libio/oldiopopen.c: Likewise.
51358         * libio/wfiledoalloc.c: Likewise.
51359         * libio/wgenops.c: Likewise.
51360         * locale/programs/xmalloc.c: Likewise.
51361         * misc/syslog.c: Likewise.
51362         * stdio-common/xbug.c: Likewise.
51363         * string/memchr.c: Likewise.
51364         * string/memcmp.c: Likewise.
51365         * string/memrchr.c: Likewise.
51366         * string/rawmemchr.c: Likewise.
51367         * sysdeps/posix/getcwd.c: Likewise.
51368         * time/strftime_l.c: Likewise.
51370 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51372         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51373         * config.make.in (config-cflags-sse2avx): Define.
51374         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51375         Fix typo.
51377 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
51379         * scripts/config.guess: Update from upstream config git repository.
51380         * scripts/config.sub: Likewise.
51382 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
51384         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51385         (EM_NUM): Update.
51386         (R_TILEPRO_*, R_TILEGX_*): New macros.
51388         * scripts/firstversions.awk: Fix bug in version range handling.
51390         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51392         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51394         * include/sys/epoll.h: New file.
51395         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51396         libc_hidden_def.
51398 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
51400         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51401         Avoid unnecessary __WORDSIZE == 64 test.
51402         (fmaxf): Use VEX format if possible.
51403         (fmax): Likewise.
51404         (fminf): Likewise.
51405         (fmin): Likewise.
51407         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51408         * math/math_private.h: Remove libc_fegetround* and
51409         libc_fesetround*.
51410         * sysdeps/i386/configure.in: Check for -msse2avx.
51411         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51412         also if SSE2AVX is defined.
51413         Remove libc_fegetround* and libc_fesetround*.
51414         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51415         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
51416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51417         of HAS_YMM_USABLE.
51418         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51419         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51420         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51421         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51422         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51424         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51426 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51428         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51429         size is not set.
51430         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51432 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
51434         [BZ #13618]
51435         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51436         relocation.
51437         * Makeconfig (libm): Define.
51438         * elf/Makefile: Add rules to build and run tst-relsort1.
51439         * elf/tst-relsort1.c: New file.
51440         * elf/tst-relsort1mod1.c: New file.
51441         * elf/tst-relsort1mod2.c: New file.
51443 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
51445         * math/s_ldexp.c: Remove __STDC__ conditionals.
51446         * math/s_ldexpf.c: Likewise.
51447         * math/s_ldexpl.c: Likewise.
51448         * math/s_nextafter.c: Likewise.
51449         * math/s_nexttowardf.c: Likewise.
51450         * math/s_significand.c: Likewise.
51451         * math/s_significandf.c: Likewise.
51452         * math/s_significandl.c: Likewise.
51453         * math/w_jnl.c: Likewise.
51454         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51455         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51456         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51457         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51458         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51459         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51460         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51461         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51462         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51463         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51464         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51465         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51466         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51467         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51468         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51469         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51473         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51474         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51475         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51476         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51477         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51478         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51479         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51480         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51481         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51482         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51483         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51484         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51485         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51486         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51487         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51488         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51489         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51490         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51491         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51492         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51493         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51494         * sysdeps/ieee754/k_standard.c: Likewise.
51495         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51496         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51497         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51503         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51504         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51505         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51506         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51507         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51508         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51509         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51510         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51511         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51512         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51513         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51514         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51515         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51517         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51518         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51519         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51520         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51525         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51526         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51527         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51528         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51529         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51530         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51531         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51533         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51534         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51535         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51538         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51539         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51540         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51541         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51543         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51544         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51545         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51546         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51547         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51548         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51549         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51550         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51551         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51552         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51553         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51555         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51556         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51557         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51558         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51559         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51560         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51561         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51562         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51563         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51564         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51565         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51566         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51567         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51568         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51569         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51570         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51571         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51572         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51573         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51574         * sysdeps/ieee754/s_matherr.c: Likewise.
51575         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51576         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51577         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51578         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51580 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51582         * crypt/md5.h: Remove __STDC__ conditionals.
51583         * libio/libioP.h: Likewise.
51584         * locale/programs/config.h: Likewise.
51585         * sysdeps/generic/sysdep.h: Likewise.
51586         * sysdeps/i386/asm-syntax.h: Likewise.
51587         * sysdeps/s390/asm-syntax.h: Likewise.
51588         * sysdeps/unix/sysdep.h: Likewise.
51589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51592 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51594         * libio/libio.h: Remove __STDC__ conditionals.
51595         * malloc/obstack.h: Likewise.
51596         * math/complex.h: Likewise.
51597         * math/math.h: Likewise.
51598         * sysdeps/generic/_G_config.h: Likewise.
51599         * sysdeps/gnu/_G_config.h: Likewise.
51600         * sysdeps/mach/hurd/_G_config.h: Likewise.
51601         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51602         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51603         * sysdeps/sparc/bits/mathdef.h: Likewise.
51605 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
51607         [BZ #13583]
51608         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51609         Clean up HAS_* macros.
51610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51611         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51612         possible.
51613         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51614         HAS_AVX.
51615         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51616         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51617         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51618         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51619         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51621 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
51623         * elf/tst-unique3.cc (gets): Remove declaration.
51624         * elf/tst-unique3lib.cc (gets): Likewise.
51625         * elf/tst-unique3lib2.cc (gets): Likewise.
51626         * elf/tst-unique4.cc (gets): Likewise.
51628 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
51630         * include/stdio.h: Add C++ protection.  Add gets declarations and
51631         definitions.
51632         * debug/tst-chk1.c: Don't declare gets here.
51633         * stdio-common/tst-gets.c: Likewise.
51635 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51637         * posix/glob: Remove directory.
51639 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51641         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51643 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
51645         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51646         of the non-standard EPFNOSUPPORT.
51648 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51650         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51651         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51652         ANYWHERE set to 1 only on KERN_NO_SPACE error.
51654 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
51656         * wcsmbs/uchar.h: Test __STDC_VERSION__.
51658 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
51660         * nscd/aicache.c (addhstaiX): Do not cache negative results of
51661         transient errors.
51662         * nscd/grpcache.c (cache_addgr): Likewise.
51663         * nscd/hstcache.c (cache_addhst): Likewise.
51664         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51665         * nscd/pwdcache.c (cache_addpw): Likewise.
51666         * nscd/servicescache.c (cache_addserv): Likewise.
51668 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
51670         * malloc/malloc.c: Various cleanups.
51671         * malloc/hooks.c: Likewise.
51673         * stdlib/Makefile (tests): Add bug-fmtmsg1.
51674         * stdlib/bug-fmtmsg1.c: New file.
51676         * stdlib/fmtmsg.c (init): Add missing unlock.
51677         Patch by Peng Haitao <penght@cn.fujitsu.com>.
51679 2012-01-12  Marek Polacek  <polacek@redhat.com>
51681         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51682         and _GNU_SOURCE.
51684 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51686         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51687         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51688         macro to ensure uniqueness of label name.
51689         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51690         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51692 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
51694         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51696         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51697         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51698         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51699         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51701 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
51703         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51705         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51706         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51707         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51709         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51711         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51712         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51713         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51716         * math/bits/math-finite.h: Add ldexp support.
51718 2012-01-10  Marek Polacek  <polacek@redhat.com>
51720         * locale/programs/localedef.h (show_archive_content): Add noreturn
51721         attribute.
51723 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
51725         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51727 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51729         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51731         * io/Makefile (headers): Add bits/poll2.h.
51733 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
51735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51736         typo #include statement.
51738 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51740         * include/sys/cdefs.h: Define __attribute_alloc_size.
51741         * catgets/gencat.c: Add alloc_size attribute and apply consistently
51742         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51743         * elf/pldd.c: Likewise.
51744         * iconv/iconv_charmap.c: Likewise.
51745         * iconv/iconvconfig.c: Likewise.
51746         * iconv/strtab.c: Likewise.
51747         * locale/programs/locale.c: Likewise.
51748         * locale/programs/localedef.h: Likewise.
51749         * locale/programs/simple-hash.c: Likewise.
51750         * nscd/nscd.h: Likewise.
51751         * nss/makedb.c: Likewise.
51752         * sysdeps/generic/ldconfig.h: Likewise.
51753         * locale/programs/localedef.c: Remove xmalloc prototype.
51754         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51756 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51759         appropriate.
51761 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51763         * math/Makefile (tests): Add tst-CMPLX.
51764         * math/tst-CMPLX.c: New file.
51766         * math/complex.h (CMPLXL): Fix typo.
51768         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51769         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51770         GLIBC_2.16.
51771         * debug/tst-chk1.c: Add poll and ppoll tests.
51772         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51773         * include/sys/poll.h: Add hidden proto for ppoll.
51774         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51775         * sysdeps/mach/hurd/ppoll.c: Likewise.
51776         * io/ppoll.c: Likewise.
51777         * debug/poll_chk.c: New file.
51778         * debug/ppoll_chk.c: New file.
51779         * include/bits/poll2.h: New file.
51780         * io/bits/poll2.h: New file.
51782         [BZ #1350]
51783         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51785         * configure.in: static is always set to yes.  Remove.
51786         * config.make.in: Don't set build-static.
51787         * Makeconfig: Remove use of build-static.
51788         * dlfcn/Makefile: Likewise.
51789         * elf/Makefile: Likewise.
51790         * math/Makefile: Likewise.
51791         * misc/Makefile: Likewise.
51792         * nptl/Makefile: Likewise.
51793         * sysdeps/mach/hurd/Makefile: Likewise.
51795         * configure.in: PWD_P is not used anymore.
51796         * config.make.in: Remove PWD_P entry.
51798         * configure.in: Remove last remnants of RANLIB.
51799         No need to check for signed size_t anymore.
51800         Don't set libc_commonpagesize and libc_relro_required here for Alpha
51801         and IA-64.
51802         Remove __builtin_expect test because we require at least gcc 3.4.
51803         * aclocal.m4: Likewise.
51805         * wcsmbs/mbrtoc16.c: Implement using towc function.
51806         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51807         * wcsmbs/wcsmbsload.c: Likewise.
51808         * iconv/gconv_simple.c: Likewise.
51809         * iconv/gconv_int.h: Likewise.
51810         * iconv/gconv_builtin.h: Likewise.
51811         * iconv/iconv_prog.c: Remove CHAR16 handling.
51813         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51815         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51817         * configure.in: Remove --with-elf and --enable-bounded options.
51818         Dont set base_machine for ia64.  More non-ELF conditions removed.
51819         Remove testing and setting of leading underscore information.
51820         * config.make.in (build-bounded): Set to no.
51821         * config.h.in: Remove NO_UNDERSCORES entry.
51822         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
51823         them.
51824         * csu/start.c: Remove !NO_UNDERSCORE code.
51825         * locale/localeinfo.h: Likewise.
51826         * sysdeps/generic/machine-gmon.h: Likewise.
51827         * sysdeps/generic/sysdep.h: Likewise.
51828         * sysdeps/i386/sysdep.h: Likewise.
51829         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51830         * sysdeps/mach/sysdep.h: Likewise.
51831         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51832         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51833         * sysdeps/sh/sysdep.h: Likewise.
51834         * sysdeps/sparc/sparc32/alloca.S: Likewise.
51835         * sysdeps/unix/i386/sysdep.S: Likewise.
51836         * sysdeps/unix/sparc/start.c: Likewise.
51837         * sysdeps/unix/sparc/sysdep.S: Likewise.
51838         * sysdeps/unix/sparc/sysdep.h: Likewise.
51839         * sysdeps/unix/start.c: Likewise.
51840         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51841         * sysdeps/x86_64/sysdep.h: Likewise.
51843 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
51845         [BZ #13553]
51846         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51847         for non-gcc.
51848         * argp/argp-fmtstream.h: Use const instead __const.
51849         * argp/argp.h: Likewise.
51850         * assert/assert.h: Likewise.
51851         * bits/fenv.h: Likewise.
51852         * bits/sched.h: Likewise.
51853         * bits/sigset.h: Likewise.
51854         * bits/sigthread.h: Likewise.
51855         * catgets/nl_types.h: Likewise.
51856         * conform/data/pthread.h-data: Likewise.
51857         * crypt/crypt-private.h: Likewise.
51858         * crypt/crypt.h: Likewise.
51859         * crypt/crypt_util.c: Likewise.
51860         * ctype/ctype.h: Likewise.
51861         * debug/execinfo.h: Likewise.
51862         * debug/mbsnrtowcs_chk.c: Likewise.
51863         * debug/mbsrtowcs_chk.c: Likewise.
51864         * debug/wcsnrtombs_chk.c: Likewise.
51865         * debug/wcsrtombs_chk.c: Likewise.
51866         * debug/wcstombs_chk.c: Likewise.
51867         * dirent/dirent.h: Likewise.
51868         * dlfcn/dlfcn.h: Likewise.
51869         * elf/neededtest4.c: Likewise.
51870         * grp/grp.h: Likewise.
51871         * gshadow/gshadow.h: Likewise.
51872         * iconv/gconv.h: Likewise.
51873         * iconv/gconv_int.h: Likewise.
51874         * iconv/gconv_simple.c: Likewise.
51875         * iconv/iconv.h: Likewise.
51876         * iconv/loop.c: Likewise.
51877         * iconv/skeleton.c: Likewise.
51878         * include/aio.h: Likewise.
51879         * include/aliases.h: Likewise.
51880         * include/argz.h: Likewise.
51881         * include/arpa/inet.h: Likewise.
51882         * include/assert.h: Likewise.
51883         * include/dirent.h: Likewise.
51884         * include/dlfcn.h: Likewise.
51885         * include/execinfo.h: Likewise.
51886         * include/fcntl.h: Likewise.
51887         * include/fenv.h: Likewise.
51888         * include/glob.h: Likewise.
51889         * include/grp.h: Likewise.
51890         * include/libintl.h: Likewise.
51891         * include/mntent.h: Likewise.
51892         * include/netdb.h: Likewise.
51893         * include/pwd.h: Likewise.
51894         * include/rpc/netdb.h: Likewise.
51895         * include/sched.h: Likewise.
51896         * include/search.h: Likewise.
51897         * include/shadow.h: Likewise.
51898         * include/signal.h: Likewise.
51899         * include/stdio.h: Likewise.
51900         * include/stdlib.h: Likewise.
51901         * include/string.h: Likewise.
51902         * include/sys/socket.h: Likewise.
51903         * include/sys/stat.h: Likewise.
51904         * include/sys/statfs.h: Likewise.
51905         * include/sys/statvfs.h: Likewise.
51906         * include/sys/syslog.h: Likewise.
51907         * include/sys/time.h: Likewise.
51908         * include/sys/uio.h: Likewise.
51909         * include/time.h: Likewise.
51910         * include/unistd.h: Likewise.
51911         * include/utmp.h: Likewise.
51912         * include/wchar.h: Likewise.
51913         * include/wctype.h: Likewise.
51914         * inet/aliases.h: Likewise.
51915         * inet/arpa/inet.h: Likewise.
51916         * inet/netinet/ether.h: Likewise.
51917         * inet/netinet/in.h: Likewise.
51918         * intl/libintl.h: Likewise.
51919         * io/bits/fcntl2.h: Likewise.
51920         * io/fcntl.h: Likewise.
51921         * io/ftw.h: Likewise.
51922         * io/sys/poll.h: Likewise.
51923         * io/sys/stat.h: Likewise.
51924         * io/sys/statfs.h: Likewise.
51925         * io/sys/statvfs.h: Likewise.
51926         * io/utime.h: Likewise.
51927         * libio/bits/stdio.h: Likewise.
51928         * libio/bits/stdio2.h: Likewise.
51929         * libio/libio.h: Likewise.
51930         * libio/libioP.h: Likewise.
51931         * libio/stdio.h: Likewise.
51932         * locale/lc-ctype.c: Likewise.
51933         * locale/locale.h: Likewise.
51934         * login/utmp.h: Likewise.
51935         * malloc/arena.c: Likewise.
51936         * malloc/malloc.c: Likewise.
51937         * malloc/malloc.h: Likewise.
51938         * malloc/mcheck.c: Likewise.
51939         * malloc/mtrace.c: Likewise.
51940         * math/bits/mathcalls.h: Likewise.
51941         * math/fenv.h: Likewise.
51942         * math/math_private.h: Likewise.
51943         * misc/bits/error.h: Likewise.
51944         * misc/bits/syslog.h: Likewise.
51945         * misc/err.h: Likewise.
51946         * misc/error.h: Likewise.
51947         * misc/fstab.h: Likewise.
51948         * misc/mntent.h: Likewise.
51949         * misc/regexp.h: Likewise.
51950         * misc/search.h: Likewise.
51951         * misc/sgtty.h: Likewise.
51952         * misc/sys/mman.h: Likewise.
51953         * misc/sys/syslog.h: Likewise.
51954         * misc/sys/uio.h: Likewise.
51955         * misc/sys/xattr.h: Likewise.
51956         * misc/ttyent.h: Likewise.
51957         * nis/rpcsvc/ypclnt.h: Likewise.
51958         * nss/nss.h: Likewise.
51959         * posix/bits/unistd.h: Likewise.
51960         * posix/fnmatch.h: Likewise.
51961         * posix/glob.h: Likewise.
51962         * posix/sched.h: Likewise.
51963         * posix/spawn.h: Likewise.
51964         * posix/sys/wait.h: Likewise.
51965         * posix/unistd.h: Likewise.
51966         * posix/wordexp.h: Likewise.
51967         * pwd/pwd.h: Likewise.
51968         * resolv/netdb.h: Likewise.
51969         * resource/sys/resource.h: Likewise.
51970         * rt/aio.h: Likewise.
51971         * rt/bits/mqueue2.h: Likewise.
51972         * rt/mqueue.h: Likewise.
51973         * shadow/shadow.h: Likewise.
51974         * signal/signal.h: Likewise.
51975         * socket/send.c: Likewise.
51976         * socket/sendto.c: Likewise.
51977         * socket/sys/socket.h: Likewise.
51978         * stdio-common/printf.h: Likewise.
51979         * stdlib/bits/stdlib.h: Likewise.
51980         * stdlib/fmtmsg.h: Likewise.
51981         * stdlib/monetary.h: Likewise.
51982         * stdlib/stdlib.h: Likewise.
51983         * stdlib/ucontext.h: Likewise.
51984         * streams/stropts.h: Likewise.
51985         * string/argz.h: Likewise.
51986         * string/bits/string2.h: Likewise.
51987         * string/string.h: Likewise.
51988         * string/strings.h: Likewise.
51989         * sunrpc/rpc/auth.h: Likewise.
51990         * sunrpc/rpc/auth_des.h: Likewise.
51991         * sunrpc/rpc/clnt.h: Likewise.
51992         * sunrpc/rpc/netdb.h: Likewise.
51993         * sunrpc/rpc/pmap_clnt.h: Likewise.
51994         * sunrpc/rpc/xdr.h: Likewise.
51995         * sysdeps/generic/inttypes.h: Likewise.
51996         * sysdeps/generic/net/if.h: Likewise.
51997         * sysdeps/generic/sys/swap.h: Likewise.
51998         * sysdeps/gnu/net/if.h: Likewise.
51999         * sysdeps/gnu/utmpx.h: Likewise.
52000         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52001         * sysdeps/i386/i486/bits/string.h: Likewise.
52002         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52003         * sysdeps/s390/bits/string.h: Likewise.
52004         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52005         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52006         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52007         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52008         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52009         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52010         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52011         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52012         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52013         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52014         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52015         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52016         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52017         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52018         * sysdeps/unix/sysv/linux/readv.c: Likewise.
52019         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52020         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52022         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52023         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52024         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52025         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52026         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52027         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52028         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52029         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52030         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52031         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52032         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52033         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52034         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52035         * sysvipc/sys/ipc.h: Likewise.
52036         * sysvipc/sys/msg.h: Likewise.
52037         * sysvipc/sys/sem.h: Likewise.
52038         * sysvipc/sys/shm.h: Likewise.
52039         * termios/termios.h: Likewise.
52040         * time/sys/time.h: Likewise.
52041         * time/time.h: Likewise.
52042         * wcsmbs/bits/wchar2.h: Likewise.
52043         * wcsmbs/uchar.h: Likewise.
52044         * wcsmbs/wchar.h: Likewise.
52045         * wctype/wctype.h: Likewise.
52047         [BZ #13551]
52048         * Makeconfig: Remove all but ELF support including AIX support.
52049         * Makerules: Likewise.
52050         * config.h.in: Likewise.
52051         * config.make.in: Likewise.
52052         * configure: Likewise.
52053         * configure.in: Likewise.
52054         * csu/Makefile: Likewise.
52055         * csu/version.c: Likewise.
52056         * debug/Makefile: Likewise.
52057         * dlfcn/Makefile: Likewise.
52058         * elf/Makefile: Likewise.
52059         * extra-lib.mk: Likewise.
52060         * iconv/Makefile: Likewise.
52061         * include/libc-symbols.h: Likewise.
52062         * include/shlib-compat.h: Likewise.
52063         * resolv/Makefile: Likewise.
52064         * resolv/res_libc.c: Likewise.
52065         * rt/Makefile: Likewise.
52066         * sysdeps/i386/asm-syntax.h: Likewise.
52067         * sysdeps/i386/sysdep.h: Likewise.
52068         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52069         * sysdeps/mach/sysdep.h: Likewise.
52070         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52071         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52072         * sysdeps/s390/asm-syntax.h: Likewise.
52073         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52074         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52075         * sysdeps/sh/sysdep.h: Likewise.
52076         * sysdeps/unix/sparc/sysdep.h: Likewise.
52077         * sysdeps/wordsize-32/divdi3.c: Likewise.
52078         * sysdeps/x86_64/sysdep.h: Likewise.
52080         * argp/Versions: Remove _argp_unlock_xxx.
52082         [BZ #13559]
52083         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
52084         * abilist/libBrokenLocale.abilist: Likewise.
52085         * abilist/libanl.abilist: Likewise.
52086         * abilist/libc.abilist: Likewise.
52087         * abilist/libcrypt.abilist: Likewise.
52088         * abilist/libdl.abilist: Likewise.
52089         * abilist/libm.abilist: Likewise.
52090         * abilist/libnsl.abilist: Likewise.
52091         * abilist/libpthread.abilist: Likewise.
52092         * abilist/libresolv.abilist: Likewise.
52093         * abilist/librt.abilist: Likewise.
52094         * abilist/libthread_db.abilist: Likewise.
52095         * abilist/libutil.abilist: Likewise.
52096         * abilist/libnss_db.abilist: New file.
52098         * scripts/abilist.awk: Add support for indirect functions.
52100         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52102         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52104         * shlib-versions: Remove entries for ports architectures.
52106         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
52107         files in ports.
52108         * elf/stackguard-macros.h: Remove support for IA-64.
52109         * elf/tst-auditmod1.c: Likewise.
52110         * sysdeps/generic/ldsodefs.h: Likewise.
52112         * sysdeps/unix/sysv/linux/configure.in: Ports should define
52113         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52114         configure files.
52116         [BZ #13552]
52117         * configure.in: Remove --enable-omitfp support.
52118         * FAQ.in: Adjust.
52119         * config.make.in: Likewise.
52120         * Makeconfig: Likewise.
52121         * manual/install.texi: Likewise.
52123         In case anyone cares, the IA-64 architecture could move to ports.
52124         * sysdeps/ia64/*: Removed.
52125         * sysdeps/unix/sysv/linux/ia64/*: Removed.
52126         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52128         [BZ #13555]
52129         * configure.in: Remove entries for unsupported architectures.
52131         [BZ #13533]
52132         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52133         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
52134         routines.
52135         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52136         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52137         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
52138         fall back to using wcrtomb.
52139         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52140         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
52141         renaming.
52142         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52143         * wcsmbs/tst-c16c32-1.c: New file.
52145         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52146         local variable.
52148         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52150         * elf/tst-unique3.cc: Add explicit declaration of gets.
52151         * elf/tst-unique3lib.cc: Likewise.
52152         * elf/tst-unique3lib2.cc: Likewise.
52153         * elf/tst-unique4.cc: Likewise.
52155         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52157 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
52159         [BZ #13566]
52160         * assert/assert.h (static_assert): Don't define for C++.
52161         * libio/stdio.h (gets): Do declare for C++ <= C++11.
52162         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52164 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
52166         * iconv/loop.c (single loop): Fix assertion in storing of
52167         remaining bytes.
52169         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52171 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
52173         * posix/getconf.c: Update copyright year.
52174         * nss/getent.c: Likewise.
52175         * nss/makedb.c: Likewise.
52176         * iconv/iconvconfig.c: Likewise.
52177         * iconv/iconv_prog.c: Likewise.
52178         * elf/ldconfig.c: Likewise.
52179         * elf/pldd.c: Likewise.
52180         * elf/sotruss.ksh: Likewise.
52181         * catgets/gencat.c: Likewise.
52182         * csu/version.c: Likewise.
52183         * elf/ldd.bash.in: Likewise.
52184         * elf/sprof.c (print_version): Likewise.
52185         * locale/programs/locale.c: Likewise.
52186         * locale/programs/localedef.c: Likewise.
52187         * login/programs/pt_chown.c: Likewise.
52188         * nscd/nscd.c (print_version): Likewise.
52189         * debug/xtrace.sh: Likewise.
52190         * malloc/memusage.sh: Likewise.
52191         * malloc/mtrace.pl: Likewise.
52192         * debug/catchsegv.sh: Likewise.
52194 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
52196         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52197         pure attribute.
52199 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
52201         [BZ #13533]
52202         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52203         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52204         transformations.
52205         * iconv/gconv_int.h: Likewise.
52206         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52207         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52208         from libc for GLIBC_2.16.
52209         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52210         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52211         * wcsmbs/uchar.h: Really define mbstate_t.
52212         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52213         * wcsmbs/c16rtomb.c: New file.
52214         * wcsmbs/mbrtoc16.c: New file.
52215         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52216         for C/POSIX locale.
52217         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52218         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52220         * wcsmbs/wchar.h: Add missing __restrict.
52222 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52224         [BZ #13532]
52225         * time/Makefile (routines): Add timespec_get.
52226         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52227         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
52228         timespec for ISO C11.
52229         * time/timespec_get.c: New file.
52230         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52231         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52233         [BZ #13531]
52234         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52235         * stdlib/stdlib.h: Declare aligned_alloc.
52236         * Versions.def: Add GLIBC_2.16 for libc.
52237         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52239         [BZ 13527]
52240         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52241         ISO C11.
52243         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52244         code.
52246         [BZ #13528]
52247         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52249         [BZ #13529]
52250         * assert/assert.h (static_assert): Define.
52252         * version.h: Update for 2.16 development version.
52254         [BZ #13526]
52255         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52256         _ISOC11_SOURCE.
52258         * version.h (RELEASE): Bump for 2.15 release.
52259         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52261         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52262         Patch by Marek Polacek <mpolacek@redhat.com>.
52264         * bits/byteswap.h: Protect long long constants with __extension__.
52265         * sysdeps/i386/bits/byteswap.h: Likewise.
52266         * sysdeps/ia64/bits/byteswap.h: Likewise.
52267         * sysdeps/s390/bits/byteswap.h: Likewise.
52268         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52270 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52272         [BZ #13540]
52273         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52274         destination buffer.
52275         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52277 2011-12-23  Marek Polacek  <polacek@redhat.com>
52279         * elf/dl-addr.c (determine_info): Add inline keyword.
52280         * elf/tst-auditmod4b.c (check_avx): Likewise.
52281         * elf/tst-auditmod6b.c (check_avx): Likewise.
52282         * elf/tst-auditmod6c.c (check_avx): Likewise.
52283         * elf/tst-auditmod7b.c (check_avx): Likewise.
52285 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52287         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52288         !__SSE_MATH__.
52290 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52292         [BZ #13540]
52293         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52294         processing for last bytes.
52296 2011-08-06  Bruno Haible  <bruno@clisp.org>
52298         [BZ #13061]
52299         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52300         U+0385, not to U+1FEE.
52302         [BZ #13062]
52303         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52304         entry for U+00A5 U+0301.
52306 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52308         [BZ #13166]
52309         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52310         buffer for the output is too small.
52312         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52313         optimization.
52315         [BZ #13185]
52316         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52317         SSE flags if possible.
52319 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52321         [BZ #13540]
52322         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52323         processing for last bytes.
52325 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
52327         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52328         (syscall-list-default-options, syscall-list-default-condition)
52329         (syscall-list-includes): Define.
52330         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52331         list of ABIs and options and #if conditions for each ABI.  Do not
52332         handle common syscalls between ABIs specially.
52333         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52334         Remove.
52335         (syscall-list-variants, syscall-list-32bit-options)
52336         (syscall-list-32bit-condition, syscall-list-64bit-options)
52337         (syscall-list-64bit-condition): Define.
52338         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52339         (syscall-list-variants, syscall-list-32bit-options)
52340         (syscall-list-32bit-condition, syscall-list-64bit-options)
52341         (syscall-list-64bit-condition): Define.
52342         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52343         Remove.
52344         (syscall-list-variants, syscall-list-32bit-options)
52345         (syscall-list-32bit-condition, syscall-list-64bit-options)
52346         (syscall-list-64bit-condition): Define.
52347         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52348         Remove.
52349         (syscall-list-variants, syscall-list-32bit-options)
52350         (syscall-list-32bit-condition, syscall-list-64bit-options)
52351         (syscall-list-64bit-condition): Define.
52353 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52355         * locale/iso-639.def: Add brx entry.
52357         [BZ #13328]
52358         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52359         Proposed by Mariusz_Cukr <marcukr@op.pl>.
52361         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52362         __feraiseexcept_renamed.
52364 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52366         [BZ #13538]
52367         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52368         EPOLLET with unsigned values.
52369         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52370         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52372         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52373         to large cancellation.
52374         * math/s_cacoshf.c: Likewise.
52375         * math/s_cacoshl.c: Likewise.
52377 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
52379         [BZ #13305]
52380         [BZ #12786]
52381         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52382         * math/s_cacoshf.c: Likewise.
52383         * math/s_cacoshl.c: Likewise.
52385 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52387         [BZ #13439]
52388         * iconv/gconv.h: Define __GCONV_SWAP.
52389         * iconvdata/unicode.c: The swap bit must be stored in __flags.
52390         * iconvdata/utf-16.c: Likewise.
52391         * iconvdata/utf-32.c: Likewise.
52393 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
52395         [BZ #13524]
52396         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52397         numerator after shifting it by one limb.
52399 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
52401         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52402         under [__USE_EXTERN_INLINES].
52404 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52406         [BZ #13446]
52407         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52409 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52411         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52412         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52413         optimized code.
52414         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52415         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52416         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52417         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52418         for strncasecmp/strncasecmp_l compilation.
52419         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52420         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52422 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
52424         [BZ #13484]
52425         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52426         of __asm__.
52428 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52430         [BZ #13506]
52431         * time/tzfile.c (__tzfile_read): Check values from file header.
52433 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52435         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52436         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52437         * powerpc/powerpc32/dl-start.S: Likewise.
52438         * powerpc/powerpc32/elf/start.S: Likewise.
52439         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52440         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52441         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52442         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52443         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52444         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52445         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52446         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52447         * powerpc/powerpc32/fpu/s_round.S: Likewise.
52448         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52449         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52450         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52451         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52452         * powerpc/powerpc32/memset.S: Likewise.
52453         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52454         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52455         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52456         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52457         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52458         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52459         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52460         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52461         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52462         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52463         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52464         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52465         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52467 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52469         * math/libm-test.inc: Added more nearbyint tests.
52470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52471         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52473         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52475 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
52477         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52478         FD_CLOEXEC.
52480 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52482         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52483         Add wcscpy-ssse3 wcscpy-c.
52484         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52485         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52486         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52487         * sysdeps/x86_64/wcschr.S: New file.
52488         * sysdeps/x86_64/wcsrchr.S: New file.
52489         * string/test-strcmp.c: Remove checking of wcscmp function for
52490         wrong alignments.
52491         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52492         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52493         wcsrchr-sse2 wcsrchr-c.
52494         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52495         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52496         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52497         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52498         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52499         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52500         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52501         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52502         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52503         * wcsmbc/wcschr.c (WCSCHR): New macro.
52505 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52507         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52508         * wcsmbs/test-wcsrchr.c: New file.
52509         * string/test-strrchr.c: Add wcsrchr support.
52510         (WIDE): New macro.
52511         * wcsmbs/test-wcscpy.c: New file.
52512         * string/test-strcpy.c: Add wcscpy support.
52513         (WIDE): New macro.
52515 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
52517         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52518         the inner loop.
52520 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
52522         [BZ #13472]
52523         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52525 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
52527         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52528         Minor optimizations.
52530         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52531         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52532         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52534 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
52536         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52537         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52538         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52539         for gcc to avoid warnings.
52540         * inet/Makefile (tests): Add tst-checks.
52541         * inet/tst-checks.c: New file.
52543         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52544         warning.
52546         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52547         __wmemcmp_sse2.
52549         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52550         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52552         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52554 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
52556         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52557         problem.
52559         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52561 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
52563         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52564         conditional on GCC version.
52565         (__arch_compare_and_exchange_val_8_acq)
52566         (__arch_compare_and_exchange_val_16_acq)
52567         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52568         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52569         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52571 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
52573         * sysdeps/sh/backtrace.c: New file.
52575 2011-12-02  Andreas Schwab  <schwab@redhat.com>
52577         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
52578         parenthesis.
52580 2011-12-01  Andreas Schwab  <schwab@redhat.com>
52582         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52583         falling back to utime.
52585 2011-11-30  Andreas Schwab  <schwab@redhat.com>
52587         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52588         expectations for float.
52590 2011-11-29  Andreas Schwab  <schwab@redhat.com>
52592         * locale/weight.h (findidx): Add parameter len.
52593         * locale/weightwc.h (findidx): Likewise.
52594         * posix/fnmatch_loop.c (FCT): Adjust caller.
52595         * posix/regcomp.c (build_equiv_class): Likewise.
52596         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52597         * posix/regexec.c (check_node_accept_bytes): Likewise.
52598         * string/strcoll_l.c (STRCOLL): Likewise.
52599         * string/strxfrm_l.c (STRXFRM): Likewise.
52601 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
52603         * Makefile.in: Remove CVSOPT handling.
52604         * configure.in: Remove use of AC_REVISION.
52605         * iconvdata/Makefile (distribute): No need to filter out CVS.
52606         * scripts/list-sources.sh: Remove CVS, subversion and monotone
52607         handling.
52609 2011-11-16  Andreas Schwab  <schwab@redhat.com>
52611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52612         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52613         [USE_AS_STRNCASECMP_L]: Likewise.
52614         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52615         NO_TLS_DIRECT_SEG_REFS.
52616         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52617         Fix argument offsets for non-PIC.
52618         [USE_AS_STRNCASECMP_L]: Likewise.
52619         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52620         NO_TLS_DIRECT_SEG_REFS.
52622 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52624         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52625         O_CLOEXEC.
52626         * locale/loadlocale.c (_nl_load_locale): Likewise.
52628 2011-11-15  Andreas Schwab  <schwab@redhat.com>
52630         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52631         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52632         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52633         (SYSCALL_GETTIME): Set errno on error.
52635         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52636         count references to noai6ai_cached.
52638 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52640         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52642         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52643         FD_CLOEXEC for /proc/self/maps.
52645         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52646         FD_CLOEXEC for /proc/meminfo.
52648         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52649         gai.conf.
52651         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
52652         FD_CLOEXEC for given file.
52654         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52656         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52657         FD_CLOEXEC for /etc/hosts.
52658         (_gethtent): Likewise.
52660         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52662         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52663         cancellation and set FD_CLOEXEC for /etc/netgroup.
52665         * nss/nss_files/files-key.c (search): Don't allow cancellation when
52666         reading /etc/publickey.
52668         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52669         allow cancellation when reading /etc/group.
52671         * nss/nss_files/files-alias.c (internal_setent): Don't allow
52672         cancellation.
52673         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
52675         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52676         when using data file.
52678         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52680         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52681         (write_nis_obj): Use "c" and "e" in fopen.
52683         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52685         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52687         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52689         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52691         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52692         locale.alias.
52694         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52696         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52698         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52700         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52701         file parsing and set FD_CLOEXEC.
52703 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52705         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52707 2011-11-14  Andreas Schwab  <schwab@redhat.com>
52709         * malloc/arena.c (arena_get2): Don't call reused_arena when
52710         _int_new_arena failed.
52712 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52714         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52715         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52716         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52717         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52718         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52719         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52720         to compile strcasecmp and strncasecmp.
52721         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52722         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52726 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
52728         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52729         locale-defines.sym to gen-as-const-headers.
52730         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52731         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52733         to compile strcasecmp and strncasecmp.
52734         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52735         strcasecmp_l and strncasecmp_l.
52736         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52737         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52738         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52739         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52740         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52741         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52742         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52743         * sysdeps/i386/i686/multiarch/strncase.S: New file.
52744         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52745         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52746         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52748 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
52750         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52751         result of SYSDEP_GETTIME_CPU to retval.
52752         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52753         parameter list to macro.  Remove trailing semicolon.  Adjust users.
52755         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52756         variable.
52758         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52759         mantissa words.
52760         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52762         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52763         from unused variable.
52765         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52766         DWARF definitions.
52767         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52768         for assembling.
52770         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52771         over namespaces.
52773         * sunrpc/rpc_prot.c (rejected): Fix case value.
52775         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52776         unsigned long long int to avoid warnings in shift.
52778         * posix/regex_internal.c (re_string_reconstruct): Actually use result
52779         of use of trans.
52780         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52781         variable tmp.
52783         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52784         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52785         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52787         * nis/nis_table.c (nis_list): Use variable of correct type for
52788         result of __follow_path call.
52790 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52792         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52793         of math functions ceil, trunc, floor, round, and sqrt, when
52794         avaliable on the platform.
52795         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52796         name clash.
52797         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52798         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52799         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52801 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
52803         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52804         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52806 2011-11-11  Roland McGrath  <roland@hack.frob.com>
52808         * include/unistd.h: Fix __readlink return type.
52809         Reported by Chris Metcalf <cmetcalf@tilera.com>.
52811 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
52813         * stdlib/ucontext.h: Undo last change for makecontext.
52815 2011-11-11  Andreas Schwab  <schwab@redhat.com>
52817         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52819         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52820         * setjmp/setjmp.h: Mark functions as non-leaf.
52821         * setjmp/bits/setjmp2.h: Likewise.
52822         * stdlib/ucontext.h: Likewise.
52824 2011-11-10  Andreas Schwab  <schwab@redhat.com>
52826         * malloc/arena.c (_int_new_arena): Don't increment narenas.
52827         (reused_arena): Don't check arena limit.
52828         (arena_get2): Atomically check arena limit.
52830 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
52832         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52833         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52836         instructions.
52838 2011-11-07  Andreas Schwab  <schwab@redhat.com>
52840         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52841         handler when locking.
52843         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52844         Fix size of allocated buffer.
52846 2011-11-04  Andreas Schwab  <schwab@redhat.com>
52848         [BZ #10103]
52849         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52850         declarations for long double functions.
52851         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52853         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52855 2011-11-03  Andreas Schwab  <schwab@redhat.com>
52857         * nscd/nscd.c (main): Don't start AVC thread until credentials are
52858         installed.
52860         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52861         is disabled.
52863 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52865         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52867 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52869         * include/alloca.h (stackinfo_alloca_round): Define.
52870         (extend_alloca): Use it.
52871         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52872         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52873         here.
52875         * scripts/check-local-headers.sh: Ignore libaudit.h.
52877         * nscd/Makefile (extra-objs): Make recursively expanded.
52879 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
52881         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52882         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52884         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52885         * posix/tst-rfc3484-2.c: Likewise.
52886         * posix/tst-rfc3484-3.c: Likewise.
52888         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52889         process_vm_writev.
52890         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52891         process_vm_writev.
52892         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52893         process_vm_writev from libc using GLIBC_2.15 version.
52895         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52897 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
52899         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52900         stack usage.
52902 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
52904         [BZ #13367]
52905         * nss/getent.c (initgroups_keys): Show error message in case no group
52906         names are given.
52908         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52909         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52910         __bump_nl_timestamp.
52911         * nscd/connections (nscd_init): When host database is served open
52912         netlink socket and request notification about configuration changes.
52913         (main_loop_poll): Track netlink file descriptor and bump timestamp
52914         in case data becomes available.
52915         (main_loop_epoll): Likewise.
52916         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52917         (database_pers_head): Add extra_data fileds.
52918         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52919         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52920         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52921         Adjust caller.
52922         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52923         in6ai data, call __free_in6ai.
52924         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52925         Add -DHAVE_NETLINK.
52926         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52927         interface information.  Reuse previous data if netlink timestamp
52928         is not changed.
52929         (__bump_nl_timestamp): New function.
52930         (__free_in6ai): New function.
52932 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52934         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52935         close_not_cancel_no_status here.
52936         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52938 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52940         [BZ #13276]
52941         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52942         return value.
52944         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52945         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52946         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52948 2011-07-03  Andreas Jaeger  <aj@suse.de>
52950         [BZ #10709]
52951         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52952         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52953         * math/libm-test.inc (sin_test): Add test case.
52955 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52957         [BZ #13337]
52958         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52959         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52961         * elf/chroot_canon.c (chroot_canon): Cleanups.
52963         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52965         [BZ #13335]
52966         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52967         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52969         * string/test-strchr.c: Make usable for strchrnul testing.
52970         * string/test-strchrnul.c: New file.
52971         * string/Makefile (strop-tests): Add strchrnul.
52973         * po/it.po: Update from translation team.
52974         * po/es.po: Likewise.
52976 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52978         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52979         the three constants needed as parameters.  Drop the others.
52980         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52981         __m128i_strloadu_tolower.
52982         Create and initialize variable zero and use it in all the places
52983         where _mm_setzero_si128 was used.
52985         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52986         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52987         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52988         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52989         anymore.
52990         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52991         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52992         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52993         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52994         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52995         __mpranred, __mptan.
52996         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52997         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52998         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52999         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53000         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53001         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53002         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53003         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53004         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53006 2011-10-28  Andreas Schwab  <schwab@redhat.com>
53008         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53009         redefine if SHARED.
53010         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53013         wide char related routines to wcsmbs subdir.
53015 2011-10-27  Andreas Schwab  <schwab@redhat.com>
53017         [BZ #13344]
53018         * misc/sys/cdefs.h (__THROWNL): Define.
53019         * posix/unistd.h: Use __THREADNL instead of __THREAD
53020         for memory synchronization functions.
53022 2011-10-26  Roland McGrath  <roland@hack.frob.com>
53024         [BZ #13349]
53025         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53026         doesn't exist.
53027         * manual/stdio.texi (Obstack Streams): Node removed.
53029 2011-10-26  Andreas Schwab  <schwab@redhat.com>
53031         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53032         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53033         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53035         * math/math_private.h (math_force_eval): Allow non-addressable
53036         arguments.
53037         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53039 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53041         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53042         file is not needed.
53044         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53046         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53047         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53048         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53049         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53050         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53051         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53052         Add AVX variants.
53053         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53054         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53055         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53056         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53057         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53058         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53059         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53060         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53061         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53062         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53063         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53064         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53065         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53066         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53067         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53068         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53069         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53070         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53071         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53073         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53074         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
53076         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53077         place.  Use VEX encoding when compiling for AVX.
53079 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53081         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53082         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53084         * string/test-strchr.c (do_test): Don't generate NUL bytes.
53086 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53088         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53089         useless if() expression.
53090         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53091         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53092         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53093         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53094         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53095         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53097         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53099         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53100         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53101         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53102         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53103         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53104         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53105         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53106         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53107         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53108         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53110         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53112 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53114         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53115         condition.
53116         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53118 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53120         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53121         .text section.  Avoid duplicate constants.
53122         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53123         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53124         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53125         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53126         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53127         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53128         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53129         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53130         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53131         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53132         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53133         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53134         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53135         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53136         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53137         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53138         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53139         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53140         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53141         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53142         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53143         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53144         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53145         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53146         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53147         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53148         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53149         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53150         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53151         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53152         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53153         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53154         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53155         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53156         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53157         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53158         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53159         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53160         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53161         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53162         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53163         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53164         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53165         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53166         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53168 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
53170         * sysdeps/x86_64/dla.h: Move to ...
53171         * sysdeps/x86_64/fpu/dla.h: ...here.
53172         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53173         situations.  Use __builtin_fma only for gcc 4.6 and up.
53175         * config.make.in: Add have-mfma4 entry.
53176         * configure.in: Substitute libc_cv_cc_fma4.
53177         * math/Makefile (dbl-only-routines): Add sincostab.
53178         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53179         Use __sincostab not sincos.
53180         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53181         name is a macro.
53182         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53183         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53185         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
53186         using __copysign.
53187         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
53188         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
53189         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53190         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53191         and __inv.
53192         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53193         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53194         __copysign.
53195         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
53196         define aliases when function name is a macro.
53197         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53198         sysdeps/ieee754/dbl-64/sincos.tbl.
53199         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53200         fma4-enabled routines.
53201         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53202         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53203         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53204         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53205         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53206         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53207         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53208         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53209         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53210         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53211         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53212         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53213         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53214         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53215         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53216         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53217         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53218         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53219         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53220         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53221         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53222         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53223         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53224         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53225         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53226         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53227         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53228         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53229         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53230         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53232         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53233         rename.
53234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53237         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53239         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53240         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53241         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53243 2011-10-24  Andreas Schwab  <schwab@redhat.com>
53245         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53247 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53249         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53251         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53252         prediction.
53253         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53255         * string/strnlen.c: Don't define STRNLEN, reverse logic.
53256         Remove unused variable magic_bits.
53257         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53259         * string/strnlen.c: Define and use STRNLEN macro.
53260         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53261         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53262         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53263         * wcsmbs/wcslen.c: Define and use WCSLEN.
53264         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53265         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53266         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53267         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53268         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53269         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53270         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53272 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53275         strnlen-sse2-no-bsf.
53276         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53277         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53278         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53279         Add strnlen support.
53280         (USE_AS_STRNLEN): New macro.
53281         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53282         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53283         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53284         * sysdeps/x86_64/wcslen.S: New file.
53286 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53288         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53289         XMM-moves are used for copying on small sizes.
53291 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53293         * wcsmbs/Makefile (strop-tests): Add wcschr.
53294         * wcsmbs/test-wcschr.c: New file.
53295         * string/test-strchr.c: Update.
53296         Add wcschr support.
53297         (WIDE): New macro.
53299 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53301         * wcsmbs/Makefile (strop-tests): Add wcslen.
53302         * wcsmbs/test-wcslen.c: New file.
53303         * string/test-strlen.c: Update.
53304         Add wcslen support.
53305         (WIDE): New macro.
53307 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53309         * po/it.po: Update from translation team.
53311 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53313         * sysdeps/x86_64/wcscmp.S: Update.
53314         Fix wrong comparison semantics.
53315         wcscmp shall use signed comparison not unsigned.
53316         Don't use substraction to avoid overflow bug.
53317         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53318         * wcsmbc/wcscmp.c: Likewise.
53319         * string/test-strcmp.c: Likewise.
53320         Add new tests to check cases with negative values.
53322 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53324         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53325         * sysdeps/x86_64/dla.h: ...here.  New file.
53326         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53330         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53331         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53332         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53333         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53334         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53336 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
53338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53339         __ynl_finite aliases.
53341 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53345         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53346         define DLA_FMA.
53347         [DLA_FMA] (EMULV): Use DLA_FMA.
53348         [DLA_FMA] (MUL12): Use EMULV.
53349         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53350         that are not needed.
53351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53352         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53353         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53357         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53359 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
53361         * math/s_nan.c: Undef __nan.
53362         * math/s_nanf.c: Undef __nanf.
53363         * math/s_nanl.c: Undef __nanl.
53364         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53365         "math_private.h".
53367 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53369         * math/s_catan.c: Add branch predictions.
53370         * math/s_catanf.c: Likewise.
53371         * math/s_catanh.c: Likewise.
53372         * math/s_catanhf.c: Likewise.
53373         * math/s_catanhl.c: Likewise.
53374         * math/s_catanl.c: Likewise.
53375         * math/s_cexp.c: Likewise.
53376         * math/s_cexpf.c: Likewise.
53377         * math/s_cexpl.c: Likewise.
53378         * math/s_clog.c: Likewise.
53379         * math/s_clog10.c: Likewise.
53380         * math/s_clog10f.c: Likewise.
53381         * math/s_clog10l.c: Likewise.
53382         * math/s_clogf.c: Likewise.
53383         * math/s_clogl.c: Likewise.
53384         * math/s_csqrt.c: Likewise.
53385         * math/s_csqrtf.c: Likewise.
53386         * math/s_csqrtl.c: Likewise.
53387         * math/s_ctanf.c: Likewise.
53388         * math/s_ctanh.c: Likewise.
53389         * math/s_ctanhf.c: Likewise.
53390         * math/s_ctanhl.c: Likewise.
53391         * math/s_ctanl.c: Likewise.
53393         * math/math_private.h: Define __nan, __nanf, __nanl.
53394         * math/s_cacosh.c: Include <math_private.h>.
53395         * math/s_cacoshl.c: Likewise.
53396         * math/s_casinh.c: Likewise.
53397         * math/s_casinhf.c: Likewise.
53398         * math/s_casinhl.c: Likewise.
53399         * math/s_ccos.c: Rely entire on ccosh.
53400         * math/s_ccosf.c: Rely entire on ccoshf.
53401         * math/s_ccosl.c: Rely entirely on ccoshl.
53402         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
53403         Remove tests for FE_INVALID.
53404         * math/s_ccoshf.c: Likewise.
53405         * math/s_ccoshl.c: Likewise.
53406         * math/s_csin.c: Likewise.
53407         * math/s_csinf.c: Likewise.
53408         * math/s_csinh.c Likewise.
53409         * math/s_csinhf.c: Likewise.
53410         * math/s_csinhl.c: Likewise.
53411         * math/s_csinl.c: Likewise.
53412         * math/s_ctan.c: Likewise.
53413         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53414         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53415         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53417 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
53419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53420         compilation problems.
53422         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53423         __builtin_expect.
53425 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
53427         * sysdeps/i386/configure.in: Test for -mfma4 option.
53428         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53429         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53430         COMMON_CPUID_INDEX_80000001.
53431         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53432         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53433         use it if FMA3 is not supported.
53434         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53436         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53437         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53439 2011-10-20  Andreas Schwab  <schwab@redhat.com>
53441         [BZ #12892]
53442         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53443         it would create a cycle with a link time dependency.
53445 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
53447         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53448         instruction.
53449         * string/Makefile (strop-tests): Add rawmemchr.
53450         * string/test-rawmemchr.c: New file.
53452         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53453         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
53454         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
53455         when compiling str{,n}casecmp and when AVX is available.  Hook up
53456         new optimized code in initializers.
53458 2011-10-19  Andreas Schwab  <schwab@redhat.com>
53460         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53461         __feraiseexcept instead of feraiseexcept.
53463 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
53465         * math/math_private.h: Define defaults for libc_fetestexcept and
53466         libc_feupdateenv.
53467         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53468         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53469         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53470         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53471         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53472         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53473         libc_fetestexcept and libc_feupdateenv.
53475         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53476         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53477         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53478         * sysdeps/x86_64/fpu/math_private.h: Define special version of
53479         libc_feholdexcept_setround.
53481         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53482         Add s_nearbyint-c and s_nearbyintf-c.
53483         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53484         nearbyintf inlines.
53485         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53486         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53487         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53488         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53490         * math/math_private.h: Define defaults for libc_fegetround,
53491         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53492         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53493         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53494         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53495         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53496         standard functions.
53497         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53498         Remove comments and hacks for old compiler versions.
53499         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53500         libc_fegetround, libc_fesetround, libc_feholdexcept, and
53501         libc_feholdexceptl.
53503 2011-10-18  Andreas Schwab  <schwab@redhat.com>
53505         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53506         (__feraiseexcept_renamed): Add __NTH.
53507         (feraiseexcept): Add __NTH.  Rename local variables to fix
53508         namespace violations.
53510 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
53512         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53514         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53516         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53517         recently added interfaces.
53518         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53520         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53521         about macro parameter expansion.
53523         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53524         __NO_MATH_INLINES is defined.  Cleanups.
53526         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53527         and __floorf is target has SSE4.1.
53528         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53529         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53530         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53531         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53533         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53534         name.
53535         (floorf): Likewise.
53537         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53539 2011-10-17  Andreas Schwab  <schwab@redhat.com>
53541         * misc/sys/cdefs.h: Fix last change.
53543         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53544         database lookup.
53546 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
53548         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53550         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53552         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53553         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53554         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53555         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53556         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53557         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53558         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53559         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53560         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53561         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53562         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53563         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53564         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53565         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53566         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53567         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53568         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53569         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53570         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53571         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53573         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53574         ceil, ceilf, floor, floorf.
53576         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53577         Perform IRELATIVE relocations last.
53579         * elf/do-rel.h: Add another parameter nrelative, replacing the
53580         local variable with the same name.  Change name of the function
53581         to end in Rel or Rela (uppercase).
53582         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53583         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
53584         elf_dynamic_do_##reloc function.
53586 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53588         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53589         is sufficient, at least on modern CPUs.
53591         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53593         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53594         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53596         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53597         __expl_finite.
53598         * math/bits/math-finite.h: Add entries for exp.
53599         * math/e_expl.c: Add __*_finite alias.
53600         * sysdeps/i386/fpu/e_exp.S: Likewise.
53601         * sysdeps/i386/fpu/e_expf.S: Likewise.
53602         * sysdeps/i386/fpu/e_expl.c: Likewise.
53603         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53604         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53605         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53606         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53607         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53608         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53609         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53611         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53612         is sufficient, at least on modern CPUs.
53614         * ctype/ctype-info.c (__ctype_init): Define.
53615         * include/ctype.h (__ctype_init): Declare.
53616         (__ctype_b_loc): The variable is always initialized.
53617         (__ctype_toupper_loc): Likewise.
53618         (__ctype_tolower_loc): Likewise.
53619         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53620         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53622 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
53624         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53626         * configure.in: Also look in $cxxmachine/include for C++ system
53627         headers.
53629 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53631         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53632         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53633         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53634         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
53635         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53636         (USE_AS_WMEMCMP): New macro.
53637         Fixing indents.
53638         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53639         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53640         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53641         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53643         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53644         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53645         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53646         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53647         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53648         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53649         (USE_AS_WMEMCMP): New macro.
53650         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53651         * sysdeps/string/test-memcmp.c: Update.
53652         Fix simple_wmemcmp.
53653         Add new tests.
53654         * wcsmbs/wmemcmp.c: Update.
53655         (WMEMCMP): New macro.
53656         Fix overflow bug.
53658 2011-10-12  Andreas Jaeger  <aj@suse.de>
53660         [BZ #13268]
53661         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53663 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53665         * libio/iofwide.c (do_length): Avoid warning.
53667         * ctype/ctype.h (__isctype_f): Add missing __THROW.
53669 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
53671         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53673         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53674         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53675         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53676         * sysdeps/i386/i686/fpu/e_log.S: New file.
53677         * sysdeps/i386/i686/fpu/e_logf.S: New file.
53678         * sysdeps/i386/i686/fpu/e_logl.S: New file.
53680         * ctype/ctype.h: Add support for inlined isXXX functions when
53681         compiling C++ code.
53683 2011-10-14  Andreas Schwab  <schwab@redhat.com>
53685         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53687         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53689 2011-10-13  Roland McGrath  <roland@hack.frob.com>
53691         [BZ #13291]
53692         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53694 2011-10-13  Andreas Schwab  <schwab@redhat.com>
53696         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53697         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53698         feraiseexcept.
53700         * sysdeps/x86_64/memrchr.S: Check for zero size.
53702         * string/stratcliff.c: Add memrchr tests.
53704 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53707         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53708         rawmemchr-sse2 rawmemchr-sse2-bsf.
53709         * sysdeps/i386/i686/multiarch/memchr.S: New file.
53710         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53711         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53712         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53713         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53714         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53715         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53716         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53717         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53718         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53719         * string/memrchr.c (MEMRCHR): New macro.
53721 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
53723         Add integration with gcc's -ffinite-math-only and optimize wrapper
53724         functions in libm.
53725         * Versions.def: Define GLIBC_2.15 version for libm.
53726         * math/Makefile (headers): Add bits/math-finite.h.
53727         * math/bits/math-finite.h: New file.
53728         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53729         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53730         * math/e_acoshl.c: Add __*_finite alias.
53731         * math/e_acosl.c: Likewise.
53732         * math/e_asinl.c: Likewise.
53733         * math/e_atan2l.c: Likewise.
53734         * math/e_atanhl.c: Likewise.
53735         * math/e_coshl.c: Likewise.
53736         * math/e_exp10.c: Likewise.
53737         * math/e_exp10f.c: Likewise.
53738         * math/e_exp10l.c: Likewise.
53739         * math/e_exp2l.c: Likewise.
53740         * math/e_fmodl.c: Likewise.
53741         * math/e_gammal_r.c: Likewise.
53742         * math/e_hypotl.c: Likewise.
53743         * math/e_j0l.c: Likewise.
53744         * math/e_j1l.c: Likewise.
53745         * math/e_jnl.c: Likewise.
53746         * math/e_lgammal_r.c: Likewise.
53747         * math/e_log10l.c: Likewise.
53748         * math/e_log2l.c: Likewise.
53749         * math/e_logl.c: Likewise.
53750         * math/e_powl.c: Likewise.
53751         * math/e_sinhl.c: Likewise.
53752         * math/e_sqrtl.c: Likewise.
53753         * math/e_scalb.c: Completely rewritten and optimized.
53754         * math/e_scalbf.c: Likewise.
53755         * math/e_scalbl.c: Likewise.
53756         * math/w_acos.c: Likewise.
53757         * math/w_acosf.c: Likewise.
53758         * math/w_acosl.c: Likewise.
53759         * math/w_acosh.c: Likewise.
53760         * math/w_acoshf.c: Likewise.
53761         * math/w_acoshl.c: Likewise.
53762         * math/w_asin.c: Likewise.
53763         * math/w_asinf.c: Likewise.
53764         * math/w_asinl.c: Likewise.
53765         * math/w_atan2.c: Likewise.
53766         * math/w_atan2f.c: Likewise.
53767         * math/w_atan2l.c: Likewise.
53768         * math/w_atanh.c: Likewise.
53769         * math/w_atanhf.c: Likewise.
53770         * math/w_atanhl.c: Likewise.
53771         * math/w_exp10.c: Likewise.
53772         * math/w_exp10f.c: Likewise.
53773         * math/w_exp10l.c: Likewise.
53774         * math/w_fmod.c: Likewise.
53775         * math/w_fmodf.c: Likewise.
53776         * math/w_fmodl.c: Likewise.
53777         * math/w_j0.c: Likewise.
53778         * math/w_j0f.c: Likewise.
53779         * math/w_j0l.c: Likewise.
53780         * math/w_j1.c: Likewise.
53781         * math/w_j1f.c: Likewise.
53782         * math/w_j1l.c: Likewise.
53783         * math/w_jn.c: Likewise.
53784         * math/w_jnf.c: Likewise.
53785         * math/w_log.c: Likewise.
53786         * math/w_logf.c: Likewise.
53787         * math/w_logl.c: Likewise.
53788         * math/w_log10.c: Likewise.
53789         * math/w_log10f.c: Likewise.
53790         * math/w_log10l.c: Likewise.
53791         * math/w_log2.c: Likewise.
53792         * math/w_log2f.c: Likewise.
53793         * math/w_log2l.c: Likewise.
53794         * math/w_pow.c: Likewise.
53795         * math/w_powf.c: Likewise.
53796         * math/w_powl.c: Likewise.
53797         * math/w_remainder.c: Likewise.
53798         * math/w_remainderf.c: Likewise.
53799         * math/w_remainderl.c: Likewise.
53800         * math/w_scalb.c: Likewise.
53801         * math/w_scalbf.c: Likewise.
53802         * math/w_scalbl.c: Likewise.
53803         * math/w_sqrt.c: Likewise.
53804         * math/w_sqrtf.c: Likewise.
53805         * math/w_sqrtl.c: Likewise.
53806         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53807         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
53808         used.
53809         * math/math_private.h: Declare __kernel_standard_f.
53810         * math/w_cosh.c: Remove cruft and optimize a bit.
53811         * math/w_coshf.c: Likewise.
53812         * math/w_coshl.c: Likewise.
53813         * math/w_exp2.c: Likewise.
53814         * math/w_exp2f.c: Likewise.
53815         * math/w_exp2l.c: Likewise.
53816         * math/w_hypot.c: Likewise.
53817         * math/w_hypotf.c: Likewise.
53818         * math/w_hypotl.c: Likewise.
53819         * math/w_lgamma.c: Likewise.
53820         * math/w_lgamma_r.c: Likewise.
53821         * math/w_lgammaf.c: Likewise.
53822         * math/w_lgammaf_r.c: Likewise.
53823         * math/w_lgammal.c: Likewise.
53824         * math/w_lgammal_r.c: Likewise.
53825         * math/w_sinh.c: Likewise.
53826         * math/w_sinhf.c: Likewise.
53827         * math/w_sinhl.c: Likewise.
53828         * math/w_tgamma.c: Likewise.
53829         * math/w_tgammaf.c: Likewise.
53830         * math/w_tgammal.c: Likewise.
53831         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53832         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53833         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53834         Minor optimizations.  Pretty printing.  Remove cruft.
53835         * sysdeps/i386/fpu/e_acosf.S: Likewise.
53836         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53837         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53838         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53839         * sysdeps/i386/fpu/e_acosl.c: Likewise.
53840         * sysdeps/i386/fpu/e_asin.S: Likewise.
53841         * sysdeps/i386/fpu/e_asinf.S: Likewise.
53842         * sysdeps/i386/fpu/e_atan2.S: Likewise.
53843         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53844         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53845         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53846         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53847         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53848         * sysdeps/i386/fpu/e_exp10.S: Likewise.
53849         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53850         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53851         * sysdeps/i386/fpu/e_exp2.S: Likewise.
53852         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53853         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53854         * sysdeps/i386/fpu/e_fmod.S: Likewise.
53855         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53856         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53857         * sysdeps/i386/fpu/e_hypot.S: Likewise.
53858         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53859         * sysdeps/i386/fpu/e_log.S: Likewise.
53860         * sysdeps/i386/fpu/e_log10.S: Likewise.
53861         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53862         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53863         * sysdeps/i386/fpu/e_log2.S: Likewise.
53864         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53865         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53866         * sysdeps/i386/fpu/e_logf.S: Likewise.
53867         * sysdeps/i386/fpu/e_logl.S: Likewise.
53868         * sysdeps/i386/fpu/e_pow.S: Likewise.
53869         * sysdeps/i386/fpu/e_powf.S: Likewise.
53870         * sysdeps/i386/fpu/e_powl.S: Likewise.
53871         * sysdeps/i386/fpu/e_remainder.S: Likewise.
53872         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53873         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53874         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53875         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53876         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53877         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53878         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53879         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53880         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53881         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53882         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53883         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53884         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53885         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53886         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53887         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53888         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53889         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53890         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53891         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53892         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53893         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53894         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53896         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53897         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53898         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53899         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53900         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53901         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53902         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53903         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53904         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53905         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53906         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53907         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53908         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53909         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53910         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53911         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53912         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53913         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53914         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53915         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53916         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53917         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53918         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53919         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53920         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53921         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53922         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53923         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53924         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53925         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53926         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53927         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53928         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53929         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53930         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53931         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53932         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53933         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53935         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53936         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53937         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53938         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53939         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53940         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53941         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53943         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53944         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53945         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53947         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53948         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53949         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53950         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53951         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53952         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53953         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53954         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53956         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53957         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53958         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53959         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53960         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53961         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53962         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53963         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53964         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53965         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53966         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53967         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53968         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53969         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53970         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53971         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53972         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53973         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53974         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53975         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53976         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53977         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53978         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53979         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53980         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53981         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53982         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53983         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53984         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53985         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53986         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53987         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53988         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53989         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53990         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53991         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53992         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53993         (__isnanf): Likewise.
53994         (__isinf_ns): Likewise.
53995         (__isinf_nsf): Likewise.
53996         (__finite): Likewise.
53997         (__finitef): Likewise.
53998         (__ieee754_sqrt): Define as macro.
53999         (__ieee754_sqrtf): Define as macro.
54000         (__ieee754_sqrtl): Define as macro.
54001         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54002         inlined copy.
54003         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54004         __FINITE_MATH_ONLY__ consistent.
54005         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54007 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
54009         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54010         of rawmemchr.
54012         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54014 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
54016         * po/ja.po: Update from translation team.
54018 2011-10-08  Roland McGrath  <roland@hack.frob.com>
54020         * locale/programs/locarchive.c (prepare_address_space): New function.
54021         (create_archive, enlarge_archive, open_archive): Use it.
54023         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54024         inside [SHARED], where it is used.
54026         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54028         * nss/getent.c (netgroup_keys): Remove unused variable.
54029         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54031 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
54033         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54034         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54035         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54036         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54037         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54038         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54039         * math/Makefile (libm-calls): Add s_isinf_ns.
54040         * math/divtc3.c: Use __isinf_nsl instead of isinf.
54041         * math/multc3.c: Likewise.
54042         * math/s_casin.c: Likewise.
54043         * math/s_casinf.c: Likewise.
54044         * math/s_casinl.c: Likewise.
54045         * math/s_ccos.c: Likewise.
54046         * math/s_ccosf.c: Likewise.
54047         * math/s_ccosl.c: Likewise.
54048         * math/s_ctan.c: Likewise.
54049         * math/s_ctanf.c: Likewise.
54050         * math/s_ctanh.c: Likewise.
54051         * math/s_ctanhf.c: Likewise.
54052         * math/s_ctanhl.c: Likewise.
54053         * math/s_ctanl.c: Likewise.
54054         * math/w_fmod.c: Likewise.
54055         * math/w_fmodf.c: Likewise.
54056         * math/w_fmodl.c: Likewise.
54057         * math/w_remainder.c: Likewise.
54058         * math/w_remainderf.c: Likewise.
54059         * math/w_remainderl.c: Likewise.
54060         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54061         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54062         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54064         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54065         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54066         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54067         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54069         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54070         of the number.
54071         * stdio-common/printf_fphex.c: Likewise.
54072         * stdio-common/printf_size.c: Likewise.
54074         * math/e_exp10.c: Include math_private.h using <...> not "...".
54075         * math/e_exp10f.c: Likewise.
54076         * math/e_exp10l.c: Likewise.
54077         * math/e_exp2l.c: Likewise.
54078         * math/e_j0l.c: Likewise.
54079         * math/e_j1l.c: Likewise.
54080         * math/e_jnl.c: Likewise.
54081         * math/e_lgammal_r.c: Likewise.
54082         * math/e_rem_pio2l.c: Likewise.
54083         * math/e_scalb.c: Likewise.
54084         * math/e_scalbf.c: Likewise.
54085         * math/e_scalbl.c: Likewise.
54086         * math/k_cosl.c: Likewise.
54087         * math/k_sinl.c: Likewise.
54088         * math/k_tanl.c: Likewise.
54089         * math/s_cacoshf.c: Likewise.
54090         * math/s_catan.c: Likewise.
54091         * math/s_catanf.c: Likewise.
54092         * math/s_catanh.c: Likewise.
54093         * math/s_catanhf.c: Likewise.
54094         * math/s_catanhl.c: Likewise.
54095         * math/s_catanl.c: Likewise.
54096         * math/s_ccosh.c: Likewise.
54097         * math/s_ccoshf.c: Likewise.
54098         * math/s_ccoshl.c: Likewise.
54099         * math/s_cexp.c: Likewise.
54100         * math/s_cexpf.c: Likewise.
54101         * math/s_cexpl.c: Likewise.
54102         * math/s_clog.c: Likewise.
54103         * math/s_clog10.c: Likewise.
54104         * math/s_clog10f.c: Likewise.
54105         * math/s_clog10l.c: Likewise.
54106         * math/s_clogf.c: Likewise.
54107         * math/s_clogl.c: Likewise.
54108         * math/s_csin.c: Likewise.
54109         * math/s_csinf.c: Likewise.
54110         * math/s_csinh.c: Likewise.
54111         * math/s_csinhf.c: Likewise.
54112         * math/s_csinhl.c: Likewise.
54113         * math/s_csinl.c: Likewise.
54114         * math/s_csqrt.c: Likewise.
54115         * math/s_csqrtf.c: Likewise.
54116         * math/s_csqrtl.c: Likewise.
54117         * math/s_ctan.c: Likewise.
54118         * math/s_ctanf.c: Likewise.
54119         * math/s_ctanh.c: Likewise.
54120         * math/s_ctanhf.c: Likewise.
54121         * math/s_ctanhl.c: Likewise.
54122         * math/s_ctanl.c: Likewise.
54123         * math/s_ldexp.c: Likewise.
54124         * math/s_ldexpf.c: Likewise.
54125         * math/s_ldexpl.c: Likewise.
54126         * math/s_significand.c: Likewise.
54127         * math/s_significandf.c: Likewise.
54128         * math/s_significandl.c: Likewise.
54129         * math/w_acos.c: Likewise.
54130         * math/w_acosf.c: Likewise.
54131         * math/w_acosh.c: Likewise.
54132         * math/w_acoshf.c: Likewise.
54133         * math/w_acoshl.c: Likewise.
54134         * math/w_acosl.c: Likewise.
54135         * math/w_asin.c: Likewise.
54136         * math/w_asinf.c: Likewise.
54137         * math/w_asinl.c: Likewise.
54138         * math/w_atan2.c: Likewise.
54139         * math/w_atan2f.c: Likewise.
54140         * math/w_atan2l.c: Likewise.
54141         * math/w_atanh.c: Likewise.
54142         * math/w_atanhf.c: Likewise.
54143         * math/w_atanhl.c: Likewise.
54144         * math/w_cosh.c: Likewise.
54145         * math/w_coshf.c: Likewise.
54146         * math/w_coshl.c: Likewise.
54147         * math/w_dremf.c: Likewise.
54148         * math/w_exp10.c: Likewise.
54149         * math/w_exp10f.c: Likewise.
54150         * math/w_exp10l.c: Likewise.
54151         * math/w_exp2.c: Likewise.
54152         * math/w_exp2f.c: Likewise.
54153         * math/w_fmod.c: Likewise.
54154         * math/w_fmodf.c: Likewise.
54155         * math/w_fmodl.c: Likewise.
54156         * math/w_hypot.c: Likewise.
54157         * math/w_hypotf.c: Likewise.
54158         * math/w_hypotl.c: Likewise.
54159         * math/w_j0.c: Likewise.
54160         * math/w_j0f.c: Likewise.
54161         * math/w_j0l.c: Likewise.
54162         * math/w_j1.c: Likewise.
54163         * math/w_j1f.c: Likewise.
54164         * math/w_j1l.c: Likewise.
54165         * math/w_jn.c: Likewise.
54166         * math/w_jnf.c: Likewise.
54167         * math/w_jnl.c: Likewise.
54168         * math/w_lgamma.c: Likewise.
54169         * math/w_lgamma_r.c: Likewise.
54170         * math/w_lgammaf.c: Likewise.
54171         * math/w_lgammaf_r.c: Likewise.
54172         * math/w_lgammal.c: Likewise.
54173         * math/w_lgammal_r.c: Likewise.
54174         * math/w_log.c: Likewise.
54175         * math/w_log10.c: Likewise.
54176         * math/w_log10f.c: Likewise.
54177         * math/w_log10l.c: Likewise.
54178         * math/w_log2.c: Likewise.
54179         * math/w_log2f.c: Likewise.
54180         * math/w_log2l.c: Likewise.
54181         * math/w_logf.c: Likewise.
54182         * math/w_logl.c: Likewise.
54183         * math/w_pow.c: Likewise.
54184         * math/w_powf.c: Likewise.
54185         * math/w_powl.c: Likewise.
54186         * math/w_remainder.c: Likewise.
54187         * math/w_remainderf.c: Likewise.
54188         * math/w_remainderl.c: Likewise.
54189         * math/w_scalb.c: Likewise.
54190         * math/w_scalbf.c: Likewise.
54191         * math/w_scalbl.c: Likewise.
54192         * math/w_sinh.c: Likewise.
54193         * math/w_sinhf.c: Likewise.
54194         * math/w_sinhl.c: Likewise.
54195         * math/w_sqrt.c: Likewise.
54196         * math/w_sqrtf.c: Likewise.
54197         * math/w_sqrtl.c: Likewise.
54198         * math/w_tgamma.c: Likewise.
54199         * math/w_tgammaf.c: Likewise.
54200         * math/w_tgammal.c: Likewise.
54202         * po/ja.po: Update from translation team.
54204 2011-09-29  Andreas Jaeger  <aj@suse.de>
54206         [BZ #13179]
54207         * sunrpc/netname.c (netname2host): Fix logic.
54209         [BZ #6779]
54210         [BZ #6783]
54211         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54212         correctly.
54213         * math/w_remainder.c (__remainder): Likewise.
54214         * math/w_remainderf.c (__remainderf): Likewise.
54215         * math/libm-test.inc (remainder_test): Add test cases.
54217 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54219         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
54220         sdiv_qrnnd.
54222 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54224         * string/test-memcmp.c: Avoid unncessary #defines.
54225         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54227 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54229         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54230         Use new sse2 version for core i3 - i7 as it's faster
54231         than sse42 version.
54232         (bit_Prefer_PMINUB_for_stringop): New.
54233         * sysdeps/x86_64/rawmemchr.S: Update.
54234         Replace with faster SSE2 version.
54235         * sysdeps/x86_64/memrchr.S: New file.
54236         * sysdeps/x86_64/memchr.S: Update.
54237         Replace with faster SSE2 version.
54239 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
54241         * elf/dl-load.c (lose): Add cast to avoid warning.
54243 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54245         * po/ca.po: Update from translation team.
54247         * inet/getnetgrent_r.c: Hook up nscd.
54248         * nscd/Makefile (routines): Add nscd_netgroup.
54249         (nscd-modules): Add netgroupcache.
54250         (CFLAGS-netgroupcache.c): Define.
54251         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54252         (cache_search): Add const to second parameter.
54253         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54254         INNETGR.
54255         (dbs): Add netgrdb entry.
54256         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54257         (verify_persistent_db): Handle netgrdb.
54258         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54259         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54260         GETFDNETGR.
54261         (netgroup_response_header): Define.
54262         (innetgroup_response_header): Define.
54263         (datahead): Add netgroup_response_header and innetgroup_response_header
54264         elements.
54265         * nscd/nscd.conf: Add entries for netgroup cache.
54266         * nscd/nscd.h (dbtype): Add netgrdb.
54267         (_PATH_NSCD_NETGROUP_DB): Define.
54268         (netgroup_iov_disabled): Declare.
54269         (xmalloc, xcalloc, xrealloc): Move declarations here.
54270         (cache_search): Adjust prototype.
54271         Add netgroup-related prototypes.
54272         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54273         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54274         (__nscd_innetgr): Declare.
54275         * nscd/selinux.c (perms): Use access_vector_t as element type and
54276         add netgroup-related initializers.
54277         * nscd/netgroupcache.c: New file.
54278         * nscd/nscd_netgroup.c: New file.
54279         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54280         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54281         For four parameters use innetgr.
54282         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54283         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54284         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54285         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54287         * nscd/connections.c (register_traced_file): Don't register file
54288         for disabled databases.
54290 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54292         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54294         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54295         from tree and freeing node.
54297 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54299         * nss/nsswitch.c (__nss_database_lookup): Handle
54300         nss_parse_service_list out of memory case.
54302 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54304         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54305         out of memory case.
54307 2011-10-04  Andreas Schwab  <schwab@redhat.com>
54309         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54310         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54311         pass it down.
54312         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54313         elf_machine_rela, elf_machine_lazy_rel.
54314         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54315         (ELF_DYNAMIC_DO_REL): Likewise.
54316         (ELF_DYNAMIC_DO_RELA): Likewise.
54317         (ELF_DYNAMIC_RELOCATE): Likewise.
54318         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54319         to ELF_DYNAMIC_DO_REL.
54320         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54321         (dl_main): In trace mode always set __RTLD_NOIFUNC.
54322         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54323         elf_machine_rela.
54324         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54325         skip_ifunc, don't call ifunc function if non-zero.
54326         (elf_machine_rela): Likewise.
54327         (elf_machine_lazy_rel): Likewise.
54328         (elf_machine_lazy_rela): Likewise.
54329         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54330         (elf_machine_lazy_rel): Likewise.
54331         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54332         Likewise.
54333         (elf_machine_lazy_rel): Likewise.
54334         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54335         Likewise.
54336         (elf_machine_lazy_rel): Likewise.
54337         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54338         (elf_machine_lazy_rel): Likewise.
54339         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54340         (elf_machine_lazy_rel): Likewise.
54341         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54342         (elf_machine_lazy_rel): Likewise.
54343         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54344         (elf_machine_lazy_rel): Likewise.
54345         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54346         (elf_machine_lazy_rel): Likewise.
54347         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54348         (elf_machine_lazy_rel): Likewise.
54350 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
54352         * nss/nss_files/files-init.c (_nss_files_init): Use static
54353         initialization for all the *_traced_file variables.
54355 2011-09-28  Andreas Schwab  <schwab@redhat.com>
54357         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54359 2011-09-27  Roland McGrath  <roland@hack.frob.com>
54361         [BZ #13226]
54362         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54364 2011-09-27  Andreas Schwab  <schwab@redhat.com>
54366         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54367         Reread the line before reparsing it.
54369 2011-09-26  Andreas Schwab  <schwab@redhat.com>
54371         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54373 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
54374             Maxim Kuvyrkov  <maxim@codesourcery.com>
54375             Joseph Myers  <joseph@codesourcery.com>
54377         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54378         if needed for __stack_chk_guard.
54380 2011-09-19  Roland McGrath  <roland@hack.frob.com>
54382         * sysdeps/posix/spawni.c (script_execute): Always define it.
54383         It will be optimized away if unused.
54384         (maybe_script_execute): New function.
54385         (__spawni): Call it.
54387         * Makerules: Don't include tls.make.
54388         (config-tls): Always set to thread.
54389         * tls.make.c: File removed.
54391 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
54393         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54394         * config.make.in (CPPFLAGS-config): New substituted variable.
54396 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54398         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54400         [BZ #13192]
54401         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54402         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54404 2011-09-15  Roland McGrath  <roland@hack.frob.com>
54406         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54407         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54408         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54409         (CALL_FAIL): Likewise.
54410         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54411         (CALL_FAIL): Macro removed.
54412         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54414 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54416         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54417         for __FINITE_MATH_ONLY__ == 1.
54419 2011-09-15  Andreas Schwab  <schwab@redhat.com>
54421         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54422         __ieee754_sqrt instead of sqrt.
54423         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54424         __ieee754_sqrtf instead of sqrtf.
54425         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54426         __floorf instead of floorf.
54427         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54428         __floorf, __truncf instead of floorf, truncf.
54430 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
54432         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54434         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54435         __extern_always_inline.
54436         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54437         32-bit.
54439 2011-09-14  Andreas Schwab  <schwab@redhat.com>
54441         * elf/rtld.c (dl_main): Also relocate in dependency order when
54442         doing symbol dependency testing.
54444 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
54446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54447         Always define `refsym'.
54449 2011-09-13  Andreas Schwab  <schwab@redhat.com>
54451         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54452         (__FD_ELT): Renamed from __FDELT.
54453         * misc/bits/select2.h (__FD_ELT): Likewise.
54454         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54455         __FD_MASK instead of __FDELT, __FDMASK.
54456         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54457         Likewise.
54458         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54459         Likewise.
54461         * elf/Makefile (gen-ldd): Fix pattern.
54463         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54464         (init_tls): Likewise.
54466 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
54468         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54470 2011-09-12  Andreas Schwab  <schwab@redhat.com>
54472         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54473         `struct cmsghdr *' instead of `void *'.
54474         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54475         Likewise.
54477 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
54479         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54480         if non-absolute.
54481         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54482         ldd_rewrite_script.
54484 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
54486         * configure.in: Remove --with-tls option.
54487         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54488         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54489         out in case it is missing.
54490         * sysdeps/ia64/elf/configure.in: Likewise.
54491         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54492         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54493         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54494         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54495         * sysdeps/sh/elf/configure.in: Likewise.
54496         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54497         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54498         * sysdeps/x86_64/elf/configure.in: Likewise.
54499         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54500         * sysdeps/mach/hurd/tls.h: Likewise.
54502         [BZ #13067]
54503         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54505         [BZ #13090]
54506         * configure.in: Fix use of AC_INIT.
54508         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54510 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
54512         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54513         __set_errno.
54514         * malloc/hooks.c: Likewise.
54516         [BZ #11929]
54517         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
54518         variables statically.
54519         (narenas): Initialize.
54520         (list_lock): Initialize.
54521         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
54522         initializtion of main_arena and list_lock.  Small cleanups.
54523         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54524         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
54525         Add initializers to main_arena and mp_.
54526         (malloc_state): Remove pagesize member.  Change all users to use
54527         GLRO(dl_pagesize).
54529         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54530         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
54531         is always initialized.
54533         * malloc/malloc.c: Removed unused configurations and dead code.
54534         * malloc/arena.c: Likewise.
54535         * malloc/hooks.c: Likewise.
54536         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54538         * include/tls.h: Removed.  USE___THREAD must always be defined.
54539         * bits/libc-tsd.h: Don't handle !USE___THREAD.
54540         * elf/dl-libc.c: Likewise.
54541         * elf/dl-tsd.c: Likewise.
54542         * include/errno.h: Likewise.
54543         * include/netdb.h: Likewise.
54544         * include/resolv.h: Likewise.
54545         * inet/herrno-loc.c: Likewise.
54546         * inet/herrno.c: Likewise.
54547         * malloc/arena.c: Likewise.
54548         * malloc/hooks.c: Likewise.
54549         * malloc/malloc.c: Likewise.
54550         * resolv/res-state.c: Likewise.
54551         * resolv/res_libc.c: Likewise.
54552         * sysdeps/i386/dl-machine.h: Likewise.
54553         * sysdeps/ia64/dl-machine.h: Likewise.
54554         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54555         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54556         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54557         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54558         * sysdeps/sh/dl-machine.h: Likewise.
54559         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54560         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54561         * sysdeps/unix/i386/sysdep.S: Likewise.
54562         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54563         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54568         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54570         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54572         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54573         * sysdeps/x86_64/dl-machine.h: Likewise.
54574         * tls.make.c: Likewise.
54576         * configure.in: Remove --with-__thread option.  Make tests for
54577         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54578         tls_model attribute fail if no support is available.  Remove
54579         USE_IN_LIBIO.
54580         * Makeconfig: Adjust for dropped configure option.  All features are
54581         now mandatory.
54582         * Makerules: Likewise.
54583         * Versions.def: Likewise.
54584         * argp/argp-fmtstream.c: Likewise.
54585         * argp/argp-fmtstream.h: Likewise.
54586         * argp/argp-help.c: Likewise.
54587         * assert/assert.c: Likewise.
54588         * config.h.in: Likewise.
54589         * config.make.in: Likewise.
54590         * configure: Likewise.
54591         * configure.in: Likewise.
54592         * csu/Versions: Likewise.
54593         * csu/init.c: Likewise.
54594         * elf/tst-audit2.c: Likewise.
54595         * elf/tst-tls10.c: Likewise.
54596         * elf/tst-tls10.h: Likewise.
54597         * elf/tst-tls11.c: Likewise.
54598         * elf/tst-tls12.c: Likewise.
54599         * elf/tst-tls14.c: Likewise.
54600         * elf/tst-tlsmod11.c: Likewise.
54601         * elf/tst-tlsmod12.c: Likewise.
54602         * elf/tst-tlsmod13.c: Likewise.
54603         * elf/tst-tlsmod13a.c: Likewise.
54604         * elf/tst-tlsmod14a.c: Likewise.
54605         * elf/tst-tlsmod15b.c: Likewise.
54606         * elf/tst-tlsmod16a.c: Likewise.
54607         * elf/tst-tlsmod16b.c: Likewise.
54608         * elf/tst-tlsmod7.c: Likewise.
54609         * elf/tst-tlsmod8.c: Likewise.
54610         * elf/tst-tlsmod9.c: Likewise.
54611         * gmon/gmon.c: Likewise.
54612         * grp/fgetgrent_r.c: Likewise.
54613         * grp/putgrent.c: Likewise.
54614         * hurd/fopenport.c: Likewise.
54615         * include/libc-symbols.h: Likewise.
54616         * include/tls.h: Likewise.
54617         * intl/gettextP.h: Likewise.
54618         * intl/loadinfo.h: Likewise.
54619         * locale/global-locale.c: Likewise.
54620         * locale/localeinfo.h: Likewise.
54621         * mach/devstream.c: Likewise.
54622         * malloc/arena.c: Likewise.
54623         * malloc/set-freeres.c: Likewise.
54624         * misc/err.c: Likewise.
54625         * misc/getttyent.c: Likewise.
54626         * misc/mntent_r.c: Likewise.
54627         * posix/getopt.c: Likewise.
54628         * posix/wordexp.c: Likewise.
54629         * pwd/fgetpwent_r.c: Likewise.
54630         * resolv/Versions: Likewise.
54631         * resolv/res_hconf.c: Likewise.
54632         * shadow/fgetspent_r.c: Likewise.
54633         * shadow/putspent.c: Likewise.
54634         * stdio-common/printf_fphex.c: Likewise.
54635         * stdio-common/tmpfile.c: Likewise.
54636         * stdlib/abort.c: Likewise.
54637         * stdlib/fmtmsg.c: Likewise.
54638         * sunrpc/auth_unix.c: Likewise.
54639         * sunrpc/clnt_perr.c: Likewise.
54640         * sunrpc/clnt_tcp.c: Likewise.
54641         * sunrpc/clnt_udp.c: Likewise.
54642         * sunrpc/clnt_unix.c: Likewise.
54643         * sunrpc/openchild.c: Likewise.
54644         * sunrpc/svc_simple.c: Likewise.
54645         * sunrpc/svc_tcp.c: Likewise.
54646         * sunrpc/svc_udp.c: Likewise.
54647         * sunrpc/svc_unix.c: Likewise.
54648         * sunrpc/xdr.c: Likewise.
54649         * sunrpc/xdr_array.c: Likewise.
54650         * sunrpc/xdr_rec.c: Likewise.
54651         * sunrpc/xdr_ref.c: Likewise.
54652         * sunrpc/xdr_stdio.c: Likewise.
54654 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54656         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54658 2011-07-03  Andreas Jaeger  <aj@suse.de>
54660         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54661         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54662         regenerate with gen-libm-tests.pl.
54664 2010-05-12  Petr Baudis  <pasky@suse.cz>
54666         [BZ #11589]
54667         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54668         around j0() zero points by switching to j1().
54669         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54670         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54672         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54674 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54677         instead of 0.
54678         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54679         instead of 0.
54680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54681         Patch in part by Pavel Roskin <proski@gnu.org>.
54683         [BZ #13138]
54684         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54685         realloc.
54686         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
54687         Free memory block if necessary.
54689         [BZ #12847]
54690         * libio/genops.c (INTDEF): For string streams the _lock pointer can
54691         be NULL.  Don't lock in this case.
54693 2011-09-09  Roland McGrath  <roland@hack.frob.com>
54695         * elf/elf.h (ELFOSABI_GNU): New macro.
54696         (ELFOSABI_LINUX): Define to that.
54698 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
54700         * string/strncat.c (strncat): Undef the symbol in case it has been
54701         defined in bits/string.h.
54703 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54705         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54707         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54708         link map.
54710 2011-08-17  Andreas Jaeger  <aj@suse.de>
54712         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54714 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54715             Ian Lance Taylor  <iant@google.com>
54717         * math/libm-test.inc (lround_test): New testcase.
54718         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54720 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
54722         * Makefile: Remove support for automatic cvs check-ins.
54723         * Makerules: Likewise.
54724         * config.make.in: Likewise.
54725         * configure.in: Likewise.
54726         * intl/Makefile: Likewise.
54727         * locale/Makefile: Likewise.
54728         * po/Makefile: Likewise.
54729         * posix/Makefile: Likewise.
54730         * sysdeps/gnu/Makefile: Likewise.
54731         * sysdeps/mach/hurd/Makefile: Likewise.
54732         * sysdeps/sparc/sparc32/Makefile: Likewise.
54734         [BZ #13118]
54735         * posix/Makefile (bug-regex32-ENV): Define.
54736         Patch by John Stanley <jpsinthemix@verizon.net>.
54738         * misc/Makefile (headers): Add bits/select2.h.
54739         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54740         * misc/bits/select2.h: New file.
54741         * include/bits/select2.h: New file.
54742         * debug/Makefile (routines): Add fdelt_chk.
54743         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54744         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54745         FD_ISSET.
54746         * debug/fdelt_chk.c: New file.
54748         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
54749         * wcsmbs/test-wmemcmp.c: Likewise.
54750         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54751         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54753 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54755         * string/Makefile (strop-tests): Add memcmp.
54756         * string/test-wmemcmp.c: New file.
54757         * string/test-memcmp.c: Add wmemcmp support.
54759 2011-09-08  Roland McGrath  <roland@hack.frob.com>
54761         [BZ #13153]
54762         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54763         2011-07-19 change.
54765         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54766         garbage value in a __mach_port_mod_refs call in the cases of the
54767         task-self and thread-self ports.
54769 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54771         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54773 2011-09-08  Andreas Schwab  <schwab@redhat.com>
54775         * elf/dl-load.c (lose): Check for non-null L.
54777 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54779         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54781         * elf/dl-libc.c (dlerror_run): Pass back error code from
54782         dl_catch_error.
54784         [BZ #13123]
54785         * elf/dl-load.c (lose): Free l_origin if it is valid.
54787         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54788         names.
54789         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54790         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54791         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54792         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54793         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54794         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54796 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54798         * sysdeps/powerpc/fpu/e_hypot.c: New file.
54799         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54800         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54801         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54802         * sysdeps/powerpc/fpu/k_cosf.c: New file.
54803         * sysdeps/powerpc/fpu/k_sinf.c: New file.
54804         * sysdeps/powerpc/fpu/s_cosf.c: New file.
54805         * sysdeps/powerpc/fpu/s_sinf.c: New file.
54806         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54807         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54809 2011-08-15  Alan Modra  <amodra@gmail.com>
54811         [BZ #13092]
54812         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54813         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54814         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
54815         ppc_mcount to static-only-routines.
54816         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54817         __mcount_internal.
54818         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54819         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
54821 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
54823         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54824         for finite and infinity parameters.
54826 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54828         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54829         and add nop instructions for throughput optimization.
54830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54832 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
54834         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54835         aligned copy for power7 with vector-scalar instructions.
54836         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54838 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
54840         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54841         AVX check.
54843 2011-09-07  Andreas Schwab  <schwab@redhat.com>
54845         [BZ #13144]
54846         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54847         last change.
54849 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54851         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54852         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54853         syscall wrapper around clock_gettime in __vdso_clock_gettime.
54854         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54855         clock_gettime.
54857 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54859         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54860         Forgot to demangle the pointer.
54862         * sysdeps/i386/sysdep.h: Define atom_text_section.
54863         * sysdeps/x86_64/sysdep.h: Likewise.
54864         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54865         section with atom_text_section.
54866         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54867         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54868         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54869         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54870         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54872         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54873         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54874         already be defined.  Change to take two parameters and don't assign
54875         result to variable.  Adjust all users.
54876         Define INTERNAL_GETTIME if not already defined.
54877         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54878         call.
54879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54880         HAVE_CLOCK_GETTIME_VSYSCALL.
54881         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54883         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54884         gettimeofday vsyscall, just use time.
54886 2011-09-06  Andreas Schwab  <schwab@redhat.com>
54888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54889         <errno.h>.
54891 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54893         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54894         syscall on x86-64.
54895         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54896         syscall.
54897         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54898         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54899         syscall if possible.
54901 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54903         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54904         e_ident.  Don't pass to find_mapsXX.
54905         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54907 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54910         strchr-sse2-no-bsf strrchr-sse2-no-bsf
54911         * sysdeps/x86_64/multiarch/strchr.S: Update.
54912         Check bit_slow_BSF bit.
54913         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54914         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54915         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54917 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54919         [BZ #13134]
54920         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54921         before glibc 2.15.
54922         (tryshell): Define.
54923         (__spawni): Change last parameter to be flag.  Test
54924         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54925         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54926         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54927         * posix/spawni.c: Likewise.
54928         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54929         * posix/spawnp.c: Likewise.  Change normal version to use
54930         SPAWN_XFLAGS_USE_PATH.
54931         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54932         SPAWN_XFLAGS_TRY_SHELL.
54934         [BZ #13150]
54935         * posix/glob.h: Remove gcc 1.x support.
54937         [BZ #13068]
54938         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54940 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54943         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54944         strrchr-sse2-bsf
54945         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54946         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54947         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54948         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54949         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54950         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54952 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54954         * sysdeps/x86_64/wcscmp.S: New file.
54956         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54957         wcscmp-c wcscmp-sse2
54958         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54959         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54960         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54961         * wcsmbs/wcscmp.c: Allow renaming.
54963 2011-09-05  David S. Miller  <davem@davemloft.net>
54965         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54966         stack slot, rather than the struct return pointer slot.
54967         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54968         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54970         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54972 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54974         * po/ja.po: Update from translation team.
54976         [BZ #13144]
54977         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54978         kernel in 64-bit binaries.
54980 2011-09-01  David S. Miller  <davem@davemloft.net>
54982         * elf/elf.h (HWCAP_SPARC_*): Move to..
54983         * sysdeps/sparc/sysdep.h: this new file and add new values.
54984         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54985         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54986         _DL_HWCAP_COUNT to 24.
54987         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54988         entries.
54989         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54990         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54991         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54992         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54993         instead of magic constants.
54994         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54996 2011-08-31  David S. Miller  <davem@davemloft.net>
54998         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54999         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55000         Reimplement to do errno handling inline.
55001         (SYSCALL_ERROR_HANDLER): New macro.
55002         (__SYSCALL_STRING): Do not do errno handling in asm.
55003         (__CLONE_SYSCALL_STRING): Delete.
55004         (__INTERNAL_SYSCALL_STRING): Delete.
55005         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55006         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55007         (PSEUDO): Reimplement to do errno handling inline.
55008         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55009         (SYSCALL_ERROR_HANDLER): New macro.
55010         (__SYSCALL_STRING): Do not do errno handling in asm.
55011         (__CLONE_SYSCALL_STRING): Delete.
55012         (__INTERNAL_SYSCALL_STRING): Delete.
55013         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55014         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55015         i386.
55016         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55017         (inline_syscall*): Add 'err' argument.
55018         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55019         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55020         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55021         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55023         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55024         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55026 2011-08-30  Andreas Schwab  <schwab@redhat.com>
55028         * elf/rtld.c (dl_main): Relocate objects in dependency order.
55030 2011-08-29  Jiri Olsa <jolsa@redhat.com>
55032         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55033         directive.
55035 2011-08-24  David S. Miller  <davem@davemloft.net>
55037         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55039 2011-08-24  Andreas Schwab  <schwab@redhat.com>
55041         * elf/Makefile: Add rules to build and run unload8 test.
55042         * elf/unload8.c: New file.
55043         * elf/unload8mod1.c: New file.
55044         * elf/unload8mod1x.c: New file.
55045         * elf/unload8mod2.c: New file.
55046         * elf/unload8mod3.c: New file.
55048         * elf/dl-close.c (_dl_close_worker): Reset private search list if
55049         it wasn't used.
55051 2011-08-23  David S. Miller  <davem@davemloft.net>
55053         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55054         subtract stack bias.
55055         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55056         %sp not %fp in calculations.
55057         (_JMPBUF_UNWINDS_ADJ): Likewise.
55059         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55060         (aio_suspend): Call it to force an exception region around the
55061         AIO_MISC_WAIT() invocation.
55063 2011-08-23  Andreas Schwab  <schwab@redhat.com>
55065         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55066         backslash.
55068 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
55070         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55071         protection macro.
55072         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55073         and <dl-machine.h>.
55074         (Elf64_FuncDesc): Remove.
55076 2011-08-22  David S. Miller  <davem@davemloft.net>
55078         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55079         sigaltstack check, add missing cfi directives.
55080         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55081         missing cfi directives, and sigaltstack handling.
55083 2011-08-16  Andreas Schwab  <schwab@redhat.com>
55085         [BZ #11724]
55086         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55087         object is seen twice.
55088         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55090         * elf/Makefile (distribute): Add tst-initorder2.c.
55091         (tests): Add tst-initorder2.
55092         (modules-names): Add tst-initorder2a tst-initorder2b
55093         tst-initorder2c tst-initorder2d.  Add rules to build them.
55094         ($(objpfx)tst-initorder2.out): New rule.
55095         * elf/tst-initorder2.c: New file.
55096         * elf/tst-initorder2.exp: New file.
55098 2011-08-22  Andreas Schwab  <schwab@redhat.com>
55100         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55102         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55103         dependencies back to end of function.
55105         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55106         $(elfobjdir)/ld.so.
55108 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
55110         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55111         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55112         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55113         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55114         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55115         of __vdso_gettimeofday.
55116         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55117         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
55118         attribute_hidden.
55119         (_libc_vdso_platform_setup): Remove initialization of
55120         __vdso_gettimeofday and __vdso_time.
55122 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55124         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55125         and fgetc_unlocked.
55126         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55127         getc_unlocked.
55129         * elf/dl-open.c (add_to_global): Report additions to the global scope
55130         for LD_DEBUG=scopes.
55131         (dl_open_worker): Also print scope of newly loaded dependencies.
55132         (_dl_show_scope): Indicate if there is no scope.
55134         [BZ #13114]
55135         * stdio-common/Makefile (tests): Add bug24.
55136         * stdio-common/bug24.c: New file.
55138 2011-08-19  Andreas Jaeger  <aj@suse.de>
55140         [BZ #13114]
55141         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55142         non-existant file when using close-on-exec mode.
55144 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55147         the very first instruction.
55149         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55150         the CFI state in the end.
55151         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55152         inclusion of dl-trampoline.h.
55153         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55155 2011-08-19  Andreas Schwab  <schwab@redhat.com>
55157         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55158         expectations for long double.
55160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55161         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55163 2011-08-14  David S. Miller  <davem@davemloft.net>
55165         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55166         artificual limit depends upon the system page size.
55168 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55170         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55171         * resolv/Makefile: Define CFLAGS-libresolv.
55173 2011-08-17  Andreas Schwab  <schwab@redhat.com>
55175         * nss/makedb.c (compute_tables): Make variables used in nested
55176         function static.
55178 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55180         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55181         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55182         if buffer was too small.
55184         * elf/pldd.c (main): Attach to all threads in the process.
55185         Rewrite /proc handling to use *at functions.
55187 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
55189         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55190         specifies first scope to show.
55191         (dl_open_worker): Update callers.  Move printing scope of new
55192         object to before the relocation.
55193         * elf/rtld.c (dl_main): Update _dl_show_scope call.
55194         * sysdeps/generic/ldsodefs.h: Update declaration.
55196         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55197         string for the scope number.
55199 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
55201         * nscd/servicescache.c (cache_addserv): Make sure written is always
55202         initialized.
55204 2011-08-14  Roland McGrath  <roland@hack.frob.com>
55206         * sysdeps/i386/i486/bits/atomic.h
55207         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55208         statement expression, so as to suppress "set but not used" warning.
55209         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55211         * string/strncat.c (STRNCAT): Use prototype definition.
55213         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55214         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55215         -Iprograms here.
55216         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55217         (localedef-modules): Add localedef.
55218         (locale-modules): Add locale.
55220         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55221         * elf/rtld.c (dl_main): Invert order of assignment in last change,
55222         to avoid a warning.
55224 2011-08-14  David S. Miller  <davem@davemloft.net>
55226         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55227         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55229 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
55231         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55232         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55233         * elf/rtld.c (dl_main): Set l_name of vDSO.
55234         Call _dl_show_scope when DL_DEBUG_SCOPES.
55235         (process_dl_debug): Recognize scopes flag and also set it for all.
55236         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55237         Declare _dl_show_scope.
55239         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55240         (do_dlopen): Pass caller_dlopen to dl_open.
55241         (__libc_dlopen_mode): Initialize caller_dlopen.
55243         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55244         of libc.  Make tolower call locale-independent.  Optimize a bit by
55245         using isdigit instead of isalnum.
55246         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55248 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
55250         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55251         was a dependency or dynamically loaded.
55253 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
55255         * intl/l10nflist.c: Allow architecture-specific pop function.
55256         * sysdeps/x86_64/l10nflist.c: New file.
55258         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55259         classification.
55261 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55263         * include/dirent.h: Add libc_hidden_proto for scandirat and
55264         scandirat64.  Don't declare __scandirat64.
55265         * dirent/scandirat.c: Add libc_hidden_def.
55266         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55267         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55269 2011-08-10  David S. Miller  <davem@davemloft.net>
55271         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55272         enum.
55273         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55274         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55275         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55277 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55279         * Versions.def [libc]: Add GLIBC_2.15.
55280         * dirent/Makefile (routines): Add scandirat and scandirat64.
55281         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55282         GLIBC_2.15.
55283         * dirent/dirent.h: Declare scandirat and scandirat64.
55284         * dirent/scandirat.c: New file.
55285         * dirent/scandirat64.c: New file.
55286         * sysdeps/wordsize-64/scandirat.c: New file.
55287         * sysdeps/wordsize-64/scandirat64.c: New file.
55288         * dirent/opendir.c: Define opendirat.
55289         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55290         using scandirat.
55291         * dirent/scandir64.c: Adjust for scandir.c change.
55292         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55293         __scandirat64, and __scandir_cancel_handler.
55294         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55295         additional parameter and use openat instead of open (outside of ld.so).
55296         Add new __opendir as wrapper around __opendirat.
55297         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55298         here without requiring old scandirat implementation.
55300 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55302         * dirent/scandir.c (cancel_handler): Renamed to
55303         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55304         defined.  Adjust users.
55305         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55306         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55308 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
55310         * string/test-string.h (IMPL): Use __STRING to expand name and then
55311         stringify it.
55313         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
55314         of cleanups.
55316 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55318         * string/Makefile: Update.
55319         (strop-tests): Append strncat.
55320         * string/test-wcscmp.c: New file.
55321         New comprehensive test for wcscmp.
55322         * string/test-strcmp.c: Update.
55323         (WIDE): New define.
55325 2011-07-22  Andreas Schwab  <schwab@redhat.com>
55327         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55328         line.
55330 2011-07-26  Andreas Schwab  <schwab@redhat.com>
55332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55333         encoding to ACE if AI_IDN.
55335 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
55337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55338         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55340 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55342         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55343         Fix overflow bug in strncat.
55344         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55346         * string/test-strncat.c: Update.
55347         Add new tests for checking overflow bugs.
55349 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55352         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55353         * sysdeps/i386/i686/multiarch/strcat.S: New file.
55354         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55355         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55356         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55357         * sysdeps/i386/i686/multiarch/strncat.S: New file.
55358         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55359         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55361         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55362         (USE_AS_STRCAT): Define.
55363         Add strcat and strncat support.
55364         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55366 2011-07-25  Andreas Schwab  <schwab@redhat.com>
55368         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55369         __n bigger than INT_MAX+1.
55370         (__strncmp_g): Likewise.
55372 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
55374         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55375         * libio/stido.h: Likewise.
55377         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55378         (AF_NFC): Define.
55379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55380         (AF_NFC): Define.
55382         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55385         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55386         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55388         [BZ #13021]
55389         * scripts/test-installation.pl: Don't expect libnss_test1 to be
55390         installed.
55392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55393         typo.
55394         (_dl_x86_64_save_sse): Likewise.
55396 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
55398         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55399         OSXSAVE.
55400         (_dl_x86_64_save_sse): Likewise.
55402         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55404         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55406 2011-07-21  Andreas Schwab  <schwab@redhat.com>
55408         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55409         change.
55410         (_dl_x86_64_save_sse): Use correct AVX check.
55412 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55414         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55415         bug in strncpy/strncat.
55416         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55418 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
55420         * string/tester.c (test_strcat): Add tests for different alignments
55421         of source and destination.
55422         (test_strncat): Likewise.
55424 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55426         [BZ #12852]
55427         * posix/glob.c (glob): Check passed in values before using them in
55428         expressions to avoid some overflows.
55429         (glob_in_dir): Likewise.
55431         [BZ #13007]
55432         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55433         check for AVX enablement so that we don't crash with old kernels and
55434         new hardware.
55435         * elf/tst-audit4.c: Add same checks here.
55436         * elf/tst-audit6.c: Likewise.
55438         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55440 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
55442         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55444 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55446         * po/cs.po: Update from translation team.
55447         * po/bg.po: Likewise.
55449 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
55451         * misc/sys/cdefs.h: Add support for const attribute.
55452         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55453         to gnu_dev_{major,minor,makedev} functions.
55455 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
55457         * intl/dcigettext.c (get_output_charset): Add missing bracket.
55459 2011-07-20  Andreas Schwab  <schwab@redhat.com>
55461         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55462         strlen results.
55464 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55467         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55468         register in order to avoid conflicts with the soft frame pointer
55469         being held in r11 when necessary.
55470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55471         (INTERNAL_VSYSCALL_NCS): Likewise.
55473 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
55475         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55476         * elf/dl-fini.c (_dl_fini): Adjust caller.
55477         * elf/dl-close.c (_dl_close_worker): Likewise.
55478         * sysdeps/generic/ldsodefs.h: Adjust declaration.
55480 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55482         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55483         "aux_cache->nlibs < 0".
55485         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55486         in the reload-count case.
55488 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55491         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55492         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55493         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55494         * sysdeps/x86_64/multiarch/strcat.S: New file.
55495         * sysdeps/x86_64/multiarch/strncat.S: New file.
55496         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55497         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55498         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55499         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55500         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55501         (USE_AS_STRCAT): Define.
55502         Add strcat and strncat support.
55503         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55504         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55505         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55506         * string/strncat.c: Update.
55507         (USE_AS_STRNCAT): Define.
55508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55509         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55510         and i7.
55511         * sysdeps/x86_64/multiarch/init-arch.h
55512         (bit_Prefer_PMINUB_for_stringop): New.
55513         (index_Prefer_PMINUB_for_stringop): Likewise.
55514         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55515         bit_Prefer_PMINUB_for_stringop.
55517 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55519         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55520         buffer64.
55521         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55522         of casting of buffer.
55523         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55524         buffer32 and buffer64.
55525         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55526         writes instead of casting of buffer.
55527         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55528         buffer32.
55529         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55530         casting of buffer.
55532 2011-07-19  Andreas Schwab  <schwab@redhat.com>
55534         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55536 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55538         * nscd/nscd.c (termination_handler): Don't do anything for a database
55539         if it has not yet been initialized.
55541 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55543         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55545 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55547         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55549 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55551         * po/nl.po: Update from translation team.
55552         * po/sv.po: Likewise.
55554 2011-07-16  Roland McGrath  <roland@hack.frob.com>
55556         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55557         now disallowed by GCC.
55559         * configure.in (use-default-link): Default to yes if a test -shared
55560         link meets our qualifications.
55561         * configure: Regenerated.
55563         * config.make.in (output-format): New variable.
55564         * configure.in: Check for ld --print-output-format support.
55565         * configure: Regenerated.
55566         * Makerules ($(common-objpfx)format.lds)
55567         [$(output-format) != unknown]: Just use $(output-format),
55568         instead of the linker-script munging.
55570 2011-07-14  Roland McGrath  <roland@hack.frob.com>
55572         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55573         of $(common-objpfx)shlib.lds.
55574         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55576         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55577         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55579         * configure.in (-z relro check): Adjust test code to add a large
55580         writable data section after it.
55581         * configure: Regenerated.
55583 2011-07-11  Roland McGrath  <roland@hack.frob.com>
55585         * configure.in (-z relro check): Fix test code to make the variable
55586         truly const.
55587         * configure: Regenerated.
55589 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
55591         * nscd/nscd.h (struct traced_file): Define.
55592         (struct database_dyn): Remove inotify_descr, reset_res, and filename
55593         elements.  Add traced_files.
55594         (inotify_fd): Declare.
55595         (register_traced_file): Declare.
55596         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55597         (inotify_fd): Export.
55598         (resolv_conf_descr): Remove.
55599         (nscd_init): Move inotify descriptor creation to main.
55600         Don't register files for notification here.
55601         (register_traced_file): New function.
55602         (invalidate_cache): Don't use reset_res to determine whether to call
55603         res_init, go through the list of registered files.
55604         (main_loop_poll): The inotify descriptors are now stored in the
55605         structures for the traced files.
55606         (main_loop_epoll): Likewise
55607         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
55608         to __nss_disable_nscd.
55609         * nscd/cache.c (prune_cache): There is no single inotify descriptor
55610         for a database anymore.  Check the records for all the registered
55611         files instead.
55612         * nss/Makefile (libnss_files-routines): Add files-init.
55613         (libnss_db-routines): Add db-init.
55614         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55615         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55616         * nss/nss_db/db-init.c: New file.
55617         * nss/nss_files/files-init.c: New file.
55618         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
55619         __nss_lookup_function.
55620         (__nss_lookup_function): Call nss_load_library.
55621         (nss_load_all_libraries): New function.
55622         (__nss_disable_nscd): Take parameter with callback function for files
55623         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
55624         used for the cached services.
55625         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55626         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55627         options for features to all the files in nscd.
55629         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55631 2011-07-10  Roland McGrath  <roland@hack.frob.com>
55633         * csu/elf-init.c (__libc_csu_init): Comment typo.
55635 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
55637         * po/pl.po: Update from translation team.
55638         * po/ja.po: Likewise.
55639         * po/ru.po: Likewise.
55640         * po/ko.po: Likewise.
55641         * po/fr.po: Likewise.
55643 2011-07-09  Roland McGrath  <roland@hack.frob.com>
55645         * configure.in (.ctors/.dtors header and trailer check):
55646         Use an empirical test on a built program.
55647         * configure: Regenerated.
55649         * configure.in (-z relro check): Use an empirical test on a built DSO.
55650         Detect, but do not require, on ia64.
55651         * configure: Regenerated.
55653         * configure.in (READELF): Find it with AC_CHECK_TOOL.
55654         Update tests that use readelf to use $READELF instead.
55655         * configure: Regenerated.
55657 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
55659         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55660         if the result is not used.
55662 2011-07-05  Andreas Jaeger  <aj@suse.de>
55664         [BZ#9696]
55665         * stdlib/tst-strtod.c: Add testcase.
55667 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
55669         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55670         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55671         The latter has a higher limit.  Take additional parameter to pass to
55672         the new function.
55673         (__pathconf): Pass file to __statfs_link_max.
55674         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55675         __statfs_link_max.
55676         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55677         __statfs_link_max.
55679         [BZ #12868]
55680         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55681         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55682         Handle Lustre.
55683         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55684         (__statfs_filesize_max): Likewise.
55685         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55687 2011-07-05  Andreas Jaeger  <aj@suse.de>
55689         * resolv/res_comp.c (dn_skipname): Remove unused variable.
55691 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
55693         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55694         `status' variable.
55695         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55696         Likewise.
55698 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
55700         * Makefile (strop-tests): Add strncat.
55701         * string/test-strncat.c: New file.
55703 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
55705         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55707 2011-06-21  Andreas Jaeger  <aj@suse.de>
55709         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55710         Copy rule from iconvdata/Makefile.
55712 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55714         [BZ #12922]
55715         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55716         but no long options are defined, just return 'W'.
55718 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
55720         [BZ #9696]
55721         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55723 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55725         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55726         netgroups to read.
55727         (innetgr): Likewise.
55729 2011-07-05  Roland McGrath  <roland@hack.frob.com>
55731         * config.make.in (install_root): Default to $(DESTDIR).
55733 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
55735         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55737 2011-07-02  Roland McGrath  <roland@hack.frob.com>
55739         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55741         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55742         containing directory rather than embedding absolute directory names.
55744         * scripts/check-local-headers.sh: Rewritten using awk.
55745         Match by word, not by line.  Print error messages for matches.
55746         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55748         * Makerules [shlib-lds-flags empty]:
55749         ($(common-objpfx)libc_pic.opts): New target.
55750         ($(common-objpfx)libc_pic.os.clean): New target.
55751         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55753         * config.make.in (OBJCOPY): New variable.
55754         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55755         * configure: Regenerated.
55757         * config.make.in (use-default-link): New variable.
55758         * configure.in (use_default_link): Grok --with-default-link to set it.
55759         * configure: Regenerated.
55760         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55761         (shlib-lds, shlib-lds-flags): Define to empty.
55763         * Makerules (shlib-lds): New variable.
55764         (shlib-lds-flags): New variable.
55765         (build-shlib, build-moduile, build-module-asneeded): Use it.
55766         ($(common-objpfx)libc.so): Use $(shlib-lds).
55767         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55768         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55770         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55771         DT_FLAGS/DT_FLAGS_1 with zero flags.
55773         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55774         linker script munging.
55776 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
55778         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55779         as 128-bit value.
55780         * crypt/sha512.c (sha512_process_block): Perform total addition using
55781         128-bit if possible.
55782         (__sha512_finish_ctx): Likewise.
55783         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55784         as 64-bit value.
55785         * crypt/sha256.c (SWAP64): Define.
55786         (sha256_process_block): Perform total addition using 64-bit if
55787         possible.
55788         (__sha256_finish_ctx): Likewise.
55790 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
55792         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
55793         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55794         * nscd/hstcache.c (cache_addhst): Likewise.
55795         * nscd/grpcache.c (cache_addgr): Likewise.
55796         * nscd/aicache.c (addhstaiX): Likewise
55797         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55799 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
55801         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55802         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55803         * nscd/hstcache.c (cache_addhst): Likewise.
55804         * nscd/grpcache.c (cache_addgr): Likewise.
55805         * nscd/aicache.c (addhstaiX): Likewise
55807 2011-07-01  Andreas Schwab  <schwab@redhat.com>
55809         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55810         domain only when needed.
55812 2011-06-30  Andreas Schwab  <schwab@redhat.com>
55814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55815         is always restored.
55817 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
55819         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55820         are re-adding the entry.
55821         * nscd/servicescache.c (cache_addserv): Likewise.
55823 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
55825         * sysdeps/generic/dl-irel.h: fix protection against multiple
55826         inclusions.
55827         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55829 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
55831         [BZ #12935]
55832         * malloc/memusage.sh: Fix quoting in message.
55833         * debug/xtrace.sh: Likewise.
55835         * configure.in: Remove support for --experimental-malloc option, make
55836         it the default.
55837         * config.make.in: Likewise.
55838         * malloc/Makefile: Likewise.
55840 2011-06-27  Andreas Schwab  <schwab@redhat.com>
55842         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55843         two-byte characters.
55845 2011-06-27  Roland McGrath  <roland@hack.frob.com>
55847         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55848         AC_CACHE_CHECK invocation.
55849         * configure: Regenerated.
55851         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55853 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
55855         [BZ #12350]
55856         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
55857         bit from old_res_options.
55859         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55861         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55862         value type for setfct.
55864 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
55866         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55867         __gettimeofday instead of gettimeofday.
55869 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
55871         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55873 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
55875         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55877         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55878         info.
55880 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55883         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55884         strcpy-sse2-unaligned strncpy-sse2-unaligned
55885         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55886         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55887         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55888         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55889         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55890         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55891         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55892         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55893         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55894         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55895         (STRCPY): Support SSE2 and SSSE3 versions.
55897 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
55899         [BZ #12874]
55900         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55901         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55902         kernels which artificially limit size of requests.
55904 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55906         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55907         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55908         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55909         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55910         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55911         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55912         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55913         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55914         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55915         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55916         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55917         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55918         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55919         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55920         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55922         Enable unaligned load optimization for Intel Core i3, i5 and i7
55923         processors.
55924         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55925         Define.
55926         (index_Fast_Unaligned_Load): Define.
55927         (HAS_FAST_UNALIGNED_LOAD): Define.
55929 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55931         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55933 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55935         [BZ #12907]
55936         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55937         until it is clear that the information is realy needed.
55938         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55940 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55944 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55946         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55947         /sys/devices/system/cpu/online if it is usable.
55949         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55950         reading the information from the /proc filesystem to once a second.
55952 2011-06-21  Andreas Jaeger  <aj@suse.de>
55954         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55955         NULL after inclusion of kernel headers.
55957 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55959         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55960         calls to internal_setent.
55962         [BZ #12885]
55963         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55964         addresses using gethostbyname4_r ignore IPv4 addresses.
55966         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55967         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55969         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55971 2011-06-20  David S. Miller  <davem@davemloft.net>
55973         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55974         inclusions.
55975         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55977         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55978         (elf_irel): Use it.
55979         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55980         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55981         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55982         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55983         * sysdeps/x86_64/dl-irel.h: Likewise.
55985         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55986         * elf/dl-sym.c: Likewise.
55988 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55990         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55991         need to dereference resplen2.
55993 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55995         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55997 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55999         * Makeconfig: Define vardbdir and inst_vardbdir.
56000         * nss/Makefile: Add rules to install db-Makefile.
56002         * nss/nss_db/db-XXX.c: Cleanup.
56004         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56005         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56006         GLIBC_PRIVATE.
56007         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56008         * nss/makedb.c: Implement -g option to specify that value strings
56009         are generated and should not be added to table iterated over for
56010         get*ent calls.
56011         * nss/nss_db/db-initgroups.c: New file.
56013         * nss/getent.c: Add support for initgroups lookups through getgrouplist
56014         interface.
56016         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56017         (internal_getgrouplist): Adjust to name change.
56018         Update use_initgroups_entry if this is not the first call.
56019         * nss/databases.def: Add initgroups entry.
56021         * nss/makedb.c (compute_tables): Check result of multiple hash table
56022         sizes to minimize maximum chain length.
56024 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
56026         * Versions.def: Add entry for libnss_db.
56027         * shlib-versions: Likewise.
56028         * nss/Makefile: Add rules to build libnss_db.
56029         * nss/Versions: Add libnss_db information.  Organize libnss_files
56030         entries better.
56031         * nss/db-Makefile: Add gshadow support.  Change rules for the new
56032         makedb progra.  Some minor improvements to generate smaller files.
56033         * nss/nss_db/nss_db.h: Move NSS database header data structures to
56034         here from...
56035         * nss/makedb.c: ...here.
56036         Improve database format to be smaller and require less memory at
56037         runtime.
56038         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
56039         db anymore.
56040         * nss/nss_db/db-netgrp.c: Likewise.
56041         * nss/nss_db/db-open.c: Likewise.
56042         * nss/nss_files/flies-XXX.x: Adjust comments.
56043         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56044         * nss/nss_files/files-grp.c: Likewise.
56045         * nss/nss_files/files-hosts.c: Likewise.
56046         * nss/nss_files/files-network.c: Likewise.
56047         * nss/nss_files/files-proto.c: Likewise.
56048         * nss/nss_files/files-pwd.c: Likewise.
56049         * nss/nss_files/files-rpc.c: Likewise.
56050         * nss/nss_files/files-service.c: Likewise.
56051         * nss/nss_files/files-sgrp.c: Likewise.
56052         * nss/nss_files/files-spwd.c: Likewise.
56053         * nss/nss_db/db-alias.c: Removed.
56054         * nss/nss_db/dummy-db.h: Removed.
56056 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
56058         * nss/makedb.c: Rewritten to not use database library.
56059         * nss/Makefile: Update to build new makedb program.
56061 2011-06-14  Andreas Jaeger  <aj@suse.de>
56063         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56064         memset declaration.
56066 2011-06-10  Andreas Schwab  <schwab@redhat.com>
56068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56069         tmpbuf.
56071 2011-06-10  Roland McGrath  <roland@hack.frob.com>
56073         * Makerules (shlib.lds): Fail if the linker script comes out empty.
56074         * elf/Makefile ($(objpfx)ld.so): Likewise.
56076         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56077         Don't list ld.so twice in dependencies.
56079         * posix/bug-regex31.c: Include <stdlib.h>.
56081         * nscd/hstcache.c (cache_addhst): Remove unused variable.
56083         * nis/nss_compat/compat-spwd.c
56084         (getspent_next_nss_netgr): Remove unused variable.
56085         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56087         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56088         nonmembers" output to use the right array.
56090         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56092         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56094         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56095         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56096         * catgets/gencat.c (read_input_file): Likewise.
56097         * locale/programs/locarchive.c (enlarge_archive): Likewise.
56099         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56100         variable definition inside #if's controlling its use.
56102         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56104         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56106         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56108         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56109         unreachable code.
56111         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56113         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56114         * configure: Regenerated.
56116         * Makerules: Revert last change.
56117         * elf/Makefile: Likewise.
56119 2011-06-09  Roland McGrath  <roland@hack.frob.com>
56121         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56122         * elf/Makefile ($(objpfx)librtld.os): Likewise.
56123         (reloc-link): Likewise.
56125 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
56127         * elf/Makefile: Add rules to build pldd.
56128         * elf/pldd.c: New file.
56129         * elf/pldd-xx.c: New file.
56131 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
56133         * version.h: Update for 2.15 development version.
56135 2011-06-07  David S. Miller  <davem@davemloft.net>
56137         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56138         ifuncs.
56139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56140         elf_machine_lazy_rel): Likewise.
56141         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56142         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56143         elf_machine_lazy_rel): Likewise.
56144         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56145         dl_hwcap via passed in argument.
56146         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56147         Likewise.
56149 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56151         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
56153 2011-06-06  Roland McGrath  <roland@hack.frob.com>
56155         [BZ #12849]
56156         * manual/fdl-1.1.texi: New file, verbatim from:
56157         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56158         * manual/lgpl-2.1.texi: New file, verbatim from:
56159         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56160         * manual/Makefile (licenses): New variable, list those new file names.
56161         (texis): Use it.
56162         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56164         * manual/fdl.texi: File removed.
56165         * manual/lesser.texi: File removed.
56166         * manual/libc.texinfo (Copying, Documentation License):
56167         Use new @include file names, put @appendix directive before @include.
56169 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
56171         [BZ #12841]
56172         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56173         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56174         (mq_open): Add __NTH.
56176 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
56178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56179         Assume Intel Core i3/i5/i7 processor if AVX is available.
56181 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56184         typo.
56186 2011-05-31  Andreas Schwab  <schwab@redhat.com>
56188         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56189         memory.  Use alloca_account.  Fix memory leak when retrying.
56191 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56193         * version.h (RELEASE): Bump for 2.14 release.
56194         * include/features.h (__GLIBC_MINOR__): Bump to 14.
56196         * config.make.in (RANLIB): Remove entry.
56198 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
56200         * po/Makefile (po-sed-cmd): Add ksh to extensions.
56201         (libc.pot): Work around missing support for .ksh extension in xgettext.
56203         [BZ #12684]
56204         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56205         if both request failed.
56206         (send_dg): In case of server errors clear resplen or *resplen2.
56208         [BZ #12454]
56209         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56210         when there are multiple maps.
56211         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56212         (_dl_fini): Remove test here.
56214         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56216 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
56218         [BZ #12350]
56219         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56220         bit from old_res_options.
56221         (gaih_inet): Likewise.
56223         [BZ #11099]
56224         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56225         as signed.
56227         * resolv/res_init.c (res_setoptions): Make the code more compact.
56229         [BZ #11558]
56230         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56231         set RES_USEVC.
56233         [BZ #11634]
56234         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56236         * malloc/malloc.h: Mark malloc hook variables as deprecated.
56238         [BZ #11781]
56239         * malloc/malloc.h: Declare malloc hook variables as volatile.
56241         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56242         in last patch.
56244         [BZ #11799]
56245         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56246         raise in the comment.
56247         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56248         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56249         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56251 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
56253         [BZ #12811]
56254         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56255         grow the buffers more if it already has to be sufficient.
56256         (build_wcs_upper_buffer): Likewise.
56257         * posix/regexec.c (check_matching): Likewise.
56258         (clean_state_log_if_needed): Likewise.
56259         (extend_buffers): Don't enlarge buffers beyond size of the input
56260         buffer.
56261         Patches mostly by Emil Wojak <emil@wojak.eu>.
56262         * posix/bug-regex32.c: New file.
56263         * posix/Makefile (tests): Add bug-regex32.
56265         * locale/findlocale.c (_nl_find_locale): Return right away if
56266         _nl_explode_name failed.
56267         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56269         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56271         * debug/xtrace.sh: Unify messages.
56272         * malloc/memusage.sh: Likewise.
56274         [BZ #12813]
56275         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56276         time symbol from vDSO.  Substitute with vsyscall if not available.
56277         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56278         __vdso_time.
56280         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56281         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56282         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56283         Add sendmmsg and internal_sendmmsg.
56284         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56285         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56286         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56288         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56289         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56290         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56292 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56294         [BZ #12813]
56295         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56296         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56297         available.
56298         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56299         __vdso_getcpu.
56301         [BZ #12814]
56302         * iconvdata/Makefile (tests): Add bug-iconv9.
56303         * iconvdata/bug-iconv9.c: New file.
56305 2011-05-27  Andreas Schwab  <schwab@redhat.com>
56307         [BZ #12814]
56308         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56310 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
56312         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56313         (struct user_regs_struct): Change intcs field back to cs.
56315 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
56317         * po/ja.po: Update from translation team.
56319 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
56321         [BZ #12795]
56322         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56323         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56325 2011-05-20  Andreas Schwab  <schwab@redhat.com>
56327         * stdlib/longlong.h: Update from GCC.
56329 2011-05-23  Andreas Schwab  <schwab@redhat.com>
56331         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56332         parameter name.
56333         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56334         Add parameter name.
56335         (__sysconf): Pass it down.
56337 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
56339         [BZ #12671]
56340         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56341         some situations.
56342         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56343         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56344         add in in __libc_use_alloca calls.  Adjust callers.
56345         (glob): Use malloc in some situations.
56347         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56348         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56349         pltexit.
56351 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
56353         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56354         and CLOCK_BOOTTIME_ALARM.
56356         [BZ #12782]
56357         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56358         is returned.
56360         * string/_strerror.c (__strerror_r): Print negative errors as signed
56361         numbers.
56363         [BZ #12777]
56364         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56365         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56366         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56368         * configure.in: Fix typo in redirection and correct removal of test
56369         files in two cases.
56371         [BZ #12788]
56372         * locale/setlocale.c (new_composite_name): Fix test to check for
56373         identical name of all categories.
56375         [BZ #12792]
56376         * libio/filedoalloc.c (local_isatty): New function.
56377         (_IO_file_doallocate): Use local_isatty.
56378         * stdio-common/perror.c (perror): In case a new stream is used
56379         forward the stream error.
56380         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56381         error flag.
56383 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
56385         [BZ #11869]
56386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56387         alloca.
56388         * include/alloca.h (extend_alloca_account): Define.
56390         [BZ #11857]
56391         * posix/regex.h: Fix comments with documentation of user-accessible
56392         fields after compilation and describe correct free'ing of pattern
56393         after re_compile_pattern.
56394         Patch by Reuben Thomas <rrt@sc3d.org>.
56396 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
56398         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56399         and -mno-altivec to prevent the compiler from using Altivec and/or
56400         VSX instructions when the corresponding registers are not available.
56402 2011-05-19  Andreas Schwab  <schwab@redhat.com>
56404         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56406 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
56408         * libio/freopen.c (freopen): Use __dup2, not dup2.
56409         * libio/freopen64.c (freopen64): Likewise.
56411 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56413         [BZ #12775]
56414         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56415         * math/Makefile (tests): Add test-powl.
56416         (CFLAGS-test-powl.c): Define.
56417         * math/test-powl.c: New file.
56419 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56421         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56423 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
56425         [BZ #11837]
56426         * iconvdata/gb18030.c: Update to GB18020-2005.
56428 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
56430         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56431         RE_SYNTAX_POSIX_AWK): Update to match recent development.
56432         Patch by Aharon Robbins <arnold@skeeve.com>.
56434         [BZ #11892]
56435         * stdlib/putenv.c (putenv): Don't always create copy of the variable
56436         on the stack.
56438         [BZ #11895]
56439         * misc/pselect.c (__pselect): Handle timeout value errors hidden
56440         through underflows.
56442         [BZ #12766]
56443         * misc/error.c (error_at_line): Ensure file_name and old_file_name
56444         point to strings before performing equality test for error_one_per_line
56445         mode.
56447         [BZ #11697]
56448         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56450         [BZ #11820]
56451         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56452         (struct user_fpregs_struct): Avoid __uint*_t types.
56454         [BZ #6420]
56455         * malloc/mtrace.c (tr_where): Add additional parameter to point to
56456         symbol info.  Use it instead of calling _dl_addr locally.
56457         (lock_and_info): New function.
56458         (tr_freehook): Call lock_and_info and pass symbol info as additional
56459         parameter to tr_where.
56460         (tr_mallochook): Likewise.
56461         (tr_reallochook): Likewise.
56462         (tr_memalignhook): Likewise.
56464         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
56465         used and couldn't be at all thread-safe.
56467 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
56469         * libio/freopen.c (freopen): Don't close old file descriptor
56470         before the new one is opened.  Instead dup the new file descriptor
56471         to the old one after the new stream is created.
56472         * libio/freopen64.c (freopen64): Likewise.
56473         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56474         * libio/fileops.c (_IO_new_file_close_it): Handle new
56475         _IO_FLAGS2_NOCLOSE flag.
56476         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56477         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56478         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56479         _IO_FLAGS2_NOCLOSE flag.
56480         * include/unistd.h: Add hidden_proto for dup3.
56481         Define __have_dup3.
56482         * io/dup3.c: Define hidden symbol.
56483         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56485         [BZ #7101]
56486         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56487         when an incomplete long option is used.
56488         * posix/tst-getopt_long1.c: New file.
56489         * posix/Makefile (tests): Add tst-getopt_long1.
56491         [BZ #10138]
56492         * scripts/config.guess: Update from autoconf-2.68.
56493         * scripts/config.sub: Likewise.
56495         [BZ #10157]
56496         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56497         tests into ...
56498         (has_cpuclock): ...this.  New function.
56499         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56500         macro here based on has_cpuclock code.
56502         [BZ #10149]
56503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56504         First byte (not low byte) is now always NUL.
56505         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56508         Use non-cancelable interfaces.
56510         [BZ #9809]
56511         * locale/iso-639.def: Add entry for Sorani.
56513         [BZ #11901]
56514         * include/stdlib.h: Move include protection to the right place.
56515         Define abort_msg_s.  Declare __abort_msg with it.
56516         * stdlib/abort.c (__abort_msg): Adjust type.
56517         * assert/assert.c (__assert_fail_base): New function.  Majority
56518         of code from __assert_fail.  Allocate memory for __abort_msg with
56519         mmap.
56520         (__assert_fail): Now call __assert_fail_base.
56521         * assert/assert-perr.c: Remove bulk of implementation.  Use
56522         __assert_fail_base.
56523         * include/assert.hL Declare __assert_fail_base.
56524         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56525         mmap.
56526         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56528 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
56530         [BZ #11952]
56531         [BZ #12453]
56532         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56533         until all modules are registered in the DTV.
56534         * elf/Makefile: Add rules to build and run tst-tls19.
56535         * elf/tst-tls19.c: New file.
56536         * elf/tst-tls19mod1.c: New file.
56537         * elf/tst-tls19mod2.c: New file.
56538         * elf/tst-tls19mod3.c: New file.
56539         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56541         [BZ #12083]
56542         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56543         correctly.
56545         [BZ #12601]
56546         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56547         two-byte sequence errors.
56548         * iconvdata/Makefile (tests): Add bug-iconv8.
56549         * iconvdata/bug-iconv8.c: New file.
56551         [BZ #12626]
56552         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56553         buf2 definition.
56555         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56557         [BZ #12432]
56558         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56559         (dummy_getcfa): New function.
56560         (init): Get _Unwind_GetCFA address, use dummy if not found.
56561         (backtrace_helper): In recursion check, also check whether CFA changes.
56562         (__backtrace): Completely initialize arg.
56564         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56565         storing incomplete byte sequence in state object.  Avoid testing for
56566         guaranteed too small input if we know there is enough data available.
56568 2011-05-11  Andreas Schwab  <schwab@redhat.com>
56570         * Makeconfig (+link-pie): Indent.
56571         * Rules (binaries-pie): Define if $(have-fpie) and
56572         $(build-shared).
56573         (binaries-shared): Also filter out $(binaries-pie).
56574         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56575         * nscd/Makefile (others-pie): Add nscd.
56576         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56577         ($(objpfx)nscd): Remove command override.
56578         * login/Makefile (others-pie): Add pt_chown.
56579         ($(objpfx)pt_chown): Remove command override.
56580         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56581         remove command overrides.
56583 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
56585         * libio/tst_putwc.c: Fix error messages.
56587         [BZ #12724]
56588         * libio/fileops.c (_IO_new_file_close_it): Always flush when
56589         currently writing and seek to current position when not.
56590         * libio/Makefile (tests): Add bug-fclose1.
56591         * libio/bug-fclose1.c: New file.
56593 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
56595         [BZ #12511]
56596         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56597         don't set DF_1_NODELETE here.
56598         (do_lookup_x): When entering new entry test for copy relocation
56599         and if necessary set DF_1_NODELETE flag.
56600         * elf/tst-unique4.cc: New file.
56601         * elf/tst-unique4.h: New file.
56602         * elf/tst-unique4lib.cc: New file.
56603         * elf/Makefile: Add rules to build and run tst-unique4.
56604         Patch by Piotr Bury <pbury@goahead.com>.
56606 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
56608         [BZ #12052]
56609         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56611         [BZ #12625]
56612         * misc/mntent_r.c (addmntent): Flush the stream after the output
56614         [BZ #12393]
56615         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56616         (is_trusted_path_normalize): Skip initial colon.  Append slash
56617         to empty buffer.  Duplicate is_trusted_path code but allow
56618         constructed patch to be prefix.
56619         (is_dst): Allow $ORIGIN followed by /.
56620         (_dl_dst_substitute): Correct clearing of check_for_trusted.
56621         Correct testing of result of is_trusted_path_normalize
56622         (decompose_rpath): Fix warning.
56624 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
56626         [BZ #11257]
56627         * grp/initgroups.c (internal_getgrouplist): When we found the service
56628         list through the initgroups entry in nsswitch.conf do not always
56629         continue on a successful lookup.  Don't always use the
56630         __nss_group_database value if it is set.
56631         * nss/nsswitch.conf (initgroups): Change action for successful db
56632         lookup to continue for compatibility.
56634 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
56636         [BZ #11532]
56637         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56638         and CP774 modules.
56639         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56640         and CP774 modules.
56641         * iconvdata/tst-tables.sh: Likewise.
56642         * iconvdata/cp770.c: New file.
56643         * iconvdata/cp771.c: New file.
56644         * iconvdata/cp772.c: New file.
56645         * iconvdata/cp773.c: New file.
56646         * iconvdata/cp774.c: New file.
56647         * iconvdata/testdata/CP770: New file.
56648         * iconvdata/testdata/CP770..UTF8: New file.
56649         * iconvdata/testdata/CP771: New file.
56650         * iconvdata/testdata/CP771..UTF8: New file.
56651         * iconvdata/testdata/CP772: New file.
56652         * iconvdata/testdata/CP772..UTF8: New file.
56653         * iconvdata/testdata/CP773: New file.
56654         * iconvdata/testdata/CP773..UTF8: New file.
56655         * iconvdata/testdata/CP774: New file.
56656         * iconvdata/testdata/CP774..UTF8: New file.
56658         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56659         END CHARMAP line.
56660         * iconvdata/gen-8bit-gap.sh: Likewise.
56661         * iconvdata/gen-8bit.sh: Likewise.
56663         * locale/iso-639.def: Add ary entry.
56665         [BZ #11258]
56666         * locale/C-translit.h.in: Add U20A1 transliteration.
56668         [BZ #12178]
56669         * locale/iso-639.def: Add wae entry.
56670         Patch by Kevin Bortis <bortis@translate-wae.ch>.
56672         [BZ #12545]
56673         * locale/programs/localedef.c (construct_output_path): Use ssize_t
56674         for n.
56676         [BZ #12711]
56677         * locale/C-translit.h.in: Add entry for U20B9.
56678         Patch by pravin.d.s@gmail.com.
56680 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
56682         [BZ #12713]
56683         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56684         ENAMETOOLONG use generic getcwd.
56685         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
56686         in rtld.  Use *stat64.
56687         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56688         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56689         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56690         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56691         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56692         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56693         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56694         __fstatat64 macros.
56695         * include/dirent.h: Add libc_hidden_proto for rewinddir.
56696         * dirent/rewinddir.c: Add libc_hidden_def.
56697         * sysdeps/mach/hurd/rewinddir.c: Likewise.
56698         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
56700         * include/dirent.h (__alloc_dir): Add flags parameter.
56701         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56702         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56703         __alloc_dir.
56704         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
56705         from fdopendir if O_CLOEXEC is already set.
56707 2011-03-15  Alan Modra  <amodra@gmail.com>
56709         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56710         l_tls_firstbyte_offset non-zero.  Save padding offset in
56711         l_tls_firstbyte_offset for later use.
56712         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56713         freeing static tls block.
56715 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
56717         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56718         where #ifdef was intended.  The intent is to prevent ARG_MAX from
56719         being defined by the kernel headers.
56721 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
56723         [BZ #12734]
56724         * resolv/resolv.h: Define RES_NOTLDQUERY.
56725         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56726         no-tld-query and set RES_NOTLDQUERY.
56727         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56728         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56729         modern BIND to search name as TLD unless forbidden.
56731 2011-05-07  Petr Baudis  <pasky@suse.cz>
56732             Ulrich Drepper  <drepper@gmail.com>
56734         [BZ #12393]
56735         * elf/dl-load.c (fillin_rpath): Move trusted path check...
56736         (is_trusted_path): ...to here.
56737         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56738         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56739         using is_trusted_path_normalize() in setuid scripts.
56741 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56743         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56744         __BEGIN/__END_DECLS.
56746 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
56748         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56749         NSS_STATUS_NOTFOUND if no record was found.
56751 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56753         * sunrpc/Makefile (headers): Add rpc/netdb.h.
56754         (headers-not-in-tirpc): Remove rpc/netdb.h
56755         * resolv/netdb.h: Revert last change.
56757 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56759         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56760         circular dependency between libgcc.a and libc.a.
56762 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56764         * resolv/netdb.h: Don't include <rpc/netdb.h>.
56765         * nis/Makefile: Don't install rpcsvc/*.
56766         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56767         instead of <rpc/types.h>.
56768         (MAXHOSTNAMELEN): Define.
56770 2011-05-03  Andreas Schwab  <schwab@redhat.com>
56772         * elf/ldconfig.c (add_dir): Don't crash on empty path.
56774 2011-04-28  Maciej Babinski  <mbabinski@google.com>
56776         [BZ #12714]
56777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56778         gethostbyname4_r when IPv6 results are possible.
56780 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
56782         [BZ #12723]
56783         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56784         _PC_PIPE_BUF handling.
56786 2011-04-30  Bruno Haible  <bruno@clisp.org>
56788         [BZ #12717]
56789         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56790         * resolv/netdb.h (getnameinfo): Change type of flags parameter
56791         to 'int'.
56792         * inet/getnameinfo.c (getnameinfo): Likewise.
56794 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
56796         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56797         to groups setting in database lookup.
56798         * nss/nsswitch.conf: Add initgroups entry.
56800 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
56802         [BZ #12685]
56803         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56804         mode string.
56805         Patch by Eric Blake <eblake@redhat.com>.
56807 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
56809         * sunrpc/Makefile (need-export-routines): Add svc_run.
56810         (routines): Remove svc_run.
56811         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56812         * sunrpc/clnt_perr.c (clnt_perrno): Export.
56813         * sunrpc/svc_run.c (svc_run): Likewise.
56814         * sunrpc/svc_udp.c (svcudp_create): Likewise.
56816 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
56818         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56819         problem in reallocation in last patch.
56821 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
56823         * sunrpc/Makefile: Move inclusion of Rules.
56825 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56827         * nss/nss_files/files-initgroups.c: New file.
56828         * nss/Makefile (libnss_files-routines): Add files-initgroups.
56829         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56830         _nss_files_initgroups_dyn.
56832 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
56834         * elf/elf.h (R_ARM_IRELATIVE): Define.
56836 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56838         * po/ru.po: Update from translation team.
56840 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56842         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56843         dependencies.
56845 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
56847         [BZ #12653]
56848         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56849         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56850         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56851         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56852         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56854 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
56856         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56857         differing bytes.
56858         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56860         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56862 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56864         [BZ #12420]
56865         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56866         storing it.
56867         * stdlib/bug-getcontext.c: New file.
56868         * stdlib/Makefile: Add rules to build and run bug-getcontext.
56870 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56872         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56873         instructions into .machine "z9-109".
56874         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56875         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56877 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56879         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56880         between environment variables and auxiliary vector.
56882 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
56884         * Makefile: Add rules to build linkobj/libc.so.
56885         * include/libc-symbols.h: Define libc_hidden_nolink.
56886         * include/rpc/auth.h: Mark functions which are to be hidden.
56887         * include/rpc/auth_des.h: Likewise.
56888         * include/rpc/auth_unix.h: Likewise.
56889         * include/rpc/clnt.h: Likewise.
56890         * include/rpc/des_crypt.h: Likewise.
56891         * include/rpc/key_prot.h: Likewise.
56892         * include/rpc/pmap_clnt.h: Likewise.
56893         * include/rpc/pmap_prot.h: Likewise.
56894         * include/rpc/pmap_rmt.h: Likewise.
56895         * include/rpc/rpc_msg.h: Likewise.
56896         * include/rpc/svc.h: Likewise.
56897         * include/rpc/svc_auth.h: Likewise.
56898         * include/rpc/xdr.h: Likewise.
56899         * nis/Makefile: Link all DSOs against linkobj/libc.so.
56900         * nss/Makefile: Likewise.
56901         * sunrpc/Makefile: Don't install headers.  Build library with normal
56902         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
56903         * sunrpc/auth_des.c: Hide exported symbols by default, export some
56904         for the compat linking library.  Remove use of INTDEF/INTUSE.
56905         * sunrpc/auth_none.c: Likewise.
56906         * sunrpc/auth_unix.c: Likewise.
56907         * sunrpc/authdes_prot.c: Likewise.
56908         * sunrpc/authuxprot.c: Likewise.
56909         * sunrpc/clnt_gen.c: Likewise.
56910         * sunrpc/clnt_perr.c: Likewise.
56911         * sunrpc/clnt_raw.c: Likewise.
56912         * sunrpc/clnt_simp.c: Likewise.
56913         * sunrpc/clnt_tcp.c: Likewise.
56914         * sunrpc/clnt_udp.c: Likewise.
56915         * sunrpc/clnt_unix.c: Likewise.
56916         * sunrpc/des_crypt.c: Likewise.
56917         * sunrpc/des_soft.c: Likewise.
56918         * sunrpc/get_myaddr.c: Likewise.
56919         * sunrpc/key_call.c: Likewise.
56920         * sunrpc/key_prot.c: Likewise.
56921         * sunrpc/netname.c: Likewise.
56922         * sunrpc/pm_getmaps.c: Likewise.
56923         * sunrpc/pm_getport.c: Likewise.
56924         * sunrpc/pmap_clnt.c: Likewise.
56925         * sunrpc/pmap_prot.c: Likewise.
56926         * sunrpc/pmap_prot2.c: Likewise.
56927         * sunrpc/pmap_rmt.c: Likewise.
56928         * sunrpc/publickey.c: Likewise.
56929         * sunrpc/rpc_cmsg.c: Likewise.
56930         * sunrpc/rpc_common.c: Likewise.
56931         * sunrpc/rpc_dtable.c: Likewise.
56932         * sunrpc/rpc_prot.c: Likewise.
56933         * sunrpc/rpc_thread.c: Likewise.
56934         * sunrpc/rtime.c: Likewise.
56935         * sunrpc/svc.c: Likewise.
56936         * sunrpc/svc_auth.c: Likewise.
56937         * sunrpc/svc_authux.c: Likewise.
56938         * sunrpc/svc_raw.c: Likewise.
56939         * sunrpc/svc_run.c: Likewise.
56940         * sunrpc/svc_simple.c: Likewise.
56941         * sunrpc/svc_tcp.c: Likewise.
56942         * sunrpc/svc_udp.c: Likewise.
56943         * sunrpc/svc_unix.c: Likewise.
56944         * sunrpc/svcauth_des.c: Likewise.
56945         * sunrpc/xcrypt.c: Likewise.
56946         * sunrpc/xdr.c: Likewise.
56947         * sunrpc/xdr_array.c: Likewise.
56948         * sunrpc/xdr_float.c: Likewise.
56949         * sunrpc/xdr_intXX_t.c: Likewise.
56950         * sunrpc/xdr_mem.c: Likewise.
56951         * sunrpc/xdr_rec.c: Likewise.
56952         * sunrpc/xdr_ref.c: Likewise.
56953         * sunrpc/xdr_sizeof.c: Likewise.
56954         * sunrpc/xdr_stdio.c: Likewise.
56956 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56958         [BZ #12650]
56959         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56960         * sysdeps/ia64/dl-tls.h: Likewise.
56961         * sysdeps/powerpc/dl-tls.h: Likewise.
56962         * sysdeps/s390/dl-tls.h: Likewise.
56963         * sysdeps/sh/dl-tls.h: Likewise.
56964         * sysdeps/sparc/dl-tls.h: Likewise.
56965         * sysdeps/x86_64/dl-tls.h: Likewise.
56966         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56968 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56970         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56971         rpath element also skip the following colon.
56972         (expand_dynamic_string_token): Add is_path parameter and pass
56973         down to DL_DST_REQUIRED and _dl_dst_substitute.
56974         (decompose_rpath): Call expand_dynamic_string_token with
56975         non-zero is_path.  Ignore empty rpaths.
56976         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56977         with zero is_path.
56979 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56982         Make cancelable.
56984 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56986         [BZ #12655]
56987         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56988         Patch by Filipe David Manana <fdmanana@apache.org>.
56990 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56992         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56993         Maintain aligned stack.
56994         (CHECK_RSP): Remove unused macro.
56996 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56998         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56999         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57001 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
57003         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57005         * include/features.h: Mention __USE_XOPEN2K8 in comment.
57007 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
57009         [BZ #12518]
57010         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57011         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57012         * sysdeps/x86_64/memmove.c: New file.
57013         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57014         (memcpy): Renamed to ...
57015         (__new_memcpy): This.
57016         (memcpy): Provide GLIBC_2_14 memcpy.
57017         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57018         (memcpy): Provide GLIBC_2_2_5 memcpy.
57020 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57022         [BZ #12631]
57023         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57025 2011-03-30  Andreas Schwab  <schwab@redhat.com>
57027         * misc/syncfs.c: New file.
57028         * misc/Makefile (routines): Add syncfs.
57029         * posix/unistd.h: Declare syncfs.
57030         * sysdeps/unix/syscalls.list: Add syncfs.
57032 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57034         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57035         open_by_handle_at.
57036         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57037         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57038         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57039         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57041         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57042         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57044 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57046         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57047         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57048         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57050         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57051         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57052         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57054         * io/Makefile: Compile fallocate.c, fallocate64.c, and
57055         sync_file_range.c with -fexceptions.
57056         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57057         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57058         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57059         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57060         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57061         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57062         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57063         sync_file_range as cancellation point
57064         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
57065         now a wrapper around __call_sync_file_range with cancellation handling.
57066         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57067         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
57068         function name to __call_sync_file_range.
57069         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57070         Add call_sync_file_range.
57072 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57075         bits/timex.h.
57077 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57079         * iconv/iconv.h: Fix typo in comment.
57080         * io/fcntl.h: Likewise.
57081         * libio/stdio.h: Likewise.
57082         * posix/spawn.h: Likewise.
57083         * posix/unistd.h: Likewise.
57084         * stdlib/stdlib.h: Likewise.
57085         * time/time.h: Likewise.
57086         * wcsmbs/wchar.h: Likewise.
57088         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57089         open_by_handle): Add.
57090         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57091         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
57092         Augment a few comments.
57093         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57095         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57097         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57098         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57099         open_by_handle.
57101         * io/fcntl.h (AT_EMPTY_PATH): Define.
57103 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
57105         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57106         * sysdeps/unix/sysv/linux/bits/time.h: New file.
57107         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57108         to...
57109         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
57110         * Versions.def: Add GLIBC_2.14.
57111         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57112         Export.
57114 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
57116         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57117         round counter.
57118         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57120 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57122         [BZ #12597]
57123         * string/test-strncmp.c (do_page_test): New function.
57124         (check2): Likewise.
57125         (test_main): Call check2.
57126         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57128 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
57130         [BZ #12587]
57131         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57132         Handle cache information in CPU leaf 4.
57133         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57135 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
57137         [BZ #12583]
57138         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57139         character representation.
57140         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57142 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
57144         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57145         END(__isnan) to END(__isnanf) to match function entry point/label
57146         EALIGN(__isnanf,...).
57148 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
57150         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57152 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
57154         [BZ #12510]
57155         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57156         copy from the symbol referenced in the relocation to initialize the
57157         used variable.
57158         Patch by Piotr Bury <pbury@goahead.com>.
57159         * elf/Makefile: Add rules to build and tst-unique3.
57160         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57161         * elf/tst-unique3.cc: New file.
57162         * elf/tst-unique3.h: New file.
57163         * elf/tst-unique3lib.cc: New file.
57164         * elf/tst-unique3lib2.cc: New file.
57166         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57168 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
57170         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57171         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
57172         to _start.
57174 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
57176         * elf/dl-load.c (_dl_map_object): If we are looking for the first
57177         to-be-loaded object along a path to loader is ld.so.
57179 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57180             Ulrich Drepper  <drepper@gmail.com>
57182         * sysdeps/x86_64/memset.S: After aligning destination, code
57183         branches to different locations depending on the value of
57184         misalignment, when multiarch is enabled. Fix this.
57186 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57188         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57189         Set _x86_64_preferred_memory_instruction for AMD processsors.
57190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57191         Set bit_Prefer_SSE_for_memop for AMD processors.
57193 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
57195         * libio/fmemopen.c (fmemopen): Optimize a bit.
57197 2011-03-03  Andreas Schwab  <schwab@redhat.com>
57199         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57201 2011-03-03  Roland McGrath  <roland@redhat.com>
57203         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57205 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
57207         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57208         __bzero_ultra1 instead of __memset_ultra1.
57210 2011-02-23  Andreas Schwab  <schwab@redhat.com>
57211             Ulrich Drepper  <drepper@gmail.com>
57213         [BZ #12509]
57214         * include/link.h (struct link_map): Add l_orig_initfini.
57215         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57216         returning unsuccessfully.
57217         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57218         close of a file loaded at startup, restore the original l_initfini
57219         list.
57220         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57221         list, store the pointer.
57222         * elf/Makefile ($(objpfx)noload-mem): New rule.
57223         (noload-ENV): Define.
57224         (tests): Add $(objpfx)noload-mem.
57225         * elf/noload.c: Include <memcheck.h>.
57226         (main): Call mtrace.  Close all opened handles.
57228 2011-02-17  Andreas Schwab  <schwab@redhat.com>
57230         [BZ #12454]
57231         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57232         dependencies are missing.
57234 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57236         Fix __if_freereq crash: Unlike the generic version which uses free,
57237         Hurd needs munmap.
57238         * sysdeps/mach/hurd/ifreq.h: New file.
57240 2011-01-27  Petr Baudis  <pasky@suse.cz>
57241             Ulrich Drepper  <drepper@gmail.com>
57243         [BZ 12445]#
57244         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57245         to extend_alloca().
57246         * stdio-common/bug23.c: New file.
57247         * stdio-common/Makefile (tests): Add bug23.
57249 2010-09-28  Andreas Schwab  <schwab@redhat.com>
57250             Ulrich Drepper  <drepper@gmail.com>
57252         [BZ #12489]
57253         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57254         before performing relro protection.  At old place add assertion
57255         to make sure nothing changed.
57257 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57258             Glauber de Oliveira Costa  <glommer@gmail.com>
57260         * elf/elf.h: Add new ARM TLS relocs.
57262 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57265         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57266         cast from r3.
57267         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57268         'tests' variable.
57269         * sysdeps/wordsize-64/tst-writev.c: New file.
57271 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57273         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57274         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57275         insns in _dl_start to prevent a TOC reference before relocs are
57276         resolved.
57278 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57280         [BZ #12469]
57281         * Makeconfig: Remove RANLIB definition.
57282         * Makerules: Don't use RANLIB.
57283         * aclocal.m4: Remove ranlib test.
57284         * configure.in: No need to check for ranlib.
57285         * elf/rtld-Rules: Don't use RANLIB.
57287 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57289         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57290         protection macro.
57291         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57292         inclusion protection macro.
57294         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57295         SIGRTMIN and SIGRTMAX and print information in that case only when
57296         SIGRTMIN is defined.
57298 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57300         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57301         arginfo fn returning -1.
57303         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57304         and thousands string is zero terminated.
57306 2011-02-03  Andreas Schwab  <schwab@redhat.com>
57308         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57309         sysdeps/unix/sysv/linux/bits/socket.h.
57311 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57313         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57314         (__CPU_COUNT): Remove old macros.
57315         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57316         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57317         (__CPU_ALLOC, __CPU_FREE): Add macros.
57318         (__sched_cpualloc, __sched_cpufree): Add declarations.
57320 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
57322         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57323         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57324         * nscd/aicache.c (addhstaiX): Return timeout of added value.
57325         (readdhstai): Return value of addhstaiX call.
57326         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57327         (addgrbyX): Return value returned by cache_addgr.
57328         (readdgrbyname): Return value returned by addgrbyX.
57329         (readdgrbygid): Likewise.
57330         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57331         (addpwbyX): Return value returned by cache_addpw.
57332         (readdpwbyname): Return value returned by addhstbyX.
57333         (readdpwbyuid): Likewise.
57334         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57335         (addservbyX): Return value returned by cache_addserv.
57336         (readdservbyname): Return value returned by addservbyX:
57337         (readdservbyport): Likewise.
57338         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57339         (addhstbyX): Return value returned by cache_addhst.
57340         (readdhstbyname): Return value returned by addhstbyX.
57341         (readdhstbyaddr): Likewise.
57342         (readdhstbynamev6): Likewise.
57343         (readdhstbyaddrv6): Likewise.
57344         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57345         (readdinitgroups): Return value returned by addinitgroupsX.
57346         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57347         (prune_cache): Keep track of timeout value of re-added entries.
57348         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57349         * nscd/nscd.h: Adjust prototypes of readd* functions.
57351 2011-02-04  Roland McGrath  <roland@redhat.com>
57353         * nis/nis_server.c (nis_servstate): Use the right name for 0.
57354         (nis_stats): Likewise.
57355         * nis/nis_modify.c (nis_modify): Likewise.
57356         * nis/nis_remove.c (nis_remove): Likewise.
57357         * nis/nis_add.c (nis_add): Likewise.
57359         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57361         * posix/fnmatch_loop.c: Add some consts.
57363         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57365 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
57367         [BZ #12460]
57368         * config.make.in (config-cflags-novzeroupper): Define.
57369         * configure.in: Substitute libc_cv_cc_novzeroupper.
57370         * elf/Makefile (AVX-CFLAGS): Define.
57371         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57372         (CFLAGS-tst-auditmod4a.c): Likewise.
57373         (CFLAGS-tst-auditmod4b.c): Likewise.
57374         (CFLAGS-tst-auditmod6b.c): Likewise.
57375         (CFLAGS-tst-auditmod6c.c): Likewise.
57376         (CFLAGS-tst-auditmod7b.c): Likewise.
57377         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57379 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
57381         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57382         function to the callback.
57383         Patch partly by Jiri Olsa <jolsa@redhat.com>.
57385 2011-02-02  Andreas Schwab  <schwab@redhat.com>
57387         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57388         of errno.
57390 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
57392         [BZ #11724]
57393         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57394         of constructors.
57395         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57396         of destructors.
57397         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57399         [BZ #11724]
57400         * elf/Makefile: Add rules to build and run new test.
57401         * elf/tst-initorder.c: New file.
57402         * elf/tst-initorder.exp: New file.
57403         * elf/tst-initordera1.c: New file.
57404         * elf/tst-initordera2.c: New file.
57405         * elf/tst-initordera3.c: New file.
57406         * elf/tst-initordera4.c: New file.
57407         * elf/tst-initorderb1.c: New file.
57408         * elf/tst-initorderb2.c: New file.
57409         * elf/tst-order-a1.c: New file.
57410         * elf/tst-order-a2.c: New file.
57411         * elf/tst-order-a3.c: New file.
57412         * elf/tst-order-a4.c: New file.
57413         * elf/tst-order-b1.c: New file.
57414         * elf/tst-order-b2.c: New file.
57415         * elf/tst-order-main.c: New file.
57416         New test case by George Gensure <werkt0@gmail.com>.
57418 2010-10-01  Andreas Schwab  <schwab@redhat.com>
57420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57421         decoding ACE if AI_CANONIDN.
57423 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
57425         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57427 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
57429         * version.h (RELEASE): Bump for 2.13 release.
57430         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57432         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57434         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57435         MADV_NOHUGEPAGE.
57436         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57437         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57438         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57439         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57441         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57443         * posix/getconf.c: Update copyright year.
57444         * catgets/gencat.c: Likewise.
57445         * csu/version.c: Likewise.
57446         * debug/catchsegv.sh: Likewise.
57447         * debug/xtrace.sh: Likewise.
57448         * elf/ldconfig.c: Likewise.
57449         * elf/ldd.bash.in: Likewise.
57450         * elf/sprof.c (print_version): Likewise.
57451         * iconv/iconv_prog.c: Likewise.
57452         * iconv/iconvconfig.c: Likewise.
57453         * locale/programs/locale.c: Likewise.
57454         * locale/programs/localedef.c: Likewise.
57455         * malloc/memusage.sh: Likewise.
57456         * malloc/mtrace.pl: Likewise.
57457         * nscd/nscd.c (print_version): Likewise.
57458         * nss/getent.c: Likewise.
57460         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57461         PF_CAIF, and PF_ALG.
57462         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57464 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
57466         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57467         (modules-names): Use them.
57468         (ifunc-test-modules, ifunc-pie-tests): Define.
57469         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57470         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57471         (test-extras): Likewise.
57472         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57473         $(compile-command.c).
57474         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57475         (all-built-dso): Define.
57476         (check-textrel.out, check-execstack.out): Depend on it.
57478         * configure.in: Don't override --enable-multi-arch.
57480 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
57482         [BZ #6812]
57483         * nscd/hstcache.c (tryagain): Define.
57484         (cache_addhst): Return tryagain not notfound for temporary errors.
57485         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57486         failed.
57488 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
57490         [BZ #10563]
57491         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57492         to make the syscall.
57493         * sysdeps/unix/sysv/linux/setgroups.c: New file.
57495         [BZ #12378]
57496         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57497         and fall back to matching as normal character if the string ends before
57498         the matching ']' is found.  This is what POSIX requires.
57499         * posix/testfnm.c: Adjust test result.
57500         * posix/globtest.sh: Adjust test result.  Add new test.
57501         * posix/tst-fnmatch.input: Likewise.
57502         * posix/tst-fnmatch2.c: Add new test.
57504 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
57506         * elf/Makefile (check-execstack): Revert last change.  Depend on
57507         check-execstack.h.
57508         (check-execstack.h): New target.
57509         (generated): Add check-execstack.h.
57510         * elf/check-execstack.c: Include "check-execstack.h".
57511         (main): Revert last change.
57512         (handle_file): Return zero if GNU_STACK is absent and
57513         DEFAULT_STACK_PERMS doesn't include PF_X.
57515 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
57517         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57518         in child fails because the descriptor is already closed.
57519         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57520         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57521         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57523         [BZ #12397]
57524         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57525         syscall.
57527         [BZ #10484]
57528         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57529         temporary buffer used to handle multi lookups locally.
57530         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57532 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57534         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57535         loader is ld.so.
57537 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
57539         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57540         alignment for SSE2.
57542 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57544         [BZ #12394]
57545         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57546         characters.  When rounding increased number of integer digits recompute
57547         number of groups.
57548         * stdio-common/tst-grouping.c: New file.
57549         * stdio-common/Makefile: Add rules to build and run tst-grouping.
57551 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
57553         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57554         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
57556         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57557         void.
57558         * bits/select.h: Likewise.
57560 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
57562         * po/ja.po: Update from translation team.
57564 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
57566         [BZ #11155]
57567         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57568         implementation just like for lxstat, fxstatat, et al.
57570 2010-12-27  Jim Meyering  <meyering@redhat.com>
57572         [BZ #12348]
57573         * posix/regexec.c (build_trtable): Return failure indication upon
57574         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
57576 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
57578         [BZ #12201]
57579         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57580         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57581         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57582         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57584         [BZ #12207]
57585         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57587         [BZ #12204]
57588         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57589         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57591 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
57593         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57594         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57595         script has SORT_BY_INIT_PRIORITY.
57596         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57597         NO_CTORS_DTORS_SECTIONS is defined.
57598         * elf/soinit.c: Likewise.
57599         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57600         NO_CTORS_DTORS_SECTIONS is defined.
57601         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57602         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57603         * sysdeps/sh/init-first.c: Likewise.
57604         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57606 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
57608         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57609         always use the slow path.
57611 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
57613         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57614         similar rule which adds the sysdep directories to the header search in
57615         order to pick up the correct platform stackinfo.h.
57616         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57617         perform test if it is, otherwise return successfully without testing.
57618         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57619         DEFAULT_STACK_PERMS define in stackinfo.h.
57620         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57621         defined in stackinfo.h.
57622         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57623         DEFAULT_STACK_PERMS defined in stackinfo.h.
57624         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57625         * sysdeps/ia64/stackinfo.h: Likewise.
57626         * sysdeps/s390/stackinfo.h: Likewise.
57627         * sysdeps/sh/stackinfo.h: Likewise.
57628         * sysdeps/sparc/stackinfo.h: Likewise.
57629         * sysdeps/x86_64/stackinfo.h: Likewise.
57630         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57631         PF_X for powerpc64.  Retain PF_X for powerpc32.
57633 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
57635         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57636         accurately.
57637         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57638         GETDENTS_64BIT_ALIGNED.
57640 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
57642         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57644 2010-12-10  Andreas Schwab  <schwab@redhat.com>
57646         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57647         _GNU_SOURCE.
57649         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57650         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57651         Remove __restrict.
57652         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57653         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57655 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
57657         [BZ #11655]
57658         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57659         are initialized.
57661 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
57663         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57665 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
57667         * po/it.po: Update from translation team.
57669 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
57671         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57672         unused codes.
57674 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
57676         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57678 2010-11-24  Andreas Schwab  <schwab@redhat.com>
57680         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57681         specially.
57682         (gaih_getanswer_slice): Likewise.
57684 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
57686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57688 2010-05-31  Petr Baudis  <pasky@suse.cz>
57690         [BZ #11149]
57691         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57692         silently even in the chroot mode.
57694 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
57696         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57697         last patch a bit.  Pretty printing
57699 2010-05-31  Petr Baudis <pasky@suse.cz>
57701         [BZ #10085]
57702         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57703         initialization of skip_initgroups_dyn.
57705 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
57707         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57708         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57710 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
57712         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57714 2010-11-11  Andreas Schwab  <schwab@redhat.com>
57716         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57717         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57718         (tst-fnmatch-ENV): Set MALLOC_TRACE.
57719         ($(objpfx)tst-fnmatch-mem): New rule.
57720         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57721         * posix/tst-fnmatch.c (main): Call mtrace.
57723 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
57725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57726         Support Intel processor model 6 and model 0x2c.
57728 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
57730         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57731           signed comparison.
57733 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
57735         [BZ #12205]
57736         * string/test-strncasecmp.c (check_result): New function.
57737         (do_one_test): Use it.
57738         (check1): New function.
57739         (test_main): Use it.
57740         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57741         Support strcasecmp and strncasecmp.
57743 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
57745         [BZ #12194]
57746         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57747         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57749 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57751         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57752         IFUNC support.
57753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57754         memset-x86-64.
57755         * sysdeps/x86_64/multiarch/bzero.S: New file.
57756         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57757         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57758         * sysdeps/x86_64/multiarch/memset.S: New file.
57759         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57761         Set bit_Prefer_SSE_for_memop for Intel processors.
57762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57763         Define.
57764         (index_Prefer_SSE_for_memop): Define.
57765         (HAS_PREFER_SSE_FOR_MEMOP): Define.
57767 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
57769         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57770         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57772 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
57774         [BZ #12191]
57775         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57776         (__x86_64_raw_data_cache_size_half): Likewise.
57777         (__x86_64_raw_shared_cache_size): Likewise.
57778         (__x86_64_raw_shared_cache_size_half): Likewise.
57780         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57781         (__x86_64_raw_data_cache_size_half): Likewise.
57782         (__x86_64_raw_shared_cache_size): Likewise.
57783         (__x86_64_raw_shared_cache_size_half): Likewise.
57784         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57785         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57786         and __x86_64_raw_shared_cache_size_half.  Round
57787         __x86_64_data_cache_size_half, __x86_64_data_cache_size
57788         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57789         to multiple of 256 bytes.
57791 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
57793         [BZ #12167]
57794         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57795         of inacessible symlinks.  Verify result of symlink before returning it.
57796         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57797         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57799 2010-10-28  Erich Ritz  <erichritz@gmail.com>
57801         * math/math.h (isinf): Fix typo in comment.
57803 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
57805         * po/da.po: Update from translation team.
57807 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
57809         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57810         is added to the list.
57812 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57813             Ulrich Drepper  <drepper@gmail.com>
57815         * elf/dl-object.c (_dl_new_object): Don't append the new object to
57816         the global list here.  Move code to...
57817         (_dl_add_to_namespace_list): ...here.  New function.
57818         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57819         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57820         * elf/dl-load.c (lose): Don't remove the element from the list.
57821         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57822         (_dl_map_object): Likewise.
57824 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
57826         [BZ #12159]
57827         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57828         into all bytes of SSE register.
57829         Patch by Richard Li <richardpku@gmail.com>.
57831 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
57833         [BZ #12140]
57834         * malloc/malloc.c (_int_free): Fill correct number of bytes when
57835         perturbing.
57837 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
57839         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57840         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57841         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57842         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57844         submachine.
57845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57847 2010-10-22  Andreas Schwab  <schwab@redhat.com>
57849         * include/dlfcn.h (__RTLD_SECURE): Define.
57850         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
57851         mode & __RTLD_SECURE instead.
57852         (open_path): Rename preloaded parameter to secure.
57853         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57854         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57855         * elf/dl-deps.c (openaux): Likewise.
57856         * elf/rtld.c (struct map_args): Remove is_preloaded.
57857         (map_doit): Don't use it.
57858         (dl_main): Likewise.
57859         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57860         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57862 2010-09-09  Andreas Schwab  <schwab@redhat.com>
57864         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57865         (sysd-rules-targets): Remove duplicates.
57866         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57867         rtld-%.$o dependency.
57869 2010-10-18  Andreas Schwab  <schwab@redhat.com>
57871         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57872         _dl_map_object do it.
57874 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
57876         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57877         fast fma builtins, define the macros in the C99 standard.
57878         (FP_FAST_FMAF): Likewise.
57879         (FP_FAST_FMAL): Likewise.
57880         * sysdeps/x86_64/bits/mathdef.h: Likewise.
57882         * bits/mathdef.h: Update copyright year.
57883         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57885 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
57887         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57888         builtins, define the macros in the C99 standard.
57889         (FP_FAST_FMAF): Likewise.
57890         (FP_FAST_FMAL): Likewise.
57891         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57892         multiply/add.
57893         (FP_FAST_FMAF): Likewise.
57895 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
57897         [BZ #3268]
57898         * math/libm-test.inc (fma_test): Some new testcases.
57899         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57900         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57901         y and infinite z.  Do multiplication by C already in long double.
57902         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57904         y and infinite z.  Do bitwise or of inexact bit into u.d.
57905         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57906         * sysdeps/i386/fpu/s_fmaf.S: Removed.
57907         * sysdeps/i386/fpu/s_fma.S: Removed.
57908         * sysdeps/i386/fpu/s_fmal.S: Removed.
57910 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
57912         [BZ #3268]
57913         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57915         computation is not scheduled after fetestexcept.  Fix value
57916         of minimum denormal long double.
57918 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
57920         [BZ #3268]
57921         * math/libm-test.inc (fma_test): Add some more tests.
57922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57923         correctly.
57925 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57927         * scripts/data/localplt-s390-linux-gnu.data: New file.
57928         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57930 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57932         [BZ #3268]
57933         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57934         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57935         instead of dbl-64.
57936         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57937         inlines.
57938         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57940         if one of x and y is very large and the other is subnormal.
57941         * sysdeps/s390/fpu/s_fmaf.c: New file.
57942         * sysdeps/s390/fpu/s_fma.c: New file.
57943         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57944         * sysdeps/powerpc/fpu/s_fma.S: New file.
57945         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57946         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57947         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57949 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57951         [BZ #3268]
57952         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57953         fma tests.
57954         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57955         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57956         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57957         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57958         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57959         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57960         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57962 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57964         [BZ #12078]
57965         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57966         * posix/bug-regex31.input: Add test case.
57968 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57970         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57971         * posix/bug-regex31.input: New file.
57973         [BZ #12078]
57974         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57975         (parse_sub_exp): Fix last change, use postorder.
57977         * posix/bug-regex31.c: New file.
57978         * posix/Makefile: Add rules to build and run bug-regex31.
57980         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57982         [BZ #12078]
57983         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57985         [BZ #12108]
57986         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57987         to have entries in sys_siglist.
57989         [BZ #12093]
57990         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57991         be NULL.
57993 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57995         [BZ #3268]
57996         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57997         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57998         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57999         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58000         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58001         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58002         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58003         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58004         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58005         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58006         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58007         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58008         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58009         * math/ftestexcept.c (fetestexcept): Likewise.
58010         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58011         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58012         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58013         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58014         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58015         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58016         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58018 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58020         [BZ #12107]
58021         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58022         newline.
58024 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
58026         * string/bug-strstr1.c: New file.
58027         * string/Makefile: Add rules to build and run bug-strstr1.
58029 2010-10-05  Eric Blake  <eblake@redhat.com>
58031         [BZ #12092]
58032         * string/str-two-way.h (two_way_long_needle): Always clear memory
58033         when skipping input due to the shift table.
58035 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
58037         [BZ #12005]
58038         * malloc/mcheck.c: Handle large requests.
58040         [BZ #12077]
58041         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58042         for strncmp and strncasecmp.
58043         * string/stratcliff.c: Add tests for strcmp and strncmp.
58044         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58046 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58048         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58049         __set_fpscr.
58051 2010-09-30  Andreas Jaeger  <aj@suse.de>
58053         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58054         (CGROUP_SUPER_MAGIC): Define.
58055         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58056         Handle btrfs and cgroup file systems.
58057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58058         Likewise.
58060 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
58062         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58063         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58065 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58067         [BZ #12067]
58068         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58069         trying to locate the ELF header.
58071 2010-09-27  Andreas Schwab  <schwab@redhat.com>
58073         [BZ #11611]
58074         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58075         Mask out sign-bit copies when constructing f_fsid.
58077 2010-09-24  Petr Baudis <pasky@suse.cz>
58079         * debug/stack_chk_fail_local.c: Add missing licence exception.
58080         * debug/warning-nop.c: Likewise.
58082 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
58084         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58085         implementing getdents64 using getdents syscall, set d_type if
58086         __ASSUME_GETDENTS32_D_TYPE.
58088 2010-09-16  Andreas Schwab  <schwab@redhat.com>
58090         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58091         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58093 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
58095         [BZ #12037]
58096         * posix/unistd.h: Undo change of feature selection for ftruncate from
58097         2010-01-11.
58099 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
58101         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58102         detection.
58104 2010-09-20  Andreas Schwab  <schwab@redhat.com>
58106         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58107         fanotify_mark.
58108         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58110 2010-09-14  Andreas Schwab  <schwab@redhat.com>
58112         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58113         variables after CHECK_SP call.
58114         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58116 2010-09-13  Andreas Schwab  <schwab@redhat.com>
58117             Ulrich Drepper  <drepper@redhat.com>
58119         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58120         re-relocationg ld.so.
58121         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58122         _dl_init_paths call.
58123         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
58124         here anymore.
58126 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
58128         * resolv/res_init.c (__res_vinit): Count the default server we added.
58130 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
58131             Ulrich Drepper  <drepper@redhat.com>
58133         [BZ #11968]
58134         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58135         (____longjmp_chk): Use %ebx for saving value across system call.
58136         Add unwind info.
58138 2010-09-06  Andreas Schwab  <schwab@redhat.com>
58140         * manual/Makefile: Don't mix pattern rules with normal rules.
58142 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58144         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58145         operation.
58146         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58147         * libio/iofopncook.c (_IO_cookie_init): Likewise.
58148         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58149         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58151         Likewise.
58153 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
58155         [BZ #11979]
58156         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58157         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58159 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
58161         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58162         * sysdeps/x86_64/addmul_1.S: Likewise.
58163         * sysdeps/x86_64/lshift.S: Likewise.
58164         * sysdeps/x86_64/mul_1.S: Likewise.
58165         * sysdeps/x86_64/rshift.S: Likewise.
58166         * sysdeps/x86_64/sub_n.S: Likewise.
58167         * sysdeps/x86_64/submul_1.S: Likewise.
58169 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58171         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58172         Define __sched_param instead of SCHED_* and sched_param when
58173         <bits/sched.h> is included with __need_schedparam defined.
58174         * bits/sched.h [__need_schedparam]
58175         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58176         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58177         (__defined_schedparam): Define to 1.
58178         (__sched_param): New structure, identical to sched_param.
58179         (__need_schedparam): Undefine.
58181 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
58183         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58184         (epoll_create1): Declare.
58186         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58188 2010-08-31  Andreas Schwab  <schwab@redhat.com>
58190         [BZ #7066]
58191         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58192         shifting retval into place.
58194 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
58196         * nis/rpcsvc/nis.h: Update copyright notice.
58197         * nis/rpcsvc/nis.x: Likewise.
58198         * nis/rpcsvc/nis_callback.h: Likewise.
58199         * nis/rpcsvc/nis_callback.x: Likewise.
58200         * nis/rpcsvc/nis_object.x: Likewise.
58201         * nis/rpcsvc/nis_tags.h: Likewise.
58202         * nis/rpcsvc/yp.h: Likewise.
58203         * nis/rpcsvc/yp.x: Likewise.
58204         * nis/rpcsvc/ypupd.h: Likewise.
58205         * nis/yp_xdr.c: Likewise.
58206         * nis/ypupdate_xdr.c: Likewise.
58208         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
58209         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58210         (pmap_getport): Use __libc_rpc_getport.
58211         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58212         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58213         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58215 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
58217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58218         fanotify_mark.
58220 2010-08-27  Roland McGrath  <roland@redhat.com>
58222         * sysdeps/i386/i686/multiarch/Makefile
58223         (CFLAGS-varshift.c): New variable.
58225 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
58227         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58228         * sysdeps/i386/i686/multiarch/varshift.c: New file.
58230         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58232         * sysdeps/x86_64/strlen.S: Minimal code improvement.
58234 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
58236         * sysdeps/x86_64/strlen.S: Unroll the loop.
58237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58238         strlen-sse2 strlen-sse2-bsf.
58239         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58240         __strlen_no_bsf if bit_Slow_BSF is set.
58241         (__strlen_sse42): Removed.
58242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58243         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58245 2010-08-25  Roland McGrath  <roland@redhat.com>
58247         * sysdeps/x86_64/multiarch/varshift.S: File removed.
58248         * sysdeps/x86_64/multiarch/varshift.c: New file.
58249         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58250         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58251         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58252         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58254 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58256         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58257         strlen-sse2 strlen-sse2-bsf.
58258         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58259         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58260         (__strlen_sse2): Removed.
58261         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58262         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58264         bit_Slow_BSF for Atom.
58265         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58266         (index_Slow_BSF): Define.
58267         (HAS_SLOW_BSF): Define.
58269 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58271         [BZ #10851]
58272         * resolv/res_init.c (__res_vinit): When no server address at all
58273         is given default to loopback.
58275 2010-08-24  Roland McGrath  <roland@redhat.com>
58277         * configure.in: Remove config-name.h generation.
58278         * configure: Regenerated.
58279         * config-name.in: File removed.
58280         * scripts/config-uname.sh: New file.
58281         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58282         ($(objdir)config-name.h): New target.
58284         * sunrpc/rpc_parse.h: Avoid nested comment.
58286 2010-08-24  Richard Henderson  <rth@redhat.com>
58287             Ulrich Drepper  <drepper@redhat.com>
58288             H.J. Lu  <hongjiu.lu@intel.com>
58290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58292         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58293         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58294         _mm_alignr_epi8 with _mm_loadu_si128.
58295         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58296         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58297         (__m128i_shift_right): Removed.
58298         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58299         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58300         * sysdeps/x86_64/multiarch/varshift.h: New file.
58301         * sysdeps/x86_64/multiarch/varshift.S: New file.
58303 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58305         * configure.in: Move assembler checks to before sysdep dir checking.
58307 2010-08-20  Petr Baudis  <pasky@suse.cz>
58309         * LICENSES: Sync the sunrpc license.
58311 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
58313         * sunrpc/auth_des.c: Update copyright notice once again.
58314         * sunrpc/auth_none.c: Likewise.
58315         * sunrpc/auth_unix.c: Likewise.
58316         * sunrpc/authdes_prot.c: Likewise.
58317         * sunrpc/authuxprot.c: Likewise.
58318         * sunrpc/bindrsvprt.c: Likewise.
58319         * sunrpc/clnt_gen.c: Likewise.
58320         * sunrpc/clnt_perr.c: Likewise.
58321         * sunrpc/clnt_raw.c: Likewise.
58322         * sunrpc/clnt_simp.c: Likewise.
58323         * sunrpc/clnt_tcp.c: Likewise.
58324         * sunrpc/clnt_udp.c: Likewise.
58325         * sunrpc/clnt_unix.c: Likewise.
58326         * sunrpc/des_crypt.c: Likewise.
58327         * sunrpc/des_soft.c: Likewise.
58328         * sunrpc/get_myaddr.c: Likewise.
58329         * sunrpc/getrpcport.c: Likewise.
58330         * sunrpc/key_call.c: Likewise.
58331         * sunrpc/key_prot.c: Likewise.
58332         * sunrpc/openchild.c: Likewise.
58333         * sunrpc/pm_getmaps.c: Likewise.
58334         * sunrpc/pm_getport.c: Likewise.
58335         * sunrpc/pmap_clnt.c: Likewise.
58336         * sunrpc/pmap_prot.c: Likewise.
58337         * sunrpc/pmap_prot2.c: Likewise.
58338         * sunrpc/pmap_rmt.c: Likewise.
58339         * sunrpc/rpc/auth.h: Likewise.
58340         * sunrpc/rpc/auth_unix.h: Likewise.
58341         * sunrpc/rpc/clnt.h: Likewise.
58342         * sunrpc/rpc/des_crypt.h: Likewise.
58343         * sunrpc/rpc/key_prot.h: Likewise.
58344         * sunrpc/rpc/netdb.h: Likewise.
58345         * sunrpc/rpc/pmap_clnt.h: Likewise.
58346         * sunrpc/rpc/pmap_prot.h: Likewise.
58347         * sunrpc/rpc/pmap_rmt.h: Likewise.
58348         * sunrpc/rpc/rpc.h: Likewise.
58349         * sunrpc/rpc/rpc_des.h: Likewise.
58350         * sunrpc/rpc/rpc_msg.h: Likewise.
58351         * sunrpc/rpc/svc.h: Likewise.
58352         * sunrpc/rpc/svc_auth.h: Likewise.
58353         * sunrpc/rpc/types.h: Likewise.
58354         * sunrpc/rpc/xdr.h: Likewise.
58355         * sunrpc/rpc_clntout.c: Likewise.
58356         * sunrpc/rpc_cmsg.c: Likewise.
58357         * sunrpc/rpc_common.c: Likewise.
58358         * sunrpc/rpc_cout.c: Likewise.
58359         * sunrpc/rpc_dtable.c: Likewise.
58360         * sunrpc/rpc_hout.c: Likewise.
58361         * sunrpc/rpc_main.c: Likewise.
58362         * sunrpc/rpc_parse.c: Likewise.
58363         * sunrpc/rpc_parse.h: Likewise.
58364         * sunrpc/rpc_prot.c: Likewise.
58365         * sunrpc/rpc_sample.c: Likewise.
58366         * sunrpc/rpc_scan.c: Likewise.
58367         * sunrpc/rpc_scan.h: Likewise.
58368         * sunrpc/rpc_svcout.c: Likewise.
58369         * sunrpc/rpc_tblout.c: Likewise.
58370         * sunrpc/rpc_util.c: Likewise.
58371         * sunrpc/rpc_util.h: Likewise.
58372         * sunrpc/rpcinfo.c: Likewise.
58373         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58374         * sunrpc/rpcsvc/key_prot.x: Likewise.
58375         * sunrpc/rpcsvc/klm_prot.x: Likewise.
58376         * sunrpc/rpcsvc/mount.x: Likewise.
58377         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58378         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58379         * sunrpc/rpcsvc/rex.x: Likewise.
58380         * sunrpc/rpcsvc/rstat.x: Likewise.
58381         * sunrpc/rpcsvc/rusers.x: Likewise.
58382         * sunrpc/rpcsvc/sm_inter.x: Likewise.
58383         * sunrpc/rpcsvc/spray.x: Likewise.
58384         * sunrpc/rpcsvc/yppasswd.x: Likewise.
58385         * sunrpc/rtime.c: Likewise.
58386         * sunrpc/svc.c: Likewise.
58387         * sunrpc/svc_auth.c: Likewise.
58388         * sunrpc/svc_authux.c: Likewise.
58389         * sunrpc/svc_raw.c: Likewise.
58390         * sunrpc/svc_run.c: Likewise.
58391         * sunrpc/svc_simple.c: Likewise.
58392         * sunrpc/svc_tcp.c: Likewise.
58393         * sunrpc/svc_udp.c: Likewise.
58394         * sunrpc/svc_unix.c: Likewise.
58395         * sunrpc/svcauth_des.c: Likewise.
58396         * sunrpc/xcrypt.c: Likewise.
58397         * sunrpc/xdr.c: Likewise.
58398         * sunrpc/xdr_array.c: Likewise.
58399         * sunrpc/xdr_float.c: Likewise.
58400         * sunrpc/xdr_mem.c: Likewise.
58401         * sunrpc/xdr_rec.c: Likewise.
58402         * sunrpc/xdr_ref.c: Likewise.
58403         * sunrpc/xdr_sizeof.c: Likewise.
58404         * sunrpc/xdr_stdio.c: Likewise.
58406         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58407         handling.
58409 2010-08-19  Andreas Schwab  <schwab@redhat.com>
58411         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58413 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
58415         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58416         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58417         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58418         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58419         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58420         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58421         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58422         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58423         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58424         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58425         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58426         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58427         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58428         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58430 2010-07-26  Anton Blanchard  <anton@samba.org>
58432         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58433         * malloc/arena.c (heap_trim): Likewise.
58435 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
58437         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58438         here.  Not...
58439         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58440         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58442 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
58444         * sysdeps/i386/elf/Makefile: New file.
58446 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58448         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58449         from fanotify_init.
58450         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58451         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58453 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
58455         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58456         of strncasecmp_l.
58457         * sysdeps/multiarch/strcmp.S: Likewise.
58459 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
58461         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58462         strncase_l-nonascii.
58463         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58464         Add strncase_l-ssse3.
58465         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58466         * sysdeps/x86_64/strcmp.S: Likewise.
58467         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58468         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58469         * sysdeps/x86_64/strncase.S: New file.
58470         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58471         * sysdeps/x86_64/strncase_l.S: New file.
58472         * string/Makefile (strop-tests): Add strncasecmp.
58473         * string/test-strncasecmp.c: New file.
58475         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58476         warning.
58478         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58479         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58481 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58483         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58485 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
58487         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58488         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58489         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58491 2010-05-01  Alan Modra  <amodra@gmail.com>
58493         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58494         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58495         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58496         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58497         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58498         tidying.  Don't tail-call __sigjmp_save for static lib.
58499         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58500         save location.
58501         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58502         (CALL_MCOUNT): Add eh info, and nop after bl.
58503         (TAIL_CALL_SYSCALL_ERROR): New macro.
58504         (PSEUDO_RET): Use it.
58505         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58506         Correct save location of integer regs and cr.
58507         (_dl_profile_resolve): Correct cr save location.  Delete nops
58508         after bl when SHARED.  Reduce cfi size a little by better
58509         placement of cfi directives.
58510         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58511         make a stack frame.  Instead use parm save area as a temp.
58512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58513         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
58514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58515         Don't make a stack frame for parent, use parm save area.
58516         Increase child stack frame to 112 bytes.  Don't save unused reg,
58517         and adjust reg usage.  Set up cfi on error recovery and
58518         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58520         (__makecontext): Add dummy nop after jump to exit.
58521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58522         Use correct parm save area and cr save, reduce stack frame.
58523         Correct cfi for possible PSEUDO_RET frame setup.
58524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58525         Branch to local label emitted by PSEUDO_RET rather than
58526         __syscall_error.
58528 2010-08-12  Andreas Schwab  <schwab@redhat.com>
58530         [BZ #11904]
58531         * locale/programs/locale.c (print_assignment): New function.
58532         (show_locale_vars): Use it.
58534 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
58536         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58537         field.
58538         (struct statfs64): Likewise.
58539         (_STATFS_F_FLAGS): Define.
58540         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58541         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58542         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58543         (ST_VALID): Define locally.
58544         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58545         __statvfs_getflags, use the provided value.
58546         * sysdeps/unix/sysv/linux/kernel-features.h: Define
58547         __ASSUME_STATFS_F_FLAGS.
58549         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58551         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58552         Add sys/fanotify.h.
58553         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58554         fanotify_mask for GLIBC_2.13.
58555         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58556         fanotify_init and fanotify_mark.
58557         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58558         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58560         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58561         Add prlimit.
58562         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58563         prlimit64 for GLIBC_2.13.
58564         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58565         prlimit64.
58566         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58567         syscall.
58568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58569         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58570         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58571         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58572         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
58573         add prlimit alias.
58574         * sysdeps/unix/sysv/linux/prlimit.c: New file.
58576         [BZ #11903]
58577         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58578         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58580         * nss/Makefile: Add rules to build and run tst-nss-test1.
58581         * shlib-versions: Add entry for libnss_test1.
58582         * nss/nss_test1.c: New file.
58583         * nss/tst-nss-test1.c: New file.
58585         * nss/nsswitch.c (__nss_database_custom): Define new variable.
58586         (__nss_configure_lookup): Set appropriate entry in
58587         __nss_configure_lookup to true.
58588         * nss/nsswitch.h: Define enum with indeces of databases in
58589         databases and __nss_database_custom arrays.  Declare
58590         __nss_database_custom.
58591         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58592         to avoid using nscd when custom rules are installed.
58593         * nss/getXXbyYY_r.c: Likewise.
58594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58596         * nss/nss_files/files-parse.c: Whitespace fixes.
58598 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
58600         [BZ #11883]
58601         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58602         * posix/fnmatch_loop.c: Likewise.
58604 2010-07-17  Andi Kleen  <ak@linux.intel.com>
58606         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58607         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58608         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58609         * Versions.def [GLIBC_2.13]: Add.
58611 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
58613         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58614         Also fail if tpwd after pwuid call is NULL.
58616 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58618         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58619         when converting to ms.
58621 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58623         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58624         EOPNOTSUPP errors with ENOTTY.
58625         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58626         EOPNOTSUPP errors with ENOTTY.
58628 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
58630         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58631         Add strcasecmp_l-ssse3.
58632         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58633         strcasecmp.
58634         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58635         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58636         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58638 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
58640         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58642         * string/Makefile (strop-tests): Add strcasecmp.
58643         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58644         strcasecmp_l-nonascii.
58645         (gen-as-const-headers): Add locale-defines.sym.
58646         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58647         * sysdeps/x86_64/strcasecmp.S: New file.
58648         * sysdeps/x86_64/strcasecmp_l.S: New file.
58649         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58650         * sysdeps/x86_64/locale-defines.sym: New file.
58651         * string/test-strcasecmp.c: New file.
58653         * string/test-strcasestr.c: Test both ends of the range of characters.
58654         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58656 2010-07-29  Roland McGrath  <roland@redhat.com>
58658         [BZ #11856]
58659         * manual/locale.texi (Yes-or-No Questions): Fix example code.
58661 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
58663         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58664         for ld.so.
58666 2010-07-27  Andreas Schwab  <schwab@redhat.com>
58668         * manual/memory.texi (Malloc Tunable Parameters): Document
58669         M_PERTURB.
58671 2010-07-26  Roland McGrath  <roland@redhat.com>
58673         [BZ #11840]
58674         * configure.in (-fgnu89-inline check): Set and substitute
58675         gnu89_inline, not libc_cv_gnu89_inline.
58676         * configure: Regenerated.
58677         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58679 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
58681         * string/test-strnlen.c: New file.
58682         * string/Makefile (strop-tests): Add strnlen.
58683         * string/tester.c (test_strnlen): Add a few more test cases.
58684         * string/tst-strlen.c: Better error reporting.
58686         * sysdeps/x86_64/strnlen.S: New file.
58688 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
58690         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58691         lower-latency instructions.
58693 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
58695         * string/test-strcasestr.c: New file.
58696         * string/test-strstr.c: New file.
58697         * string/Makefile (strop-tests): Add strstr and strcasestr.
58698         * string/str-two-way.h: Don't undefine MAX.
58699         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58701 2010-07-21  Andreas Schwab  <schwab@redhat.com>
58703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58704         strcasestr-nonascii.
58705         (CFLAGS-strcasestr-nonascii.c): Define.
58706         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58707         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58708         Remove unused attribute.
58710 2010-07-20  Roland McGrath  <roland@redhat.com>
58712         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58713         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
58714         ld.so.cache was broken.  With it, there is no way to disable dsocaps
58715         like LD_HWCAP_MASK can disable hwcaps.
58717 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58719         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58721 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
58723         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58724         call in strcasestr.
58725         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58726         __strcasestr_sse42_nonascii.
58727         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58728         strcasestr-nonascii.c.
58729         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58731 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
58733         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58734         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58735         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58736         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58738 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
58740         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58741         fcntl.
58743 2010-07-06  Andreas Schwab  <schwab@redhat.com>
58745         [BZ #11577]
58746         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58747         dl_signal_cerror.
58749 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
58751         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58752         _PC_PIPE_BUF using F_GETPIPE_SZ.
58754 2010-07-05  Roland McGrath  <roland@redhat.com>
58756         * manual/arith.texi (Rounding Functions): Fix rint description
58757         implicit in round description.
58759 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
58761         * elf/Makefile: Fix linking for a few tests to make recent linker
58762         happy.
58764 2010-06-30  Andreas Schwab  <schwab@redhat.com>
58766         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58767         $(common-objpfx)libc_nonshared.a.
58769 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
58771         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58772         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58773         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58774         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58775         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58776         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58777         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58778         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58793         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58794         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58795         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58796         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58797         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58798         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58799         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58800         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58801         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58802         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58803         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58804         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58820 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
58822         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58823         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
58824         * string/memmove.c (memmove): Renamed to ...
58825         (MEMMOVE): ...this.  Default to memmove.
58826         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58827         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58828         (END_CHK): Define.
58829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58830         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58831         mempcpy-ssse3-back memmove-ssse3-back.
58832         * sysdeps/x86_64/multiarch/bcopy.S: New file .
58833         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58834         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58835         * sysdeps/x86_64/multiarch/memcpy.S: New file.
58836         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58837         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58838         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58839         * sysdeps/x86_64/multiarch/memmove.c: New file.
58840         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58841         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58842         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58843         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58844         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58845         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58846         Define.
58847         (index_Fast_Copy_Backward): Define.
58848         (HAS_ARCH_FEATURE): Define.
58849         (HAS_FAST_REP_STRING): Define.
58850         (HAS_FAST_COPY_BACKWARD): Define.
58852 2010-06-21  Andreas Schwab  <schwab@redhat.com>
58854         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58855         Restore proper fallback handling.
58857 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
58859         [BZ #11701]
58860         * posix/group_member.c (__group_member): Correct checking loop.
58862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58863         OOM in getpwuid_r correctly.  Return error number when the caller
58864         should return, otherwise -1.
58865         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58866         call returning > 0 value.
58867         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58869 2010-06-07  Andreas Schwab  <schwab@redhat.com>
58871         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58872         libc_nonshared.a from targets in modules-names.
58874 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
58876         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58877         requires it.
58879 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
58881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58882         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58883         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58884         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58886 2010-06-02  Andreas Schwab  <schwab@redhat.com>
58888         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58890 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
58892         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58893         and F_GETPIPE_SZ.
58894         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58895         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58899         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58901 2010-06-14  Roland McGrath  <roland@redhat.com>
58903         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58905 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
58907         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58908         __REDIRECT followed by __THROW.
58909         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58910         * posix/getopt.h (getopt): Likewise.
58912 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58914         * hurd/lookup-at.c (__file_name_lookup_at): Accept
58915         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
58916         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58917         in AT_FLAGS.
58918         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58919         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58921 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58923         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58925 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58927         [BZ #11640]
58928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58929         Properly check family and model.
58931 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58933         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58935 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58937         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58939 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58941         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58942         symbol reference.
58944 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58946         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58947         symbol reference.
58949 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58951         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58952         and internal_recvmmsg.
58953         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58954         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58955         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58956         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58958         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58959         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58960         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58962 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58964         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58966 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58968         POWER7 optimizations.
58969         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58970         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58972 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58974         * version.h: Update for 2.13 development version.
58976 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58978         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58979         exceptions.  Return 0.
58981 2010-05-07  Roland McGrath  <roland@redhat.com>
58983         * elf/ldconfig.c (main): Add a const.
58985 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58987         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58988         (args_options): Add no-idn option.
58989         (ahosts_keys_int): Add idn_flags to ai_flags.
58990         (parse_option): Handle 'i' option to clear idn_flags.
58992         * malloc/malloc.c (_int_free): Possible race in the most recently
58993         added check.  Only act on the data if no current modification
58994         happened.
58996 See ChangeLog.17 for earlier changes.